Front page | perl.perl5.porters |
Postings from June 2001
[ID 20010628.001] problems building 5.6.1 with libgdbm
Thread Next
From:
Michael Stevens
Date:
June 28, 2001 03:59
Subject:
[ID 20010628.001] problems building 5.6.1 with libgdbm
Message ID:
200106281059.LAA07036@iiidev1.iii.co.uk
This is a bug report for perl from michaels@iiidev1.iii.co.uk,
generated with the help of perlbug 1.33 running under perl v5.6.1.
-----------------------------------------------------------------
[Please enter your report here]
I'm trying to build 5.6.1 on solaris, and the build dies when trying
to link against libgdbm:
michaels@iiidev1:~/perl-5.6.1> sh Configure -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 /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 dynix isc nonstopux stellar
aix dynixptx isc_2 openbsd sunos_4_0
altos486 epix linux opus sunos_4_1
amigaos esix4 lynxos os2 svr4
apollo fps machten os390 svr5
aux_3 freebsd machten_2 posix-bc ti1500
beos genix mint powerux titanos
bsdos gnu mips qnx ultrix_4
convexos greenhills mpc rhapsody umips
cxux hpux mpeix sco unicos
cygwin i386 ncr_tower sco_2_3_0 unicosmk
darwin irix_4 netbsd sco_2_3_1 unisysdynix
dcosx irix_5 newsos4 sco_2_3_2 utekv
dec_osf irix_6 next_3 sco_2_3_3 uts
dgux irix_6_0 next_3_0 sco_2_3_4 uwin
dos_djgpp irix_6_1 next_4 solaris_2 vmesa
Which of these apply, if any? [solaris_2]
Operating system name? [solaris]
Operating system version? [2.7]
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?
[/usr/local/lib /opt/APPS/forte-6/SUNWspro/WS6/lib /usr/lib /usr/ccs/lib]
What is the file extension used for shared libraries? [so]
Build Perl for SOCKS? [n]
Checking for optional libraries...
What libraries to use? [-lsocket -lnsl -lgdbm -ldb -ldl -lm -lc]
What optimizer/debugger flag should be used? [-O]
Any additional cc flags? [-I/usr/local/include]
Let me guess what the preprocessor flags are...
Any additional ld flags (NOT including libraries)?
[ -L/usr/local/lib -L/opt/APPS/forte-6/SUNWspro/WS6/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"); exit(0); }
I used the command:
cc -o try -O -I/usr/local/include -L/usr/local/lib -L/opt/APPS/forte-6/SUNWspro/WS6/lib try.c -lsocket -lnsl -lgdbm -ldb -ldl -lm -lc
./try
and I got the following output:
ld.so.1: ./try: fatal: libgdbm.so.2: 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.
I've tried to disable gdbm support with -Ui_gdbm, but I still get the
same error.
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=install
severity=medium
---
Site configuration information for perl v5.6.1:
Configured by michaels at Wed Jun 20 14:58:20 BST 2001.
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=solaris, osvers=2.7, archname=sun4-solaris
uname='sunos iiidev1 5.7 generic_106541-10 sun4u sparc sunw,ultrasparc-iii-cengine '
config_args='-Dprefix=/www/common/perl-builds/installs/perl_5_6_1_tar_gz__des__Dcc_cc -des -Dcc=cc'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cc', ccflags ='-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O',
cppflags='-I/usr/local/include'
ccversion='Sun WorkShop 6 2000/04/07 C 5.1', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib -L/opt/APPS/forte-6/SUNWspro/WS6/lib '
libpth=/usr/local/lib /opt/APPS/forte-6/SUNWspro/WS6/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldb -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-KPIC', lddlflags='-G -L/usr/local/lib -L/opt/APPS/forte-6/SUNWspro/WS6/lib'
Locally applied patches:
---
@INC for perl v5.6.1:
/export/home/michaels/pub/sparc-sun-solaris2.7/lib/perl5/site_perl/sun4-solaris
/export/home/michaels/pub/sparc-sun-solaris2.7/lib/perl5/site_perl
/www/common/perl-builds/installs/perl_5_6_1_tar_gz__des__Dcc_cc/lib/5.6.1/sun4-solaris
/www/common/perl-builds/installs/perl_5_6_1_tar_gz__des__Dcc_cc/lib/5.6.1
/www/common/perl-builds/installs/perl_5_6_1_tar_gz__des__Dcc_cc/lib/site_perl/5.6.1/sun4-solaris
/www/common/perl-builds/installs/perl_5_6_1_tar_gz__des__Dcc_cc/lib/site_perl/5.6.1
/www/common/perl-builds/installs/perl_5_6_1_tar_gz__des__Dcc_cc/lib/site_perl
.
---
Environment for perl v5.6.1:
HOME=/export/home/michaels
LANG (unset)
LANGUAGE (unset)
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/export/home/michaels/pub/sparc-sun-solaris2.7/bin:/export/home/michaels/pub/common/bin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/opt/APPS/forte-6/SUNWspro/bin:/usr/openwin/bin:/usr/games:/usr/lib/fs/ufs:/usr/local/iiidev1/admin-tools/commands:/opt/SUNWrtvc/bin:/opt/perl5.004_04/bin:/oracle/home/bin
PERL5LIB=/export/home/michaels/pub/sparc-sun-solaris2.7/lib/perl5/site_perl
PERL_BADLANG (unset)
SHELL=/usr/local/bin/zsh
Thread Next
-
[ID 20010628.001] problems building 5.6.1 with libgdbm
by Michael Stevens