Hi,
I am trying to install php 5.5.1 on to solaris 10. This is the solaris version: $ uname -a SunOS zone-eu4 5.10 Generic_142910-17 i86pc i386 i86pc $ cat /etc/release Oracle Solaris 10 9/10 s10x_u9wos_14a X86 Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. Assembled 11 August 2010 $ The setup is a global zone with 3 zones configured onto it. One of the zones runs apache and php together and another zone is running the mysql. After installing all dependencies I tried to configure with these options: $./configure --prefix=/usr/local/php5 --with-config-file-path=/usr/local/php5/lib --with-libxml-dir=/usr/local --with-zlib=/usr/local --with-xpm-dir=/usr/local --with-mysql=mysqlnd --with-pdo-mysql=mysqlnd --with-mysqli=mysqlnd --with-apxs2=/usr/local/apache2/bin/apxs --without-pgsql --with-jpeg-dir=/usr/local/lib --with-zlib-dir=/usr/local/lib --with-gd=/usr/local --enable-mbstring --enable-exif --enable-sockets --with-png-dir=/usr/local/lib --with-curl=/usr/local --with-ldap=/usr --with-openssl=/usr/local/ssl --with-gettext --with-pcre-dir=/usr/local --with-freetype-dir=/usr/local --with-mssql=/usr/local/freetds Which runs fine. First few times it did not but those errors were resolved by installing dependencies and adapting paths to right locations. Afterwards I ran make depend which runs fine. Then I get this error when running make/gmake (these are the few last lines from the output): /bin/bash /export/home/coenenka/php-5.5.1/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/sockets/ -I/export/home/coenenka/php-5.5.1/ext/sockets/ -DPHP_ATOM_INC -I/export/home/coenenka/php-5.5.1/include -I/export/home/coenenka/php-5.5.1/main -I/export/home/coenenka/php-5.5.1 -I/export/home/coenenka/php-5.5.1/ext/date/lib -I/export/home/coenenka/php-5.5.1/ext/ereg/regex -I/usr/include/libxml2 -I/usr/local/ssl/include -I/usr/local/include -I/usr/X11 -I/usr/local/include/freetype2 -I/export/home/coenenka/php-5.5.1/ext/mbstring/oniguruma -I/export/home/coenenka/php-5.5.1/ext/mbstring/libmbfl -I/export/home/coenenka/php-5.5.1/ext/mbstring/libmbfl/mbfl -I/usr/local/freetds/include -I/export/home/coenenka/php-5.5.1/ext/sqlite3/libsqlite -I/export/home/coenenka/php-5.5.1/TSRM -I/export/home/coenenka/php-5.5.1/Zend -I/usr/local/include -I/usr/local/ssl/include -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -I/usr/local/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include -c /export/home/coenenka/php-5.5.1/ext/sockets/sockets.c -o ext/sockets/sockets.lo /bin/bash /export/home/coenenka/php-5.5.1/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/sockets/ -I/export/home/coenenka/php-5.5.1/ext/sockets/ -DPHP_ATOM_INC -I/export/home/coenenka/php-5.5.1/include -I/export/home/coenenka/php-5.5.1/main -I/export/home/coenenka/php-5.5.1 -I/export/home/coenenka/php-5.5.1/ext/date/lib -I/export/home/coenenka/php-5.5.1/ext/ereg/regex -I/usr/include/libxml2 -I/usr/local/ssl/include -I/usr/local/include -I/usr/X11 -I/usr/local/include/freetype2 -I/export/home/coenenka/php-5.5.1/ext/mbstring/oniguruma -I/export/home/coenenka/php-5.5.1/ext/mbstring/libmbfl -I/export/home/coenenka/php-5.5.1/ext/mbstring/libmbfl/mbfl -I/usr/local/freetds/include -I/export/home/coenenka/php-5.5.1/ext/sqlite3/libsqlite -I/export/home/coenenka/php-5.5.1/TSRM -I/export/home/coenenka/php-5.5.1/Zend -I/usr/local/include -I/usr/local/ssl/include -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -I/usr/local/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include -c /export/home/coenenka/php-5.5.1/ext/sockets/multicast.c -o ext/sockets/multicast.lo /bin/bash /export/home/coenenka/php-5.5.1/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/sockets/ -I/export/home/coenenka/php-5.5.1/ext/sockets/ -DPHP_ATOM_INC -I/export/home/coenenka/php-5.5.1/include -I/export/home/coenenka/php-5.5.1/main -I/export/home/coenenka/php-5.5.1 -I/export/home/coenenka/php-5.5.1/ext/date/lib -I/export/home/coenenka/php-5.5.1/ext/ereg/regex -I/usr/include/libxml2 -I/usr/local/ssl/include -I/usr/local/include -I/usr/X11 -I/usr/local/include/freetype2 -I/export/home/coenenka/php-5.5.1/ext/mbstring/oniguruma -I/export/home/coenenka/php-5.5.1/ext/mbstring/libmbfl -I/export/home/coenenka/php-5.5.1/ext/mbstring/libmbfl/mbfl -I/usr/local/freetds/include -I/export/home/coenenka/php-5.5.1/ext/sqlite3/libsqlite -I/export/home/coenenka/php-5.5.1/TSRM -I/export/home/coenenka/php-5.5.1/Zend -I/usr/local/include -I/usr/local/ssl/include -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -I/usr/local/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include -c /export/home/coenenka/php-5.5.1/ext/sockets/conversions.c -o ext/sockets/conversions.lo /export/home/coenenka/php-5.5.1/ext/sockets/conversions.c: In function `from_zval_write_control_array': /export/home/coenenka/php-5.5.1/ext/sockets/conversions.c:973: error: structure has no member named `msg_control' /export/home/coenenka/php-5.5.1/ext/sockets/conversions.c:974: error: structure has no member named `msg_controllen' /export/home/coenenka/php-5.5.1/ext/sockets/conversions.c: In function `to_zval_read_control_array': /export/home/coenenka/php-5.5.1/ext/sockets/conversions.c:1037: warning: assignment makes pointer from integer without a cast /export/home/coenenka/php-5.5.1/ext/sockets/conversions.c:1039: warning: assignment makes pointer from integer without a cast /export/home/coenenka/php-5.5.1/ext/sockets/conversions.c: In function `from_zval_write_controllen': /export/home/coenenka/php-5.5.1/ext/sockets/conversions.c:1146: error: structure has no member named `msg_control' /export/home/coenenka/php-5.5.1/ext/sockets/conversions.c:1147: error: structure has no member named `msg_controllen' /export/home/coenenka/php-5.5.1/ext/sockets/conversions.c: In function `to_zval_read_msghdr': /export/home/coenenka/php-5.5.1/ext/sockets/conversions.c:1248: error: structure has no member named `msg_flags' /export/home/coenenka/php-5.5.1/ext/sockets/conversions.c:1248: error: initializer element is not constant /export/home/coenenka/php-5.5.1/ext/sockets/conversions.c:1248: error: (near initialization for `descriptors[3].field_offset') /export/home/coenenka/php-5.5.1/ext/sockets/conversions.c:1248: error: initializer element is not constant /export/home/coenenka/php-5.5.1/ext/sockets/conversions.c:1248: error: (near initialization for `descriptors[3]') /export/home/coenenka/php-5.5.1/ext/sockets/conversions.c:1249: error: initializer element is not constant /export/home/coenenka/php-5.5.1/ext/sockets/conversions.c:1249: error: (near initialization for `descriptors[4]') gmake: *** [ext/sockets/conversions.lo] Error 1 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. Kind regards, Kas |
- Follow-Ups:
- Re: installing php 5.5.1 on to solaris 10 results in error during make
- From: Eugene M. Zheganin
- Re: installing php 5.5.1 on to solaris 10 results in error during make
- Prev by Date: Re: install extension zend opcache 7.0.2
- Next by Date: Re: installing php 5.5.1 on to solaris 10 results in error during make
- Previous by thread: Failing to Install php5.5.X
- Next by thread: Re: installing php 5.5.1 on to solaris 10 results in error during make
- Index(es):