PHP 4.0 Bug #5252 Updated: unable to compile php with pdflib3 support!
| From: | Bug Database | Date: | Wed, 28 Jun 2000 21:51:41 +0000 |
| Subject: | PHP 4.0 Bug #5252 Updated: unable to compile php with pdflib3 support! | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-22577@lists.php.net to get a copy of this message | ||
ID: 5252
User Update by: olm@technologist.com
Status: Open
Bug Type: Compile Failure
Description: unable to compile php with pdflib3 support!
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; }
Full Bug description available at: http://bugs.php.net/version4/?id=5252