I have try to install PHP with apache 1.3.27 but I have again the error when I make: ext/mysql/libmysql/my_tempnam.o(.text+0x40): In function `my_tempnam': /php-4.3.1/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is dangerous, better use `mkstemp' ext/mysql/libmysql/my_lib.o(.text+0x3c4): In function `my_dir': /php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined reference to `errno' ext/mysql/libmysql/my_lib.o(.text+0x5ab): In function `my_stat': /php-4.3.1/ext/mysql/libmysql/my_lib.c:588: undefined reference to `errno' ext/mysql/libmysql/my_malloc.o(.text+0xb7): In function `my_malloc': /php-4.3.1/ext/mysql/libmysql/my_malloc.c:24: undefined reference to `errno' ext/mysql/libmysql/my_realloc.o(.text+0xb0): In function `my_realloc': /php-4.3.1/ext/mysql/libmysql/my_realloc.c:44: undefined reference to `errno' ext/mysql/libmysql/my_delete.o(.text+0x71): In function `my_delete': /php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined reference to `errno' ext/mysql/libmysql/my_tempnam.o(.text+0x78):/php-4.3.1/ext/mysql/libmysql/my _tempnam.c:108: more undefined references to `errno' follow collect2: ld returned 1 exit status make: *** [sapi/cli/php] Erreur 1
Just before I have executed ./configure --prefix=/php --with-mysql --with-apache=/apache_1.3.27. Why there errors? Who can help me? I use Linux Mandrake 9.1 with i586. bye, Benoit Tremblay ----- Original Message ----- From: "Rasmus Lerdorf" <[EMAIL PROTECTED]> To: "Milhouse Van Houten" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, April 05, 2003 2:37 AM Subject: Re: [PHP-INST] problem to the installation > There is no --with-apache2 switch. Use --with-apxs2 and point it at your > apxs script. > > But, keep in mind that Apache2+PHP is barely beta-quality and you are > likely to run into problems. For any sort of production server, use > Apache-1.3.x > > -Rasmus > > On Sat, 5 Apr 2003, Milhouse Van Houten wrote: > > > I have downloaded PHP 4.3.1 in php.net for Linux. When I execute ./configure --prefix=/php --with-mysql --with-apache2=/httpd-2.0.34 everything is ok. But, when I execute the command make after, I have there errors in the compilation, who can help me???: > > > > In function `my_tempnam': > > /php-4.3.1/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is dangerou > > s, better use `mkstemp' > > ext/mysql/libmysql/my_lib.o(.text+0x3c4): In function `my_dir': > > /php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined reference to `errno' > > ext/mysql/libmysql/my_lib.o(.text+0x5ab): In function `my_stat': > > /php-4.3.1/ext/mysql/libmysql/my_lib.c:588: undefined reference to `errno' > > ext/mysql/libmysql/my_malloc.o(.text+0xb7): In function `my_malloc': > > /php-4.3.1/ext/mysql/libmysql/my_malloc.c:24: undefined reference to `errno' > > ext/mysql/libmysql/my_realloc.o(.text+0xb0): In function `my_realloc': > > /php-4.3.1/ext/mysql/libmysql/my_realloc.c:44: undefined reference to `errno' > > ext/mysql/libmysql/my_delete.o(.text+0x71): In function `my_delete': > > /php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined reference to `errno' > > ext/mysql/libmysql/my_tempnam.o(.text+0x78):/php-4.3.1/ext/mysql/libmysql/my _tem > > pnam.c:108: more undefined references to `errno' follow > > collect2: ld returned 1 exit status > > make: *** [sapi/cgi/php] Error 1 > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > _____________________________________________________________________ > Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger > http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France _____________________________________________________________________ Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php