NETPBM: Undefined subroutine &main::tempfile called at .

ascent

Joined: 2002-08-16
Posts: 2
Posted: Fri, 2002-08-16 18:01

Hi,

When running Netpbm's configure I get this:
(Linux slackware 7.3 series)

ascent@ascent:~/netpbm-10.7$ ./configure

Which of the following best describes your platform?
gnu GNU/Linux
sun Solaris or SunOS
hp HP-UX
aix AIX
win Windows/DOS (Cygwin, DJGPP, Mingw32)
tru64 Tru64
irix Irix
bsd NetBSD, BSD/OS
openbsd OpenBSD
osx Darwin or Mac OS X
unixware Unixware
beos BeOS
none none of these are even close

Your choice (gnu)==>

Do you want a regular build or a merge build (see README)?

regular or merge (regular) ==>

Do you want libnetpbm to be statically linked or shared?

static or shared (shared) ==>

Do you want to build static libraries too (for linking to
programs not in the Netpbm package?

(y)es or (n)o (y) ==>

The following questions concern the subroutine libraries that are Netpbm
prerequisites. Every library has a compile-time part (header files)
and a link-time part. In the case of a shared library, these are both
part of the "development" component of the library, which may be separately
installable from the runtime shared library. For each library, you must
give the filename of the link library. If it is not in your linker's
default search path, give the absolute pathname of the file. In addition,
you will be asked for the directory in which the library's interface headers
reside, and you can respond 'default' if they are in your compiler's default
search path.

If you don't have the library on your system, you can enter 'none' as the
library filename and the builder will skip any part that requires that library.

What is your TIFF (graphics format) library?
library filename or 'none' (libtiff.so) ==>
Where are the interface headers for it?
TIFF header directory (default) ==>

What is your JPEG (graphics format) library?
library filename or 'none' (libjpeg.so) ==>
Where are the interface headers for it?
JPEG header directory (default) ==>

What is your PNG (graphics format) library?
library filename or 'none' (libpng.so) ==>
Where are the interface headers for it?
PNG header directory (default) ==>

What is your Z (compression) library?
library filename or 'none' (libz.so) ==>
Where are the interface headers for it?
Z header directory (default) ==>

Undefined subroutine &amp;main::tempfile called at ./buildtools/configure.pl line 445, <STDIN> line 12.
ascent@ascent:~/netpbm-10.7$ perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=linux, osvers=2.4.2, archname=i386-linux
uname='linux grommet 2.4.2 #1 smp sun feb 25 16:33:33 pst 2001 i686 unknown '
config_args='-de -Dprefix=/usr -Darchname=i386-linux -Dprivlib=/usr/lib/perl5 -Darchlib=/usr/lib/perl5/i386-linux -Dsitelib=/usr/lib/perl5/site_perl -Dsitearch=/usr/lib/perl5/site_perl/i386-linux'
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 ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='2.95.3 20010315 (release)', 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, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lndbm -lgdbm -ldl -lm -lc -lcrypt -lutil
perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
libc=/lib/libc-2.2.2.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under linux
Compiled at Apr 11 2001 22:57:30
@INC:
/usr/lib/perl5/i386-linux
/usr/lib/perl5
/usr/lib/perl5/site_perl/i386-linux
/usr/lib/perl5/site_perl
/usr/lib/perl5/site_perl
.
ascent@ascent:~/netpbm-10.7$

ascent@ascent:~/netpbm-10.7$

 
ill
ill's picture

Joined: 2002-08-15
Posts: 756
Posted: Sat, 2002-08-24 08:11

Sorry to say so, but this is not really a Gallery issue. It is a matter of configuring NetPBM to compile on your (unmentioned) OS. Usually you would address to the original package distributor to ask for assistance.

All we can offer right now, is to use the binary snapshots, so called NetPBM micro-distributions, for some platforms, made available on the download page of Gallery. They do contain everything required to run NetPBM for Gallery.

 
TheWatcher
TheWatcher's picture

Joined: 2002-08-21
Posts: 120
Posted: Sat, 2002-08-24 15:25

Listed here all the working netpbm-gallery binaries supported.
http://sourceforge.net/project/showfiles.php?group_id=7130

Regards.