|
FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD. |
|
Thread Tools | Display Modes |
|
|||
perl 5.8.9 install problem
Hello,
I had perl 5.8.8 and i think also 5.8.9 installed. And I installed and deinstall some ports, and suddenly they stop working (ports that depend on perl5.8.8 i think). It has probably something to changing with /etc/make.conf and changing the port perl5.8.9. Anyway, when I try to make install clean (tried also make deinstall first) in /usr/ports/lang/perl5.8 , I get the following error: Code:
Extracting defsubs.h... ../../miniperl "-I../../lib" "-I../../lib" ../../lib/ExtUtils/xsubpp -typemap ../../lib/ExtUtils/typemap -typemap typemap B.xs > B.xsc && mv B.xsc B.c cc -c -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.9/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include -O2 -fno-strict-aliasing -pipe -DVERSION=\"1.19\" -DXS_VERSION=\"1.19\" -DPIC -fPIC "-I../.." B.c Running Mkbootstrap for B () chmod 644 B.bs rm -f ../../lib/auto/B/B.so cc -shared -L/usr/local/lib B.o -o ../../lib/auto/B/B.so chmod 755 ../../lib/auto/B/B.so cp B.bs ../../lib/auto/B/B.bs chmod 644 ../../lib/auto/B/B.bs make: cannot open Makefile. *** Error code 2 Stop in /usr/ports/lang/perl5.8/work/perl-5.8.9/ext/B. *** Error code 1 Stop in /usr/ports/lang/perl5.8/work/perl-5.8.9. *** Error code 1 Stop in /usr/ports/lang/perl5.8. *** Error code 1 Stop in /usr/ports/lang/perl5.8. I need some clamav and spamassassing packages that depend on some p5* packages that depend on perl. Can you please give me a clue ? Thank you Stefan |
|
|||
I didn't know about that file, thanks. Anyway, I read what said about perl5.8.9
I ran: portupgrade -o lang/perl5.8 -f perl-5.6.1_15 and then portupgrade -f p5-\* ... and now it tries infinitely to install p5 packages, and then perl5.8.9 and gets the same error. I broke something, but I can't figure how to repair. |
|
|||
perl
pkg_info grep perl gave me perl5.6.2.2. i deleted i tried all commands provided by you. same error
thanks. |
|
|||
I only used ports.... and tried to use only ports, but I don't know if it's good or not to use also packages...
Anyway, I tried pkg_add -r perl-5.8.9 and I got Quote:
|
|
||||
Using ports and packages together is not a problem, and you can upgrade a package to a port with portupgrade without a problem. Unfortunately, you're stuck on 7.0-RELEASE, so no newer Perl package will be available. I have no idea what's wrong with your Perl environment. You could try rm /var/db/portsnap/tag && portsnap fetch extract to start with a fresh ports tree.
|
|
|||
im doing it now.
please tell me, where can I read more about ports, packages and other freebsd/unix stuff.... in an organized manner... like a book, a course or a larger tutorial... from simple stuff to more complex... with full details ? |
|
|||
done:
rm /var/db/portsnap/tag and then portsnap fetch extract .... it updated the ports tree: then cd /usr/ports/lang/perl5.8 make clean install.... and the same: Running Mkbootstrap for B () chmod 644 B.bs rm -f ../../lib/auto/B/B.so cc -shared -L/usr/local/lib B.o -o ../../lib/auto/B/B.so chmod 755 ../../lib/auto/B/B.so cp B.bs ../../lib/auto/B/B.bs chmod 644 ../../lib/auto/B/B.bs make: cannot open Makefile. *** Error code 2 Stop in /usr/ports/lang/perl5.8/work/perl-5.8.9/ext/B. *** Error code 1 Stop in /usr/ports/lang/perl5.8/work/perl-5.8.9. *** Error code 1 Stop in /usr/ports/lang/perl5.8. *** Error code 1 Stop in /usr/ports/lang/perl5.8. |
|
||||
Quote:
Ports & Packages: http://www.freebsd.org/doc/en_US.ISO...ook/ports.html |
|
|||
I have nothing in /etc/make.conf
I tried to install perl5.6.2 it works, but is not new enough for some ports I need. How can I install 5.8.8 ? Maybe that will work ... or other 5.8.... version ? |
|
|||
Or, how can I debug this problem ? What would a unix guru do ? I am stucked here for several days...
|
|
||||
Try:
Code:
# pkg_delete -f perl\* p5-\* # cd /usr/ports/lang/perl5.8 # make clean distclean build install # rehash (If you're running tcsh) # perl-after-upgrade
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
|
|||
same problem
Hello,
I ran the commands you said (until rehash). I got the same: Running Mkbootstrap for B () chmod 644 B.bs rm -f ../../lib/auto/B/B.so cc -shared -L/usr/local/lib B.o -o ../../lib/auto/B/B.so chmod 755 ../../lib/auto/B/B.so cp B.bs ../../lib/auto/B/B.bs chmod 644 ../../lib/auto/B/B.bs make: cannot open Makefile. *** Error code 2 Stop in /usr/ports/lang/perl5.8/work/perl-5.8.9/ext/B. *** Error code 1 Stop in /usr/ports/lang/perl5.8/work/perl-5.8.9. *** Error code 1 Stop in /usr/ports/lang/perl5.8. *** Error code 1 Stop in /usr/ports/lang/perl5.8. |
|
||||
To remempasise part of Carpetsmokers post:
Quote:
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
perl module install issues | drievisjen | OpenBSD Installation and Upgrading | 2 | 3rd September 2009 10:55 PM |
Problem setting up perl modules | badguy | OpenBSD Installation and Upgrading | 4 | 10th August 2009 09:46 PM |
perl/tk | bsdnewbie999 | OpenBSD Packages and Ports | 4 | 8th August 2008 12:34 AM |
Perl Script | c0mrade | Programming | 1 | 26th June 2008 05:04 AM |
Problem at the install with a pc gateway | mastersabin | FreeBSD Installation and Upgrading | 1 | 4th June 2008 07:47 PM |