Help with php compilation
Cartman
cartman8d at YAHOO.COM
Tue Nov 2 13:46:47 PST 2004
Hi, I found this url
http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?RedHat9AndMapserver40
and I'm following the instructions that there are.
but I have problems with the php compilation.
I did that
***************************************************
tar xzf php-4.3.3.tar.gz
cd php-4.3.3
make clean
./configure --enable-shared --with-regex=system
--with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib
--with-gd=/usr/local --with-freetype-dir=/usr
--enable-force-cgi-redirect --enable-dbase
--with-pdflib --with-mysql
--with-config-file-path=/usr/local/php433/
--prefix=/usr/local/php433
make
(here is the problem)
sudo cp sapi/cgi/php /var/www/cgi-bin/php433
sudo make install
sudo cp php.ini-dist /usr/local/php433/php.ini
************************************************************
When I run the command make it is the follow error.
.
.
.
.
lz -ljpeg -lz -lresolv -lm -ldl -lnsl -lcrypt -lcrypt
-o sapi/cgi/php
ext/mysql/libmysql/my_tempnam.o(.text+0x40): In
function `my_tempnam':
/opt/php-4.3.3/ext/mysql/libmysql/my_tempnam.c:115:
the use of `tempnam' is dangerous, better use
`mkstemp'
ext/pdf/pdf.o(.text+0x4d8): In function
`zif_pdf_open':
/opt/php-4.3.3/ext/pdf/pdf.c:472: undefined reference
to `PDF_open_fp'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1
what's happen?
=====
Gracias.
Atentamente,
CARLOS ARTURO TRUJILLO SILVA
_________________________________________________________
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com
More information about the MapServer-users
mailing list