LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 877|回复: 1

大家帮帮忙!configure Perl 时出错 !

[复制链接]
发表于 2005-9-1 17:24:42 | 显示全部楼层 |阅读模式
我装的是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.
发表于 2005-9-2 23:13:00 | 显示全部楼层
好像你的 glibc 编译有问题。。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表