Hi,
 
I installed Solaris 10 on my older x86 AMD 1GHz motherboard successfully. I have compiled apache 2 and also installed MySQL 5.0.24 using a tarred file successfully.
 
I have also installed the latest versions of gawk, libconv and libxml2 from sunfreeware.
 
leopard $ pkginfo | grep -i SMC
application SMCgawk                          gawk
application SMCliconv                        libiconv
application SMClxml2                         libxml2
 
Now I need to install the latest PHP version, but I am having a problem compiling it with gcc. I have tried several ways to make it work, but it always ends up terminating half way. I have read many discussions from many forums but none is direct and helpful.
 
the problem:
 
./configure --with-apxs2=/opt/apache2/bin/apxs --with-mysql=/opt/mysql --with-config-file-path=/opt/apache2/conf
.
.
.
Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path... /usr/local/bin/xml2-config
checking whether libxml build works... no
configure: error: build test failed.  Please check the config.log for details.
 
 
leopard $ tail -40l config.log
 
configure:18758: checking for readdir_r
configure:18786: gcc -o conftest -g -O2  -D_POSIX_PTHREAD_SEMANTICS  -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket  1>&5
configure:18808: checking for type of readdir_r
configure:18844: gcc -o conftest -g -O2  -D_POSIX_PTHREAD_SEMANTICS  -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket  1>&5
configure:18907: checking for in_addr_t
configure:18963: checking whether to include gcov symbols
configure:19123: checking whether to include debugging symbols
configure:19156: checking layout of installed files
configure:19190: checking path to configuration file
configure:19226: checking where to scan for configuration files
configure:19256: checking whether to enable safe mode by default
configure:19291: checking for safe mode exec dir
configure:19332: checking whether to enable PHP's own SIGCHLD handler
configure:19369: checking whether to enable magic quotes by default
configure:19406: checking whether to enable runpaths
configure:19431: checking whether to explicitly link against libgcc
configure:19510: checking whether to enable short tags by default
configure:19547: checking whether to enable dmalloc
configure:19635: checking whether to enable IPv6 support
configure:19665: checking how big to make fd sets
configure:19685: checking whether to enable versioning
configure:19733: checking whether to enable LIBXML support
configure:19780: checking libxml2 install dir
configure:19809: checking for xml2-config path
configure:19966: checking whether libxml build works
configure:19993: gcc -o conftest -g -O2  -D_POSIX_PTHREAD_SEMANTICS  -R/usr/ucblib -L/usr/ucblib -R/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3 -L/usr/sfw/lib/
gcc/i386-pc-solaris2.10/3.4.3 -R/usr/local/lib -L/usr/local/lib conftest.c
 
         -lresolv -lm -lnsl -lsocket  -lgcc -lxml2 -lz -liconv -lm -lsocket -lnsl 1>&5
configure: failed program was:
#line 19982 "configure"
#include "confdefs.h"
 

    char xmlInitParser();
    int main() {
      xmlInitParser();
      return 0;
    }
Any idea why its a problem on Solaris, but I heard people have no problems installing on Linux platforms. I think there is a simple solution somewhere? Please help.
 
Thanks.
 
Trevor Maggs

* Email: [EMAIL PROTECTED]
(  SMS: +61 40 394 5088
7  FAX: +61 2 9896 7321
8 ICQ: 14421786

Remember: Life is a journey, not a destination...

 
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to