CC: | alex.peeters [...] smals.be |
Subject: | JSON-DWIW-0.40: make: *** [libjsonevt/jsonevt_config.h] Error 2 |
I have the same problem then the cpan testers, when i google this error.
Which more information do you need please. I use solaris 10. Perl 5.8
van Blastwave, en gcc.
sed: command garbled: s//\1 JSONEVT_DEF_HAVE_\2/
gmake: *** [libjsonevt/jsonevt_config.h] Error 2
------------------------------------
bash-3.00$ perl Makefile.PL INSTALL_BASE=/opt/monitoring
Writing Makefile for JSON::DWIW
bash-3.00$ gmake
cp lib/JSON/DWIW/Boolean.pm blib/lib/JSON/DWIW/Boolean.pm
cp lib/JSON/DWIW/Changes.pm blib/lib/JSON/DWIW/Changes.pm
cp lib/JSON/DWIW.pm blib/lib/JSON/DWIW.pm
/opt/csw/bin/perl /opt/monitoring/lib/perl5/ExtUtils/xsubpp -typemap
/opt/csw/share/perl/5.8.8/ExtUtils/typemap DWIW.xs > DWIW.xsc && mv
DWIW.xsc DWIW.c
cd libjsonevt; ./configure && ./fixup_config
checking for a BSD-compatible install... /usr/local/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... none
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... /opt/csw/bin/ggrep
checking for egrep... /opt/csw/bin/ggrep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uintptr_t... yes
checking for uint... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for gettimeofday... yes
checking for memset... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for vsnprintf... yes
checking for _vsnprintf... no
checking for vasprintf... no
checking for asprintf... no
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking for a sed that does not truncate output... /opt/csw/bin/gsed
checking for non-GNU ld... /usr/local/bin/ld
checking if the linker (/usr/local/bin/ld) is GNU ld... yes
checking for /usr/local/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/local/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... yes
checking whether /opt/csw/gcc3/bin/g++ accepts -g... yes
checking dependency style of /opt/csw/gcc3/bin/g++... gcc3
checking how to run the C++ preprocessor... /opt/csw/gcc3/bin/g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 786240
checking command to parse /usr/local/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for cc option to produce PIC... -KPIC
checking if cc PIC flag -KPIC works... yes
checking if cc static flag -Bstatic works... no
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/local/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by /opt/csw/gcc3/bin/g++... /usr/local/bin/ld
checking if the linker (/usr/local/bin/ld) is GNU ld... yes
checking whether the /opt/csw/gcc3/bin/g++ linker (/usr/local/bin/ld)
supports shared libraries... yes
checking for /opt/csw/gcc3/bin/g++ option to produce PIC... -fPIC
checking if /opt/csw/gcc3/bin/g++ PIC flag -fPIC works... yes
checking if /opt/csw/gcc3/bin/g++ static flag -static works... no
checking if /opt/csw/gcc3/bin/g++ supports -c -o file.o... yes
checking whether the /opt/csw/gcc3/bin/g++ linker (/usr/local/bin/ld)
supports shared libraries... yes
checking dynamic linker characteristics... solaris2.10 ld.so
(cached) (cached) checking how to hardcode library paths into
programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -KPIC
checking if g77 PIC flag -KPIC works... no
checking if g77 static flag -Bstatic works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/local/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... solaris2.10 ld.so
(cached) (cached) checking how to hardcode library paths into
programs... immediate
configure: creating ./config.status
config.status: creating Makefile
config.status: creating c++/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
sed: command garbled: s//\1 JSONEVT_DEF_HAVE_\2/
gmake: *** [libjsonevt/jsonevt_config.h] Error 2