Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Sep 1998 09:51:08 +0200
From:      Gianmarco Giovannelli <gmarco@scotty.masternet.it>
To:        Manfred Antar <mantar@netcom.com>
Cc:        current@FreeBSD.ORG, jb@cimlogic.com.au
Subject:   Perl compile problem in make world
Message-ID:  <98091009570400.20474@gmarco.eclipse.org>
References:  <199809100017.RAA18067@pozo.pozo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 10 Sep 1998, you wrote:

>>--------------------------------------------------------------
>> Rebuilding man page indexes
>>--------------------------------------------------------------
>>cd /usr/src/share/man; /usr/obj/elf/usr/src/tmp/usr/bin/make makedb
>>makewhatis /usr/share/man
>>/usr/libexec/ld.so: warning: /usr/obj/elf/usr/src/tmp/usr/lib/libm.so.2: 
>>minor version -1 older than expected 0, using it anyway
>>ld.so failed: bad magic number in
>"/usr/obj/elf/usr/src/tmp/usr/lib/libm.so.2"
>>*** Error code 1
>> 
>>Mine make world always finished in this way ... 
>>I have played a little with ldconfig (both -elf and -aout) but without any
>>success ... What I miss ?
>>
>>Please a "hints" will be gratefully appreciated...
>>
>>
>Do you have NOPERL in your /etc.conf.
>I was having this problem because i was useing perl5 (aout) symlinked to
>/usr/bin/perl
>after I compiled perl5 elf the problem went away. Perl5 is just about to be
>committed to the source 
>tree so you might want to wait, an do a make world after that

I changed make.conf to remove NO(SUID)PERL=True but now make world give me :

===> gnu/usr.bin/perl/utils
===> gnu/usr.bin/perl/utils/c2ph
miniperl c2ph.PL
Can't locate Config.pm in @INC (@INC contains: /usr/libdata/perl/5.00502/mach /usr/libda
ta/perl/5.00502 /usr/local/lib/perl/5.00502/i386-freebsd /usr/local/lib/perl/5.00502 .)
at c2ph.PL line 3.
BEGIN failed--compilation aborted at c2ph.PL line 3.
*** Error code 2

Stop.
*** Error code 1

The perl in /usr/bin (4.0) is not a symlink but it is an aout binary :

gmarco:/home/gmarco> file /usr/bin/perl
/usr/bin/perl: FreeBSD/i386 compact demand paged dynamically linked executable

I'll cvsup again to see if there some changes ....

Thanks again...




--

Regards...

Gianmarco
"Unix expert since yesterday"

http://www.giovannelli.it



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?98091009570400.20474>