# New Ticket Created by "Kowalski, Michael"
# Please include the string: [perl #45241]
# in the subject line of all future correspondence about
this issue.
# <URL: h
ttp://rt.perl.org/rt3/Ticket/Display.html?id=45241 >
# uname -a
SunOS kmgapps2 5.10 Generic_118833-36 sun4u sparc
SUNW,Sun-Fire-V445
# sh Configure -Duse64bitall -des
First let's make sure your kit is complete. Checking...
Would you like to see the instructions? [n]
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 dos_djgpp isc_2 os2
svr4
aix dynix linux os390
svr5
aix_3 dynixptx lynxos os400
ti1500
aix_4 epix machten posix-bc
titanos
altos486 esix4 machten_2 powerux
ultrix_4
amigaos fps mint qnx
umips
apollo freebsd mips rhapsody
unicos
atheos genix mpc sco
unicosmk
aux_3 gnu mpeix sco_2_3_0
unisysdynix
beos greenhills ncr_tower sco_2_3_1
utekv
bsdos hpux netbsd sco_2_3_2
uts
convexos i386 newsos4 sco_2_3_3
uwin
cxux irix_4 next_3 sco_2_3_4
vmesa
cygwin irix_5 next_3_0 solaris_2
vos
darwin irix_6 next_4 stellar
dcosx irix_6_0 nonstopux sunos_4_0
dec_osf irix_6_1 openbsd sunos_4_1
dgux isc opus super-ux
Which of these apply, if any? [solaris_2]
You specified no cc but you seem to have the Workshop
compiler
(/opt/SUNWspro/bin/cc) installed, using that.
If you want something else, specify that in the command
line,
e.g. Configure -Dcc=gcc
Operating system name? [solaris]
Operating system version? [2.10]
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? [/opt/SUNWspro/bin/cc]
cc: Warning: -xarch=generic64 is deprecated, use -m64 to
create 64-bit
programs
cc: Warning: -xarch=generic64 is deprecated, use -m64 to
create 64-bit
programs
cc: Warning: -xarch=generic64 is deprecated, use -m64 to
create 64-bit
programs
cc: Warning: -xarch=generic64 is deprecated, use -m64 to
create 64-bit
programs
Checking for GNU cc in disguise and/or its version
number...
cc: Warning: -xarch=generic64 is deprecated, use -m64 to
create 64-bit
programs
cc: Warning: -xarch=generic64 is deprecated, use -m64 to
create 64-bit
programs
Now, how can we feed standard input to your C
preprocessor...
Directories to use for library searches?
[/usr/lib/sparcv9 /usr/ccs/lib/sparcv9
/opt/SUNWspro/prod/lib/v9
/lib/sparcv9 /usr/local/lib /usr/lib /usr/ccs/lib]
What is the file extension used for shared libraries? [so]
Try to use long doubles if available? [n]
Checking for optional libraries...
What libraries to use? [-lsocket -lnsl -ldb -ldl -lm -lc]
What optimizer/debugger flag should be used? [-O]
Any additional cc flags? [-xarch=generic64
-I/usr/local/include]
Let me guess what the preprocessor flags are...
Any additional ld flags (NOT including libraries)?
[ -xarch=generic64 -L/usr/lib/sparcv9
-L/usr/ccs/lib/sparcv9
-L/opt/SUNWspro/prod/lib/v9 -L/lib/sparcv9 -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("Okn"); return(0); }
I used the command:
/opt/SUNWspro/bin/cc -o try -O -xarch=generic64
-I/usr/local/include -xarch=generic64 -L/usr/lib/sparcv9
-L/usr/ccs/lib/sparcv9 -L/opt/SUNWspro/prod/lib/v9
-L/lib/sparcv9
-L/usr/local/lib try.c -lsocket -lnsl -ldb -ldl -lm -lc
./try
and I got the following output:
cc: Warning: -xarch=generic64 is deprecated, use -m64 to
create 64-bit
programs
cc: Warning: -xarch=generic64 is deprecated, use -m64 to
create 64-bit
programs
ld: fatal: library -ldb: not found
ld: fatal: File processing errors. No output written to try
I can't compile the test program.
You have a BIG problem. Shall I abort Configure [y]
Ok. Stopping Configure.
#
|