develooper Front page | perl.perl5.porters | Postings from January 2004

[perl #24890] perl-5.8.3 on Linux

January 12, 2004 20:12
[perl #24890] perl-5.8.3 on Linux
Message ID:
# New Ticket Created by 
# Please include the string:  [perl #24890]
# in the subject line of all future correspondence about this issue. 
# <URL: >

This is a bug report for perl from,
generated with the help of perlbug 1.34 running under perl v5.8.3.

[Please enter your report here]

I just built perl-5.8.3-RC1 for Linux

Linux tekcs22 2.4.21-4.ELhugemem #1 SMP Fri Oct 3 17:31:20 EDT 2003 i686 i686 i386 GNU/Linux

It went well except I have one area of questions. I don't use the dbm stuff
so I just want to make sure what is is doing makes sense to you.

On this version of Linux there is no -lndbm available. In the library list
presented early in the configure there was not a ndbm entry.

What libraries to use?
[-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc] 

However later in the Configure where it asks

What extensions do you wish to load dynamically?

That list has NDBM_File in it. It seems like it should not be there.
On the next question about what to load statically I answered "none" where is
presented NDBM_File as the default answer.

Then in the make test the following was shown which looks like it did fine.

ext/NDBM_File/t/ndbm.................skipping test on this platform
ext/ODBM_File/t/odbm.................skipping test on this platform
lib/Memoize/t/tie_ndbm...............skipping test on this platform

Many of the gcc commands used -I/usr/include/gdbm which has the following

ll /usr/include/gdbm
total 28
drwxr-xr-x    2 root         4096 Jan  5 12:56 ./
drwxr-xr-x  114 root         8192 Jan  8 23:10 ../
-rw-r--r--    1 root         1563 Jan 25  2003 dbm.h
-rw-r--r--    1 root         4744 Jan 25  2003 gdbm.h
-rw-r--r--    1 root         2003 Jan 25  2003 ndbm.h

I am not sure why the ndbm.h or dbm.h is there and if it confuses anything. 

[Please do not change anything below this line]
Site configuration information for perl v5.8.3:

Configured by warrend at Mon Jan 12 15:38:25 PST 2004.

Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration:
    osname=linux, osvers=2.4.21-4.elhugemem, archname=i686-linux-thread-multi
    uname='linux tekcs22 2.4.21-4.elhugemem #1 smp fri oct 3 17:31:20 edt 2003 i686 i686 i386 gnulinux '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
    cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -I/usr/include/gdbm'
    ccversion='', gccversion='3.2.3 20030502 (Red Hat Linux 3.2.3-20)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =''
    libpth=/lib /usr/lib
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=/lib/, so=so, useshrplib=true,
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/tools/perl5.8.2/lib/5.8.3/i686-linux-thread-multi/CORE'
    cccdlflags='-fpic', lddlflags='-shared'

Locally applied patches:

@INC for perl v5.8.3:

Environment for perl v5.8.3:
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PERL_BADLANG (unset)
    SHELL=/bin/tcsh Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About