Hi all,
I am getting in troubles trying to install the GD library under solaris
machine
I already installed php in my solaris machine using solaris 2.8 and
Iplanet 4.7, there is no problem to deal with,
the problem is that now I need the GD library,
what I did id the follow:
*
for the PHP with mysql, there is not problem.
configure --with-nsapi=.../.../.../Web --enable-track-vars
--enable-libgcc
make, and make install
and everything was ok, no problems!
*
now I was trying to install it with this:
configure --with-nsapi=/.../.../Web --enable-track-vars --enable-libgcc
--with-jpeg-dir --with-png-dir --with-zlib-dir --with-gd
of course that these libraries are in the phpdirectory/ext
gif, jpeg-6b, png, xpm, FreeType 1.x, FreeType 2, T1lib and zlib
After making the configure step everything was ok.
but in the make step I got this:
---
ist.lo Zend/zend_indent.lo Zend/zend_builtin_functions.lo
Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo
Zend/zend_multibyte.lo Zend/zend_execute.lo sapi/cli/php_cli.lo
sapi/cli/getopt.lo main/internal_functions_cli.lo -lpng -lz -ljpeg -lz
-lcrypt -lresolv -lm -ldl -lnsl -lsocket -lgcc -lcrypt -o sapi/cli/php
Output line too long.
Output line too long.
Output line too long.
ld: elf error: file ext/st: unknown type, unable to process using
elf(3E) libraries
ld: fatal: File processing errors. No output written to a.out
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `sapi/cli/php'
**
I was trying also to compile with the actual libaries
total 11948
-rw-r--r-- 1 root other1427072 Jul 17 13:55
freetype-1.3.1.tar.gz
drwxr-xr-x 9 520 526 512 Jul 18 18:02 freetype-2.1.4/
-rw-r--r-- 1 raulms staff1075315 Jul 18 13:44
freetype-2.1.4.tar.gz
-rw-r--r-- 1 raulms staff 774345 Jul 18 12:30
freetype-pre1.4.tar.gz
-rw-r--r-- 1 raulms staff 257631 Jul 18 17:10 gd-1.8.4.tar.gz
-rw-r--r-- 1 root other 526904 Jul 17 13:31 gd-2.0.15.tar.gz
drwxrwxrwx 6 200 300 3584 Jul 18 18:41 gd-2.0.8/
-rw-r--r-- 1 raulms staff 481062 Jul 18 17:43 gd-2.0.8.tar.gz
drwxr-xr-x 3 301 20 4608 Jul 22 16:47 jpeg-6b/
-rw-r--r-- 1 root other 613261 Jul 17 13:55 jpegsrc.v6b.tar.gz
drwxr-xr-x 5 620 96 1024 Oct 3 2002 libpng-1.2.5/
-rw-r--r-- 1 root other 505988 Jul 17 13:55
libpng-1.2.5.tar.gz
drwxrwxr-x 6 11207oper 512 Jul 17 14:15 xpm-3.4i/
-rw-r--r-- 1 root other 136248 Jul 17 13:55 xpm-3.4i.tar.gz
drwxr-xr-x 7 root other 1536 Jul 22 16:50 zlib-1.1.4/
-rw-r--r-- 1 root other 181144 Jul 17 13:55 zlib-1.1.4.tar.gz
All of them are already installed in my system and I was also trying to
make the make step but I got the same error
configure --with-nsapi=/.../.../Web --enable-track-vars --enable-libgcc
--with-jpeg-dir=/.../.../.../.../jpeg-6b
--with-png-dir=/.../.../.../.../libpng-1.2.5
--with-zlib-dir=/.../.../.../.../zlib-1.1.4 --with-gd
after that
Generating files
checking for working mkdir -p... yes
updating cache ./config.cache
creating ./config.status
creating php4.spec
creating main/build-defs.h
creating pear/scripts/phpize
creating pear/scripts/php-config
creating main/php_config.h
main/php_config.h is unchanged
creating main/internal_functions.c
creating main/internal_functions_cli.c
.
.
.
Thank you for using PHP.
again!。 everything was ok
but in the make step I got the same thing
dl -lnsl -lsocket -lgcc -lcrypt -o sapi/cli/php
Output line too long.
Output line too long.
Output line too long.
ld: elf error: file ext/st: unknown type, unable to process using
elf(3E) libraries
ld: fatal: File processing errors. No output written to a.out
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `sapi/cli/php'
Any suggestion? I was trying to do a lot of things but now I have no
idea.
I will appreciate your help.
Best regards.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php