Subject: | JSON-DWIW-0.23 install fails on Solaris 9 |
Date: | Tue, 15 Apr 2008 11:28:43 +1000 |
To: | <bug-JSON-DWIW [...] rt.cpan.org> |
From: | "Ashton-Jones, Gary ( LNG - AUS)" <Gary.Ashton-Jones [...] LexisNexis.com.au> |
gcc -c -Ilibjsonevt -mcpu=v9 -m64 -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
-DVERSION=\"0.23\" -DXS_VERSION=\"0.23\" -fPIC
"-I/opt/opensource/perl-5.10.0/lib/5.10.0/sun4-solaris-64/CORE"
-DHAVE_JSONEVT -DNO_VERSION_IN_ERROR libjsonevt/jsonevt.c
libjsonevt/jsonevt.c: In function 'jsonevt_parse_file':
libjsonevt/jsonevt.c:1852: error: 'MAP_FILE' undeclared (first use in
this function)
libjsonevt/jsonevt.c:1852: error: (Each undeclared identifier is
reported only once
libjsonevt/jsonevt.c:1852: error: for each function it appears in.)
make: *** [jsonevt.o] Error 1
Perl config:
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
Platform:
osname=solaris, osvers=2.9, archname=sun4-solaris-64
uname='sunos athena 5.9 generic_118558-34 sun4u sparc sunw,ultra-60
solaris '
config_args='-Dcc=gcc -Dprefix=/opt/opensource/perl-5.10.0
-Duse64bitall -des -Aldflags=-mcpu=v9 -m64 -Alddlflags=-mcpu=v9 -m64
-shared'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-mcpu=v9 -m64 -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O',
cppflags='-mcpu=v9 -m64 -fno-strict-aliasing -pipe
-I/usr/local/include'
ccversion='', gccversion='4.2.3', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -m64 -mcpu=v9 -m64 -L/usr/lib/sparcv9
-L/usr/local/lib '
libpth=/usr/lib/sparcv9 /usr/local/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
libc=/usr/lib/sparcv9/libc.so, so=so, useshrplib=false,
libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-E'
cccdlflags='-fPIC', lddlflags=' -G -m64 -mcpu=v9 -m64 -shared -Wl,-E
-G -L/usr/lib/sparcv9 -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
USE_64_BIT_ALL
USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO
Built under solaris
Compiled at Apr 14 2008 13:19:07
@INC:
/opt/opensource/perl-5.10.0/lib/5.10.0/sun4-solaris-64
/opt/opensource/perl-5.10.0/lib/5.10.0
/opt/opensource/perl-5.10.0/lib/site_perl/5.10.0/sun4-solaris-64
/opt/opensource/perl-5.10.0/lib/site_perl/5.10.0
.
Gary Ashton-Jones
Web Developer
LexisNexis
02 9422 2322
"Lots of folks confuse bad management with destiny." -- Kim Hubbard
"Dad is so unlucky when he drinks and drives" -- Lisa Simpson
This e-mail is for the use of the intended recipient(s) only. If you have
received this e-mail in error, please notify the sender immediately and then
delete it. If you are not the intended recipient, you must not use, disclose
or distribute this e-mail without the author's permission. We have taken
precautions to minimise the risk of transmitting software viruses, but we
advise you to carry out your own virus checks on any attachment to this e-mail.
We cannot accept liability for any loss or damage caused by software viruses.