Red Hat & PHP/MapScripts

Robert Wanczyk robert.wanczyk at PROGEA.PL
Wed Apr 6 11:22:45 EDT 2005


Hi

I have some problems to installantion PHP,I do the same like the page
http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?RedHat9AndMapserver40

******************************************
wget http://us2.php.net/get/php-4.3.2.tar.gz/from/us3.php.net/mirror
tar xzf php-4.3.2.tar.gz
cd php-4.3.2
make clean
rm -f config.cache
./configure --enable-force-cgi-redirect --with-config-file-
path=/etc/httpd/ --with-gd=/usr/local --with-jpeg-dir=/usr/lib --with-png-
dir=/usr/lib --with-tiff-dir=/usr/lib --with-zlib-dir=/usr/lib --with-
freetype-dir --without-ttf --with-pdflib --with-mysql --with-regex=system -
-with-ming --enable-dbase --enable-dbx --enable-versioning

make
cp sapi/cgi/php /var/www/cgi-bin
make install
**********************************

but when I give comand "make" i have some the massage.

/usr/local/php-4.3.8/ext/standard/image.c:212: undefined reference to
`uncompress'
ext/standard/image.o(.text+0x56a):/usr/local/php-
4.3.8/ext/standard/image.c:230: undefined reference to `uncompress'
main/output.o(.text+0x945): In function `php_ob_init_named':
/usr/local/php-4.3.8/main/output.c:428: undefined reference to
`php_ob_gzhandler_check'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] B³¹d 1

I have install before php 4.3.8, how uinstall PHP .

Thanks for help in advance.

Robert



More information about the mapserver-users mailing list