develooper Front page | perl.perl5.porters | Postings from April 2003

[perl #21947] Perl 5.8.0 lib/Math/Trig.pm doesn't return a true value.

Thread Previous | Thread Next
From:
perlbug-followup
Date:
April 13, 2003 18:52
Subject:
[perl #21947] Perl 5.8.0 lib/Math/Trig.pm doesn't return a true value.
Message ID:
rt-21947-55051.14.6095246959426@bugs6.perl.org
# New Ticket Created by  hartzell@maple.lbl.gov 
# Please include the string:  [perl #21947]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=21947 >



This is a bug report for perl from hartzell@maple.lbl.gov,
generated with the help of perlbug 1.34 running under perl v5.8.0.


-----------------------------------------------------------------
[Please enter your report here]

I'm trying to build GD 2.06 using a virgin distribution of perl 5.8.0.  It has been
complaining about not being able to satisfy the following prerequisite:
    'PREREQ_PM' => {
                    Math::Trig => 1.00,
                    },
I thought at first that it might be that 5.8.0 includes version 1.01, but
when I told it to ignore the version number and just check for the library's
existence it still failed.  Running the Makefile.PL in the debugger, and stepping
down into MakeMaker::new gives this as the result of eval'ing Math::Trig:
  DB<1> print $@
  Math/Trig.pm did not return a true value at (eval 6)[/users/hartzell/gaster/lib/perl5/5.8.0/ExtUtils/MakeMaker.pm:430] line 3, <STDIN> line 4.

and by inspection, it indeed appears that Math::Trig does not return true.

Adding a 1; after the last subroutine makes the MakeMaker stuff happy.


[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=library
    severity=high
---
Site configuration information for perl v5.8.0:

Configured by hartzell at Fri Apr 11 14:10:44 PDT 2003.

Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.4.18-4gb, archname=i686-linux
    uname='linux maple 2.4.18-4gb #1 wed mar 27 13:57:05 utc 2002 i686 unknown '
    config_args='-sde -Dprefix=/users/hartzell/gaster -Dlocincpth=/users/hartzell/gaster/include -Dloclibpth=/users/hartzell/gaster/lib -A define:libswanted=sfio socket bind inet nsl nm ndbm dbm db dl dld ld sun m c cposix posix ndir dir crypt sec ucb bsd BSD PW x util'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O3',
    cppflags='-fno-strict-aliasing'
    ccversion='', gccversion='2.95.3 20010315 (SuSE)', 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='cc', ldflags =' -L/users/hartzell/gaster/lib'
    libpth=/users/hartzell/gaster/lib /lib /usr/lib /usr/local/lib
    libs=-lnsl -lndbm -ldb -ldl -lm -lc -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
    libc=, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.2.5'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/users/hartzell/gaster/lib'

Locally applied patches:
    

---
@INC for perl v5.8.0:
    /users/hartzell/gaster/lib/perl5/5.8.0/i686-linux
    /users/hartzell/gaster/lib/perl5/5.8.0
    /users/hartzell/gaster/lib/perl5/site_perl/5.8.0/i686-linux
    /users/hartzell/gaster/lib/perl5/site_perl/5.8.0
    /users/hartzell/gaster/lib/perl5/site_perl
    .

---
Environment for perl v5.8.0:
    HOME=/users/hartzell
    LANG=en_US
    LANGUAGE (unset)
    LC_COLLATE=POSIX
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/users/hartzell/gaster-src/bin:/users/hartzell/gaster/bin:/users/hartzell/bin:/users/hartzell/gaster-src/bin:/users/hartzell/gaster/bin:/users/hartzell/gaster-src/bin:/users/hartzell/bin:/usr/X11/bin:/usr/local/bin:/usr/local/pbs-bdgp:/usr/local/bdgp/bin:/usr/local/bdgp/phrap:/usr/local/bdgp/phrap/bin:/usr/local/bdgp/wublast:/users/hartzell/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/opt/kde2/bin:.:/usr/lib/java/bin:/opt/gnome/bin:/usr/lib/java/bin:/opt/gnome/bin:/usr/local/bdgp/scripts
    PERL_BADLANG (unset)
    SHELL=/bin/tcsh


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About