|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2000-06-28 17:36 UTC] olm at technologist dot com
Trying to compile php4 with pdf support for 3 hours... and it still doesn't work. ./configure output: --------------- checking for memmove... (cached) yes checking whether to include Pdflib 3.x support... /usr/local/src/web/pdflib3 yes checking for libz needed by pdflib 3.x... already zlib support checking for jpeg_read_header in -ljpeg... no no checking for png_create_info_struct in -lpng... no no checking for TIFFOpen in -ltiff... no no checking for PDF_show_boxed in -lpdf... no configure: error: pdflib extension requires pdflib 3.x. BUT: - I do have pdflib3 - I do have tifflib and - I do have jpeglib I have to get this thing work before tomorrow... Thanks in advance for any hint! This is getting me crazy... My configure string: "./configure" \ "--with-apxs=/usr/local/apache/bin/apxs" \ "--enable-track-vars" \ "--enable-safe-mode" \ "--with-gd=../gd1.3" \ "--with-ttf" \ "--with-mysql=/usr/local" \ "--with-ldap" \ "--with-xml" \ "--with-zlib" \ "--with-zlib-dir" \ "--enable-memory-limit" \ "--with-recode" \ "--with-dbase" \ "--with-pdflib=/usr/local/src/web/pdflib3" \ "--enable-ftp" \ "--with-tiff-dir=/usr/local/src/web/tifflib" \ "--with-java=/usr/local/src/web/jdk118" \ PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 10 22:00:02 2026 UTC |
Update: when I removed the "--with-java=/usr/local/src/web/jdk118" \ line from ./compile line, it looks much better... Found this thanks config.log: seems to be a conflict with jdk libs... strange. : configure:24829: checking for jpeg_read_header in -ljpeg configure:24848: gcc -o conftest -g -O2 -DEAPI=1 -Wl,-rpath,/usr/local/src/web/gd1.3 -L/usr/local/src/web/gd1.3 -Wl,-rpath,/usr/local/src/web/jdk1 /tmp/ccYF6uEv.o: In function `main': /usr/local/src/web/php-4.0.0/configure:24844: undefined reference to `jpeg_read_header' /usr/local/src/web/jdk118/lib/linux/native_threads/libjpeg.so: undefined reference to `jio_fprintf' /usr/local/src/web/jdk118/lib/linux/native_threads/libjpeg.so: undefined reference to `EE' /usr/local/src/web/jdk118/lib/linux/native_threads/libjpeg.so: undefined reference to `jio_snprintf' /usr/local/src/web/jdk118/lib/linux/native_threads/libjpeg.so: undefined reference to `java_lang_String_intern' /usr/local/src/web/jdk118/lib/linux/native_threads/libjpeg.so: undefined reference to `SignalError' /usr/local/src/web/jdk118/lib/linux/native_threads/libjpeg.so: undefined reference to `ArrayAlloc' /usr/local/src/web/jdk118/lib/linux/native_threads/libjpeg.so: undefined reference to `execute_java_dynamic_method' collect2: ld returned 1 exit status configure: failed program was: #line 24837 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char jpeg_read_header(); int main() { jpeg_read_header() ; return 0; } configure:24998: checking for png_create_info_struct in -lpng configure:25017: gcc -o conftest -g -O2 -DEAPI=1 -Wl,-rpath,/usr/local/src/web/gd1.3 -L/usr/local/src/web/gd1.3 -Wl,-rpath,/usr/local/src/web/jdk1 /usr/local/src/web/jdk118/lib/linux/native_threads/libjpeg.so: undefined reference to `jio_fprintf' /usr/local/src/web/jdk118/lib/linux/native_threads/libjpeg.so: undefined reference to `EE' /usr/local/src/web/jdk118/lib/linux/native_threads/libjpeg.so: undefined reference to `jio_snprintf' /usr/local/src/web/jdk118/lib/linux/native_threads/libjpeg.so: undefined reference to `java_lang_String_intern' /usr/local/src/web/jdk118/lib/linux/native_threads/libjpeg.so: undefined reference to `SignalError' /usr/local/src/web/jdk118/lib/linux/native_threads/libjpeg.so: undefined reference to `ArrayAlloc' /usr/local/src/web/jdk118/lib/linux/native_threads/libjpeg.so: undefined reference to `execute_java_dynamic_method' collect2: ld returned 1 exit status configure: failed program was: #line 25006 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char png_create_info_struct(); int main() { png_create_info_struct() ; return 0; } configure:25167: checking for TIFFOpen in -ltiff configure:25186: gcc -o conftest -g -O2 -DEAPI=1 -Wl,-rpath,/usr/local/src/web/gd1.3 -L/usr/local/src/web/gd1.3 -Wl,-rpath,/usr/local/src/web/jdk1 /usr/local/src/web/jdk118/lib/linux/native_threads/libjpeg.so: undefined reference to `jio_fprintf' /usr/local/src/web/jdk118/lib/linux/native_threads/libjpeg.so: undefined reference to `EE' /usr/local/src/web/jdk118/lib/linux/native_threads/libjpeg.so: undefined reference to `jio_snprintf' /usr/local/src/web/jdk118/lib/linux/native_threads/libjpeg.so: undefined reference to `java_lang_String_intern' /usr/local/src/web/jdk118/lib/linux/native_threads/libjpeg.so: undefined reference to `SignalError' /usr/local/src/web/jdk118/lib/linux/native_threads/libjpeg.so: undefined reference to `ArrayAlloc' /usr/local/src/web/jdk118/lib/linux/native_threads/libjpeg.so: undefined reference to `execute_java_dynamic_method' collect2: ld returned 1 exit status configure: failed program was: #line 25175 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char TIFFOpen(); int main() { TIFFOpen() ; return 0; } configure:25237: checking for PDF_show_boxed in -lpdf configure:25256: gcc -o conftest -g -O2 -DEAPI=1 -Wl,-rpath,/usr/local/src/web/gd1.3 -L/usr/local/src/web/gd1.3 -Wl,-rpath,/usr/local/src/web/jdk1 /usr/local/src/web/jdk118/lib/linux/native_threads/libjpeg.so: undefined reference to `jio_fprintf' /usr/local/src/web/jdk118/lib/linux/native_threads/libjpeg.so: undefined reference to `EE' /usr/local/src/web/jdk118/lib/linux/native_threads/libjpeg.so: undefined reference to `jio_snprintf' /usr/local/src/web/jdk118/lib/linux/native_threads/libjpeg.so: undefined reference to `java_lang_String_intern' /usr/local/src/web/jdk118/lib/linux/native_threads/libjpeg.so: undefined reference to `SignalError' /usr/local/src/web/jdk118/lib/linux/native_threads/libjpeg.so: undefined reference to `ArrayAlloc' /usr/local/src/web/jdk118/lib/linux/native_threads/libjpeg.so: undefined reference to `execute_java_dynamic_method' collect2: ld returned 1 exit status configure: failed program was: #line 25245 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char PDF_show_boxed(); int main() { PDF_show_boxed() ; return 0; }