I am unable to emerge mod_php due to a failure in emerging the pdflib dependency - the full output and error message is below. This is the only package I have not been able to install due to an error, can anyone offer suggestions on how to get past this?
thanks -- z emerge -v mod_php Calculating dependencies ...done! >>> emerge (1 of 2) media-libs/pdflib-4.0.3-r1 to / >>> md5 src_uri ;-) pdflib-4.0.3.tar.gz >>> md5 src_uri ;-) pdf.c >>> Unpacking source... >>> Unpacking pdflib-4.0.3.tar.gz to /home/portage/portage/pdflib-4.0.3-r1/work >>> Source unpacked. creating cache ./config.cache checking host system type... i686-pc-linux-gnu checking MACHDEP... linux2 checking for gcc... gcc checking whether the C compiler (gcc -03 -march=i686 -funroll-loops -pipe ) works... yes checking whether the C compiler (gcc -03 -march=i686 -funroll-loops -pipe ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for a BSD compatible install... /bin/install -c checking for Cygwin environment... no checking for mingw32 environment... no checking for executable suffix... no checking for object suffix... o checking build system type... i686-pc-linux-gnu checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependant libraries... pass_all checking command to parse /usr/bin/nm -B output... ok checking for dlfcn.h... yes checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... no checking if we can lock with hard links... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking whether -lc should be explicitly linked in... no creating libtool checking for Java header files... checking for perl... perl checking for Perl header file... /usr/lib/perl5/5.8.0/i686-linux/CORE/perl.h checking for Python header files... /usr/include/python2.2 checking for python... python checking for Python shared library path... /usr/lib/python2.2/lib-dynload checking for Tcl header files... /usr/include checking for tclsh... tclsh checking whether byte ordering is bigendian... no checking for PDF import library PDI... not found checking for c++... g++ checking whether the C++ compiler (g++ -03 -march=i686 -funroll-loops -pipe ) works... yes checking whether the C++ compiler (g++ -03 -march=i686 -funroll-loops -pipe ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether g++ accepts -g... yes checking whether the previously found C++ compiler works... yes updating cache ./config.cache creating ./config.status creating bind/java/Makefile creating bind/perl/Makefile creating bind/python/Makefile creating bind/tcl/Makefile creating tiff/Makefile creating flate/Makefile creating png/Makefile creating bind/cpp/Makefile creating Makefile creating pdflib-config creating pdflib/Makefile creating test/Makefile creating clients/Makefile creating util/Makefile creating bind/c/Makefile _____________________________________________________________ For your convenience, here's a summary of configure's results: Support for shared libraries: yes C++ language binding for PDFlib: yes Java language binding for PDFlib: yes Perl language binding for PDFlib: yes Python language binding for PDFlib: yes Tcl language binding for PDFlib: yes PHP language binding for PDFlib: yes (see bind/php/readme.txt for details) PDF import library (PDI): no Note: if you purchase the additional PDF import library (PDI) you can also manipulate existing PDF documents with PDFlib. See http://www.pdflib.com for details. Please observe the licensing terms for commercial PDFlib usage. PDFlib license agreement and purchase order can be found in the doc directory. cd tiff && make cd flate && make make[1]: Entering directory `/home/portage/portage/pdflib-4.0.3-r1/work/pdflib-4.0.3/tiff' ../libtool --silent --mode=compile gcc -c -I../pdflib -DHAVE_DLFCN_H=1 -03 -march=i686 -funroll-loops -pipe -DPDF_PLATFORM=\""Linux 2.4.20-gentoo-r7"\" tif_auxx.c make[1]: Entering directory `/home/portage/portage/pdflib-4.0.3-r1/work/pdflib-4.0.3/flate' ../libtool --silent --mode=compile gcc -c -DHAVE_DLFCN_H=1 -03 -march=i686 -funroll-loops -pipe -DPDF_PLATFORM=\""Linux 2.4.20-gentoo-r7"\" adler32.c gcc: unrecognized option `-03' gcc: no input files make[1]: *** [tif_auxx.lo] Error 1 make[1]: Leaving directory `/home/portage/portage/pdflib-4.0.3-r1/work/pdflib-4.0.3/tiff' make: *** [libtiff] Error 2 make: *** Waiting for unfinished jobs.... ../libtool --silent --mode=compile gcc -c -DHAVE_DLFCN_H=1 -03 -march=i686 -funroll-loops -pipe -DPDF_PLATFORM=\""Linux 2.4.20-gentoo-r7"\" compress.c gcc: unrecognized option `-03' gcc: no input files make[1]: *** [adler32.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... gcc: unrecognized option `-03' gcc: no input files make[1]: *** [compress.lo] Error 1 make[1]: Leaving directory `/home/portage/portage/pdflib-4.0.3-r1/work/pdflib-4.0.3/flate' make: *** [libz] Error 2 !!! ERROR: media-libs/pdflib-4.0.3-r1 failed. !!! Function src_compile, Line 60, Exitcode 2 !!! (no error message) -- [EMAIL PROTECTED] mailing list