Thank you for the response.
I am trying to Install perl (5.10.1) on Solaris machine and issued the command (i.e)
Quote:
sh Configure -Dcc='gcc -B/usr/ccs/bin/' -Dprefix=/usr/perl5/5.10.1/bin/perl -des
Below is the output for configure
Quote:
First let's make sure your kit is complete. Checking...
Would you like to see the instructions? [n]
Locating common programs...
Checking compatibility between /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 irix_6 next_3_0 solaris_2
aix dragonfly irix_6_0 next_4 stellar
aix_3 dynix irix_6_1 nonstopux sunos_4_0
aix_4 dynixptx isc openbsd sunos_4_1
altos486 epix isc_2 opus super-ux
amigaos esix4 linux os2 svr4
apollo fps lynxos os390 svr5
atheos freebsd machten os400 ti1500
aux_3 genix machten_2 posix-bc titanos
beos gnu midnightbsd powerux ultrix_4
bsdos gnukfreebsd mint qnx umips
catamount gnuknetbsd mips rhapsody unicos
convexos greenhills mirbsd riscos unicosmk
cxux haiku mpc sco unisysdynix
cygwin hpux mpeix sco_2_3_0 utekv
darwin i386 ncr_tower sco_2_3_1 uts
dcosx interix netbsd sco_2_3_2 uwin
dec_osf irix_4 newsos4 sco_2_3_3 vmesa
dgux irix_5 next_3 sco_2_3_4 vos
Which of these apply, if any? [solaris_2]
Operating system name? [solaris]
Operating system version? [2.10]
Installation prefix to use? (~name ok) [/usr/perl5/5.10.1/bin/perl]
Directory /usr/perl5/5.10.1/bin/perl doesn't exist. Use that name anyway?
[y]
AFS does not seem to be running...
What installation prefix should I use for installing files? (~name ok)
[/usr/perl5/5.10.1/bin/perl]
Directory /usr/perl5/5.10.1/bin/perl doesn't exist. Use that name anyway?
[y]
Build Perl for SOCKS? [n]
Use the PerlIO abstraction layer? [y]
Getting the current patchlevel...
Build a threading Perl? [n]
Build Perl for multiplicity? [n]
Use which C compiler? [gcc -B/usr/ccs/bin/]
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 /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 -lgdbm -ldl -lm -lc]
What optimizer/debugger flag should be used? [-O]
Any additional cc flags? [-fno-strict-aliasing -pipe -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 -B/usr/ccs/bin/ -o try -O -fno-strict-aliasing -pipe -I/usr/local/include -L/usr/local/lib try.c -lsocket -lnsl -lgdbm -ldl -lm -lc
./try
and I got the following output:
ld.so.1: try: fatal: libgdbm.so.3: open failed: No such file or directory
Killed
The program compiled OK, but exited with status 137.
You have a problem. Shall I abort Configure [y]
Ok. Stopping Configure.
Please assist.