perl modules included in core perl distribution dupe the portinstalled ones
Concrete jungle, oh freebsd-questions, you've got to do your best... I'm sorry I put this not into the -perl@ list because there are too many robots there. As far as I see the secondary major number change of the perl version can lead the user to the strange situations as more and more modules are being included into the perl distrinution itself. Combined with the previously installed version from ports they don't seem to be taken care of even by perl-after-upgrade(1). I've just struggled with the recurring problem of (dualvar|weaken|etc) 'is only available with the XS version of Scalar::Util' with a kind of a very simple solution of pkg_delete of p5-Scalar-List-Utils for perl5.14. By far there is a lot of such a modules, next aforeknown is CGI.pm. Although it's not an XS module to make such a size of a trouble but I'm pretty sure there are the ones there. Is it a known thing for me to quickly detect those duplicate modules packages and delete tthem and fix the packages dependent on them or it's a stuff to be made yet? Thank you. 73! Peter pgp: A0E26627 (4A42 6841 2871 5EA7 52AB 12F8 0CE1 4AAC A0E2 6627) -- http://vereshagin.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Automagic revision numbers with Perl Modules and SVN
Steve Bertrand wrote: Hey all, I've been migrating all of my projects from CVS to SVN (starting over from the beginning). All of the projects in question are Perl modules. [..snip..] Any guidance to fix the version numbering (especially to fix the FreeBSD package db) to make it automagic again, is very welcome: Well, it took longer than I had hoped/expected, but I've finally got my version automatic again. For the archives: # cd project_dir # svn propset svn:keywords Revision ...and: %svn diff -r56 EagleUser.pm ... -$VERSION = sprintf %d.%03d, q$Revision: 1.9 $ =~ /: (\d+)\.(\d+)/; +$VERSION = sprintf %d, q$Revision$ =~ /(\d+)/; It took me quite a while to get that change right. Many of the examples on the 'net did not have the sprintf(), which resulted in $VERSION == 1 no matter what. Once I did the next commit, the current revision was inserted into 'Revision'. ...now, my desired result: %pkg_version -v | grep Eagle bsdpan-EagleUser-73 Cheers and thanks! Steve smime.p7s Description: S/MIME Cryptographic Signature
Re: Automagic revision numbers with Perl Modules and SVN
Steve Bertrand wrote: Any guidance to fix the version numbering (especially to fix the FreeBSD package db) to make it automagic again, is very welcome: %svn diff -r56 EagleUser.pm Index: EagleUser.pm === --- EagleUser.pm(revision 56) +++ EagleUser.pm(working copy) @@ -13,7 +13,7 @@ @EXPORT = qw( ); -$VERSION = sprintf %d.%03d, q$Revision: 1.9 $ =~ /: (\d+)\.(\d+)/; This takes a version number like 1.9 (ie. a string of digits containing one decimal point) and converts it to 1.009 +$VERSION = (q$Revision: 1.9 $ =~ /: (\d+)\.(\d+)/; whereas this just extracts the number from the revision string and uses it as is -- ie. 1.9 I believe that svn will update $Revision$ keywords in source files (or it has some similar function which only differs in the details), but I could be wrong, and it is entirely possible that the revision numbers will behave differently -- svn keeping a repository wide version and cvs keeping a version per file. Consult the svn documentation on how to embed the version number into the file -- once that is working, producing a perl one-liner to initialise $VERSION will be pretty easy. Assuming this is from a standard module using Module::Build or ExtUtils::MakeMaker you should check the Makefile.PL at the top level. In there if you're using Module::Build it should say something like: version_from lib/EagleUser.pm (although the path may differ). This extracts the value of $VERSION from the named .pm file and uses it as the overall module version. Assuming your second line, you'll end up with a package name like bsdpan-EagelUser-1.9 (ExtUtils::MakeMaker works similarly). If you're desperate, you can override the setting by patching the Makefile but that doesn't help at all in your aim of having the version number update dynamically. The convention about padding version strings with leading zeros seems to have come and gone in the perl world. I'm not at all sure what the current recognised best practice is. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Automagic revision numbers with Perl Modules and SVN
Matthew Seaman wrote: Steve Bertrand wrote: Any guidance to fix the version numbering (especially to fix the FreeBSD package db) to make it automagic again, is very welcome: %svn diff -r56 EagleUser.pm Index: EagleUser.pm === --- EagleUser.pm(revision 56) +++ EagleUser.pm(working copy) @@ -13,7 +13,7 @@ @EXPORT = qw( ); -$VERSION = sprintf %d.%03d, q$Revision: 1.9 $ =~ /: (\d+)\.(\d+)/; This takes a version number like 1.9 (ie. a string of digits containing one decimal point) and converts it to 1.009 +$VERSION = (q$Revision: 1.9 $ =~ /: (\d+)\.(\d+)/; whereas this just extracts the number from the revision string and uses it as is -- ie. 1.9 I believe that svn will update $Revision$ keywords in source files (or it has some similar function which only differs in the details), but I could be wrong, and it is entirely possible that the revision numbers will behave differently -- svn keeping a repository wide version and cvs keeping a version per file. Consult the svn documentation on how to embed the version number into the file -- once that is working, producing a perl one-liner to initialise $VERSION will be pretty easy. Assuming this is from a standard module using Module::Build or ExtUtils::MakeMaker you should check the Makefile.PL at the top level. In there if you're using Module::Build it should say something like: version_from lib/EagleUser.pm (although the path may differ). This extracts the value of $VERSION from the named .pm file and uses it as the overall module version. Assuming your second line, you'll end up with a package name like bsdpan-EagelUser-1.9 (ExtUtils::MakeMaker works similarly). If you're desperate, you can override the setting by patching the Makefile but that doesn't help at all in your aim of having the version number update dynamically. The convention about padding version strings with leading zeros seems to have come and gone in the perl world. I'm not at all sure what the current recognised best practice is. Thanks Matthew for such a detailed and informative response. I'll look into this today, and report back to the list for archive purposes if I get this to work. Cheers! Steve smime.p7s Description: S/MIME Cryptographic Signature
Automagic revision numbers with Perl Modules and SVN
Hey all, I've been migrating all of my projects from CVS to SVN (starting over from the beginning). All of the projects in question are Perl modules. Can someone give me a tip on what I have to do in order to prevent the following when I do a ``make install''?: FreeBSD: Registering installation in the package database Cannot create directory /var/db/pkg/bsdpan-EagleUser-1.009: File exists I'm trying to follow documentation on the 'net, but to no avail. Following is a patch to how I had the module configured for CVS, and what I changed to based on what I found on the web for SVN. To be honest, I'm not a coder, so I don't even know if what I'm changing is in the proper place or not. Any guidance to fix the version numbering (especially to fix the FreeBSD package db) to make it automagic again, is very welcome: %svn diff -r56 EagleUser.pm Index: EagleUser.pm === --- EagleUser.pm(revision 56) +++ EagleUser.pm(working copy) @@ -13,7 +13,7 @@ @EXPORT = qw( ); -$VERSION = sprintf %d.%03d, q$Revision: 1.9 $ =~ /: (\d+)\.(\d+)/; +$VERSION = (q$Revision: 1.9 $ =~ /: (\d+)\.(\d+)/; Thanks, Steve smime.p7s Description: S/MIME Cryptographic Signature
Re: Automagic revision numbers with Perl Modules and SVN
Jason Helfman wrote: Have you heard of cvs2svn? I am not sure if this could be a good candidate for your migration, or not, but we used it successfully at a company I used to work for. http://cvs2svn.tigris.org/ Thanks Jason, but it's too late for that. Essentially, I rm'd the CVS directories from my projects to start directly from scratch. When I toyed with CVS, I really didn't know what I was doing. Now I'm using SVN, with a better understanding, and the willingness to stick with it for management of my code. I let CVS lapse, and was editing things outside of it's scope. This time, I'm keeping a proper central repository as our company/services are expanding too quickly for me to keep /home/steve/devel directories on each and every server. Cheers, Steve smime.p7s Description: S/MIME Cryptographic Signature
Re: portupgrade failing on perl modules
On 08/02/09 Matthew Seaman said: I'd wager that 'pkg_info -l p5-Module-Giving-You-Trouble' says everything is installed under ${LOCALBASE}/lib/perl5/site-perl/5.8.8 but that if you run 'perl -v' the number 5.8.9 is prominently displayed. Please read the UPDATING entry for 20090113, strike yourself upon the forehead whilst crying D'oh! in a loud voice and then run 'perl-after-upgrade -f' as instructed. All of the above worked, except striking myself on the forehead, which just hurt. Mike -- Michael P. Soulier msoul...@digitaltorque.ca Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein pgpyyqGgDqsCT.pgp Description: PGP signature
portupgrade failing on perl modules
I'm having this with several perl modules while running a portupgrade -a. === p5-Tie-IxHash-1.21 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of devel/p5-Tie-IxHash without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/devel/p5-Tie-IxHash. *** Error code 1 I thought that portupgrade would take the right action to uninstall/reinstall if required. I mean, it upgrades ports, right? :) Some guidance would be appreciated. Mike -- Michael P. Soulier msoul...@digitaltorque.ca Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein pgpq8s7nOwyt9.pgp Description: PGP signature
Re: portupgrade failing on perl modules
On Sun, Feb 8, 2009 at 7:56 AM, Michael P. Soulier msoul...@digitaltorque.ca wrote: I'm having this with several perl modules while running a portupgrade -a. === p5-Tie-IxHash-1.21 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of devel/p5-Tie-IxHash without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/devel/p5-Tie-IxHash. *** Error code 1 Have you tried manually `make deinstall; make install'? -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: portupgrade failing on perl modules
On 08/02/09 Glen Barber said: Have you tried manually `make deinstall; make install'? Here's an example. msoul...@kanga:...xtproc/p5-XML-RSS$ sudo make deinstall Password: === Deinstalling for textproc/p5-XML-RSS === Deinstalling p5-XML-RSS-1.37 pkg_delete: unable to completely remove directory '/usr/local/lib/perl5/site_perl/5.8.8/mach/auto/XML/RSS' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) msoul...@kanga:...xtproc/p5-XML-RSS$ sudo make install distclean === p5-XML-RSS-1.43 depends on file: /usr/local/lib/perl5/site_perl/5.8.9/mach/XML/Parser/Expat.pm - not found ===Verifying install for /usr/local/lib/perl5/site_perl/5.8.9/mach/XML/Parser/Expat.pm in /usr/ports/textproc/p5-XML-Parser === Installing for p5-XML-Parser-2.36 === p5-XML-Parser-2.36 depends on file: /usr/local/bin/perl5.8.9 - found === p5-XML-Parser-2.36 depends on shared library: expat.6 - found === Generating temporary packing list === Checking if textproc/p5-XML-Parser already installed === p5-XML-Parser-2.36 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of textproc/p5-XML-Parser without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/textproc/p5-XML-Parser. *** Error code 1 Stop in /usr/ports/textproc/p5-XML-RSS. So now what? Mike -- Michael P. Soulier msoul...@digitaltorque.ca Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein pgpovAmK1coTB.pgp Description: PGP signature
Re: portupgrade failing on perl modules
On Sun, Feb 8, 2009 at 10:57 AM, Michael P. Soulier msoul...@digitaltorque.ca wrote: On 08/02/09 Glen Barber said: Have you tried manually `make deinstall; make install'? Here's an example. msoul...@kanga:...xtproc/p5-XML-RSS$ sudo make deinstall Password: === Deinstalling for textproc/p5-XML-RSS === Deinstalling p5-XML-RSS-1.37 pkg_delete: unable to completely remove directory '/usr/local/lib/perl5/site_perl/5.8.8/mach/auto/XML/RSS' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) msoul...@kanga:...xtproc/p5-XML-RSS$ sudo make install distclean === p5-XML-RSS-1.43 depends on file: /usr/local/lib/perl5/site_perl/5.8.9/mach/XML/Parser/Expat.pm - not found ===Verifying install for /usr/local/lib/perl5/site_perl/5.8.9/mach/XML/Parser/Expat.pm in /usr/ports/textproc/p5-XML-Parser === Installing for p5-XML-Parser-2.36 === p5-XML-Parser-2.36 depends on file: /usr/local/bin/perl5.8.9 - found === p5-XML-Parser-2.36 depends on shared library: expat.6 - found === Generating temporary packing list === Checking if textproc/p5-XML-Parser already installed === p5-XML-Parser-2.36 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of textproc/p5-XML-Parser without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/textproc/p5-XML-Parser. *** Error code 1 Stop in /usr/ports/textproc/p5-XML-RSS. So now what? Have you rebuilt all perl-dependent ports as the 20090113 entry in /usr/ports/UPDATING mentions? (Also, please take my email address out of your Reply-To entry in your client.) -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: portupgrade failing on perl modules
On 08/02/09 Glen Barber said: Have you tried manually `make deinstall; make install'? Yes, and the make install pulled in dependencies on other perl modules that resulted in the same error message that _they_ had to be reinstalled. Following those dependencies resulted in the same, and so on... I have no hair left to pull out, or it would be gone. Mike -- Michael P. Soulier msoul...@digitaltorque.ca Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein pgpatVvbcWgvo.pgp Description: PGP signature
Re: portupgrade failing on perl modules
Michael P. Soulier wrote: On 08/02/09 Glen Barber said: Have you tried manually `make deinstall; make install'? Yes, and the make install pulled in dependencies on other perl modules that resulted in the same error message that _they_ had to be reinstalled. Following those dependencies resulted in the same, and so on... I have no hair left to pull out, or it would be gone. I'd wager that 'pkg_info -l p5-Module-Giving-You-Trouble' says everything is installed under ${LOCALBASE}/lib/perl5/site-perl/5.8.8 but that if you run 'perl -v' the number 5.8.9 is prominently displayed. Please read the UPDATING entry for 20090113, strike yourself upon the forehead whilst crying D'oh! in a loud voice and then run 'perl-after-upgrade -f' as instructed. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: portupgrade failing on perl modules
Matthew Seaman wrote: Michael P. Soulier wrote: On 08/02/09 Glen Barber said: Have you tried manually `make deinstall; make install'? Yes, and the make install pulled in dependencies on other perl modules that resulted in the same error message that _they_ had to be reinstalled. Following those dependencies resulted in the same, and so on... I have no hair left to pull out, or it would be gone. I'd wager that 'pkg_info -l p5-Module-Giving-You-Trouble' says everything is installed under ${LOCALBASE}/lib/perl5/site-perl/5.8.8 but that if you run 'perl -v' the number 5.8.9 is prominently displayed. Please read the UPDATING entry for 20090113, strike yourself upon the forehead whilst crying D'oh! in a loud voice and then run 'perl-after-upgrade -f' as instructed. Cheers, Matthew Actually, I was having that trouble, too. But for me the solution was to deinstall perl-threaded, pkg_delete -f the non-deinstalled perl 5.8.9, rmconfig make config-recursive in /usr/ports/lang/perl5.8, make sure the build threaded perl was unchecked and make install clean from there. Before doing all that, I had run perl-after-upgrade (several times) to no avail. I'm not sure how I ended up with 2 perls installed, or why deinstalling perl-threaded left one remaining, but all was (is) well after I reverted perl as above. Tim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Installing PERL modules from CPAN (instead of ports)
On Sat, May 03, 2008 at 07:21:57PM -0400, Sahil Tandon wrote: In order to setup postfwd (http://postfwd.org), of which there is no FreeBSD port, several PERL modules are required; one of them, Net::DNS::Async, also does not exist as a FreeBSD port. If I install this via CPAN, postfwd works, but then this breaks portupgrade and portmanager when trying to update perl or keep track of new versions of the bsdpan-* packages. Is there another way to go about this outside of trying to create my own postfwd and Net::DNS::Async ports? Try to request help on [EMAIL PROTECTED] (cc'ed). Perl ports are usually very easy to create and maintain, so if you don't want to spend 30 minutes learning, someone with enough experience can probably do it in a couple of minutes if you ask nicely :) Yes, making a new port is the easiest way to install something from CPAN. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installing PERL modules from CPAN (instead of ports)
* Andrew Pantyukhin [EMAIL PROTECTED] [2008-05-04 20:23:09 +0400]: Try to request help on [EMAIL PROTECTED] (cc'ed). Perl ports are usually very easy to create and maintain, so if you don't want to spend 30 minutes learning, someone with enough experience can probably do it in a couple of minutes if you ask nicely :) I did not mean to imply I was unwilling to create the port; was just curious about how to not break the existing setup when installing modules outside of the ports tree. Someone replied off-list suggesting I install to a ~/local dir and set $PERL5LIB to take that directory into account. Yes, making a new port is the easiest way to install something from CPAN. I do prefer to keep everything organized in ports, so I created my first port: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/123382 Let's hope I didn't totally mess it up. :-) -- Sahil Tandon [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installing PERL modules from CPAN (instead of ports)
On May 4, 2008, at 11:59 AM, Sahil Tandon wrote: Yes, making a new port is the easiest way to install something from CPAN. I do prefer to keep everything organized in ports, so I created my first port: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/123382 Let's hope I didn't totally mess it up. :-) I found myself in an identical position and did the same thing (created a port for the first time) for Lchown. I suspect that now that I've overcome the initial barrier, I will be submitting more ports. And I might even remember to attach the .shar file to my PR next time. Cheers, -j ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Installing PERL modules from CPAN (instead of ports)
In order to setup postfwd (http://postfwd.org), of which there is no FreeBSD port, several PERL modules are required; one of them, Net::DNS::Async, also does not exist as a FreeBSD port. If I install this via CPAN, postfwd works, but then this breaks portupgrade and portmanager when trying to update perl or keep track of new versions of the bsdpan-* packages. Is there another way to go about this outside of trying to create my own postfwd and Net::DNS::Async ports? -- Sahil Tandon [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
where do i find these perl modules??
Do we have the following perl modules in ports? Tk Encode Encode::Unicode (Not sure if this is seprate from the Encode module) Encode::Guess HTML::Parser LWP::Simple I'm trying to understand how gtk20 and other graphic ports interface with non-GUI code and have downloaded several programs written in a number of scripts include java, ruby, python, and perl. If I knew how to interface some graphic suite with (say) python, my task would be much easier. I know how the athena toolkit works with C, but that's a bit dated. thanks in advance, gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: where do i find these perl modules??
--On February 24, 2008 3:30:18 PM -0800 Gary Kline [EMAIL PROTECTED] wrote: Do we have the following perl modules in ports? Tk Encode Encode::Unicode (Not sure if this is seprate from the Encode module) Encode::Guess HTML::Parser LWP::Simple Perl modules, in FreeBSD ports, are usually prepended with a p5- and can be found by using make search: E.g. cd to /usr/ports and type make search name=p5-Encode Port: p5-Encode-2.20 Path: /usr/ports/converters/p5-Encode [EMAIL PROTECTED] make search name=p5-HTML-Parser Port: p5-HTML-Parser-3.56 Path: /usr/ports/www/p5-HTML-Parser Info: Perl5 module for parsing HTML documents Maint: [EMAIL PROTECTED] B-deps: p5-HTML-Tagset-3.10 p5-Test-Harness-2.64 p5-Test-Simple-0.70 p5-URI-1.35 perl-5.8.8 R-deps: p5-HTML-Tagset-3.10 p5-URI-1.35 perl-5.8.8 WWW:http://search.cpan.org/dist/HTML-Parser/ LWP::Simple happens to be one of the exceptions to the normal naming convention. Its location is www/p5-libwww. It doesn't look like there's an Encode::Unicode port. There's a bunch of Tk perl ports. Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: where do i find these perl modules??
On Sun, 24 Feb 2008 18:11:00 -0600 Paul Schmehl [EMAIL PROTECTED] wrote: --On February 24, 2008 3:30:18 PM -0800 Gary Kline [EMAIL PROTECTED] wrote: Do we have the following perl modules in ports? Tk Encode Encode::Unicode (Not sure if this is seprate from the Encode module) Encode::Guess HTML::Parser LWP::Simple Perl modules, in FreeBSD ports, are usually prepended with a p5- and can be found by using make search: E.g. cd to /usr/ports and type make search name=p5-Encode Port: p5-Encode-2.20 Path: /usr/ports/converters/p5-Encode [EMAIL PROTECTED] make search name=p5-HTML-Parser Port: p5-HTML-Parser-3.56 Path: /usr/ports/www/p5-HTML-Parser Info: Perl5 module for parsing HTML documents Maint:[EMAIL PROTECTED] B-deps: p5-HTML-Tagset-3.10 p5-Test-Harness-2.64 p5-Test-Simple-0.70 p5-URI-1.35 perl-5.8.8 R-deps: p5-HTML-Tagset-3.10 p5-URI-1.35 perl-5.8.8 WWW: http://search.cpan.org/dist/HTML-Parser/ LWP::Simple happens to be one of the exceptions to the normal naming convention. Its location is www/p5-libwww. It doesn't look like there's an Encode::Unicode port. There's a bunch of Tk perl ports. IIRC, CPAN also allows installing perl modules. -- Best regards, Chris Fingerprint: 4201 94F9 E77F 9357 F3F3 56B7 8D20 ECC7 1AB5 FEF8 signature.asc Description: PGP signature
Re: Port for Perl modules
Nikolas Britton wrote: On 7/14/06, Gerard Seibert [EMAIL PROTECTED] wrote: Sorry if I asked this before, but does anyone know if there is a port for the following Perl modules: 1) Net-SMTP-SSL 2) Bundle Libnet http://www.freebsd.org/cgi/ports.cgi?query=p5stype=all That was probably the first thing I did. Unfortunately, the ports tree does not list Perl modules as they are listen on CPAN. Consequently, finding the exact module can sometimes be a challenge. In this particular case, I have not been able to isolate either of the two modules list above. I find it hard to believe that neither of them has been ported however, especially since so many obscure modules do reside in the ports tree. I donno... try: http://www.freebsd.org/cgi/url.cgi?ports/mail/p5-Net-SMTP-TLS/pkg-descr http://www.freebsd.org/cgi/url.cgi?ports/net/libnet10/pkg-descr The /net/libnet10 port might be the same as the CPAN Bundle-Libnet module(s). I will have to investigate that one. However, the /mail/p5-Net_SMTP-TLS port is not the same as the CPAN Net-SMTP-SSL module, which is the one I am looking for. CPAN lists both the Net::SMTP::SSL and Net::SMTP::TLS modules. They are not identical. I need the Net::SMTP::SSL module for a Perl program that I am using. It is required by the program. Thanks anyway. I will probably just use CPAN to install the modules. -- Gerard Seibert [EMAIL PROTECTED] Why does the bride always wear white? Because it is good for the dishwasher to match the stove and refrigerator. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Port for Perl modules
On 7/14/06, Gerard Seibert [EMAIL PROTECTED] wrote: Sorry if I asked this before, but does anyone know if there is a port for the following Perl modules: 1) Net-SMTP-SSL 2) Bundle Libnet http://www.freebsd.org/cgi/ports.cgi?query=p5stype=all -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Port for Perl modules
Nikolas Britton wrote: On 7/14/06, Gerard Seibert [EMAIL PROTECTED] wrote: Sorry if I asked this before, but does anyone know if there is a port for the following Perl modules: 1) Net-SMTP-SSL 2) Bundle Libnet http://www.freebsd.org/cgi/ports.cgi?query=p5stype=all That was probably the first thing I did. Unfortunately, the ports tree does not list Perl modules as they are listen on CPAN. Consequently, finding the exact module can sometimes be a challenge. In this particular case, I have not been able to isolate either of the two modules list above. I find it hard to believe that neither of them has been ported however, especially since so many obscure modules do reside in the ports tree. -- Gerard Seibert [EMAIL PROTECTED] Why does the bride always wear white? Because it is good for the dishwasher to match the stove and refrigerator. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Port for Perl modules
On 7/15/06, Gerard Seibert [EMAIL PROTECTED] wrote: Nikolas Britton wrote: On 7/14/06, Gerard Seibert [EMAIL PROTECTED] wrote: Sorry if I asked this before, but does anyone know if there is a port for the following Perl modules: 1) Net-SMTP-SSL 2) Bundle Libnet http://www.freebsd.org/cgi/ports.cgi?query=p5stype=all That was probably the first thing I did. Unfortunately, the ports tree does not list Perl modules as they are listen on CPAN. Consequently, finding the exact module can sometimes be a challenge. In this particular case, I have not been able to isolate either of the two modules list above. I find it hard to believe that neither of them has been ported however, especially since so many obscure modules do reside in the ports tree. I donno... try: http://www.freebsd.org/cgi/url.cgi?ports/mail/p5-Net-SMTP-TLS/pkg-descr http://www.freebsd.org/cgi/url.cgi?ports/net/libnet10/pkg-descr -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Port for Perl modules
On Sat, 15 Jul 2006, Gerard Seibert wrote: Nikolas Britton wrote: On 7/14/06, Gerard Seibert [EMAIL PROTECTED] wrote: Sorry if I asked this before, but does anyone know if there is a port for the following Perl modules: 1) Net-SMTP-SSL 2) Bundle Libnet http://www.freebsd.org/cgi/ports.cgi?query=p5stype=all That was probably the first thing I did. Unfortunately, the ports tree does not list Perl modules as they are listen on CPAN. Consequently, finding the exact module can sometimes be a challenge. In this particular case, I have not been able to isolate either of the two modules list above. I find it hard to believe that neither of them has been ported however, especially since so many obscure modules do reside in the ports tree. The names are formatted a little differently, but they seem to be consistent. CPAN's Net::SMTP would be p5-Net-SMTP in ports. Replace the double colon with a dash; the search will work without the p5. You can use CPAN directly, of course; the main reason not to is the ports make updating and deinstalling easier. There's also CPANPLUS (/usr/ports/devel/p5-CPANPLUS) which is supposed to be the new way to deal with CPAN, at least for the non-FreeBSD world. I haven't tried it. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Port for Perl modules
Sorry if I asked this before, but does anyone know if there is a port for the following Perl modules: 1) Net-SMTP-SSL 2) Bundle Libnet Thanks! -- Gerard Seibert [EMAIL PROTECTED] My parents saw the president they loved get shot in the head. I saw my president get head. Elon Gold ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ldconfig -m for libs... how about upgrading @INC for perl modules??
Hi, After upgrading perl, a lot of applications broke, primarily because the new perl looks into site_perl/5.8.8 however my application modules are still in site_perl/5.8.7 Question: Is there an ldconfig -m sort of thing for this job? My new perl package installation process didn't bother about this one... Any idea? Thanks. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ldconfig -m for libs... how about upgrading @INC for perl modules??
On Sun, Jun 04, 2006 at 08:16:41PM -0700, Mark Jayson Alvarez wrote: Hi, After upgrading perl, a lot of applications broke, primarily because the new perl looks into site_perl/5.8.8 however my application modules are still in site_perl/5.8.7 Question: Is there an ldconfig -m sort of thing for this job? My new perl package installation process didn't bother about this one... Any idea? Thanks. /usr/ports/UPDATING Kris pgpixVDllQjEg.pgp Description: PGP signature
How to link CPAN to FreeBSD ports perl modules?
Hello everyone, I'm looking for a way to link perl modules found in CPAN and the ones found in the FreeBSD ports repository. For example, let's say I need to install the following CPAN module: http://search.cpan.org/dist/libwww-perl/lib/HTTP/Request/Common.pm A search in the ports for ^p5-HTTP will return all perl modules which names start with p5-HTTP. But the above CPAN module does not exist. Does this means that the CPAN module is not in the ports? Or is there another way to link CPAN modules to the ports collection? Any help would be appreciated. Cheers, David -- David Robillard UNIX systems administrator, CISSP Montreal: +1 514 966 0122 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to link CPAN to FreeBSD ports perl modules?
David Robillard wrote: Hello everyone, I'm looking for a way to link perl modules found in CPAN and the ones found in the FreeBSD ports repository. For example, let's say I need to install the following CPAN module: http://search.cpan.org/dist/libwww-perl/lib/HTTP/Request/Common.pm A search in the ports for ^p5-HTTP will return all perl modules which names start with p5-HTTP. But the above CPAN module does not exist. Does this means that the CPAN module is not in the ports? Or is there another way to link CPAN modules to the ports collection? The CPAN module is libwww-perl, in the ports as p5-libwww-perl $ pkg_info -o p5-libwww\* Information for p5-libwww-5.805: Origin: www/p5-libwww hth, --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Perl modules
Thanks it seems to do the trick. olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Perl modules
Hi, Are you aware of any magical formula that would list the Perl modules installed in a configuration? I have to set-up a new machine and would need to re-install (newer version of) all themodules used on the old machine. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Perl modules
On Wed, 9 Feb 2005 14:13:30 +0700 (ICT) Olivier Nicole [EMAIL PROTECTED] wrote: Are you aware of any magical formula that would list the Perl modules installed in a configuration? Your question interested me so I took it upon myself to Google for it. :p This should do it for you: http://mail.pm.org/pipermail/vienna-pm/2002-August/001022.html -AL. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Perl modules
On Wed, 9 Feb 2005 14:13:30 +0700 (ICT) Olivier Nicole [EMAIL PROTECTED] wrote: Are you aware of any magical formula that would list the Perl modules installed in a configuration? And an alternative approach: http://tek-tips.com/viewthread.cfm?qid=898931 -AL. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Perl modules
On Tue, Feb 01, 2005 at 11:06:57AM +0100, [EMAIL PROTECTED] typed: Hello, I have to do thise things: A) if Perl is installed from pkg_add and not the ports, uninstall it. pkg_delete -f perl5.8 B) add ENABLE_SUIDPERL=true to /etc/make.conf C) cd to /usr/ports/lang/perl5.8 D) make -DENABLE_SUIDPERLTRUE install clean E) re-install all the perl modules from the ports. F) Follow the QMR manual to the T!!! The Re-install of the perl modules from ports part How do I do that? How do I id all my perl modules and is there a way to re-install them all together? To check which modules are installed (packages/ports and CPAN) I use the following script: #!/usr/bin/perl # list installed modules use ExtUtils::Installed; my $instmod = ExtUtils::Installed-new(); foreach my $module ($instmod-modules()) { my $version = $instmod-version($module) || ???; print $module -- $version\n; } I know of no way to automatically reinstall them though... Ruben ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Perl modules
Hello, I have to do thise things: A) if Perl is installed from pkg_add and not the ports, uninstall it. pkg_delete -f perl5.8 B) add ENABLE_SUIDPERL=true to /etc/make.conf C) cd to /usr/ports/lang/perl5.8 D) make -DENABLE_SUIDPERLTRUE install clean E) re-install all the perl modules from the ports. F) Follow the QMR manual to the T!!! The Re-install of the perl modules from ports part How do I do that? How do I id all my perl modules and is there a way to re-install them all together? Hope you all can help me out. Thanks for your time. Kind regards Peter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Perl modules
[EMAIL PROTECTED] wrote: Hello, I have to do thise things: A) if Perl is installed from pkg_add and not the ports, uninstall it. pkg_delete -f perl5.8 B) add ENABLE_SUIDPERL=true to /etc/make.conf C) cd to /usr/ports/lang/perl5.8 D) make -DENABLE_SUIDPERLTRUE install clean E) re-install all the perl modules from the ports. F) Follow the QMR manual to the T!!! The Re-install of the perl modules from ports part How do I do that? How do I id all my perl modules and is there a way to re-install them all together? Hope you all can help me out. Thanks for your time. See /usr/ports/UPDATING entry 20040730 -- Regards, Gary Hayers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Upgrading perl modules
I once saw, and used, a portupgrade command line to upgrade *all* installed perl modules. It went something like: $ portupgrade p5-\* However, when I try the command now I just get an error message. Can anyone tell me the proper command? -- Roger ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading perl modules
portupgrade :p5- On Mon, Dec 22, 2003 at 05:55:17PM +0700, Roger Merritt wrote: I once saw, and used, a portupgrade command line to upgrade *all* installed perl modules. It went something like: $ portupgrade p5-\* However, when I try the command now I just get an error message. Can anyone tell me the proper command? -- Roger ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- robert t g tan pgp0.pgp Description: PGP signature
Re: Upgrading perl modules
Roger Merritt [EMAIL PROTECTED] writes: I once saw, and used, a portupgrade command line to upgrade *all* installed perl modules. It went something like: $ portupgrade p5-\* However, when I try the command now I just get an error message. Can anyone tell me the proper command? That one should work. What error message do you get? [My suspicion would be a typo...] -- Lowell Gilbert, embedded/networking software engineer, Boston area: resume/CV at http://be-well.ilk.org:8088/~lowell/resume/ username/password public ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading perl modules
At 01:41 AM 12/23/03, you wrote: Roger Merritt [EMAIL PROTECTED] writes: I once saw, and used, a portupgrade command line to upgrade *all* installed perl modules. It went something like: $ portupgrade p5-\* However, when I try the command now I just get an error message. Can anyone tell me the proper command? That one should work. What error message do you get? [My suspicion would be a typo...] [EMAIL PROTECTED]:~]# portupgrade p5-\* [Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 193 packages found (-0 +1) . done] /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:310:in `deorigin': failed to convert nil into String (PkgDB::DBError) from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:903:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:902:in `each' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:902:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:894:in `each' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:894:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:916:in `sort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:920:in `sort_build!' from /usr/local/sbin/portupgrade:674:in `main' from /usr/local/sbin/portupgrade:207:in `initialize' from /usr/local/sbin/portupgrade:207:in `new' from /usr/local/sbin/portupgrade:207:in `main' from /usr/local/sbin/portupgrade:1846 -- Roger ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading perl modules
At 08:48 PM 12/22/03, you wrote: $ portupgrade p5-\* However, when I try the command now I just get an error message. Can anyone tell me the proper command? #portupgrade p5-* (as root) That gives me: [EMAIL PROTECTED]:~]# portupgrade p5-* portupgrade: No match. [EMAIL PROTECTED]:~]# portupgrade 'p5-*' /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:310:in `deorigin': failed to convert nil into String (PkgDB::DBError) from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:903:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:902:in `each' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:902:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:894:in `each' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:894:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:916:in `sort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:920:in `sort_build!' from /usr/local/sbin/portupgrade:674:in `main' from /usr/local/sbin/portupgrade:207:in `initialize' from /usr/local/sbin/portupgrade:207:in `new' from /usr/local/sbin/portupgrade:207:in `main' from /usr/local/sbin/portupgrade:1846 -- Roger ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading perl modules
On Tue, Dec 23, 2003 at 07:42:53AM +0700, Roger Merritt wrote: At 08:48 PM 12/22/03, you wrote: $ portupgrade p5-\* However, when I try the command now I just get an error message. Can anyone tell me the proper command? #portupgrade p5-* (as root) That gives me: [EMAIL PROTECTED]:~]# portupgrade p5-* portupgrade: No match. You need to execute the command in the package db directory, /var/db/pkg. [3:42:50] [EMAIL PROTECTED] /var/db/pkg# portupgrade p5-* If you still get the errors you list below perhaps try reinstalling portupgrade. [EMAIL PROTECTED]:~]# portupgrade 'p5-*' /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:310:in `deorigin': failed to convert nil into String (PkgDB::DBError) from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:903:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:902:in `each' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:902:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:894:in `each' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:894:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:916:in `sort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:920:in `sort_build!' from /usr/local/sbin/portupgrade:674:in `main' from /usr/local/sbin/portupgrade:207:in `initialize' from /usr/local/sbin/portupgrade:207:in `new' from /usr/local/sbin/portupgrade:207:in `main' from /usr/local/sbin/portupgrade:1846 -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ http://jez.hancock-family.com/ - personal weblog http://ipfwstats.sf.net/- ipfw peruser traffic logging ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading perl modules
in message [EMAIL PROTECTED], wrote Jez Hancock thusly... On Tue, Dec 23, 2003 at 07:42:53AM +0700, Roger Merritt wrote: At 08:48 PM 12/22/03, you wrote: $ portupgrade p5-\* However, when I try the command now I just get an error message. Can anyone tell me the proper command? #portupgrade p5-* (as root) That gives me: [EMAIL PROTECTED]:~]# portupgrade p5-* portupgrade: No match. You need to execute the command in the package db directory, /var/db/pkg. [3:42:50] [EMAIL PROTECTED] /var/db/pkg# portupgrade p5-* That is (cd /var/db/pkg) just crude, and should not be necessary according to portupgrade(1)... OPTIONS The following command line arguments are supported: pkgname_glob Specify one of these: a full pkgname, a pkgname without version, a shell glob pattern in which you can use wildcards `*', `?', and `[..]', an extended regular expression preceded by a colon `:', or a date range specification preceded by either `' or `'. See pkg_glob(1) for details and concrete examples. ...so if portupgrade 'p5-*' (keep the single quotes, but not the double in actual usage) does not work, OP should file a problem report (via send-pr(1)). - Parv -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Upgrading perl modules (as ports) and already installed problems
Howdy, I'm looking for the appropriate portupgrade magic to handle these sorts of situations automatically: You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of www/p5-HTML-Tagset without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. This happens when upgrade perl modules ports a /lot/ for me. As I use HTML::Mason on my production web sites, this makes a Perl upgrade a lengthy and error-prone manual operation. As an example of what I currently do, take the upgrade to perl 5.8.2. After portupgrading it, apache will not restart as mod_perl is in the 5.8.1 dir. Thus I'd do a `portupgrade -f mod_perl` and it will do it's thing until it encounters a sub-port that gives the above error message. Then I'd do a `cd port_dir make deinstall make reinstall portupgrade -f mod_perl`. Repeat for the next perl module. Whats the best way to ensure that all perl modules are properly and automatically upgrade when perl itself is upgraded? -T -- There is no history of mankind, there are only many histories of all kinds of aspects of human life. And one of these is the history of political power. This is elevated into the history of the world. - Karl Popper, _The Open Society and its Enemies_ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading perl modules (as ports) and already installed problems
On Mon, Nov 17, 2003 at 09:14:31AM -0600, Tillman Hodgson wrote: Whats the best way to ensure that all perl modules are properly and automatically upgrade when perl itself is upgraded? I've since discovered that I can shorten the time somewhat by using `pkg_info -R perl-5.6.1_14` and then portupgrading -f the ports listed. This saves going over already-upgraded ports on every run. -T -- Yield to temptation; it may not pass your way again. - Robert Heinlein ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Confused about perl versions and perl modules
I'd love to understand the interaction between perl versions, FreeBSD versions and perl modules. Frinstance I have a 4.7 system with only the base system perl, and a number of perl modules from the ports collection. The perl modules seem to install themselves under /usr/local/lib/perl5/site_perl/5.005/ and put the man pages under /usr/local/lib/perl5/5.00503/man. Would this be different if I had perl 5.6 from ports installed and had done a use.perl port before installing them??? I note that on a 5.1 system under /usr/local/lib/perl5 there is both 5.00503 and 5.6.1 and site_perl and under site_perl there is 5.005 and 5.6.1. This seems kind of surprising given 5.x doesn't have a base system perl and the ports version is 5.6. I guess the real question is, if I move from base to ports version, do I have to uninstall and reinstall all the modules from ports? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]