- 论坛徽章:
- 0
|
原帖由 apile 于 2008-4-28 21:27 发表 ![]()
down load source code
use manual compile...
我还是把安装过程中的所有日志都列在下面吧.希望有高手抽空帮我看看,先行谢过了.
/usr/local/perl>>./Configure -des -Dprefix=/usr/local/perl -Dusethreads -Uinstalluserbinperl
(I see you are using the Korn shell. Some ksh's blow up on Configure,
mainly on older exotic systems. If yours does, try the Bourne shell instead.)
First let's make sure your kit is complete. Checking...
Locating common programs...
Checking compatibility between /usr/bin/echo and builtin echo (if any)...
Symbolic links are supported.
Checking how to test for symbolic links...
You can test for symbolic links with 'test -h'.
Good, your tr supports [:lower:] and [:upper:] to convert case.
Using [:upper:] and [:lower:] to convert case.
3b1 dcosx hpux mips posix-bc svr4
aix dec_osf i386 mpc powerux svr5
aix_3 dgux interix mpeix qnx ti1500
aix_4 dos_djgpp irix_4 ncr_tower rhapsody titanos
altos486 dynix irix_5 netbsd sco ultrix_4
amigaos dynixptx irix_6 newsos4 sco_2_3_0 umips
apollo epix irix_6_0 next_3 sco_2_3_1 unicos
atheos esix4 irix_6_1 next_3_0 sco_2_3_2 unicosmk
aux_3 fps isc next_4 sco_2_3_3 unisysdynix
beos freebsd isc_2 nonstopux sco_2_3_4 utekv
bsdos genix linux openbsd solaris_2 uts
convexos gnu lynxos opus stellar uwin
cxux gnukfreebsd machten os2 sunos_4_0 vmesa
cygwin gnuknetbsd machten_2 os390 sunos_4_1 vos
darwin greenhills mint os400 super-ux
Which of these apply, if any? [hpux]
/usr/ccs/bin/cc:
HP92453-01 A.11.01.21 HP C (Bundled) Compiler
$ Sep 8 2000 23:13:51 $
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product; ignored.
Operating system name? [hpux]
Operating system version? [11.11]
Build Perl for SOCKS? [n]
Use the PerlIO abstraction layer? [y]
Build a threading Perl? [y]
Use the newer interpreter-based ithreads? [y]
Use which C compiler? [cc]
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product; ignored.
(Bundled) cc: "try.c", line 1: error 1705: Function prototypes are an ANSI feature.
Uh-oh, the C compiler 'cc' doesn't seem to be working.
You seem to have a working gcc, though.
Would you like to use it? [y]
*** However, any setting of the C compiler flags (e.g. for thread support)
*** has been lost. It may be necessary to pass -Dcc=gcc to Configure
*** (together with e.g. -Dusethreads).
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? [/usr/local/lib /lib /usr/lib /usr/ccs/lib]
What is the file extension used for shared libraries? [sl]
Try to use long doubles if available? [n]
Checking for optional libraries...
What libraries to use? [-lnsl -lnm -lndbm -lmalloc -ldld -lm -lcrypt -lsec -lpthread -lc]
What optimizer/debugger flag should be used? [+O2 +Onolimit]
Any additional cc flags? [-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include]
Let me guess what the preprocessor flags are...
Any additional ld flags (NOT including libraries)? [ -L/usr/local/lib]
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"); return(0); }
I used the command:
gcc -o try +O2 +Onolimit -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -L/usr/local/lib try.c -lnsl -lnm -lndbm -lmalloc -ldld -lm -lcrypt -lsec -lpthread -lc
./try
and I got the following output:
gcc: +O2: No such file or directory
gcc: +Onolimit: No such file or directory
I can't compile the test program.
You have a BIG problem. Shall I abort Configure [y]
Ok. Stopping Configure.
/usr/local/perl>> |
|