Re: installing php 5.5.1 on to solaris 10 results in error during make
| From: | Eugene M. Zheganin | Date: | Thu, 08 Aug 2013 12:28:09 +0000 |
| Subject: | Re: installing php 5.5.1 on to solaris 10 results in error during make | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-20270@lists.php.net to get a copy of this message | ||
Hi,
On 08.08.2013 15:37, KAs Coenen wrote:
>
> Can someone please help me? I have been stuck on installing php on
> solaris for several days now. I've been trying different options and
> all resulted in nothing that really worked.
>
> Please bear with me as this is my first mail to a newsgroup. If you
> have remarks or questions please feel free to ask.
>
You have two choices:
- remove --enable-sockets
- leave --enable-sockets, but after running configure, add to Makefile
custom CFLAGS, like:
CFLAGS_SOCKETS = -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
then find the following lines:
ext/sockets/sockets.lo:
/home/emz/src/php-5.5.1/ext/sockets/sockets.c
[...]
ext/sockets/multicast.lo:
/home/emz/src/php-5.5.1/ext/sockets/multicast.c
[...]
ext/sockets/conversions.lo:
/home/emz/src/php-5.5.1/ext/sockets/conversions.c
[...]
ext/sockets/sockaddr_conv.lo:
/home/emz/src/php-5.5.1/ext/sockets/sockaddr_conv.c
[...]
ext/sockets/sendrecvmsg.lo:
/home/emz/src/php-5.5.1/ext/sockets/sendrecvmsg.c
[...]
and add this $(CFLAGS_SOCKETS) variable to lines that I referenced with
[...], somewhere in the middle, between other flags.
But actually this is a Solaris10-specific bug, and it should be reported.
Hope this will help.
Eugene.