I have changed the module/swig/perl5 installation again... I managed to get
rid of the hardcoded
Installation path, so it's much cleaner now... However.. the
version-information of the installed
OW-module is missing. I don't know how to add it.

A script like this displays all installed perl-modules.

---------------------
[EMAIL PROTECTED] OW]# more /root/perl-installed
#!/usr/bin/perl

use ExtUtils::Installed;
my $instmod = ExtUtils::Installed->new();
foreach my $module ($instmod->modules()) {
my $version = $instmod->version($module) || "???";
       print "$module -- $version\n";
}
---------------------
[EMAIL PROTECTED] OW]# /root/perl-installed
....
Locale::Maketext::Simple -- 0.12
OW -- undef
OWNet -- 1.12
Perl -- 5.8.6
....


If I add a row to the automatically generated file:
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/OW.pm
Then the version-information is displayed.... so the question is if this
should be done manually in
Module/swig/perl5/Makefile.am or if there are any more option in the
Makefile.PL or to swig with does this...

A line like this should be added to OW.pm... and then the version
information is displayed correctly.
our $VERSION='2.6p4' ;

Any ideas how it should be done correctly?

/Christian


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] On Behalf Of Christian
> Magnusson
> Sent: den 23 maj 2007 12:40
> To: [email protected]
> Subject: Re: [Owfs-developers] Latest patches...
> 
> 
> I added a new configure-parameter called --enable-debian, and which
> will
> make it possible to
> modify the makefiles in the future for you I guess.
> 
> Look in module/swig/perl5/Makefile.am for more info how it's used...
> 
> I think all perl-modules should be installed site-global as default,
> but
> could you explain why you want
> it as a local-installation under @prefix@ as default?
> 
> Most perl-modules I have seen installs globally, but then you can add
> your
> own favorite local installation-paths
> to a file and call
>  perl5 Makefile.PL `cat FILENAME`
> 
> Look at this page:
> http://servers.digitaldaze.com/extensions/perl/modules.html
> 
> /Christian
> 
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:owfs-
> > [EMAIL PROTECTED] On Behalf Of Matthias
> Urlichs
> > Sent: den 23 maj 2007 09:29
> > To: [email protected]
> > Subject: Re: [Owfs-developers] Latest patches...
> >
> > Hi,
> >
> > Christian Magnusson:
> > > I noticed that bootstrap was changed to use automake-1.9 too... Is
> > there any
> > > reason not to use "automake" which should be the latest available
> > version?
> >
> > Sorry -- that slipped through and should not have been included in
> the
> > set of patches I sent.
> >
> > > Which distribution requires to use automake-1.9 ?  Is it debian
> > again?
> > >
> > The problem is that in Debian you can install many automake versions
> in
> > parallel, including the old and no-longer-really-working 1.4. Which
> > version "automake" points to, on Debian systems, is the sysadmin's
> > personal choice. Any package thus either has to explicitly depend on
> > (and use) the version that works for it, or conflict with having am-
> 1.4
> > installed (which is not a good solution since that's too strong an
> > assertion), or ship all the automade files as part of the Debian
> > packaging (which makes for large and completely unreadable
> > Debian-specific diffs).
> >
> > I intend to solve this by including a Debian-specific version of the
> > bootstrap command line in the debian/rules file.
> >
> > --
> > Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |
> > [EMAIL PROTECTED]
> > Disclaimer: The quote was selected randomly. Really. |
> > http://smurf.noris.de
> >  - -
> > One good thing about music,
> > Well, it helps you feel no pain.
> > So hit me with music;
> > Hit me with music now.
> >             -- Bob Marley, "Trenchtown Rock"
> >
> > ---------------------------------------------------------------------
> --
> > --
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > Owfs-developers mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/owfs-developers
> 
> 
> -----------------------------------------------------------------------
> --
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to