Re: installing php 5.5.1 on to solaris 10 results in error during make

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux