Perl error in Munin after upgrading Perl
Dear All, Munin stopped working after I switched to Perl 5.16 on FreeBSD 9.1. I rebuilt all ports that depend on Perl. What did I do wrong? Can't locate IO/Socket/INET6.pm in @INC (@INC contains: /usr/local/lib/perl5/5.16/BSDPAN /usr/local/lib/perl5/site_perl/5.16/mach /usr/local/lib/perl5/site_perl/5.16 /usr/local/lib/perl5/5.16/mach /usr/local/lib/perl5/5.16 .) at /usr/local/lib/perl5/site_perl/5.16/Munin/Master/Node.pm line 18. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.16/Munin/Master/Node.pm line 18. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.16/Munin/Master/UpdateWorker.pm line 17. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.16/Munin/Master/UpdateWorker.pm line 17. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.16/Munin/Master/Update.pm line 17. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.16/Munin/Master/Update.pm line 17. Compilation failed in require at /usr/local/share/munin/munin-update line 14. BEGIN failed--compilation aborted at /usr/local/share/munin/munin-update line 14. Kees Jan ___ 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: Upgrading perl
On 8/29/2012 1:32 PM, Lowell Gilbert wrote: Jack Stone writes: Actually, on other servers with the same upgrading needs, perl-5.12 installed without any issue. My intention is to upgrade perl in increments to get well past EOL. You're somewhat on your own, then; I can't test any of my ideas before suggesting them to you. Wonder if I just deinstalled the old perl5-5.10 and then installed the perl5-12 would work. I can do that right from the port: make perl5-12 first to see if that works, then: # make deinstall (perl-5.10) then: make install clean I would be surprised if the perl-5.12 port will build for you; I think you'll get the same error. If not, then yes, it should work. What do you think? I've got to move up because an important perl program requires a minimum 5.12. Well, it's also possible that there's a local problem on that machine. You indicated that you used portupgrade for similar updates on similarly-aged machines, but I'll guess that they were only roughly similar. I'll guess that you built your own INDEX file; if not, you probably should (and the associated database for portupgrade). Compare the infrastructure in ports/Mk (and maybe /usr/share/mk) with the similar machines that succeeded, and look at the Makefile in perl5.12 to make sure it sets options properly. Good luck. AHAH! This just came out in ports UPDATING and maybe helps: 20120820: AFFECTS: users of ports-mgmt/portupgrade-devel AUTHOR: bdrew...@freebsd.org Due to a bug introduced in 20120601, portupgrade is unable to upgrade itself on FreeBSD 7.x. This has been fixed in 20120820. ports-mgmt/portupgrade is not affected. To upgrade, execute the following: # cd /usr/ports/ports-mgmt/portupgrade-devel && make deinstall install clean -- -- All the best, Jack ___ 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: Upgrading perl
On 8/29/2012 1:32 PM, Lowell Gilbert wrote: Jack Stone writes: Actually, on other servers with the same upgrading needs, perl-5.12 installed without any issue. My intention is to upgrade perl in increments to get well past EOL. You're somewhat on your own, then; I can't test any of my ideas before suggesting them to you. Wonder if I just deinstalled the old perl5-5.10 and then installed the perl5-12 would work. I can do that right from the port: make perl5-12 first to see if that works, then: # make deinstall (perl-5.10) then: make install clean I would be surprised if the perl-5.12 port will build for you; I think you'll get the same error. If not, then yes, it should work. What do you think? I've got to move up because an important perl program requires a minimum 5.12. Well, it's also possible that there's a local problem on that machine. You indicated that you used portupgrade for similar updates on similarly-aged machines, but I'll guess that they were only roughly similar. I'll guess that you built your own INDEX file; if not, you probably should (and the associated database for portupgrade). Compare the infrastructure in ports/Mk (and maybe /usr/share/mk) with the similar machines that succeeded, and look at the Makefile in perl5.12 to make sure it sets options properly. Good luck. Hi Lowell and thanks for the good wishes! Yes, on the other servers which upgraded without issue are running the same freebsd-7.x, and the make files are identical for the perl-5.12. I just now ran a test on a test server of same vintage and it did build directly in the port just using "make" to see if it would work. It did. The trick is to DISABLE_CONFLICTS=YES in the /etc/make.conf. This still doesn't mean the important production server will cooperatebut will have to take a risk and try it. That server has a bootable clone that is run every day so I can rescue the server. I will just to make a fresh clone right before I try the perl upgradeso to minimize any loss of data. -- All the best, Jack ___ 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: Upgrading perl
Jack Stone writes: > Actually, on other servers with the same upgrading needs, perl-5.12 > installed without any issue. My intention is to upgrade perl in > increments to get well past EOL. You're somewhat on your own, then; I can't test any of my ideas before suggesting them to you. > Wonder if I just deinstalled the old perl5-5.10 and then installed the > perl5-12 would work. I can do that right from the port: make perl5-12 > first to see if that works, then: > # make deinstall (perl-5.10) then: make install clean I would be surprised if the perl-5.12 port will build for you; I think you'll get the same error. If not, then yes, it should work. > What do you think? I've got to move up because an important perl > program requires a minimum 5.12. Well, it's also possible that there's a local problem on that machine. You indicated that you used portupgrade for similar updates on similarly-aged machines, but I'll guess that they were only roughly similar. I'll guess that you built your own INDEX file; if not, you probably should (and the associated database for portupgrade). Compare the infrastructure in ports/Mk (and maybe /usr/share/mk) with the similar machines that succeeded, and look at the Makefile in perl5.12 to make sure it sets options properly. Good luck. ___ 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: Upgrading perl
On 8/29/12 10:59 AM, David Newman wrote: > On 8/29/12 8:08 AM, Jack Stone wrote: >> On 8/29/2012 8:27 AM, Lowell Gilbert wrote: >>> Jack Stone writes: >>> uname -a FreeBSD mail.sagedata.net 7.0-RELEASE-p9 FreeBSD 7.0-RELEASE-p9 #2: Sun Jan 18 19:59:27 CST 2009 Running perl5.10 (yeah, old!) This is a production server. Been playing catchup on ports including perl as UPDATING recommends: portupgrade -o lang/perl5.12 -f perl-5.10.\* That has worked on other servers, but not this one. Anyone know what I need to do to clean this up?? But, can't get past this fatal error: mail# portupgrade -o lang/perl5.12 -f perl-5.10.\* "/usr/ports/Mk/bsd.options.mk", line 231: Error in archive specification: "WITHOUT_" "/usr/ports/Mk/bsd.options.mk", line 231: Error in archive specification: "WITHOUT_" make: fatal errors encountered -- cannot continue ** Makefile possibly broken: lang/perl5.12: >>> You're almost four years past the end-of-life on the release you're >>> running, so it's been left behind in terms of support. In this case it >>> looks (based on a *very* quick look) that you may be running into >>> changes in how make(1) actually works, in which case backporting the >>> ports functionality will be more work than it's worth. >>> >>> If the machine "can't" be updated, and assuming it's secure (which hard >>> to be sure about with old software on the Internet), you may be best off >>> leaving it alone. >>> >>> Good luck. >>> >>> >> Thanks for the reply. >> >> Actually, on other servers with the same upgrading needs, perl-5.12 >> installed without any issue. My intention is to upgrade perl in >> increments to get well past EOL. >> >> Wonder if I just deinstalled the old perl5-5.10 and then installed the >> perl5-12 would work. I can do that right from the port: make perl5-12 >> first to see if that works, then: >> # make deinstall (perl-5.10) then: make install clean > > If you're using portmaster, you should be able to do something like the > following from /usr/ports: > > portmaster -o lang/perl5.16 lang/perl5.10 > portmaster p5- > > and perl automagically will upgrade. Sorry, I'd missed that you'd tried this and it isn't working. make has changed since the 7.0 days. I agree with Jack that you're better off leaving well enough alone. If you really need perl5.16+ capabilities you're much better off moving your program to a more recent version of FreeBSD. dn > > This is from /usr/ports/UPDATING. You can also find instructions for > portupgrade there. > > Don't know about dependencies with 7.0, though. > > dn > > >> >> What do you think? I've got to move up because an important perl program >> requires a minimum 5.12. > > > >> > > ___ > 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" > ___ 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: Upgrading perl
On 8/29/12 8:08 AM, Jack Stone wrote: > On 8/29/2012 8:27 AM, Lowell Gilbert wrote: >> Jack Stone writes: >> >>> uname -a FreeBSD mail.sagedata.net 7.0-RELEASE-p9 FreeBSD >>> 7.0-RELEASE-p9 #2: Sun Jan 18 19:59:27 CST 2009 >>> >>> Running perl5.10 (yeah, old!) >>> This is a production server. >>> >>> >>> Been playing catchup on ports including perl as UPDATING recommends: >>> portupgrade -o lang/perl5.12 -f perl-5.10.\* >>> >>> That has worked on other servers, but not this one. Anyone know what I >>> need to do to clean this up?? >>> >>> But, can't get past this fatal error: >>> mail# portupgrade -o lang/perl5.12 -f perl-5.10.\* >>> "/usr/ports/Mk/bsd.options.mk", line 231: Error in archive >>> specification: "WITHOUT_" >>> "/usr/ports/Mk/bsd.options.mk", line 231: Error in archive >>> specification: "WITHOUT_" >>> make: fatal errors encountered -- cannot continue >>> ** Makefile possibly broken: lang/perl5.12: >> You're almost four years past the end-of-life on the release you're >> running, so it's been left behind in terms of support. In this case it >> looks (based on a *very* quick look) that you may be running into >> changes in how make(1) actually works, in which case backporting the >> ports functionality will be more work than it's worth. >> >> If the machine "can't" be updated, and assuming it's secure (which hard >> to be sure about with old software on the Internet), you may be best off >> leaving it alone. >> >> Good luck. >> >> > Thanks for the reply. > > Actually, on other servers with the same upgrading needs, perl-5.12 > installed without any issue. My intention is to upgrade perl in > increments to get well past EOL. > > Wonder if I just deinstalled the old perl5-5.10 and then installed the > perl5-12 would work. I can do that right from the port: make perl5-12 > first to see if that works, then: > # make deinstall (perl-5.10) then: make install clean If you're using portmaster, you should be able to do something like the following from /usr/ports: portmaster -o lang/perl5.16 lang/perl5.10 portmaster p5- and perl automagically will upgrade. This is from /usr/ports/UPDATING. You can also find instructions for portupgrade there. Don't know about dependencies with 7.0, though. dn > > What do you think? I've got to move up because an important perl program > requires a minimum 5.12. > ___ 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: Upgrading perl
On 8/29/2012 8:27 AM, Lowell Gilbert wrote: Jack Stone writes: uname -a FreeBSD mail.sagedata.net 7.0-RELEASE-p9 FreeBSD 7.0-RELEASE-p9 #2: Sun Jan 18 19:59:27 CST 2009 Running perl5.10 (yeah, old!) This is a production server. Been playing catchup on ports including perl as UPDATING recommends: portupgrade -o lang/perl5.12 -f perl-5.10.\* That has worked on other servers, but not this one. Anyone know what I need to do to clean this up?? But, can't get past this fatal error: mail# portupgrade -o lang/perl5.12 -f perl-5.10.\* "/usr/ports/Mk/bsd.options.mk", line 231: Error in archive specification: "WITHOUT_" "/usr/ports/Mk/bsd.options.mk", line 231: Error in archive specification: "WITHOUT_" make: fatal errors encountered -- cannot continue ** Makefile possibly broken: lang/perl5.12: You're almost four years past the end-of-life on the release you're running, so it's been left behind in terms of support. In this case it looks (based on a *very* quick look) that you may be running into changes in how make(1) actually works, in which case backporting the ports functionality will be more work than it's worth. If the machine "can't" be updated, and assuming it's secure (which hard to be sure about with old software on the Internet), you may be best off leaving it alone. Good luck. Thanks for the reply. Actually, on other servers with the same upgrading needs, perl-5.12 installed without any issue. My intention is to upgrade perl in increments to get well past EOL. Wonder if I just deinstalled the old perl5-5.10 and then installed the perl5-12 would work. I can do that right from the port: make perl5-12 first to see if that works, then: # make deinstall (perl-5.10) then: make install clean What do you think? I've got to move up because an important perl program requires a minimum 5.12. -- -- All the best, Jack ___ 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: Upgrading perl
Jack Stone writes: > uname -a FreeBSD mail.sagedata.net 7.0-RELEASE-p9 FreeBSD > 7.0-RELEASE-p9 #2: Sun Jan 18 19:59:27 CST 2009 > > Running perl5.10 (yeah, old!) > This is a production server. > > > Been playing catchup on ports including perl as UPDATING recommends: > portupgrade -o lang/perl5.12 -f perl-5.10.\* > > That has worked on other servers, but not this one. Anyone know what I > need to do to clean this up?? > > But, can't get past this fatal error: > mail# portupgrade -o lang/perl5.12 -f perl-5.10.\* > "/usr/ports/Mk/bsd.options.mk", line 231: Error in archive > specification: "WITHOUT_" > "/usr/ports/Mk/bsd.options.mk", line 231: Error in archive > specification: "WITHOUT_" > make: fatal errors encountered -- cannot continue > ** Makefile possibly broken: lang/perl5.12: You're almost four years past the end-of-life on the release you're running, so it's been left behind in terms of support. In this case it looks (based on a *very* quick look) that you may be running into changes in how make(1) actually works, in which case backporting the ports functionality will be more work than it's worth. If the machine "can't" be updated, and assuming it's secure (which hard to be sure about with old software on the Internet), you may be best off leaving it alone. Good luck. ___ 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"
Upgrading perl
uname -a FreeBSD mail.sagedata.net 7.0-RELEASE-p9 FreeBSD 7.0-RELEASE-p9 #2: Sun Jan 18 19:59:27 CST 2009 Running perl5.10 (yeah, old!) This is a production server. Been playing catchup on ports including perl as UPDATING recommends: portupgrade -o lang/perl5.12 -f perl-5.10.\* That has worked on other servers, but not this one. Anyone know what I need to do to clean this up?? But, can't get past this fatal error: mail# portupgrade -o lang/perl5.12 -f perl-5.10.\* "/usr/ports/Mk/bsd.options.mk", line 231: Error in archive specification: "WITHOUT_" "/usr/ports/Mk/bsd.options.mk", line 231: Error in archive specification: "WITHOUT_" make: fatal errors encountered -- cannot continue ** Makefile possibly broken: lang/perl5.12: ** Please report this to the maintainer for lang/perl5.12 No closing parenthesis in archive specification No closing parenthesis in archive specification /usr/local/sbin/portupgrade:1560:in `get_pkgname': Makefile broken (MakefileBrokenError) from /usr/local/sbin/portupgrade:631:in `block (4 levels) in main' from /usr/local/sbin/portupgrade:615:in `each' from /usr/local/sbin/portupgrade:615:in `block (3 levels) in main' from /usr/local/sbin/portupgrade:588:in `catch' from /usr/local/sbin/portupgrade:588:in `block (2 levels) in main' from /usr/local/lib/ruby/1.9/optparse.rb:1404:in `call' from /usr/local/lib/ruby/1.9/optparse.rb:1404:in `block (2 levels) in parse_in_order' from /usr/local/lib/ruby/1.9/optparse.rb:1399:in `catch' from /usr/local/lib/ruby/1.9/optparse.rb:1399:in `block in parse_in_order' from /usr/local/lib/ruby/1.9/optparse.rb:1347:in `catch' from /usr/local/lib/ruby/1.9/optparse.rb:1347:in `parse_in_order' from /usr/local/lib/ruby/1.9/optparse.rb:1341:in `order!' from /usr/local/lib/ruby/1.9/optparse.rb:1334:in `order' from /usr/local/sbin/portupgrade:565:in `block in main' from /usr/local/lib/ruby/1.9/optparse.rb:882:in `initialize' from /usr/local/sbin/portupgrade:236:in `new' from /usr/local/sbin/portupgrade:236:in `main' from /usr/local/sbin/portupgrade:2344:in `' All the best, Jack ___ 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: After upgrading Perl, cannot reinstall modules - Cwd.so: Undefined symbol "perl_get_sv
Mark Kane wrote: Hi everyone. I finally did a big portupgrade on a 4.9-RELEASE system today and I'm having some problems with Perl. I got it updated to 5.8.7 (was 5.6.x before), ran "use.perl port", and ran the perl-after-upgrade script which were all said in UPDATING. Now it's time to force upgrade/recompile the Perl modules for the new version. Unfortunately this is where I get stuck: xeon1# portupgrade -f p5-\* [snip] ===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - found ===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - found ===> Configuring for p5-HTML-Tagset-3.10 /usr/libexec/ld-elf.so.1: /usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so: Undefined symbol "perl_get_sv" *** Error code 1 On the odd chance that you haven't resolved this problem... Cwd is part of the PathTools perl package. Try forcing the reinstallation of ports/devel/p5-PathTools first and see if that gets things back in sync. David -- "It's overkill of course, but you can never have too much overkill." ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: After upgrading Perl, cannot reinstall modules - Cwd.so: Undefined symbol "perl_get_sv
t;>>> > >>>>>>>>>/usr/local/bin/perl Makefile.PL > >>>>>>>>> > >>>>>>>>>I bet it works ok. > >>>>>>>> > >>>>>>>>Thanks for your replies. Your explanation makes sense about the > >>>>>>>>/usr/bin vs /usr/local/bin, however if I do: /usr/bin/perl > >>>>>>>> --version, I get: > >>>>>>>> > >>>>>>>>This is perl, v5.8.7 built for i386-freebsd-64int > >>>>>>>>(with 1 registered patch, see perl -V for more detail) > >>>>>>>> > >>>>>>>>If I do: /usr/local/bin/perl --version, I get: > >>>>>>>> > >>>>>>>>This is perl, v5.8.7 built for i386-freebsd-64int > >>>>>>>>(with 1 registered patch, see perl -V for more detail) > >>>>>>>> > >>>>>>>>Looks like /usr/bin/perl is a link to another file: > >>>>>>>> > >>>>>>>>xeon1# ls -l /usr/bin/perl > >>>>>>>>lrwxr-xr-x 1 root wheel 24 Nov 26 18:32 /usr/bin/perl -> > >>>>>>>>/usr/local/bin/perl5.8.7 > >>>>>>>> > >>>>>>>>Finally, I tried what you said anyway: > >>>>>>>> > >>>>>>>>xeon1# perl Makefile.PL > >>>>>>>>/usr/libexec/ld-elf.so.1: > >>>>>>>>/usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so: Undefined symbol > >>>>>>>>"perl_get_sv" > >>>>>>>>xeon1# /usr/local/bin/perl Makefile.PL > >>>>>>>>/usr/libexec/ld-elf.so.1: > >>>>>>>>/usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so: Undefined symbol > >>>>>>>>"perl_get_sv" > >>>>>>>> > >>>>>>>>Thanks. > >>>>>>>> > >>>>>>>>-Mark > >>>>>>> > >>>>>>>Beats me what is wrong then. This is from running: perldoc > >>>>>>>perl58delta.pod > >>>>>>> > >>>>>>>Perl_get_sv > >>>>>>> > >>>>>>> You may get errors like ’Undefined symbol "Perl_get_sv"’ or > >>>>>>>"can’t resolve symbol ’Perl_get_sv’", or the symbol may be > >>>>>>>"Perl_sv_2pv". This probably means that you are trying to use an > >>>>>>> older shared Perl library (or extensions linked with such) with > >>>>>>> Perl 5.8.0 executable. Perl used to have such a subroutine, but > >>>>>>> that is no more the case. Check your shared library path, and any > >>>>>>> shared Perl libraries in those directories. > >>>>>>> > >>>>>>> Sometimes this problem may also indicate a partial Perl 5.8.0 > >>>>>>>installa‐ tion, see "Mac OS X dyld undefined symbols" for an example > >>>>>>>and how to deal with it. > >>>>>>> > >>>>>>> > >>>>>>>-Mike > >>>>>> > >>>>>>Well I tried to find some more info and ended up doing a force > >>>>>>reinstall of perl. I also ran "use.perl port" and perl-after-upgrade > >>>>>>again (which didn't show anything as moved or needed to be done so I > >>>>>>did not continue with -f). > >>>>>> > >>>>>>Now there is a different error when trying to force upgrade/recompile > >>>>>>the perl modules: > >>>>>> > >>>>>>===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 > >>>>>> - found ===> Configuring for p5-HTML-Tagset-3.10 > >>>>>>Checking if your kit is complete... > >>>>>>Segmentation fault (core dumped) > >>>>>>*** Error code 139 > >>>>>> > >>>>>>Stop in /usr/ports/www/p5-HTML-Tagset. > >>>>>> > >>>>>>Any ideas? Again, this is a live production server that heavily > >>>>>> relies on Perl. > >>>>>> > >>>>>>Thanks. > >>>>>> > >>>>>>-Mark > >>>>> > >>>>>I need to see more context, are you manually trying to install > >>>>>p5-HTML-Tagset or are you using portupgrade/portmanager for example. > >>>>> > >>>>>-Mike > >>>> > >>>>I am doing as /usr/ports/UPDATING says to upgrade/reinstall all the > >>>> Perl modules, which is to do: > >>>> > >>>>portupgrade -f p5-\* > >>>> > >>>>p5-HTML-Tagset is just the first one that it tries, and it produces > >>>> this: > >>>> > >>>>---> Upgrading 'p5-HTML-Tagset-3.03' to 'p5-HTML-Tagset-3.10' > >>>>(www/p5-HTML-Tagset) > >>>>---> Building '/usr/ports/www/p5-HTML-Tagset' > >>>>===> Cleaning for perl-5.8.7 > >>>>===> Cleaning for p5-HTML-Tagset-3.10 > >>>>===> Vulnerability check disabled, database not found > >>>>===> Extracting for p5-HTML-Tagset-3.10 > >>>>=> MD5 Checksum OK for HTML-Tagset-3.10.tar.gz. > >>>>===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - > >>>>found ===> Patching for p5-HTML-Tagset-3.10 > >>>>===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - > >>>>found ===> p5-HTML-Tagset-3.10 depends on file: > >>>>/usr/local/bin/perl5.8.7 - found ===> Configuring for > >>>>p5-HTML-Tagset-3.10 > >>>>Checking if your kit is complete... > >>>>Segmentation fault (core dumped) > >>>>*** Error code 139 > >>>> > >>>>Stop in /usr/ports/www/p5-HTML-Tagset. > >>>>** Command failed [exit code 1]: /usr/bin/script -qa > >>>>/tmp/portupgrade52316.0 make > >>>>** Fix the problem and try again. > >>>> > >>>> > >>>>It attempts the other Perl modules as well but fails with the same. > >>>> Here is the final report: > >>>> > >>>> > >>>>** Listing the failed packages (*:skipped / !:failed) > >>>> ! www/p5-HTML-Tagset (p5-HTML-Tagset-3.03) (coredump) > >>>> ! converters/p5-MIME-Base64 (p5-MIME-Base64-2.20) > >>>>(coredump) * security/p5-Digest (p5-Digest-1.13) > >>>> ! security/p5-Authen-SASL (p5-Authen-SASL-2.04) (coredump) > >>>> ! databases/p5-DBI (p5-DBI-1.38)(coredump) > >>>> ! audio/p5-libvorbis (p5-libvorbis-0.04)(coredump) > >>>> * net/p5-URI (p5-URI-1.25) > >>>> * net/p5-Net (p5-Net-1.16,1) > >>>> * www/p5-HTML-Parser (p5-HTML-Parser-3.31) > >>>> * databases/p5-DBD-mysql (p5-DBD-mysql-2.1026_1) > >>>> ! security/p5-Digest-MD5 (p5-Digest-MD5-2.27) (coredump) > >>>> ! archivers/p5-Compress-Zlib (p5-Compress-Zlib-1.41) > >>>>(coredump) * www/p5-libwww (p5-libwww-5.69) > >>>>---> Packages processed: 0 done, 0 ignored, 6 skipped and 7 failed > >>>> > >>>> > >>>>Thanks > >>>> > >>>>-Mark > >>> > >>>Are you getting a portupgrade.core? Looks like that is what is > >>>coredumping, If so try manually upgrading one or two of these and see > >>>what happens. > >>> > >>>-Mike > >> > >>Nope, no portupgrade.core. Tried manually, same deal. Even on another > >> one: > >> > >>===> p5-MIME-Base64-3.05 depends on file: /usr/local/bin/perl5.8.7 - > >>found ===> Configuring for p5-MIME-Base64-3.05 > >>Checking if your kit is complete... > >>Segmentation fault (core dumped) > >>*** Error code 139 > >> > >>Stop in /usr/ports/converters/p5-MIME-Base64. > >> > >>-Mark > > > > Well something is core dumping, most likely perl since its not > > portupgrade. Do a search if it isn't in the current directory, like this > > to check the whole drive: > > > > find /. | grep ".core" > > > > If it's perl that is core dumping I think you should a) go back to using > > the one in base or b) upgrade at least to 4.11 > > > > -Mike > > Yep. > > /./usr/ports/archivers/p5-Compress-Zlib/work/Compress-Zlib-1.41/perl5.8.7.c >ore /./usr/ports/audio/p5-libvorbis/work/libvorbis-perl-0.05/perl5.8.7.core > /./usr/ports/converters/p5-MIME-Base64/work/MIME-Base64-3.05/perl5.8.7.core > /./usr/ports/databases/p5-DBI/work/DBI-1.48/perl5.8.7.core > /./usr/ports/security/p5-Authen-SASL/work/Authen-SASL-2.09/perl5.8.7.core > /./usr/ports/security/p5-Digest-MD5/work/Digest-MD5-2.33/perl5.8.7.core > /./usr/ports/www/p5-HTML-Tagset/work/HTML-Tagset-3.10/perl5.8.7.core > > To go back to using the one in the base system, would I just "use.perl > system"? Then the modules should upgrade fine? My end goal when I first > started the portupgrade wasn't specifically to upgrade Perl. The system > was running on real old software in general (had not been portupgraded > ever) and we're rolling out a new version of the software that runs the > complete playlist for one of my internet radio stations. That needs the > latest versions of other software programs like Icecast, > libogg/libvorbis, Lame, etc. As far as I know, it doesn't require the > latest Perl, but I am not 100% positive that the old version that was > installed with 4.9 would work for the new software either. > > The main goal was to update those other programs and at the same time it > would get Perl as well. I have never had bad problems like this when > upgrading Perl on any other machine, so I did not expect this. > > As for upgrading to 4.11, I am a little nervous about doing this > remotely. Aside from there not being an official documented way to do > this remotely (everything I have seen in the handbook requires single > user mode), I am over 500 miles away from the server so I would not have > much recourse if something happened during the upgrade other than paying > the datacenter [high prices] for their assistance. > > -Mark I think all you have to do is deinstall perl then just do a normal upgrade, and don't run the perl scripts. If your going to run newer software it is just a matter of time before you will have have no choice but to do a system upgrade. My experience is 4.9 to 4.10 to 4.11 is not too difficult, no need to go into single user mode but you should have no users on the system. To go from 4.11 to 5.* is a nightmare IMHO and is better to just do a clean install if you decide to upgrade that far. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: After upgrading Perl, cannot reinstall modules - Cwd.so: Undefined symbol "perl_get_sv
o: /usr/local/bin/perl --version, I get: >>>>>>>> >>>>>>>>This is perl, v5.8.7 built for i386-freebsd-64int >>>>>>>>(with 1 registered patch, see perl -V for more detail) >>>>>>>> >>>>>>>>Looks like /usr/bin/perl is a link to another file: >>>>>>>> >>>>>>>>xeon1# ls -l /usr/bin/perl >>>>>>>>lrwxr-xr-x 1 root wheel 24 Nov 26 18:32 /usr/bin/perl -> >>>>>>>>/usr/local/bin/perl5.8.7 >>>>>>>> >>>>>>>>Finally, I tried what you said anyway: >>>>>>>> >>>>>>>>xeon1# perl Makefile.PL >>>>>>>>/usr/libexec/ld-elf.so.1: >>>>>>>>/usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so: Undefined symbol >>>>>>>>"perl_get_sv" >>>>>>>>xeon1# /usr/local/bin/perl Makefile.PL >>>>>>>>/usr/libexec/ld-elf.so.1: >>>>>>>>/usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so: Undefined symbol >>>>>>>>"perl_get_sv" >>>>>>>> >>>>>>>>Thanks. >>>>>>>> >>>>>>>>-Mark >>>>>>> >>>>>>>Beats me what is wrong then. This is from running: perldoc >>>>>>>perl58delta.pod >>>>>>> >>>>>>>Perl_get_sv >>>>>>> >>>>>>> You may get errors like ’Undefined symbol "Perl_get_sv"’ or >>>>>>>"can’t resolve symbol ’Perl_get_sv’", or the symbol may be >>>>>>>"Perl_sv_2pv". This probably means that you are trying to use an older >>>>>>>shared Perl library (or extensions linked with such) with Perl 5.8.0 >>>>>>>executable. Perl used to have such a subroutine, but that is no more >>>>>>>the case. Check your shared library path, and any shared Perl >>>>>>>libraries in those directories. >>>>>>> >>>>>>> Sometimes this problem may also indicate a partial Perl 5.8.0 >>>>>>>installa‐ tion, see "Mac OS X dyld undefined symbols" for an example >>>>>>>and how to deal with it. >>>>>>> >>>>>>> >>>>>>>-Mike >>>>>> >>>>>>Well I tried to find some more info and ended up doing a force >>>>>>reinstall of perl. I also ran "use.perl port" and perl-after-upgrade >>>>>>again (which didn't show anything as moved or needed to be done so I >>>>>>did not continue with -f). >>>>>> >>>>>>Now there is a different error when trying to force upgrade/recompile >>>>>>the perl modules: >>>>>> >>>>>>===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - >>>>>>found ===> Configuring for p5-HTML-Tagset-3.10 >>>>>>Checking if your kit is complete... >>>>>>Segmentation fault (core dumped) >>>>>>*** Error code 139 >>>>>> >>>>>>Stop in /usr/ports/www/p5-HTML-Tagset. >>>>>> >>>>>>Any ideas? Again, this is a live production server that heavily relies >>>>>>on Perl. >>>>>> >>>>>>Thanks. >>>>>> >>>>>>-Mark >>>>> >>>>>I need to see more context, are you manually trying to install >>>>>p5-HTML-Tagset or are you using portupgrade/portmanager for example. >>>>> >>>>>-Mike >>>> >>>>I am doing as /usr/ports/UPDATING says to upgrade/reinstall all the Perl >>>>modules, which is to do: >>>> >>>>portupgrade -f p5-\* >>>> >>>>p5-HTML-Tagset is just the first one that it tries, and it produces this: >>>> >>>>---> Upgrading 'p5-HTML-Tagset-3.03' to 'p5-HTML-Tagset-3.10' >>>>(www/p5-HTML-Tagset) >>>>---> Building '/usr/ports/www/p5-HTML-Tagset' >>>>===> Cleaning for perl-5.8.7 >>>>===> Cleaning for p5-HTML-Tagset-3.10 >>>>===> Vulnerability check disabled, database not found >>>>===> Extracting for p5-HTML-Tagset-3.10 >>>>=> MD5 Checksum OK for HTML-Tagset-3.10.tar.gz. >>>>===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - >>>>found ===> Patching for p5-HTML-Tagset-3.10 >>>>===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - >>>>found ===> p5-HTML-Tagset-3.10 depends on file: >>>>/usr/local/bin/perl5.8.7 - found ===> Configuring for >>>>p5-HTML-Tagset-3.10 >>>>Checking if your kit is complete... >>>>Segmentation fault (core dumped) >>>>*** Error code 139 >>>> >>>>Stop in /usr/ports/www/p5-HTML-Tagset. >>>>** Command failed [exit code 1]: /usr/bin/script -qa >>>>/tmp/portupgrade52316.0 make >>>>** Fix the problem and try again. >>>> >>>> >>>>It attempts the other Perl modules as well but fails with the same. Here >>>>is the final report: >>>> >>>> >>>>** Listing the failed packages (*:skipped / !:failed) >>>> ! www/p5-HTML-Tagset (p5-HTML-Tagset-3.03) (coredump) >>>> ! converters/p5-MIME-Base64 (p5-MIME-Base64-2.20) >>>>(coredump) * security/p5-Digest (p5-Digest-1.13) >>>> ! security/p5-Authen-SASL (p5-Authen-SASL-2.04) (coredump) >>>> ! databases/p5-DBI (p5-DBI-1.38)(coredump) >>>> ! audio/p5-libvorbis (p5-libvorbis-0.04)(coredump) >>>> * net/p5-URI (p5-URI-1.25) >>>> * net/p5-Net (p5-Net-1.16,1) >>>> * www/p5-HTML-Parser (p5-HTML-Parser-3.31) >>>> * databases/p5-DBD-mysql (p5-DBD-mysql-2.1026_1) >>>> ! security/p5-Digest-MD5 (p5-Digest-MD5-2.27) (coredump) >>>> ! archivers/p5-Compress-Zlib (p5-Compress-Zlib-1.41) >>>>(coredump) * www/p5-libwww (p5-libwww-5.69) >>>>---> Packages processed: 0 done, 0 ignored, 6 skipped and 7 failed >>>> >>>> >>>>Thanks >>>> >>>>-Mark >>> >>>Are you getting a portupgrade.core? Looks like that is what is >>>coredumping, If so try manually upgrading one or two of these and see >>>what happens. >>> >>>-Mike >> >>Nope, no portupgrade.core. Tried manually, same deal. Even on another one: >> >>===> p5-MIME-Base64-3.05 depends on file: /usr/local/bin/perl5.8.7 - >>found ===> Configuring for p5-MIME-Base64-3.05 >>Checking if your kit is complete... >>Segmentation fault (core dumped) >>*** Error code 139 >> >>Stop in /usr/ports/converters/p5-MIME-Base64. >> >>-Mark > > > Well something is core dumping, most likely perl since its not portupgrade. > Do > a search if it isn't in the current directory, like this to check the whole > drive: > > find /. | grep ".core" > > If it's perl that is core dumping I think you should a) go back to using the > one in base or b) upgrade at least to 4.11 > > -Mike Yep. /./usr/ports/archivers/p5-Compress-Zlib/work/Compress-Zlib-1.41/perl5.8.7.core /./usr/ports/audio/p5-libvorbis/work/libvorbis-perl-0.05/perl5.8.7.core /./usr/ports/converters/p5-MIME-Base64/work/MIME-Base64-3.05/perl5.8.7.core /./usr/ports/databases/p5-DBI/work/DBI-1.48/perl5.8.7.core /./usr/ports/security/p5-Authen-SASL/work/Authen-SASL-2.09/perl5.8.7.core /./usr/ports/security/p5-Digest-MD5/work/Digest-MD5-2.33/perl5.8.7.core /./usr/ports/www/p5-HTML-Tagset/work/HTML-Tagset-3.10/perl5.8.7.core To go back to using the one in the base system, would I just "use.perl system"? Then the modules should upgrade fine? My end goal when I first started the portupgrade wasn't specifically to upgrade Perl. The system was running on real old software in general (had not been portupgraded ever) and we're rolling out a new version of the software that runs the complete playlist for one of my internet radio stations. That needs the latest versions of other software programs like Icecast, libogg/libvorbis, Lame, etc. As far as I know, it doesn't require the latest Perl, but I am not 100% positive that the old version that was installed with 4.9 would work for the new software either. The main goal was to update those other programs and at the same time it would get Perl as well. I have never had bad problems like this when upgrading Perl on any other machine, so I did not expect this. As for upgrading to 4.11, I am a little nervous about doing this remotely. Aside from there not being an official documented way to do this remotely (everything I have seen in the handbook requires single user mode), I am over 500 miles away from the server so I would not have much recourse if something happened during the upgrade other than paying the datacenter [high prices] for their assistance. -Mark -- GnuPG Public Key: http://www.mkproductions.org/mk_pubkey.asc Internet Radio: Party107 (Trance/Electronic) - http://www.party107.com Rock 101.9 The Edge (Rock) - http://www.rock1019.net IRC: MIXXnet IRC Network - irc.mixxnet.net (Nick: MIXX941) signature.asc Description: OpenPGP digital signature
Re: After upgrading Perl, cannot reinstall modules - Cwd.so: Undefined symbol "perl_get_sv
On Sunday 27 November 2005 12:54, Mark Kane wrote: > Michael C. Shultz wrote: > > On Sunday 27 November 2005 12:42, Mark Kane wrote: > >>Michael C. Shultz wrote: > >>>On Sunday 27 November 2005 12:29, Mark Kane wrote: > Michael C. Shultz wrote: > >On Saturday 26 November 2005 22:20, Mark Kane wrote: > >>Michael C. Shultz wrote: > >>>On Saturday 26 November 2005 19:25, Michael C. Shultz wrote: > On Saturday 26 November 2005 18:48, Mark Kane wrote: > >Michael C. Shultz wrote: > >>On Saturday 26 November 2005 17:13, Mark Kane wrote: > >>>Hi everyone. I finally did a big portupgrade on a 4.9-RELEASE > >>>system today and I'm having some problems with Perl. > >>> > >>>I got it updated to 5.8.7 (was 5.6.x before), ran "use.perl > >>> port", and ran the perl-after-upgrade script which were all > >>> said in UPDATING. Now it's time to force upgrade/recompile the > >>> Perl modules for the new version. > >>> > >>>Unfortunately this is where I get stuck: > >>> > >>>xeon1# portupgrade -f p5-\* > >>> > >>>[snip] > >>> > >>>===> p5-HTML-Tagset-3.10 depends on file: > >>>/usr/local/bin/perl5.8.7 - found ===> p5-HTML-Tagset-3.10 > >>>depends on file: > >>>/usr/local/bin/perl5.8.7 - found ===> Configuring for > >>>p5-HTML-Tagset-3.10 > >>>/usr/libexec/ld-elf.so.1: > >>>/usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so: Undefined > >>> symbol "perl_get_sv" > >>>*** Error code 1 > >>> > >>> > >>>The remaining Perl modules that are supposed to be > >>>upgraded/recompiled either error out with the same message or > >>> are skipped because one that it requires errored out. > >>> > >>>I tried Googling for that error, but nothing came up. Other info > >>>that might be useful: > >>> > >>>xeon1# pkg_which /usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so > >>>perl-5.8.7 > >>>- > >>>xeon1# pkg_info | grep p5 > >>>p5-Authen-SASL-2.04 Perl5 module for SASL authentication > >>>p5-Compress-Zlib-1.41 Perl5 interface to zlib compression > >>> library p5-DBD-mysql-2.1026_1 MySQL driver for the Perl5 > >>> Database Interface (DBI) p5-DBI-1.38 The perl5 Database > >>> Interface. Required for DBD::* modules > >>>p5-Digest-1.13 Modules that calculate message digests > >>>p5-Digest-MD5-2.27 Perl5 interface to the MD5 algorithm > >>>p5-HTML-Parser-3.31 Perl5 module for parse HTML tag > >>>p5-HTML-Tagset-3.03 Some useful data table in parsing HTML > >>>p5-MIME-Base64-2.20 Perl5 module for Base64 and Quoted-Printable > >>>encodings p5-Net-1.16,1 Perl5 modules to access and use > >>>network protocols p5-URI-1.25 Perl5 interface to Uniform > >>>Resource Identifier (URI) refere > >>>p5-libvorbis-0.04 Perl extension for Ogg Vorbis streams > >>>p5-libwww-5.69 Perl5 library for WWW access > >>>- > >>> > >>>Thanks very much in advance as this is a production server which > >>>uses Perl all the time. > >>> > >>>-Mark > >>>FreeBSD 4.9-RELEASE i386 > >> > >>On a 4.11 system sysutils/portmanager has no problem with perl5.8 > >>and www/p5-HTML-Tagset, just tested it, not sure if it will run > >> on 4.9 but you you may want to give it a try. > >> > >>-Mike > > > >Thanks for the reply. I have never used portmanager, but I did > > give it a try like you said. Unfortunately it produced the same > > error when building that portupgrade did. I should also point out > > that I did try just a "make" from the port directory to see if it > > had something to do with portupgrade, and that failed with the > > same message about "perl_get_sv" as well. > > > >Here is the output from portmanager. I have omitted other errors > >that were about other Perl modules that were not installed via > >ports at all. > > > >xeon1# portmanager www/p5-HTML-Tagset > > > >[snip] > > > > > >update p5-HTML-Tagset-3.10 > >MGPMrUpdate 0.3.9_2 localProperty.command: #9 of 14 cd > >/usr/ports/www/p5-HTML-Tagset; make > >-- > >-- -- -- ===> Vulnerability check disabled, database not found > > ===> Extracting for p5-HTML-Tagset-3.10 > >=> MD5 Checksum OK for HTML-Tagset-3.10.tar.gz. > >===> p5-HTML-Tagset-3.10 depends on file: > > /usr/local/bin/perl5.8.7 - found ===> Patching for > >
Re: After upgrading Perl, cannot reinstall modules - Cwd.so: Undefined symbol "perl_get_sv
Michael C. Shultz wrote: > On Sunday 27 November 2005 12:42, Mark Kane wrote: > >>Michael C. Shultz wrote: >> >>>On Sunday 27 November 2005 12:29, Mark Kane wrote: >>> Michael C. Shultz wrote: >On Saturday 26 November 2005 22:20, Mark Kane wrote: > >>Michael C. Shultz wrote: >> >>>On Saturday 26 November 2005 19:25, Michael C. Shultz wrote: >>> On Saturday 26 November 2005 18:48, Mark Kane wrote: >Michael C. Shultz wrote: > >>On Saturday 26 November 2005 17:13, Mark Kane wrote: >> >>>Hi everyone. I finally did a big portupgrade on a 4.9-RELEASE >>>system today and I'm having some problems with Perl. >>> >>>I got it updated to 5.8.7 (was 5.6.x before), ran "use.perl port", >>>and ran the perl-after-upgrade script which were all said in >>>UPDATING. Now it's time to force upgrade/recompile the Perl >>>modules for the new version. >>> >>>Unfortunately this is where I get stuck: >>> >>>xeon1# portupgrade -f p5-\* >>> >>>[snip] >>> >>>===> p5-HTML-Tagset-3.10 depends on file: >>>/usr/local/bin/perl5.8.7 - found ===> p5-HTML-Tagset-3.10 >>>depends on file: >>>/usr/local/bin/perl5.8.7 - found ===> Configuring for >>>p5-HTML-Tagset-3.10 >>>/usr/libexec/ld-elf.so.1: >>>/usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so: Undefined symbol >>>"perl_get_sv" >>>*** Error code 1 >>> >>> >>>The remaining Perl modules that are supposed to be >>>upgraded/recompiled either error out with the same message or are >>>skipped because one that it requires errored out. >>> >>>I tried Googling for that error, but nothing came up. Other info >>>that might be useful: >>> >>>xeon1# pkg_which /usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so >>>perl-5.8.7 >>>- >>>xeon1# pkg_info | grep p5 >>>p5-Authen-SASL-2.04 Perl5 module for SASL authentication >>>p5-Compress-Zlib-1.41 Perl5 interface to zlib compression library >>>p5-DBD-mysql-2.1026_1 MySQL driver for the Perl5 Database >>>Interface (DBI) p5-DBI-1.38 The perl5 Database Interface. >>> Required for DBD::* modules >>>p5-Digest-1.13 Modules that calculate message digests >>>p5-Digest-MD5-2.27 Perl5 interface to the MD5 algorithm >>>p5-HTML-Parser-3.31 Perl5 module for parse HTML tag >>>p5-HTML-Tagset-3.03 Some useful data table in parsing HTML >>>p5-MIME-Base64-2.20 Perl5 module for Base64 and Quoted-Printable >>>encodings p5-Net-1.16,1 Perl5 modules to access and use >>>network protocols p5-URI-1.25 Perl5 interface to Uniform >>>Resource Identifier (URI) refere >>>p5-libvorbis-0.04 Perl extension for Ogg Vorbis streams >>>p5-libwww-5.69 Perl5 library for WWW access >>>- >>> >>>Thanks very much in advance as this is a production server which >>>uses Perl all the time. >>> >>>-Mark >>>FreeBSD 4.9-RELEASE i386 >> >>On a 4.11 system sysutils/portmanager has no problem with perl5.8 >>and www/p5-HTML-Tagset, just tested it, not sure if it will run on >>4.9 but you you may want to give it a try. >> >>-Mike > >Thanks for the reply. I have never used portmanager, but I did give >it a try like you said. Unfortunately it produced the same error >when building that portupgrade did. I should also point out that I >did try just a "make" from the port directory to see if it had >something to do with portupgrade, and that failed with the same >message about "perl_get_sv" as well. > >Here is the output from portmanager. I have omitted other errors >that were about other Perl modules that were not installed via >ports at all. > >xeon1# portmanager www/p5-HTML-Tagset > >[snip] > > >update p5-HTML-Tagset-3.10 >MGPMrUpdate 0.3.9_2 localProperty.command: #9 of 14 cd >/usr/ports/www/p5-HTML-Tagset; make > >-- -- ===> Vulnerability check disabled, database not found >===> Extracting for p5-HTML-Tagset-3.10 >=> MD5 Checksum OK for HTML-Tagset-3.10.tar.gz. >===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 >- found ===> Patching for p5-HTML-Tagset-3.10 >===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 >- found ===> p5-HTML-Tagset-3.10 depends on file: >/usr/local/bin/perl5.8.7 - found ===>
Re: After upgrading Perl, cannot reinstall modules - Cwd.so: Undefined symbol "perl_get_sv
On Sunday 27 November 2005 12:42, Mark Kane wrote: > Michael C. Shultz wrote: > > On Sunday 27 November 2005 12:29, Mark Kane wrote: > >>Michael C. Shultz wrote: > >>>On Saturday 26 November 2005 22:20, Mark Kane wrote: > Michael C. Shultz wrote: > >On Saturday 26 November 2005 19:25, Michael C. Shultz wrote: > >>On Saturday 26 November 2005 18:48, Mark Kane wrote: > >>>Michael C. Shultz wrote: > On Saturday 26 November 2005 17:13, Mark Kane wrote: > >Hi everyone. I finally did a big portupgrade on a 4.9-RELEASE > > system today and I'm having some problems with Perl. > > > >I got it updated to 5.8.7 (was 5.6.x before), ran "use.perl port", > >and ran the perl-after-upgrade script which were all said in > >UPDATING. Now it's time to force upgrade/recompile the Perl > > modules for the new version. > > > >Unfortunately this is where I get stuck: > > > >xeon1# portupgrade -f p5-\* > > > >[snip] > > > >===> p5-HTML-Tagset-3.10 depends on file: > > /usr/local/bin/perl5.8.7 - found ===> p5-HTML-Tagset-3.10 > > depends on file: > >/usr/local/bin/perl5.8.7 - found ===> Configuring for > >p5-HTML-Tagset-3.10 > >/usr/libexec/ld-elf.so.1: > >/usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so: Undefined symbol > >"perl_get_sv" > >*** Error code 1 > > > > > >The remaining Perl modules that are supposed to be > >upgraded/recompiled either error out with the same message or are > >skipped because one that it requires errored out. > > > >I tried Googling for that error, but nothing came up. Other info > >that might be useful: > > > >xeon1# pkg_which /usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so > >perl-5.8.7 > >- > >xeon1# pkg_info | grep p5 > >p5-Authen-SASL-2.04 Perl5 module for SASL authentication > >p5-Compress-Zlib-1.41 Perl5 interface to zlib compression library > >p5-DBD-mysql-2.1026_1 MySQL driver for the Perl5 Database > > Interface (DBI) p5-DBI-1.38 The perl5 Database Interface. > > Required for DBD::* modules > >p5-Digest-1.13 Modules that calculate message digests > >p5-Digest-MD5-2.27 Perl5 interface to the MD5 algorithm > >p5-HTML-Parser-3.31 Perl5 module for parse HTML tag > >p5-HTML-Tagset-3.03 Some useful data table in parsing HTML > >p5-MIME-Base64-2.20 Perl5 module for Base64 and Quoted-Printable > >encodings p5-Net-1.16,1 Perl5 modules to access and use > >network protocols p5-URI-1.25 Perl5 interface to Uniform > >Resource Identifier (URI) refere > >p5-libvorbis-0.04 Perl extension for Ogg Vorbis streams > >p5-libwww-5.69 Perl5 library for WWW access > >- > > > >Thanks very much in advance as this is a production server which > >uses Perl all the time. > > > >-Mark > >FreeBSD 4.9-RELEASE i386 > > On a 4.11 system sysutils/portmanager has no problem with perl5.8 > and www/p5-HTML-Tagset, just tested it, not sure if it will run on > 4.9 but you you may want to give it a try. > > -Mike > >>> > >>>Thanks for the reply. I have never used portmanager, but I did give > >>> it a try like you said. Unfortunately it produced the same error > >>> when building that portupgrade did. I should also point out that I > >>> did try just a "make" from the port directory to see if it had > >>> something to do with portupgrade, and that failed with the same > >>> message about "perl_get_sv" as well. > >>> > >>>Here is the output from portmanager. I have omitted other errors > >>> that were about other Perl modules that were not installed via > >>> ports at all. > >>> > >>>xeon1# portmanager www/p5-HTML-Tagset > >>> > >>>[snip] > >>> > >>> > >>>update p5-HTML-Tagset-3.10 > >>>MGPMrUpdate 0.3.9_2 localProperty.command: #9 of 14 cd > >>>/usr/ports/www/p5-HTML-Tagset; make > >>> > >>>-- -- ===> Vulnerability check disabled, database not found > >>>===> Extracting for p5-HTML-Tagset-3.10 > >>>=> MD5 Checksum OK for HTML-Tagset-3.10.tar.gz. > >>>===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 > >>> - found ===> Patching for p5-HTML-Tagset-3.10 > >>>===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 > >>> - found ===> p5-HTML-Tagset-3.10 depends on file: > >>>/usr/local/bin/perl5.8.7 - found ===> Configuring for > >>>p5-HTML-Tagset-3.10 > >>>/usr/libexec/ld-elf.
Re: After upgrading Perl, cannot reinstall modules - Cwd.so: Undefined symbol "perl_get_sv
Michael C. Shultz wrote: > On Sunday 27 November 2005 12:29, Mark Kane wrote: > >>Michael C. Shultz wrote: >> >>>On Saturday 26 November 2005 22:20, Mark Kane wrote: >>> Michael C. Shultz wrote: >On Saturday 26 November 2005 19:25, Michael C. Shultz wrote: > >>On Saturday 26 November 2005 18:48, Mark Kane wrote: >> >>>Michael C. Shultz wrote: >>> On Saturday 26 November 2005 17:13, Mark Kane wrote: >Hi everyone. I finally did a big portupgrade on a 4.9-RELEASE system >today and I'm having some problems with Perl. > >I got it updated to 5.8.7 (was 5.6.x before), ran "use.perl port", >and ran the perl-after-upgrade script which were all said in >UPDATING. Now it's time to force upgrade/recompile the Perl modules >for the new version. > >Unfortunately this is where I get stuck: > >xeon1# portupgrade -f p5-\* > >[snip] > >===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 >- found ===> p5-HTML-Tagset-3.10 depends on file: >/usr/local/bin/perl5.8.7 - found ===> Configuring for >p5-HTML-Tagset-3.10 >/usr/libexec/ld-elf.so.1: >/usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so: Undefined symbol >"perl_get_sv" >*** Error code 1 > > >The remaining Perl modules that are supposed to be >upgraded/recompiled either error out with the same message or are >skipped because one that it requires errored out. > >I tried Googling for that error, but nothing came up. Other info >that might be useful: > >xeon1# pkg_which /usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so >perl-5.8.7 >- >xeon1# pkg_info | grep p5 >p5-Authen-SASL-2.04 Perl5 module for SASL authentication >p5-Compress-Zlib-1.41 Perl5 interface to zlib compression library >p5-DBD-mysql-2.1026_1 MySQL driver for the Perl5 Database Interface >(DBI) p5-DBI-1.38 The perl5 Database Interface. Required >for DBD::* modules >p5-Digest-1.13 Modules that calculate message digests >p5-Digest-MD5-2.27 Perl5 interface to the MD5 algorithm >p5-HTML-Parser-3.31 Perl5 module for parse HTML tag >p5-HTML-Tagset-3.03 Some useful data table in parsing HTML >p5-MIME-Base64-2.20 Perl5 module for Base64 and Quoted-Printable >encodings p5-Net-1.16,1 Perl5 modules to access and use >network protocols p5-URI-1.25 Perl5 interface to Uniform >Resource Identifier (URI) refere >p5-libvorbis-0.04 Perl extension for Ogg Vorbis streams >p5-libwww-5.69 Perl5 library for WWW access >- > >Thanks very much in advance as this is a production server which >uses Perl all the time. > >-Mark >FreeBSD 4.9-RELEASE i386 On a 4.11 system sysutils/portmanager has no problem with perl5.8 and www/p5-HTML-Tagset, just tested it, not sure if it will run on 4.9 but you you may want to give it a try. -Mike >>> >>>Thanks for the reply. I have never used portmanager, but I did give it >>>a try like you said. Unfortunately it produced the same error when >>>building that portupgrade did. I should also point out that I did try >>>just a "make" from the port directory to see if it had something to >>>do with portupgrade, and that failed with the same message about >>>"perl_get_sv" as well. >>> >>>Here is the output from portmanager. I have omitted other errors that >>>were about other Perl modules that were not installed via ports at >>>all. >>> >>>xeon1# portmanager www/p5-HTML-Tagset >>> >>>[snip] >>> >>> >>>update p5-HTML-Tagset-3.10 >>>MGPMrUpdate 0.3.9_2 localProperty.command: #9 of 14 cd >>>/usr/ports/www/p5-HTML-Tagset; make >>>-- >>>-- ===> Vulnerability check disabled, database not found >>>===> Extracting for p5-HTML-Tagset-3.10 >>>=> MD5 Checksum OK for HTML-Tagset-3.10.tar.gz. >>>===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - >>>found ===> Patching for p5-HTML-Tagset-3.10 >>>===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - >>>found ===> p5-HTML-Tagset-3.10 depends on file: >>>/usr/local/bin/perl5.8.7 - found ===> Configuring for >>>p5-HTML-Tagset-3.10 >>>/usr/libexec/ld-elf.so.1: >>>/usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so: Undefined symbol >>>"perl_get_sv" >>>*** Error code 1 >>> >>>Stop in /usr/ports/www/p5-HTML-Tagset. >>>MGPMrUpdate 0.3.9_2 error: make returned an error, addin
Re: After upgrading Perl, cannot reinstall modules - Cwd.so: Undefined symbol "perl_get_sv
On Sunday 27 November 2005 12:29, Mark Kane wrote: > Michael C. Shultz wrote: > > On Saturday 26 November 2005 22:20, Mark Kane wrote: > >>Michael C. Shultz wrote: > >>>On Saturday 26 November 2005 19:25, Michael C. Shultz wrote: > On Saturday 26 November 2005 18:48, Mark Kane wrote: > >Michael C. Shultz wrote: > >>On Saturday 26 November 2005 17:13, Mark Kane wrote: > >>>Hi everyone. I finally did a big portupgrade on a 4.9-RELEASE system > >>>today and I'm having some problems with Perl. > >>> > >>>I got it updated to 5.8.7 (was 5.6.x before), ran "use.perl port", > >>> and ran the perl-after-upgrade script which were all said in > >>> UPDATING. Now it's time to force upgrade/recompile the Perl modules > >>> for the new version. > >>> > >>>Unfortunately this is where I get stuck: > >>> > >>>xeon1# portupgrade -f p5-\* > >>> > >>>[snip] > >>> > >>>===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 > >>> - found ===> p5-HTML-Tagset-3.10 depends on file: > >>>/usr/local/bin/perl5.8.7 - found ===> Configuring for > >>>p5-HTML-Tagset-3.10 > >>>/usr/libexec/ld-elf.so.1: > >>>/usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so: Undefined symbol > >>>"perl_get_sv" > >>>*** Error code 1 > >>> > >>> > >>>The remaining Perl modules that are supposed to be > >>> upgraded/recompiled either error out with the same message or are > >>> skipped because one that it requires errored out. > >>> > >>>I tried Googling for that error, but nothing came up. Other info > >>> that might be useful: > >>> > >>>xeon1# pkg_which /usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so > >>>perl-5.8.7 > >>>- > >>>xeon1# pkg_info | grep p5 > >>>p5-Authen-SASL-2.04 Perl5 module for SASL authentication > >>>p5-Compress-Zlib-1.41 Perl5 interface to zlib compression library > >>>p5-DBD-mysql-2.1026_1 MySQL driver for the Perl5 Database Interface > >>>(DBI) p5-DBI-1.38 The perl5 Database Interface. Required > >>> for DBD::* modules > >>>p5-Digest-1.13 Modules that calculate message digests > >>>p5-Digest-MD5-2.27 Perl5 interface to the MD5 algorithm > >>>p5-HTML-Parser-3.31 Perl5 module for parse HTML tag > >>>p5-HTML-Tagset-3.03 Some useful data table in parsing HTML > >>>p5-MIME-Base64-2.20 Perl5 module for Base64 and Quoted-Printable > >>>encodings p5-Net-1.16,1 Perl5 modules to access and use > >>> network protocols p5-URI-1.25 Perl5 interface to Uniform > >>> Resource Identifier (URI) refere > >>>p5-libvorbis-0.04 Perl extension for Ogg Vorbis streams > >>>p5-libwww-5.69 Perl5 library for WWW access > >>>- > >>> > >>>Thanks very much in advance as this is a production server which > >>> uses Perl all the time. > >>> > >>>-Mark > >>>FreeBSD 4.9-RELEASE i386 > >> > >>On a 4.11 system sysutils/portmanager has no problem with perl5.8 and > >>www/p5-HTML-Tagset, just tested it, not sure if it will run on 4.9 > >> but you you may want to give it a try. > >> > >>-Mike > > > >Thanks for the reply. I have never used portmanager, but I did give it > > a try like you said. Unfortunately it produced the same error when > > building that portupgrade did. I should also point out that I did try > > just a "make" from the port directory to see if it had something to > > do with portupgrade, and that failed with the same message about > > "perl_get_sv" as well. > > > >Here is the output from portmanager. I have omitted other errors that > >were about other Perl modules that were not installed via ports at > > all. > > > >xeon1# portmanager www/p5-HTML-Tagset > > > >[snip] > > > > > >update p5-HTML-Tagset-3.10 > >MGPMrUpdate 0.3.9_2 localProperty.command: #9 of 14 cd > >/usr/ports/www/p5-HTML-Tagset; make > >-- > >-- ===> Vulnerability check disabled, database not found > >===> Extracting for p5-HTML-Tagset-3.10 > >=> MD5 Checksum OK for HTML-Tagset-3.10.tar.gz. > >===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - > >found ===> Patching for p5-HTML-Tagset-3.10 > >===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - > >found ===> p5-HTML-Tagset-3.10 depends on file: > >/usr/local/bin/perl5.8.7 - found ===> Configuring for > >p5-HTML-Tagset-3.10 > >/usr/libexec/ld-elf.so.1: > >/usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so: Undefined symbol > >"perl_get_sv" > >*** Error code 1 > > > >Stop in /usr/ports/www/p5-HTML-Tagset. > >MGPMrUpdate 0.3.9_2 error: make returned an error, adding > >/www/p5-HTML-Tagset to ignore.db > >reve
Re: After upgrading Perl, cannot reinstall modules - Cwd.so: Undefined symbol "perl_get_sv
Michael C. Shultz wrote: > On Saturday 26 November 2005 22:20, Mark Kane wrote: > >>Michael C. Shultz wrote: >> >>>On Saturday 26 November 2005 19:25, Michael C. Shultz wrote: >>> On Saturday 26 November 2005 18:48, Mark Kane wrote: >Michael C. Shultz wrote: > >>On Saturday 26 November 2005 17:13, Mark Kane wrote: >> >>>Hi everyone. I finally did a big portupgrade on a 4.9-RELEASE system >>>today and I'm having some problems with Perl. >>> >>>I got it updated to 5.8.7 (was 5.6.x before), ran "use.perl port", and >>>ran the perl-after-upgrade script which were all said in UPDATING. Now >>>it's time to force upgrade/recompile the Perl modules for the new >>>version. >>> >>>Unfortunately this is where I get stuck: >>> >>>xeon1# portupgrade -f p5-\* >>> >>>[snip] >>> >>>===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - >>>found ===> p5-HTML-Tagset-3.10 depends on file: >>>/usr/local/bin/perl5.8.7 - found ===> Configuring for >>>p5-HTML-Tagset-3.10 >>>/usr/libexec/ld-elf.so.1: >>>/usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so: Undefined symbol >>>"perl_get_sv" >>>*** Error code 1 >>> >>> >>>The remaining Perl modules that are supposed to be upgraded/recompiled >>>either error out with the same message or are skipped because one that >>>it requires errored out. >>> >>>I tried Googling for that error, but nothing came up. Other info that >>>might be useful: >>> >>>xeon1# pkg_which /usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so >>>perl-5.8.7 >>>- >>>xeon1# pkg_info | grep p5 >>>p5-Authen-SASL-2.04 Perl5 module for SASL authentication >>>p5-Compress-Zlib-1.41 Perl5 interface to zlib compression library >>>p5-DBD-mysql-2.1026_1 MySQL driver for the Perl5 Database Interface >>>(DBI) p5-DBI-1.38 The perl5 Database Interface. Required for >>>DBD::* modules >>>p5-Digest-1.13 Modules that calculate message digests >>>p5-Digest-MD5-2.27 Perl5 interface to the MD5 algorithm >>>p5-HTML-Parser-3.31 Perl5 module for parse HTML tag >>>p5-HTML-Tagset-3.03 Some useful data table in parsing HTML >>>p5-MIME-Base64-2.20 Perl5 module for Base64 and Quoted-Printable >>>encodings p5-Net-1.16,1 Perl5 modules to access and use network >>>protocols p5-URI-1.25 Perl5 interface to Uniform Resource >>>Identifier (URI) refere >>>p5-libvorbis-0.04 Perl extension for Ogg Vorbis streams >>>p5-libwww-5.69 Perl5 library for WWW access >>>- >>> >>>Thanks very much in advance as this is a production server which uses >>>Perl all the time. >>> >>>-Mark >>>FreeBSD 4.9-RELEASE i386 >> >>On a 4.11 system sysutils/portmanager has no problem with perl5.8 and >>www/p5-HTML-Tagset, just tested it, not sure if it will run on 4.9 but >>you you may want to give it a try. >> >>-Mike > >Thanks for the reply. I have never used portmanager, but I did give it a >try like you said. Unfortunately it produced the same error when >building that portupgrade did. I should also point out that I did try >just a "make" from the port directory to see if it had something to do >with portupgrade, and that failed with the same message about >"perl_get_sv" as well. > >Here is the output from portmanager. I have omitted other errors that >were about other Perl modules that were not installed via ports at all. > >xeon1# portmanager www/p5-HTML-Tagset > >[snip] > > >update p5-HTML-Tagset-3.10 >MGPMrUpdate 0.3.9_2 localProperty.command: #9 of 14 cd >/usr/ports/www/p5-HTML-Tagset; make > >===> Vulnerability check disabled, database not found >===> Extracting for p5-HTML-Tagset-3.10 >=> MD5 Checksum OK for HTML-Tagset-3.10.tar.gz. >===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - >found ===> Patching for p5-HTML-Tagset-3.10 >===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - >found ===> p5-HTML-Tagset-3.10 depends on file: >/usr/local/bin/perl5.8.7 - found ===> Configuring for >p5-HTML-Tagset-3.10 >/usr/libexec/ld-elf.so.1: >/usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so: Undefined symbol >"perl_get_sv" >*** Error code 1 > >Stop in /usr/ports/www/p5-HTML-Tagset. >MGPMrUpdate 0.3.9_2 error: make returned an error, adding >/www/p5-HTML-Tagset to ignore.db >reverting bsd.port.mk patch -=>cd /usr/ports/Mk; patch -R < >/usr/local/share/portmanager/patch-bsd.port.mk-0.3.6; >Hmm... Looks like a unified diff to me... >The text leading up to this was: >-- > >|--- /usr/ports/Mk/bs
Re: After upgrading Perl, cannot reinstall modules - Cwd.so: Undefined symbol "perl_get_sv
On Saturday 26 November 2005 22:20, Mark Kane wrote: > Michael C. Shultz wrote: > > On Saturday 26 November 2005 19:25, Michael C. Shultz wrote: > >>On Saturday 26 November 2005 18:48, Mark Kane wrote: > >>>Michael C. Shultz wrote: > On Saturday 26 November 2005 17:13, Mark Kane wrote: > >Hi everyone. I finally did a big portupgrade on a 4.9-RELEASE system > >today and I'm having some problems with Perl. > > > >I got it updated to 5.8.7 (was 5.6.x before), ran "use.perl port", and > >ran the perl-after-upgrade script which were all said in UPDATING. Now > >it's time to force upgrade/recompile the Perl modules for the new > >version. > > > >Unfortunately this is where I get stuck: > > > >xeon1# portupgrade -f p5-\* > > > >[snip] > > > >===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - > >found ===> p5-HTML-Tagset-3.10 depends on file: > >/usr/local/bin/perl5.8.7 - found ===> Configuring for > >p5-HTML-Tagset-3.10 > >/usr/libexec/ld-elf.so.1: > >/usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so: Undefined symbol > >"perl_get_sv" > >*** Error code 1 > > > > > >The remaining Perl modules that are supposed to be upgraded/recompiled > >either error out with the same message or are skipped because one that > >it requires errored out. > > > >I tried Googling for that error, but nothing came up. Other info that > >might be useful: > > > >xeon1# pkg_which /usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so > >perl-5.8.7 > >- > >xeon1# pkg_info | grep p5 > >p5-Authen-SASL-2.04 Perl5 module for SASL authentication > >p5-Compress-Zlib-1.41 Perl5 interface to zlib compression library > >p5-DBD-mysql-2.1026_1 MySQL driver for the Perl5 Database Interface > >(DBI) p5-DBI-1.38 The perl5 Database Interface. Required for > >DBD::* modules > >p5-Digest-1.13 Modules that calculate message digests > >p5-Digest-MD5-2.27 Perl5 interface to the MD5 algorithm > >p5-HTML-Parser-3.31 Perl5 module for parse HTML tag > >p5-HTML-Tagset-3.03 Some useful data table in parsing HTML > >p5-MIME-Base64-2.20 Perl5 module for Base64 and Quoted-Printable > >encodings p5-Net-1.16,1 Perl5 modules to access and use network > >protocols p5-URI-1.25 Perl5 interface to Uniform Resource > >Identifier (URI) refere > >p5-libvorbis-0.04 Perl extension for Ogg Vorbis streams > >p5-libwww-5.69 Perl5 library for WWW access > >- > > > >Thanks very much in advance as this is a production server which uses > >Perl all the time. > > > >-Mark > >FreeBSD 4.9-RELEASE i386 > > On a 4.11 system sysutils/portmanager has no problem with perl5.8 and > www/p5-HTML-Tagset, just tested it, not sure if it will run on 4.9 but > you you may want to give it a try. > > -Mike > >>> > >>>Thanks for the reply. I have never used portmanager, but I did give it a > >>>try like you said. Unfortunately it produced the same error when > >>>building that portupgrade did. I should also point out that I did try > >>>just a "make" from the port directory to see if it had something to do > >>>with portupgrade, and that failed with the same message about > >>>"perl_get_sv" as well. > >>> > >>>Here is the output from portmanager. I have omitted other errors that > >>>were about other Perl modules that were not installed via ports at all. > >>> > >>>xeon1# portmanager www/p5-HTML-Tagset > >>> > >>>[snip] > >>> > >>> > >>>update p5-HTML-Tagset-3.10 > >>>MGPMrUpdate 0.3.9_2 localProperty.command: #9 of 14 cd > >>>/usr/ports/www/p5-HTML-Tagset; make > >>> > >>>===> Vulnerability check disabled, database not found > >>>===> Extracting for p5-HTML-Tagset-3.10 > >>>=> MD5 Checksum OK for HTML-Tagset-3.10.tar.gz. > >>>===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - > >>>found ===> Patching for p5-HTML-Tagset-3.10 > >>>===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - > >>>found ===> p5-HTML-Tagset-3.10 depends on file: > >>>/usr/local/bin/perl5.8.7 - found ===> Configuring for > >>>p5-HTML-Tagset-3.10 > >>>/usr/libexec/ld-elf.so.1: > >>>/usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so: Undefined symbol > >>>"perl_get_sv" > >>>*** Error code 1 > >>> > >>>Stop in /usr/ports/www/p5-HTML-Tagset. > >>>MGPMrUpdate 0.3.9_2 error: make returned an error, adding > >>>/www/p5-HTML-Tagset to ignore.db > >>>reverting bsd.port.mk patch -=>cd /usr/ports/Mk; patch -R < > >>>/usr/local/share/portmanager/patch-bsd.port.mk-0.3.6; > >>>Hmm... Looks like a unified diff to me... > >>>The text leading up to this was: > >>>-- > >>> > >>>|--- /usr/ports/Mk/bsd.port.mk Tue Nov 8 01:02:51 2005 > >>>|+++ bsd.port
Re: After upgrading Perl, cannot reinstall modules - Cwd.so: Undefined symbol "perl_get_sv
Michael C. Shultz wrote: > On Saturday 26 November 2005 19:25, Michael C. Shultz wrote: > >>On Saturday 26 November 2005 18:48, Mark Kane wrote: >> >>>Michael C. Shultz wrote: >>> On Saturday 26 November 2005 17:13, Mark Kane wrote: >Hi everyone. I finally did a big portupgrade on a 4.9-RELEASE system >today and I'm having some problems with Perl. > >I got it updated to 5.8.7 (was 5.6.x before), ran "use.perl port", and >ran the perl-after-upgrade script which were all said in UPDATING. Now >it's time to force upgrade/recompile the Perl modules for the new >version. > >Unfortunately this is where I get stuck: > >xeon1# portupgrade -f p5-\* > >[snip] > >===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - >found ===> p5-HTML-Tagset-3.10 depends on file: >/usr/local/bin/perl5.8.7 - found ===> Configuring for >p5-HTML-Tagset-3.10 >/usr/libexec/ld-elf.so.1: >/usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so: Undefined symbol >"perl_get_sv" >*** Error code 1 > > >The remaining Perl modules that are supposed to be upgraded/recompiled >either error out with the same message or are skipped because one that >it requires errored out. > >I tried Googling for that error, but nothing came up. Other info that >might be useful: > >xeon1# pkg_which /usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so >perl-5.8.7 >- >xeon1# pkg_info | grep p5 >p5-Authen-SASL-2.04 Perl5 module for SASL authentication >p5-Compress-Zlib-1.41 Perl5 interface to zlib compression library >p5-DBD-mysql-2.1026_1 MySQL driver for the Perl5 Database Interface >(DBI) p5-DBI-1.38 The perl5 Database Interface. Required for >DBD::* modules >p5-Digest-1.13 Modules that calculate message digests >p5-Digest-MD5-2.27 Perl5 interface to the MD5 algorithm >p5-HTML-Parser-3.31 Perl5 module for parse HTML tag >p5-HTML-Tagset-3.03 Some useful data table in parsing HTML >p5-MIME-Base64-2.20 Perl5 module for Base64 and Quoted-Printable >encodings p5-Net-1.16,1 Perl5 modules to access and use network >protocols p5-URI-1.25 Perl5 interface to Uniform Resource >Identifier (URI) refere >p5-libvorbis-0.04 Perl extension for Ogg Vorbis streams >p5-libwww-5.69 Perl5 library for WWW access >- > >Thanks very much in advance as this is a production server which uses >Perl all the time. > >-Mark >FreeBSD 4.9-RELEASE i386 On a 4.11 system sysutils/portmanager has no problem with perl5.8 and www/p5-HTML-Tagset, just tested it, not sure if it will run on 4.9 but you you may want to give it a try. -Mike >>> >>>Thanks for the reply. I have never used portmanager, but I did give it a >>>try like you said. Unfortunately it produced the same error when >>>building that portupgrade did. I should also point out that I did try >>>just a "make" from the port directory to see if it had something to do >>>with portupgrade, and that failed with the same message about >>>"perl_get_sv" as well. >>> >>>Here is the output from portmanager. I have omitted other errors that >>>were about other Perl modules that were not installed via ports at all. >>> >>>xeon1# portmanager www/p5-HTML-Tagset >>> >>>[snip] >>> >>> >>>update p5-HTML-Tagset-3.10 >>>MGPMrUpdate 0.3.9_2 localProperty.command: #9 of 14 cd >>>/usr/ports/www/p5-HTML-Tagset; make >>> >>>===> Vulnerability check disabled, database not found >>>===> Extracting for p5-HTML-Tagset-3.10 >>>=> MD5 Checksum OK for HTML-Tagset-3.10.tar.gz. >>>===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - >>>found ===> Patching for p5-HTML-Tagset-3.10 >>>===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - >>>found ===> p5-HTML-Tagset-3.10 depends on file: >>>/usr/local/bin/perl5.8.7 - found ===> Configuring for >>>p5-HTML-Tagset-3.10 >>>/usr/libexec/ld-elf.so.1: >>>/usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so: Undefined symbol >>>"perl_get_sv" >>>*** Error code 1 >>> >>>Stop in /usr/ports/www/p5-HTML-Tagset. >>>MGPMrUpdate 0.3.9_2 error: make returned an error, adding >>>/www/p5-HTML-Tagset to ignore.db >>>reverting bsd.port.mk patch -=>cd /usr/ports/Mk; patch -R < >>>/usr/local/share/portmanager/patch-bsd.port.mk-0.3.6; >>>Hmm... Looks like a unified diff to me... >>>The text leading up to this was: >>>-- >>> >>>|--- /usr/ports/Mk/bsd.port.mk Tue Nov 8 01:02:51 2005 >>>|+++ bsd.port.mkWed Nov 16 02:16:57 2005 >>> >>>-- >>>Patching file bsd.port.mk using Plan A... >>>Hunk #1 succeeded at 2049. >>>done >>>rCreateInstalledDbVerifyContentsFile 0.3.9_2 error: "@comment ORIGIN:" >>>not found in /var/db/pkg/bsdpan-XM
Re: After upgrading Perl, cannot reinstall modules - Cwd.so: Undefined symbol "perl_get_sv
On Saturday 26 November 2005 19:25, Michael C. Shultz wrote: > On Saturday 26 November 2005 18:48, Mark Kane wrote: > > Michael C. Shultz wrote: > > > On Saturday 26 November 2005 17:13, Mark Kane wrote: > > >>Hi everyone. I finally did a big portupgrade on a 4.9-RELEASE system > > >>today and I'm having some problems with Perl. > > >> > > >>I got it updated to 5.8.7 (was 5.6.x before), ran "use.perl port", and > > >>ran the perl-after-upgrade script which were all said in UPDATING. Now > > >>it's time to force upgrade/recompile the Perl modules for the new > > >> version. > > >> > > >>Unfortunately this is where I get stuck: > > >> > > >>xeon1# portupgrade -f p5-\* > > >> > > >>[snip] > > >> > > >>===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - > > >>found ===> p5-HTML-Tagset-3.10 depends on file: > > >> /usr/local/bin/perl5.8.7 - found ===> Configuring for > > >> p5-HTML-Tagset-3.10 > > >>/usr/libexec/ld-elf.so.1: > > >>/usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so: Undefined symbol > > >>"perl_get_sv" > > >>*** Error code 1 > > >> > > >> > > >>The remaining Perl modules that are supposed to be upgraded/recompiled > > >>either error out with the same message or are skipped because one that > > >>it requires errored out. > > >> > > >>I tried Googling for that error, but nothing came up. Other info that > > >>might be useful: > > >> > > >>xeon1# pkg_which /usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so > > >>perl-5.8.7 > > >>- > > >>xeon1# pkg_info | grep p5 > > >>p5-Authen-SASL-2.04 Perl5 module for SASL authentication > > >>p5-Compress-Zlib-1.41 Perl5 interface to zlib compression library > > >>p5-DBD-mysql-2.1026_1 MySQL driver for the Perl5 Database Interface > > >> (DBI) p5-DBI-1.38 The perl5 Database Interface. Required for > > >> DBD::* modules > > >>p5-Digest-1.13 Modules that calculate message digests > > >>p5-Digest-MD5-2.27 Perl5 interface to the MD5 algorithm > > >>p5-HTML-Parser-3.31 Perl5 module for parse HTML tag > > >>p5-HTML-Tagset-3.03 Some useful data table in parsing HTML > > >>p5-MIME-Base64-2.20 Perl5 module for Base64 and Quoted-Printable > > >> encodings p5-Net-1.16,1 Perl5 modules to access and use network > > >> protocols p5-URI-1.25 Perl5 interface to Uniform Resource > > >> Identifier (URI) refere > > >>p5-libvorbis-0.04 Perl extension for Ogg Vorbis streams > > >>p5-libwww-5.69 Perl5 library for WWW access > > >>- > > >> > > >>Thanks very much in advance as this is a production server which uses > > >>Perl all the time. > > >> > > >>-Mark > > >>FreeBSD 4.9-RELEASE i386 > > > > > > On a 4.11 system sysutils/portmanager has no problem with perl5.8 and > > > www/p5-HTML-Tagset, just tested it, not sure if it will run on 4.9 but > > > you you may want to give it a try. > > > > > > -Mike > > > > Thanks for the reply. I have never used portmanager, but I did give it a > > try like you said. Unfortunately it produced the same error when > > building that portupgrade did. I should also point out that I did try > > just a "make" from the port directory to see if it had something to do > > with portupgrade, and that failed with the same message about > > "perl_get_sv" as well. > > > > Here is the output from portmanager. I have omitted other errors that > > were about other Perl modules that were not installed via ports at all. > > > > xeon1# portmanager www/p5-HTML-Tagset > > > > [snip] > > > > > > update p5-HTML-Tagset-3.10 > > MGPMrUpdate 0.3.9_2 localProperty.command: #9 of 14 cd > > /usr/ports/www/p5-HTML-Tagset; make > > > > ===> Vulnerability check disabled, database not found > > ===> Extracting for p5-HTML-Tagset-3.10 > > => MD5 Checksum OK for HTML-Tagset-3.10.tar.gz. > > ===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - > > found ===> Patching for p5-HTML-Tagset-3.10 > > ===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - > > found ===> p5-HTML-Tagset-3.10 depends on file: > > /usr/local/bin/perl5.8.7 - found ===> Configuring for > > p5-HTML-Tagset-3.10 > > /usr/libexec/ld-elf.so.1: > > /usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so: Undefined symbol > > "perl_get_sv" > > *** Error code 1 > > > > Stop in /usr/ports/www/p5-HTML-Tagset. > > MGPMrUpdate 0.3.9_2 error: make returned an error, adding > > /www/p5-HTML-Tagset to ignore.db > > reverting bsd.port.mk patch -=>cd /usr/ports/Mk; patch -R < > > /usr/local/share/portmanager/patch-bsd.port.mk-0.3.6; > > Hmm... Looks like a unified diff to me... > > The text leading up to this was: > > -- > > > > |--- /usr/ports/Mk/bsd.port.mk Tue Nov 8 01:02:51 2005 > > |+++ bsd.port.mkWed Nov 16 02:16:57 2005 > > > > -- > > Patching file bsd.port.mk using Plan A... > > Hunk #1 succeeded at 2049. > > done > > rCreateInstalledDbVerifyConte
Re: After upgrading Perl, cannot reinstall modules - Cwd.so: Undefined symbol "perl_get_sv
On Saturday 26 November 2005 18:48, Mark Kane wrote: > Michael C. Shultz wrote: > > On Saturday 26 November 2005 17:13, Mark Kane wrote: > >>Hi everyone. I finally did a big portupgrade on a 4.9-RELEASE system > >>today and I'm having some problems with Perl. > >> > >>I got it updated to 5.8.7 (was 5.6.x before), ran "use.perl port", and > >>ran the perl-after-upgrade script which were all said in UPDATING. Now > >>it's time to force upgrade/recompile the Perl modules for the new > >> version. > >> > >>Unfortunately this is where I get stuck: > >> > >>xeon1# portupgrade -f p5-\* > >> > >>[snip] > >> > >>===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - > >>found ===> p5-HTML-Tagset-3.10 depends on file: > >> /usr/local/bin/perl5.8.7 - found ===> Configuring for > >> p5-HTML-Tagset-3.10 > >>/usr/libexec/ld-elf.so.1: > >>/usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so: Undefined symbol > >>"perl_get_sv" > >>*** Error code 1 > >> > >> > >>The remaining Perl modules that are supposed to be upgraded/recompiled > >>either error out with the same message or are skipped because one that > >>it requires errored out. > >> > >>I tried Googling for that error, but nothing came up. Other info that > >>might be useful: > >> > >>xeon1# pkg_which /usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so > >>perl-5.8.7 > >>- > >>xeon1# pkg_info | grep p5 > >>p5-Authen-SASL-2.04 Perl5 module for SASL authentication > >>p5-Compress-Zlib-1.41 Perl5 interface to zlib compression library > >>p5-DBD-mysql-2.1026_1 MySQL driver for the Perl5 Database Interface (DBI) > >>p5-DBI-1.38 The perl5 Database Interface. Required for DBD::* > >>modules > >>p5-Digest-1.13 Modules that calculate message digests > >>p5-Digest-MD5-2.27 Perl5 interface to the MD5 algorithm > >>p5-HTML-Parser-3.31 Perl5 module for parse HTML tag > >>p5-HTML-Tagset-3.03 Some useful data table in parsing HTML > >>p5-MIME-Base64-2.20 Perl5 module for Base64 and Quoted-Printable > >> encodings p5-Net-1.16,1 Perl5 modules to access and use network > >> protocols p5-URI-1.25 Perl5 interface to Uniform Resource > >> Identifier (URI) refere > >>p5-libvorbis-0.04 Perl extension for Ogg Vorbis streams > >>p5-libwww-5.69 Perl5 library for WWW access > >>- > >> > >>Thanks very much in advance as this is a production server which uses > >>Perl all the time. > >> > >>-Mark > >>FreeBSD 4.9-RELEASE i386 > > > > On a 4.11 system sysutils/portmanager has no problem with perl5.8 and > > www/p5-HTML-Tagset, just tested it, not sure if it will run on 4.9 but > > you you may want to give it a try. > > > > -Mike > > Thanks for the reply. I have never used portmanager, but I did give it a > try like you said. Unfortunately it produced the same error when > building that portupgrade did. I should also point out that I did try > just a "make" from the port directory to see if it had something to do > with portupgrade, and that failed with the same message about > "perl_get_sv" as well. > > Here is the output from portmanager. I have omitted other errors that > were about other Perl modules that were not installed via ports at all. > > xeon1# portmanager www/p5-HTML-Tagset > > [snip] > > > update p5-HTML-Tagset-3.10 > MGPMrUpdate 0.3.9_2 localProperty.command: #9 of 14 cd > /usr/ports/www/p5-HTML-Tagset; make > > ===> Vulnerability check disabled, database not found > ===> Extracting for p5-HTML-Tagset-3.10 > => MD5 Checksum OK for HTML-Tagset-3.10.tar.gz. > ===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - > found ===> Patching for p5-HTML-Tagset-3.10 > ===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - > found ===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 > - found ===> Configuring for p5-HTML-Tagset-3.10 > /usr/libexec/ld-elf.so.1: > /usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so: Undefined symbol > "perl_get_sv" > *** Error code 1 > > Stop in /usr/ports/www/p5-HTML-Tagset. > MGPMrUpdate 0.3.9_2 error: make returned an error, adding > /www/p5-HTML-Tagset to ignore.db > reverting bsd.port.mk patch -=>cd /usr/ports/Mk; patch -R < > /usr/local/share/portmanager/patch-bsd.port.mk-0.3.6; > Hmm... Looks like a unified diff to me... > The text leading up to this was: > -- > > |--- /usr/ports/Mk/bsd.port.mk Tue Nov 8 01:02:51 2005 > |+++ bsd.port.mkWed Nov 16 02:16:57 2005 > > -- > Patching file bsd.port.mk using Plan A... > Hunk #1 succeeded at 2049. > done > rCreateInstalledDbVerifyContentsFile 0.3.9_2 error: "@comment ORIGIN:" > not found in /var/db/pkg/bsdpan-XML-Parser-2.34/+CONTENTS > bsdpan-XML-Parser-2.34 installation is corrupt! > recomend running "pkg_delete -f bsdpan-XML-Parser-2.34" > then manually reinstalling this port >
Re: After upgrading Perl, cannot reinstall modules - Cwd.so: Undefined symbol "perl_get_sv
Michael C. Shultz wrote: > On Saturday 26 November 2005 17:13, Mark Kane wrote: > >>Hi everyone. I finally did a big portupgrade on a 4.9-RELEASE system >>today and I'm having some problems with Perl. >> >>I got it updated to 5.8.7 (was 5.6.x before), ran "use.perl port", and >>ran the perl-after-upgrade script which were all said in UPDATING. Now >>it's time to force upgrade/recompile the Perl modules for the new version. >> >>Unfortunately this is where I get stuck: >> >>xeon1# portupgrade -f p5-\* >> >>[snip] >> >>===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - >>found ===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 >>- found ===> Configuring for p5-HTML-Tagset-3.10 >>/usr/libexec/ld-elf.so.1: >>/usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so: Undefined symbol >>"perl_get_sv" >>*** Error code 1 >> >> >>The remaining Perl modules that are supposed to be upgraded/recompiled >>either error out with the same message or are skipped because one that >>it requires errored out. >> >>I tried Googling for that error, but nothing came up. Other info that >>might be useful: >> >>xeon1# pkg_which /usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so >>perl-5.8.7 >>- >>xeon1# pkg_info | grep p5 >>p5-Authen-SASL-2.04 Perl5 module for SASL authentication >>p5-Compress-Zlib-1.41 Perl5 interface to zlib compression library >>p5-DBD-mysql-2.1026_1 MySQL driver for the Perl5 Database Interface (DBI) >>p5-DBI-1.38 The perl5 Database Interface. Required for DBD::* >>modules >>p5-Digest-1.13 Modules that calculate message digests >>p5-Digest-MD5-2.27 Perl5 interface to the MD5 algorithm >>p5-HTML-Parser-3.31 Perl5 module for parse HTML tag >>p5-HTML-Tagset-3.03 Some useful data table in parsing HTML >>p5-MIME-Base64-2.20 Perl5 module for Base64 and Quoted-Printable encodings >>p5-Net-1.16,1 Perl5 modules to access and use network protocols >>p5-URI-1.25 Perl5 interface to Uniform Resource Identifier (URI) >>refere >>p5-libvorbis-0.04 Perl extension for Ogg Vorbis streams >>p5-libwww-5.69 Perl5 library for WWW access >>- >> >>Thanks very much in advance as this is a production server which uses >>Perl all the time. >> >>-Mark >>FreeBSD 4.9-RELEASE i386 > > > On a 4.11 system sysutils/portmanager has no problem with perl5.8 and > www/p5-HTML-Tagset, just tested it, not sure if it will run on 4.9 but you > you may want to give it a try. > > -Mike Thanks for the reply. I have never used portmanager, but I did give it a try like you said. Unfortunately it produced the same error when building that portupgrade did. I should also point out that I did try just a "make" from the port directory to see if it had something to do with portupgrade, and that failed with the same message about "perl_get_sv" as well. Here is the output from portmanager. I have omitted other errors that were about other Perl modules that were not installed via ports at all. xeon1# portmanager www/p5-HTML-Tagset [snip] update p5-HTML-Tagset-3.10 MGPMrUpdate 0.3.9_2 localProperty.command: #9 of 14 cd /usr/ports/www/p5-HTML-Tagset; make ===> Vulnerability check disabled, database not found ===> Extracting for p5-HTML-Tagset-3.10 => MD5 Checksum OK for HTML-Tagset-3.10.tar.gz. ===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - found ===> Patching for p5-HTML-Tagset-3.10 ===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - found ===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - found ===> Configuring for p5-HTML-Tagset-3.10 /usr/libexec/ld-elf.so.1: /usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so: Undefined symbol "perl_get_sv" *** Error code 1 Stop in /usr/ports/www/p5-HTML-Tagset. MGPMrUpdate 0.3.9_2 error: make returned an error, adding /www/p5-HTML-Tagset to ignore.db reverting bsd.port.mk patch -=>cd /usr/ports/Mk; patch -R < /usr/local/share/portmanager/patch-bsd.port.mk-0.3.6; Hmm... Looks like a unified diff to me... The text leading up to this was: -- |--- /usr/ports/Mk/bsd.port.mk Tue Nov 8 01:02:51 2005 |+++ bsd.port.mkWed Nov 16 02:16:57 2005 -- Patching file bsd.port.mk using Plan A... Hunk #1 succeeded at 2049. done rCreateInstalledDbVerifyContentsFile 0.3.9_2 error: "@comment ORIGIN:" not found in /var/db/pkg/bsdpan-XML-Parser-2.34/+CONTENTS bsdpan-XML-Parser-2.34 installation is corrupt! recomend running "pkg_delete -f bsdpan-XML-Parser-2.34" then manually reinstalling this port Thanks -Mark -- GnuPG Public Key: http://www.mkproductions.org/mk_pubkey.asc Internet Radio: Party107 (Trance/Electronic) - http://www.party107.com Rock 101.9 The Edge (Rock) - http://www.rock1019.net IRC: MIXXnet IRC Network - irc.mixxnet.net (Nick: MIXX941) signature.asc D
Re: After upgrading Perl, cannot reinstall modules - Cwd.so: Undefined symbol "perl_get_sv
# Mark Kane: [ upgrade perl 5.6.x->5.8.7 failed on 4-9R ] > ===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - found > ===> Configuring for p5-HTML-Tagset-3.10 > /usr/libexec/ld-elf.so.1: > /usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so: Undefined symbol > "perl_get_sv" Hm. Just a data point that just caught my eye: $ nm -D auto/Cwd/Cwd.so CORE/libperl.so | grep get_sv U Perl_get_sv 0001e4d4 T Perl_get_sv ^^^ Please note the symbol in your error message isn't capitalized. Not much help, really, but maybe someone else can make something of it. Regards, Mario ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: After upgrading Perl, cannot reinstall modules - Cwd.so: Undefined symbol "perl_get_sv
On Saturday 26 November 2005 17:13, Mark Kane wrote: > Hi everyone. I finally did a big portupgrade on a 4.9-RELEASE system > today and I'm having some problems with Perl. > > I got it updated to 5.8.7 (was 5.6.x before), ran "use.perl port", and > ran the perl-after-upgrade script which were all said in UPDATING. Now > it's time to force upgrade/recompile the Perl modules for the new version. > > Unfortunately this is where I get stuck: > > xeon1# portupgrade -f p5-\* > > [snip] > > ===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - > found ===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 > - found ===> Configuring for p5-HTML-Tagset-3.10 > /usr/libexec/ld-elf.so.1: > /usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so: Undefined symbol > "perl_get_sv" > *** Error code 1 > > > The remaining Perl modules that are supposed to be upgraded/recompiled > either error out with the same message or are skipped because one that > it requires errored out. > > I tried Googling for that error, but nothing came up. Other info that > might be useful: > > xeon1# pkg_which /usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so > perl-5.8.7 > - > xeon1# pkg_info | grep p5 > p5-Authen-SASL-2.04 Perl5 module for SASL authentication > p5-Compress-Zlib-1.41 Perl5 interface to zlib compression library > p5-DBD-mysql-2.1026_1 MySQL driver for the Perl5 Database Interface (DBI) > p5-DBI-1.38 The perl5 Database Interface. Required for DBD::* > modules > p5-Digest-1.13 Modules that calculate message digests > p5-Digest-MD5-2.27 Perl5 interface to the MD5 algorithm > p5-HTML-Parser-3.31 Perl5 module for parse HTML tag > p5-HTML-Tagset-3.03 Some useful data table in parsing HTML > p5-MIME-Base64-2.20 Perl5 module for Base64 and Quoted-Printable encodings > p5-Net-1.16,1 Perl5 modules to access and use network protocols > p5-URI-1.25 Perl5 interface to Uniform Resource Identifier (URI) > refere > p5-libvorbis-0.04 Perl extension for Ogg Vorbis streams > p5-libwww-5.69 Perl5 library for WWW access > - > > Thanks very much in advance as this is a production server which uses > Perl all the time. > > -Mark > FreeBSD 4.9-RELEASE i386 On a 4.11 system sysutils/portmanager has no problem with perl5.8 and www/p5-HTML-Tagset, just tested it, not sure if it will run on 4.9 but you you may want to give it a try. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
After upgrading Perl, cannot reinstall modules - Cwd.so: Undefined symbol "perl_get_sv
Hi everyone. I finally did a big portupgrade on a 4.9-RELEASE system today and I'm having some problems with Perl. I got it updated to 5.8.7 (was 5.6.x before), ran "use.perl port", and ran the perl-after-upgrade script which were all said in UPDATING. Now it's time to force upgrade/recompile the Perl modules for the new version. Unfortunately this is where I get stuck: xeon1# portupgrade -f p5-\* [snip] ===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - found ===> p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - found ===> Configuring for p5-HTML-Tagset-3.10 /usr/libexec/ld-elf.so.1: /usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so: Undefined symbol "perl_get_sv" *** Error code 1 The remaining Perl modules that are supposed to be upgraded/recompiled either error out with the same message or are skipped because one that it requires errored out. I tried Googling for that error, but nothing came up. Other info that might be useful: xeon1# pkg_which /usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so perl-5.8.7 - xeon1# pkg_info | grep p5 p5-Authen-SASL-2.04 Perl5 module for SASL authentication p5-Compress-Zlib-1.41 Perl5 interface to zlib compression library p5-DBD-mysql-2.1026_1 MySQL driver for the Perl5 Database Interface (DBI) p5-DBI-1.38 The perl5 Database Interface. Required for DBD::* modules p5-Digest-1.13 Modules that calculate message digests p5-Digest-MD5-2.27 Perl5 interface to the MD5 algorithm p5-HTML-Parser-3.31 Perl5 module for parse HTML tag p5-HTML-Tagset-3.03 Some useful data table in parsing HTML p5-MIME-Base64-2.20 Perl5 module for Base64 and Quoted-Printable encodings p5-Net-1.16,1 Perl5 modules to access and use network protocols p5-URI-1.25 Perl5 interface to Uniform Resource Identifier (URI) refere p5-libvorbis-0.04 Perl extension for Ogg Vorbis streams p5-libwww-5.69 Perl5 library for WWW access - Thanks very much in advance as this is a production server which uses Perl all the time. -Mark FreeBSD 4.9-RELEASE i386 -- GnuPG Public Key: http://www.mkproductions.org/mk_pubkey.asc Internet Radio: Party107 (Trance/Electronic) - http://www.party107.com Rock 101.9 The Edge (Rock) - http://www.rock1019.net IRC: MIXXnet IRC Network - irc.mixxnet.net (Nick: MIXX941) signature.asc Description: OpenPGP digital signature
Re: upgrading perl -ports
Parv wrote: in message <[EMAIL PROTECTED]>, wrote Jorn Argelo thusly... About your problem, you should really recompile Perl from the ports-tree if you want to upgrade your Perl version. And after you did that, I always rebooted the machine. I don't know how it will function without rebooting the machine, or if it's even possible to upgrade Perl properly without a reboot. There is no reason to reboot just to upgrade perl "properly". Rebooting does nothing in regard to upgrading perl, rather you just cause inconvenience to yourself. - Parv Yes, I stand corrected. Which is why I mentioned that I didn't know for sure ;-) Jorn. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: upgrading perl -ports
in message <[EMAIL PROTECTED]>, wrote Jorn Argelo thusly... > > About your problem, you should really recompile Perl from the > ports-tree if you want to upgrade your Perl version. And after you > did that, I always rebooted the machine. I don't know how it will > function without rebooting the machine, or if it's even possible > to upgrade Perl properly without a reboot. There is no reason to reboot just to upgrade perl "properly". Rebooting does nothing in regard to upgrading perl, rather you just cause inconvenience to yourself. - Parv -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: upgrading perl -ports
Zan wrote: uname -m = i386 which -a perl = /usr/local/bin/perl /usr/bin/perl Please show: uname -m which -a perl On Tuesday, August 30, 2005, at 01:30 P:M, Lowell Gilbert wrote: Zan <[EMAIL PROTECTED]> writes: in my /usr/local/bin I can clearly see that there is a newer version of perl (5.8.0) already there, but when I type 'perl -v' I see that I'm running off of 5.0. Is there anything else I can do besides trying the "use.perl port" command? Because that doesn't seem to work, and my jail did not come with a ports collection. I would appreciate any help you can give me. Thank you! Please show: uname -m which -a perl Just a little side-note. After performing such an upgrade of Perl it's likely that some applications will not work, since a lot of them expect your old version of Perl. Recompiling those applications does the trick. At least, that's what I noticed when upgrading from 5.8.6 to 5.8.7. And just so you know, there are ALOT of applications dependent of Perl. About your problem, you should really recompile Perl from the ports-tree if you want to upgrade your Perl version. And after you did that, I always rebooted the machine. I don't know how it will function without rebooting the machine, or if it's even possible to upgrade Perl properly without a reboot. Jorn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[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: upgrading perl -ports
Please don't top-post. Zan <[EMAIL PROTECTED]> writes: > On Tuesday, August 30, 2005, at 01:30 P:M, Lowell Gilbert wrote: > > > Zan <[EMAIL PROTECTED]> writes: > > > >> in my /usr/local/bin I can clearly see that there is a newer version > >> of perl (5.8.0) already there, but when I type 'perl -v' I see that > >> I'm running off of 5.0. Is there anything else I can do besides trying > >> the "use.perl port" command? Because that doesn't seem to work, and my > >> jail did not come with a ports collection. > >> > >> I would appreciate any help you can give me. Thank you! > > > > Please show: > > uname -m > > which -a perl > uname -m = i386 Oops. I meant uname -a. You're running some 4.x, I guess? > which -a perl = > /usr/local/bin/perl > /usr/bin/perl Okay, explicitly run each of those perl executables to find the version. Something doesn't make sense here, and you may be looking in the wrong direction... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: upgrading perl -ports
Zan wrote: 5.8 is from ports. 5.0.6. i think, is system based In my 'usr/local/BIN' perl5.8.0 already exists. ok you need to install the perl from ports before using "use.perl port". What I want to know is how to switch to 5.8.0 WITHOUT using "use.perl port" because I already tried that, and it does not work! what do you mean / how do you know 'it doesnt work'. It has always worked fine for me, both on a full system and jails. It will add some options to /etc/rc.conf. You will have to rebuild all perl-related ports so it starts using the perl from ports rather than from system virtual hoster? can you download the ports collection and use it? (check that you can compile first ;) ) Yes, I am on a virtual hosting account, and am very enthralled with freebsd. ;-) welcome aboard! B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: upgrading perl -ports
uname -m = i386 which -a perl = /usr/local/bin/perl /usr/bin/perl Please show: uname -m which -a perl On Tuesday, August 30, 2005, at 01:30 P:M, Lowell Gilbert wrote: Zan <[EMAIL PROTECTED]> writes: in my /usr/local/bin I can clearly see that there is a newer version of perl (5.8.0) already there, but when I type 'perl -v' I see that I'm running off of 5.0. Is there anything else I can do besides trying the "use.perl port" command? Because that doesn't seem to work, and my jail did not come with a ports collection. I would appreciate any help you can give me. Thank you! Please show: uname -m which -a perl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: upgrading perl -ports
Zan <[EMAIL PROTECTED]> writes: > in my /usr/local/bin I can clearly see that there is a newer version > of perl (5.8.0) already there, but when I type 'perl -v' I see that > I'm running off of 5.0. Is there anything else I can do besides trying > the "use.perl port" command? Because that doesn't seem to work, and my > jail did not come with a ports collection. > > I would appreciate any help you can give me. Thank you! Please show: uname -m which -a perl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: upgrading perl -ports
Zan wrote: Hello, Would you please help me? in my /usr/local/bin I can clearly see that there is a newer version of perl (5.8.0) already there, but when I type 'perl -v' I see that I'm running off of 5.0. 5.8 is from ports. 5.0.6. i think, is system based Is there anything else I can do besides trying the "use.perl port" command? Because that doesn't seem to work, you need to install the perl from ports before using "use.perl port". and my jail did not come with a ports collection. virtual hoster? can you download the ports collection and use it? (check that you can compile first ;) ) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
upgrading perl -ports
Hello, Would you please help me? in my /usr/local/bin I can clearly see that there is a newer version of perl (5.8.0) already there, but when I type 'perl -v' I see that I'm running off of 5.0. Is there anything else I can do besides trying the "use.perl port" command? Because that doesn't seem to work, and my jail did not come with a ports collection. I would appreciate any help you can give me. Thank you! -Zan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Upgrading Perl bsdpan / cpan-ports to freebsd-ports
I'm trying to upgrade all of my Perl modules installed through CPAN to FreeBSD-port one's, but I'm running into a few difficulties with the following ports: bsdpan-DB_File-1.810 DB_File - Perl5 access to Berkeley DB version 1.x bsdpan-PerlIO-via-QuotedPrint-0.06 PerlIO::via::QuotedPrint - PerlIO layer for quoted-printabl bsdpan-Pod-LaTeX-0.57 Pod::LaTeX - Convert Pod data to formatted Latex bsdpan-Pod-Perldoc-3.13 Unknown perl module bsdpan-Term-Cap-1.09 Term::Cap - Perl termcap interface bsdpan-Test-1.25Test - provides a simple framework for writing test scripts bsdpan-Text-Soundex-3.02 Text::Soundex - Implementation of the Soundex Algorithmas bsdpan-Unicode-Collate-0.40 Unicode::Collate - Unicode Collation Algorithm bsdpan-Unicode-Normalize-0.30 Unicode::Normalize - Unicode Normalization Forms bsdpan-bignum-0.15 bignum - Transparent BigNumber support for Perl bsdpan-if-0.0401if - C a Perl module if a condition holds All but bsdpan-DB_File-1.810, bsdpan-PerlIO-via-QuotedPrint-0.06 and bsdpan-Text-Soundex-3.02 where installed for 5.8.2. The /usr/local/lib/perl5/5.8.2/-directory doesn't exist anymore, meaning they are broken (pkg_info -g bsdpan confirms this). Doing a pkg_info -R bsdpan* returns no results, nor does pkg_info -r p5* | grep bsdpan. Can I conclude that I can safely delete all those packages? Any reason I cannot find an appropriate FreeBSD-port for them? Kind Regards, Sander Holthaus ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Upgrading perl 5.8
Stefan Cars wrote: Hi! I'm upgrading perl 5.8 from the ports on a FreeBSD 5.3 machine, the problem is that alot of my installed modules doesn't work after the update (just a minor update from 5.8.2 to 5.8.6), probably becuase the @INC changed and did not include the mach directory of 5.8.2. Is this right ? Why can't it include the 5.8.2 mach dir ? Please read /usr/ports/UPDATING Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Upgrading perl 5.8
On Mon, Feb 28, 2005 at 01:34:30PM +0100, Stefan Cars wrote: > Hi! > > I'm upgrading perl 5.8 from the ports on a FreeBSD 5.3 machine, the > problem is that alot of my installed modules doesn't work after the > update (just a minor update from 5.8.2 to 5.8.6), probably becuase the > @INC changed and did not include the mach directory of 5.8.2. Is this > right ? Why can't it include the 5.8.2 mach dir ? There's nothing to stop you adding the 5.8.2 directories to @INC. But the cleanest way to solve this is to upgrade everything else on your system that depends on Perl. Portmanager is really good for this sort of task. Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgpTLd0dUgmHh.pgp Description: PGP signature
Upgrading perl 5.8
Hi! I'm upgrading perl 5.8 from the ports on a FreeBSD 5.3 machine, the problem is that alot of my installed modules doesn't work after the update (just a minor update from 5.8.2 to 5.8.6), probably becuase the @INC changed and did not include the mach directory of 5.8.2. Is this right ? Why can't it include the 5.8.2 mach dir ? /S ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Failures after upgrading perl
On Wed, 9 Feb 2005 10:07:59 - , in local.freebsd.questions you wrote: >I have a 4.7-based system I use as a mail gateway. Yesterday I >did a portupgrade of perl from 5.6.1 to 5.6.2. Today I find that >I have no incoming mail, due to mimedefang no longer functioning: Bang my head against a wall and repeat ten times: "I will read /usr/ports/UPDATING *before* I do a portupgrade, not after!". ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Failures after upgrading perl
Jim Hatfield wrote: I have a 4.7-based system I use as a mail gateway. Yesterday I did a portupgrade of perl from 5.6.1 to 5.6.2. Today I find that I have no incoming mail, due to mimedefang no longer functioning: But pkg_info shows p5-MIME-Base64 as present! And it is, but not on any of the directories on the @INC path It seems to think it's dependent on perl 5.6.1, which isn't present, then wants to install 5.6.2, which is already installed. Do I have to remove and reinstall all the perl addons due to the upgrade of the perl version? You should read UPDATING in your ports directory, there you'll find the instructions on how to update perl: 20050201: AFFECTS: users of lang/perl5 and lang/perl5.8 lang/perl5 has been updated to 5.6.2, and lang/perl5.8 has been updated to 5.8.6. you should update everything depending on perl, that is: * first, upgrade your perl installation (use either lang/perl5 or lang/perl5.8, the latter being recommended); * for FreeBSD 4.X, run "use.perl port", so that the system knows you have 5.8.6 or 5.6.2; this step is not needed on FreeBSD 5.X and FreeBSD -CURRENT; * run some magic incantations to upgrade all ports depending on perl, that is run something like : portupgrade -f `(pkg_info -R perl-5\* |tail +4; \ find /usr/local/lib/perl5/site_perl/5.[68].[1245] -type f -print0 \ | xargs -0 pkg_which -fv | sed -e '/: ?/d' -e 's/.*: //')|sort -u` This is likely to fail for a few ports, you'll have to upgrade them afterwards by hand. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Failures after upgrading perl
I have a 4.7-based system I use as a mail gateway. Yesterday I did a portupgrade of perl from 5.6.1 to 5.6.2. Today I find that I have no incoming mail, due to mimedefang no longer functioning: >Feb 9 09:56:39 highland mimedefang-multiplexor[91186]: Slave 0 stderr: Can't >locate MIME/Base64.pm in @INC (@INC contains: >/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl/5.6.2/mach >/usr/local/lib/perl5/site_perl/5.6.2 >/usr/local/lib/perl5/site_perl/5.005/i386-freebsd >/usr/local/lib/perl5/site_perl/5.005 /usr/local/lib/perl5/site_perl >/usr/local/lib/perl5/5.6.2/BSDPAN /usr/local/lib/perl5/5.6.2/mach >/usr/local/lib/perl5/5.6.2 .) at >/usr/local/lib/perl5/site_perl/5.6.1/MIME/Words.pm line 85. BEGIN >failed--compilation aborted at /usr/local/lib/perl5/site_per But pkg_info shows p5-MIME-Base64 as present! And it is, but not on any of the directories on the @INC path: >highland# find /usr/local/lib -name Base64.pm -print >/usr/local/lib/perl5/site_perl/5.6.1/mach/MIME/Base64.pm >/usr/local/lib/perl5/site_perl/5.6.1/MIME/Decoder/Base64.pm If I try a portupgrade -f it seems to get confused about perl versions: >highland# portupgrade -f p5-MIME-Base64 >---> Reinstalling 'p5-MIME-Base64-3.05' (converters/p5-MIME-Base64) >---> Building '/usr/ports/converters/p5-MIME-Base64' >===> Cleaning for perl-5.6.2_2 >===> Cleaning for p5-MIME-Base64-3.05 >===> Vulnerability check disabled >===> Extracting for p5-MIME-Base64-3.05 >=> Checksum OK for MIME-Base64-3.05.tar.gz. >===> p5-MIME-Base64-3.05 depends on file: /usr/local/bin/perl5.6.1 - not >found >===>Verifying install for /usr/local/bin/perl5.6.1 in /usr/ports/lang/perl5 >===> Vulnerability check disabled >===> Extracting for perl-5.6.2_2 >=> Checksum OK for perl-5.6.2.tar.gz. >=> Checksum OK for BSDPAN-5.6.2.tar.gz. It seems to think it's dependent on perl 5.6.1, which isn't present, then wants to install 5.6.2, which is already installed. Do I have to remove and reinstall all the perl addons due to the upgrade of the perl version? And what's the "mach" directory for? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: upgrading perl
On Fri, Dec 31, 2004 at 12:46:09PM +0100, Erik Norgaard wrote: > I haven't found big differences between 5.6 and 5.8, so I'd suggest you > use 5.8. The main reason to stick with an older version is that you > might develop scripts for platforms where the newer are not available. I've noticed some memory allocation bugs with 5.6, so I'd just go straight for 5.8. -- -- Skylar Thompson ([EMAIL PROTECTED]) -- http://www.cs.earlham.edu/~skylar/ pgpUQ7dHbn1YP.pgp Description: PGP signature
Re: upgrading perl
--On Thursday, December 30, 2004 7:54 PM -0800 Karl Agee <[EMAIL PROTECTED]> wrote: Freebsd 4.11-pre. I am working on learning perl, and have perl 5.00x that is in the base system when I installed 4.10-Release. Since most of the learning materials out there are based on later verisions esp since 5.6.x some of the features arent in this older version. I am considering upgrading to 5.8.5 via ports, but, dont know if that will break anything. Just being cautious... It's good to be cautious. :-) If you want to switch to the ports version of perl, then after you run make install clean in the port, you will need to do the following: Type "use.perl ports" at the commandline. This will switch perl from the system version to the ports version. Until you do this, your system will still be using the system version. Furthermore, you can always revert back to the system version by typing "use.perl system" at the commandline. After you do that, you will need to run "make reinstall" in any port that you've installed that uses perl. You can also install all the CPAN modules using the base system, so there's no need to upgrade to the ports version unless you just want to. (I chose to do that on a server I maintain, but it worked fine using the system perl.) Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: upgrading perl
Karl Agee wrote: Freebsd 4.11-pre. I am working on learning perl, and have perl 5.00x that is in the base system when I installed 4.10-Release. Since most of the learning materials out there are based on later verisions esp since 5.6.x some of the features arent in this older version. I am considering upgrading to 5.8.5 via ports, but, dont know if that will break anything. It won't break anything. You can have the base install, 5.6.x and 5.8.x installed from ports simultaneously. After installing perl from ports you run /usr/local/bin/use.perl port This will create links to the port install, eg. /usr/bin/perl -> /usr/bin/perl5.8.5 And you can go back with /usr/local/bin/use.perl system Which will then replace the link with, eg. /usr/bin/perl -> /usr/bin/perl5 These are the limitations: use.perl can only switch between one installed port-version and the system perl. So if you want to use another port-version (ie. for some reason you want both 5.6.x and 5.8.x) you will have to do the linking manually. When you install perl-packages they will be installed into the package path of the currently selected perl. So if you use 5.8.5 and install say p5-DBI then this won't be available for the system perl. However, perl looks backward, so 5.8.5 sees packages installed for the system perl. I haven't found big differences between 5.6 and 5.8, so I'd suggest you use 5.8. The main reason to stick with an older version is that you might develop scripts for platforms where the newer are not available. Note: If/when you upgrade to 5.x there is no system perl, this is partly to avoid the mess with multiple versions of perl. Cheers, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: upgrading perl
Karl Agee wrote: Freebsd 4.11-pre. I am working on learning perl, and have perl 5.00x that is in the base system when I installed 4.10-Release. Since most of the learning materials out there are based on later verisions esp since 5.6.x some of the features arent in this older version. I am considering upgrading to 5.8.5 via ports, but, dont know if that will break anything. Just being cautious... --Karl Hello Karl Unless it's relatively easy to upgrade perl on 4.x I wouldn't bother with it. most everything in perl 5.6 (and 5.8) work in 5. If you want to learn about perl this resource should be very helpful: http://www.ebb.org/PickingUpPerl/ Remember to buy them!, Nikolas http://www.hn.edu.cn/book/Perl/Perl.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: upgrading perl
Karl Agee wrote: Freebsd 4.11-pre. I am working on learning perl, and have perl 5.00x that is in the base system when I installed 4.10-Release. Since most of the learning materials out there are based on later verisions esp since 5.6.x some of the features arent in this older version. I am considering upgrading to 5.8.5 via ports, but, dont know if that will break anything. Just being cautious... --Karl The biggest thing you have to watch out for is to upgrade the modules with the distribution. Look in /usr/ports/UPDATING and search for Perl for more info. -- -- Skylar Thompson ([EMAIL PROTECTED]) -- http://www.cs.earlham.edu/~skylar/ signature.asc Description: OpenPGP digital signature
upgrading perl
Freebsd 4.11-pre. I am working on learning perl, and have perl 5.00x that is in the base system when I installed 4.10-Release. Since most of the learning materials out there are based on later verisions esp since 5.6.x some of the features arent in this older version. I am considering upgrading to 5.8.5 via ports, but, dont know if that will break anything. Just being cautious... --Karl _ Dont just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Upgrading Perl within 5.2
On Thursday 01 April 2004 07:05 am, Jesse Sheidlower wrote: > I'm sure this is a silly question, but. I know about use.perl and > so forth for the 4.x series. > > Yesterday I installed FreeBSD 5.2.1, and the active Perl port > is /usr/ports/lang/perl, which is v. 5.6.1. I'd like to upgrade > to 5.8.2, which is in /usr/ports/lang/perl5.8 and thus I can't > just do "portupgrade perl". > > Exactly what do I have to do to accomplish this? "portinstall > perl5.8" doesn't work ("No such installed package nor such port..."), > nor does "portinstall perl-5.8.2_2" (which is said to be the > package name in the README file). The PORTNAME given in the 5.8 > Makefile is just "perl". > > I assume I could just do a make install from the perl5.8 > directory, but how do I do it with portupgrade? And then how > do I get rid of the 5.6 version and rebuild things with 5.8? > Follow the instructions in /usr/ports/UPDATING. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Upgrading Perl within 5.2
On Thu, 2004-04-01 at 17:05, Jesse Sheidlower wrote: > I'm sure this is a silly question, but. I know about use.perl and > so forth for the 4.x series. > > Yesterday I installed FreeBSD 5.2.1, and the active Perl port > is /usr/ports/lang/perl, which is v. 5.6.1. I'd like to upgrade > to 5.8.2, which is in /usr/ports/lang/perl5.8 and thus I can't > just do "portupgrade perl". > > Exactly what do I have to do to accomplish this? "portinstall > perl5.8" doesn't work ("No such installed package nor such port..."), > nor does "portinstall perl-5.8.2_2" (which is said to be the > package name in the README file). The PORTNAME given in the 5.8 > Makefile is just "perl". > > I assume I could just do a make install from the perl5.8 > directory, but how do I do it with portupgrade? And then how > do I get rid of the 5.6 version and rebuild things with 5.8? Correct. Just run a make install from perl5.8 directory and it will install it to a new location without interfering with the "base" install of perl. Is it really necessary to upgrade ? There is nothing in ports that I know of that will not work with perl5.6 There is no need to remove the 5.6 version. The installation will add some information to your /etc/make.conf as well as make other changes when you run use.perl port which will tell any future installations that require perl which version to use. If you have to remove perl then cd into /usr/local/lib/perl5 and remove the 5.6 directory as well as the one under site_perl but not recommended. Cheers, -- Nelis Lamprecht PGP: http://www.8ball.co.za/pgpkey/nelis.asc "Unix IS user friendly.. It's just selective about who its friends are." signature.asc Description: This is a digitally signed message part
Re: Upgrading Perl within 5.2
On Thu, Apr 01, 2004 at 10:05:35AM -0500, Jesse Sheidlower wrote: > Yesterday I installed FreeBSD 5.2.1, and the active Perl port > is /usr/ports/lang/perl, which is v. 5.6.1. I'd like to upgrade > to 5.8.2, which is in /usr/ports/lang/perl5.8 and thus I can't > just do "portupgrade perl". You can tell the portupgrade tools the path relative to /usr/ports -- so to upgrade from perl-5.6.1 to perl-5.8.2 you would do: # pkg_deinstall -f lang/perl5 # portinstall lang/perl5.8 and then all the 'use.perl port' stuff, as well as re-installing any perl modules (ie. anything that installed files under /usr/local/lib/perl5/5.6.1 or /usr/local/lib/perl5/site-perl/5.6.1) Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Upgrading Perl within 5.2
I'm sure this is a silly question, but. I know about use.perl and so forth for the 4.x series. Yesterday I installed FreeBSD 5.2.1, and the active Perl port is /usr/ports/lang/perl, which is v. 5.6.1. I'd like to upgrade to 5.8.2, which is in /usr/ports/lang/perl5.8 and thus I can't just do "portupgrade perl". Exactly what do I have to do to accomplish this? "portinstall perl5.8" doesn't work ("No such installed package nor such port..."), nor does "portinstall perl-5.8.2_2" (which is said to be the package name in the README file). The PORTNAME given in the 5.8 Makefile is just "perl". I assume I could just do a make install from the perl5.8 directory, but how do I do it with portupgrade? And then how do I get rid of the 5.6 version and rebuild things with 5.8? Thanks. Jesse Sheidlower ___ [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]"
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
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
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 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
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
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
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 (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]"
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 && 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 5.6.1 to perl 5.8 via ports
On Sun, Jan 26, 2003 at 12:50:36PM +, Matt wrote: > I am currently running freebsd 5.0-current and so do not have the perl > installation as core. Perl 5.6.1 was installed as a dependency when I > installed irssi from ports and everything has been using this since. I > assume because this is the version mentioned in /etc/make.conf: > > PERL_VER=5.6.1 > PERL_VERSION=5.6.1 > PERL_ARCH=mach > NOPERL=yo > NO_PERL=yo > NO_PERL_WRAPPER=yo > > What I would like to do is remove the perl 5.6.1 port and install the perl > 5.8 port instead but before I go off and try this and break lots of things I > would like to know what I need to do to change all my currently installed > ports that have been installed to depend on perl 5.6.1 and the modules > in /usr/local/lib/perl5/site_perl/5.6.1/ so that they all work in 5.8. > > Is it just a case of backing up site_perl and forcing a deinstall of the > 5.6.1 port and installing the 5.8 port and copying all the site_perl stuff > back but under /usr/local/lib/perl5/site_perl/5.8 instead? Or am I going to > need to reinstall all the ports that depend on perl? Plus I guess changing > the /etc/make.conf to 5.8 (though I guess the port will do this). Also am I > right to assume that the ports use the config in make.conf to decide which > version of perl they depend on? Probably the best way to do this is as follows: 0) Get a good backup of everything. Install portupgrade. i) Make a list of all of the perl modules you've installed and check that they all depend on perl-5.6.1. Seeing as you're on 5.0 and so using a ports version of perl rather than the version bundled with 4.x, you should see an explicit dependency on perl-5.6.1. You should therefore find most perl dependent things by doing: pkg_info -r perl-\* If you're on 4.x and using the system perl, you'll have to go about finding the dependencies by other means. Eg. by: pkg_info -I p5-\* but beware of the oddities like MRTG or rrdtool that don't match that naming convention. Similarly make a list of any perl modules you've installed via CPAN. (The 'snapshot' command in a CPAN shell will give you more than enough information for that purpose.) Ideally at the end of this job you should be able to identify all packages that have installed files under /usr/local/lib/perl5/{5.6.1,site_perl/5.6.1} --- it's those packages which will have to be re-installed to use the new perl. ii) Install the perl-5.8.0 port side-by-side with the perl-5.6.1 port, and run the 'use.perl port' command from 5.8.0. That should mean that: PERL_VER=5.8.0 PERL_VERSION=5.8.0 PERL_ARCH=mach NOPERL=yo NO_PERL=yo NO_PERL_WRAPPER=yo appears in /etc/make.conf --- you can delete any old use.perl stuff pointing at perl-5.6.1 iii) Re-install all of the ports that installed files into a perl-5.6.1 specific directory. You won't need to reinstall a port just because it gets its perl dependency just by containing some perl scripts, but you do need to re-install anything that installs .pm files or shared modules. If you're unsure, reinstall it. The easiest way to do this job is by using portupgrade(1): portupgrade -rNfix perl-5.6.1 perl-5.6.1 and select 'y' or 'n' as it prompts you to upgrade each port. The re-installed ports should now depend on perl-5.8.0. iv) Similarly, re-install any perl modules downloaded from CPAN. Nb. if possible use the ports version of a module in preference to the CPAN version --- even with BSDPAN, it's still easier to manage FreeBSD ports/pkgs. v) Forcibly remove the old perl-5.6.1 port: pkg_deinstall -f perl-5.6.1\* You've probably got some ports that are still listed as depending on perl-5.6.1, which you can interactively fix to depend on perl-5.8.0 by running: pkgdb -Fvu vi) Test thoroughly. Clean up any remnant perl-5.6.1 directories under /usr/local/lib/perl5, and make sure that /etc/manpath.config references the right perl man directory. That should get you up and running with 5.8.0. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Upgrading perl 5.6.1 to perl 5.8 via ports
Hi, I am currently running freebsd 5.0-current and so do not have the perl installation as core. Perl 5.6.1 was installed as a dependency when I installed irssi from ports and everything has been using this since. I assume because this is the version mentioned in /etc/make.conf: PERL_VER=5.6.1 PERL_VERSION=5.6.1 PERL_ARCH=mach NOPERL=yo NO_PERL=yo NO_PERL_WRAPPER=yo What I would like to do is remove the perl 5.6.1 port and install the perl 5.8 port instead but before I go off and try this and break lots of things I would like to know what I need to do to change all my currently installed ports that have been installed to depend on perl 5.6.1 and the modules in /usr/local/lib/perl5/site_perl/5.6.1/ so that they all work in 5.8. Is it just a case of backing up site_perl and forcing a deinstall of the 5.6.1 port and installing the 5.8 port and copying all the site_perl stuff back but under /usr/local/lib/perl5/site_perl/5.8 instead? Or am I going to need to reinstall all the ports that depend on perl? Plus I guess changing the /etc/make.conf to 5.8 (though I guess the port will do this). Also am I right to assume that the ports use the config in make.conf to decide which version of perl they depend on? Any advice appriciated as I do not know a lot about perl. Regards, Matt. --- Matt ([EMAIL PROTECTED]) http://www.xtaz.co.uk/ --- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message