#45137 [Fbk->Opn]: PHP 5.2.5 compile problem
| From: | rajat dot ray at gmail dot com | Date: | Mon, 02 Jun 2008 07:26:25 +0000 |
| Subject: | #45137 [Fbk->Opn]: PHP 5.2.5 compile problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-125417@lists.php.net to get a copy of this message | ||
ID: 45137
User updated by: rajat dot ray at gmail dot com
Reported By: rajat dot ray at gmail dot com
-Status: Feedback
+Status: Open
Bug Type: Compile Failure
Operating System: Solaris
PHP Version: 5.2.6
New Comment:
Why I should use these files which is meant for development.
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows (zip):
http://snaps.php.net/win32/php5.2-win32-latest.zip
For Windows (installer):
http://snaps.php.net/win32/php5.2-win32-installer-latest.msi
I want to use this in production.
Previous Comments:
------------------------------------------------------------------------
[2008-05-31 23:32:07] felipe@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows (zip):
http://snaps.php.net/win32/php5.2-win32-latest.zip
For Windows (installer):
http://snaps.php.net/win32/php5.2-win32-installer-latest.msi
------------------------------------------------------------------------
[2008-05-30 09:08:35] rajat dot ray at gmail dot com
Description:
------------
I am trying to compile PHP 5.2.5 with these configurations:
PHP: 5.2.5
libxml: 2.6.30(libxml2-2.6.30.tar.gz)
gettext: 0.17 ( gettext-0.17.tar.gz)
I am getting error like this:
m -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl -o
sapi/cli/php
Undefined first referenced
symbol in file
libintl_bind_textdomain_codeset ext/gettext/.libs/gettext.o
libintl_dcngettext ext/gettext/.libs/gettext.o
libintl_gettext ext/gettext/.libs/gettext.o
libintl_textdomain ext/gettext/.libs/gettext.o
libintl_dngettext ext/gettext/.libs/gettext.o
libintl_dcgettext ext/gettext/.libs/gettext.o
libintl_bindtextdomain ext/gettext/.libs/gettext.o
libintl_dgettext ext/gettext/.libs/gettext.o
libintl_ngettext ext/gettext/.libs/gettext.o
ld: fatal: Symbol referencing errors. No output written to
sapi/cli/php
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `sapi/cli/php'
It will be great if somebody can help me on this.
Expected result:
----------------
To compile it successfully.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45137&edit=1