LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Php 4.4.0 make Error (https://www.linuxquestions.org/questions/linux-software-2/php-4-4-0-make-error-353789/)

sucram2g 08-16-2005 08:04 AM

Php 4.4.0 make Error
 
Hi all,

I have problem installing php on my Suse 9.2 comp. I installed mysql-4.1.13a, and then apache-2.0.54, both from source, succesfully.

When installing PHP-4.4.0 i used:

./configure \
--with-apxs2=/usr/local/apache2/bin/apxs \
--disable-debug \
--enable-ftp \
--enable-inline-optimization \
--enable-magic-quotes \
--enable-mbstring \
--enable-mm=shared \
--enable-safe-mode \
--enable-session \
--enable-track-vars \
--enable-trans-sid \
--enable-wddx=shared \
--enable-xml \
--with-dom \
--with-gd \
--with-gettext \
--with-mysql=/usr/local/mysql \
--with-regex=system \
--with-xml \
--with-zlib-dir=/usr/lib \


Everyhting was alright, I didnt get any error, however make returned the follwing errors:

/usr/local/src/php-4.4.0/Zend/zend_indent.c:141: undefined reference to `_efree'
main/internal_functions_cli.lo(.text+0xe): In function `php_startup_internal_extensions':
main/internal_functions_cli.c:73: undefined reference to `php_startup_extensions'
main/internal_functions_cli.lo(.data+0x0):main/internal_functions_cli.c:72: undefined reference to `xml_module_entry'
main/internal_functions_cli.lo(.data+0x4):main/internal_functions_cli.c:72: undefined reference to `tokenizer_module_entry'
main/internal_functions_cli.lo(.data+0x8):main/internal_functions_cli.c:73: undefined reference to `basic_functions_module'
main/internal_functions_cli.lo(.data+0xc):main/internal_functions_cli.c:73: undefined reference to `session_module_entry'
main/internal_functions_cli.lo(.data+0x10):main/internal_functions_cli.c:73: undefined reference to `posix_module_entry'
main/internal_functions_cli.lo(.data+0x14): undefined reference to `pcre_module_entry'
main/internal_functions_cli.lo(.data+0x18): undefined reference to `overload_module_entry'
main/internal_functions_cli.lo(.data+0x1c): undefined reference to `mysql_module_entry'
main/internal_functions_cli.lo(.data+0x34): undefined reference to `ctype_module_entry'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1


Plks help!

sucram2g 08-16-2005 11:32 AM

I installed PHP 5.0.4 and it worsk fine, no errors what so ever!

aneeshcs 09-02-2005 04:52 AM

Hi
I too logged a similar error while installing PHP 5.0.4 on my fedora 3 m/c. Could you please tell me how you solved the problem..thanks


All times are GMT -5. The time now is 02:22 PM.