#45137 [Opn]: PHP 5.2.5 compile problem
| From: | rajat dot ray at gmail dot com | Date: | Mon, 02 Jun 2008 08:46:45 +0000 |
| Subject: | #45137 [Opn]: PHP 5.2.5 compile problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-125420@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: Open
Bug Type: Compile Failure
Operating System: Solaris
PHP Version: 5.2.5
New Comment:
The previous issue i fixed it by including
--with-sybase=/opt/sybase/OCS-12_5
--with-oci8-instant-client=/opt/instantclient_10_2" in ./configure but
now i am getting another error
*** Error code 1
make: Fatal error: Command failed for target
`ext/sybase/php_sybase_db.lo'
Any help...
Previous Comments:
------------------------------------------------------------------------
[2008-06-02 07:28:01] rajat dot ray at gmail dot com
I have tried using this command also
"--with-sybase=/opt/sybase/OCS-12_5"
but no luck....
------------------------------------------------------------------------
[2008-06-02 07:26:25] rajat dot ray at gmail dot com
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.
------------------------------------------------------------------------
[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