Hi Volker!
On 25 Jul 03 at 09:59, "Volker" (Volker Mertens) wrote:
Volker> Hello, I downloaded Prima-1.11 on a RH 9 machine with perl 5.8.0
Volker> and gcc -v Reading specs from
Volker> /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs Configured with:
Volker> ../configure --prefix=/usr --mandir=/usr/share/man
Volker> --infodir=/usr/share/info --enable-shared --enable-threads=posix
Volker> --disable-checking --with-system-zlib --enable-__cxa_atexit
Volker> --host=i386-redhat-linux Thread model: posix gcc version 3.2.2
Volker> 20030222 (Red Hat Linux 3.2.2-5)
This is not the first error report I've received from RH 9.
I can't find a RH 9 to test it out yet, but it's strange that fseeko()
can't be found. If you come with a patch, it would be really
appreciated.
/dk
P.S. Thanks for locating the error source about "version not found".
The last thing I could think about was the UTF8 locale.
Volker> After unpacking the first command failed: perl Makefile.PL Setting
Volker> up working environment. Determining compiler type... GNU Cannot
Volker> find VERSION string in Prima.pm
Volker> This was due to LANG=en_US.UTF-8 after setting LANG=en_US the
Volker> command was executed, but then the make failed:
Volker> gcc -fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm
Volker> -Wall -O2 -march=i386 -mcpu=i686 -g -fPIC -c -Iinclude
Volker> -Iinclude/generic
Volker> -I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE
Volker> -I/usr/local/include -I/usr/X11R6/include -DHAVE_CONFIG_H=1 -o
Volker> img/codec_jpeg.o img/codec_jpeg.c In file included from
Volker> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/op.h:480, from
Volker> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:2268,
Volker> from include/apricot.h:86, from include/img.h:34, from
Volker> img/codec_jpeg.c:36:
Volker> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/reentr.h:602:
Volker> field `_crypt_struct' has incomplete type
Volker> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/reentr.h:747:
Volker> confused by earlier errors, bailing out
Volker> the place in reentr.h is:
Volker> typedef struct { #ifdef HAS_ASCTIME_R char* _asctime_buffer;
Volker> size_t _asctime_size; #endif /* HAS_ASCTIME_R */ #ifdef
Volker> HAS_CRYPT_R #if CRYPT_R_PROTO == REENTRANT_PROTO_B_CCD CRYPTD*
Volker> _crypt_data; #else struct crypt_data _crypt_struct; <-- line 602
Volker> #endif #endif /* HAS_CRYPT_R */
Volker> crypt_data is defined in perl.h, but only for AIX:
Volker> #if defined(_AIX) && !defined(_AIX43) #if defined(USE_REENTRANT)
Volker> || defined(_REENTRANT) || defined(_THREAD_SAFE) /* We cannot
Volker> include <crypt.h> to get the struct crypt_data * because of setkey
Volker> prototype problems when threading */ typedef struct crypt_data {
Volker> /* straight from /usr/include/crypt.h */ /* From OSF, Not needed
Volker> in AIX char C[28], D[28]; */ char E[48]; char KS[16][48]; char
Volker> block[66]; char iobuf[16]; } CRYPTD; #endif /* threading */ #endif
Volker> /* AIX */
Volker> I commented the #if defined(_AIX) && !defined(_AIX43) out, but
Volker> then there are more errors: gcc -fno-strict-aliasing
Volker> -I/usr/local/include -I/usr/include/gdbm -Wall -O2 -march=i386
Volker> -mcpu=i686 -g -fPIC -c -Iinclude -Iinclude/generic
Volker> -I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE
Volker> -I/usr/local/include -I/usr/X11R6/include -DHAVE_CONFIG_H=1 -o
Volker> img/codec_jpeg.o img/codec_jpeg.c In file included from
Volker> include/apricot.h:86, from include/img.h:34, from
Volker> img/codec_jpeg.c:36:
Volker> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:2256:10:
Volker> warning: "/*" within comment In file included from
Volker> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:3427,
Volker> from include/apricot.h:86, from include/img.h:34, from
Volker> img/codec_jpeg.c:36:
Volker> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:248:
Volker> parse error before "off64_t"
Volker> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:250:
Volker> parse error before "Perl_do_sysseek"
Volker> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:250:
Volker> parse error before "off64_t"
Volker> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:250:
Volker> warning: type defaults to `int' in declaration of
Volker> `Perl_do_sysseek'
Volker> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:250:
Volker> warning: data definition has no type or storage class
Volker> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:251:
Volker> parse error before "Perl_do_tell"
Volker> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:251:
Volker> warning: type defaults to `int' in declaration of `Perl_do_tell'
Volker> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:251:
Volker> warning: data definition has no type or storage class
Volker> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:1375:
Volker> parse error before "Perl_PerlIO_tell"
Volker> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:1375:
Volker> warning: type defaults to `int' in declaration of
Volker> `Perl_PerlIO_tell'
Volker> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:1375:
Volker> warning: data definition has no type or storage class
Volker> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:1376:
Volker> parse error before "off64_t" img/codec_jpeg.c: In function
Volker> `open_load': img/codec_jpeg.c:108: warning: implicit declaration
Volker> of function `fseeko' make: *** [img/codec_jpeg.o] Error 1
Volker> Is this an perl-linux issue? I saw you are able to provide
Volker> binaries for perl 5.8 on cygwin, OS/2 and windows.
Volker> Volker
-- Sincerely, Dmitry --- www.karasik.eu.org --- Life ain't fair, but the root password helps. - BOFHReceived on Fri 25 Jul 2003 - 13:35:14 CEST
This archive was generated by hypermail 2.2.0 : Sat 19 Mar 2011 - 18:35:04 CET