|
|
我装的是lfs 5.0,在第五章装最后一个perl-5.8.0包,配置时出错: 望前辈门帮忙!!
-bash-2.05b$ ./configure.gnu --prefix=/tools
sh Configure -ds -e -Dprefix=/tools
First let's make sure your kit is complete. Checking...
Locating common programs...
Checking compatibility between /tools/bin/echo and builtin echo (if any)...
Symbolic links are supported.
Checking how to test for symbolic links...
Your builtin 'test -h' may be broken.
Trying external '/tools/bin/test -h'.
You can test for symbolic links with '/tools/bin/test -h'.
Good, your tr supports [:lower:] and [:upper:] to convert case.
Using [:upper:] and [:lower:] to convert case.
3b1 dynix isc_2 opus super-ux
aix dynixptx linux os2 svr4
altos486 epix lynxos os390 svr5
amigaos esix4 machten posix-bc ti1500
apollo fps machten_2 powerux titanos
atheos freebsd mint qnx ultrix_4
aux_3 genix mips rhapsody umips
beos gnu mpc sco unicos
bsdos greenhills mpeix sco_2_3_0 unicosmk
convexos hpux ncr_tower sco_2_3_1 unisysdynix
cxux i386 netbsd sco_2_3_2 utekv
cygwin irix_4 newsos4 sco_2_3_3 uts
darwin irix_5 next_3 sco_2_3_4 uwin
dcosx irix_6 next_3_0 solaris_2 vmesa
dec_osf irix_6_0 next_4 stellar vos
dgux irix_6_1 nonstopux sunos_4_0
dos_djgpp isc openbsd sunos_4_1
Which of these apply, if any? [linux]
You appear to have ELF support. I'll try to use it for dynamic loading.
If dynamic loading doesn't work, read hints/linux.sh for further information.
Operating system name? [linux]
Operating system version? [2.4.22-3thiz]
Build Perl for SOCKS? [n]
Use the PerlIO abstraction layer? [y]
Build a threading Perl? [n]
Build Perl for multiplicity? [n]
Use which C compiler? [cc]
Checking for GNU cc in disguise and/or its version number...
Now, how can we feed standard input to your C preprocessor...
Directories to use for library searches? [/tools/lib]
What is the file extension used for shared libraries? [so]
Checking for optional libraries...
What libraries to use? [-lnsl -ldl -lm -lc -lcrypt -lutil]
What optimizer/debugger flag should be used? [-O3]
Any additional cc flags? [-fno-strict-aliasing]
Let me guess what the preprocessor flags are...
Any additional ld flags (NOT including libraries)? [none]
Checking your choice of C compiler and flags for coherency...
I've tried to compile and run the following simple program:
#include <stdio.h>
int main() { printf("Ok\n"); exit(0); }
I used the command:
cc -o try -O3 -fno-strict-aliasing try.c -lnsl -ldl -lm -lc -lcrypt -lutil
./try
and I got the following output:
/usr/lib/gcc-lib/i586-thiz-linux/3.3.1/../../../libdl.so: undefined reference to `_dl_rtld_di_serinfo@GLIBC_PRIVATE'
collect2: ld returned 1 exit status
I can't compile the test program.
You have a BIG problem. Shall I abort Configure [y]
Ok. Stopping Configure. |
|