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

[perl #25275] library switch recognition problem possibly

Thread Next
Warren Dodge
January 26, 2004 20:44
[perl #25275] library switch recognition problem possibly
Message ID:
# New Ticket Created by  Warren Dodge 
# Please include the string:  [perl #25275]
# 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 am trying to load the "GD" module into perl5.8.3 
I have build the gd application in a non-standard place.
When I do the make test it fails because the is not found.

On linux you can't seem to use the -R/libpath switch so I am adding
-Wl,-rpath -Wl,/tools/perl5.8.3/support/lib  instead.

The perl Makefile.PL step has these messages.
perl Makefile.PL

NOTICE: This module requires libgd 2.0.12 or higher.
        it will NOT work with earlier versions.
        See for versions of GD that are compatible
        with earlier versions of libgd.

        If you are using Math::Trig 1.01 or lower, it has a bug that
        causes a "prerequisite not found" warning to be issued.  You may
        safely ignore this warning.

Type perl Makefile.PL -h for command-line option summary

Where is libgd installed? [/usr/lib] /tools/perl5.8.3/support/lib

Please choose the features that match how libgd was built:
Build JPEG support? [y] 
Build FreeType support? [y] 
Build XPM support? [y] 

If you experience compile problems, please check the @INC, @LIBPATH and @LIBS
arrays defined in Makefile.PL and manually adjust, if necessary.

Checking if your kit is complete...
Looks good

Unrecognized argument in LIBS ignored: '-Wl,-rpath'
Unrecognized argument in LIBS ignored: '-Wl,/tools/perl5.8.3/support/lib'
Writing Makefile for GD

It seems it should recognize these switches as legal LIBS switches.

I assume this is in the main portion of perl.

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

Configured by warrend at Fri Jan 23 16:16:51 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 '
    config_args='-Dmksymlinks -Dprefix=/tools/perl5.8.3'
    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 -I/tools/perl5.8.3/support/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -I/tools/perl5.8.3/support/include'
    ccversion='', gccversion='3.3.2', 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 /tools/perl5.8.3/support/lib
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=/lib/, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    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)

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