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

[perl #25166] question about configure finding libraries and includes

Thread Next
January 20, 2004 18:43
[perl #25166] question about configure finding libraries and includes
Message ID:
# New Ticket Created by 
# Please include the string:  [perl #25166]
# 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 have a question about the Configure process of perl and also the
installation of modules for perl.

In reading the INSTALL document it sounds like if you add -I/path/include and
-L/path/lib that perl will find any libraries there and include them with
the perl build if found.

What happens in the module installs isn't clear, but I assume it gets the same
paths via the Configure data.

My question is this:

   Does either of the two proceses need to use the /path/bin/application to
   get information about how to use the includes and libraries?

   That is, can I just copy in a file.h and into the directories
   configured above without having any binary support.

   It seems I have seen modules use gdlib-config so I assume there has to be
   some binary support.

   Assuming there is binary support needed, do the processes use the PATH
   variable or do they use /path/include/../bin? Can this be part of the perl
   configuration rather then having additional entries to PATH?

I hope this makes sense. If not email me.

Thanks for the time.

Warren Dodge,   Application Engineer phone - (503) 627-4888
Tektronix Inc.  MS 39-515            fax   - (503) 627-2528
14180 S.W. Karl Braun Drive          Email -
P.O. Box 500    Beaverton, OR 97077    

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

Configured by warrend at Thu Jan  8 18:59:34 PST 2004.

Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration:
    osname=solaris, osvers=2.8, archname=sun4-solaris-thread-multi
    uname='sunos rosewood 5.8 generic_108528-18 sun4u sparc sunw,ultra-5_10 solaris '
    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 -fno-strict-aliasing -I/proj/wdt/sun5.8/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    cppflags='-D_REENTRANT -fno-strict-aliasing -I/proj/wdt/sun5.8/include'
    ccversion='', gccversion='3.3.2', gccosandvers='solaris2.8'
    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, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' '
    libpth=/usr/lib /usr/ccs/lib /proj/wdt/sun5.8/lib
    libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lpthread -lc
    perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc
    libc=/lib/, so=so, useshrplib=true,
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-E -R /proj/wdt/gnu_sun5.8/perl-5.8.3-RC1/lib/5.8.3/sun4-solaris-thread-multi/CORE'
    cccdlflags='-fPIC', lddlflags=' -Wl,-E -G'

Locally applied patches:

@INC for perl v5.8.3:

Environment for perl v5.8.3:
    LANGUAGE (unset)
    LOGDIR (unset)
    PERL_BADLANG (unset)

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About