Jump to content

[SOLVED] php 4.4.7 - Bus Error - core dumped - Solaris - make: [test] Error 138


Recommended Posts

Hi All,

 

I've been having an issue compiling PHP 4.4.7 under Solaris 10 (SunOS 5.10)

using GCC 3.4.6. I've tried to downgrade libiconv from 1.11 to 1.9.2 with

no different results.  I've removed 1.9.2 and reapplied libiconv 1.11.

 

Here are the specifics below. Any help is greatly appreciated. Thanks in

advance!

 

OS & Package Versions

---------------------

SunOS web1 5.10 s10_72 sun4u sparc SUNW,UltraSPARC-IIi-cEngine

 

- openssl-0.9.8e

- autoconf 2.60

- automake 1.10

- bison 2.3

- expat 1.95.5

- flex 2.5.33

- fontconfig 2.4.2

- freetype 2.3.1

- gcc 3.4.6

- gd 2.0.33

- jpeg 6b

- libiconv 1.9.2

- libpng 1.2.16

- libtool 1.5

- libxml2 2.6.26

- libxslt 1.1.17

- m4 1.4.7

- make 3.81

- perl 5.8.8

- texinfo 4.8

- xpm 3.4k

- zlib 1.2.3

 

General Compile Options

-----------------------

make clean

CC="gcc" \

LDFLAGS="-mcpu=v9 -L/usr/local/lib -L/usr/local/mysql/lib" \

./configure \

          --enable-track-vars \

          --enable-sockets \

          --enable-wddx \

          --enable-xslt \

            --with-xslt-sablot=/usr/local \

            --with-expat-dir=/usr/local \

            --with-iconv=/usr/local \

            --with-libxml-dir=/usr/local/lib \

          --with-curl \

          --with-mysql=/mysql-client \

          --with-zlib-dir=/usr/local \

          --with-jpeg-dir=/usr/local \

          --with-png-dir=/usr/local \

          --with-freetype-dir=/usr/local \

          --with-gd \

          --with-xpm-dir=/usr/local \

          --disable-debug \

          --enable-safe-mode \

          --enable-inline-optimization \

          --enable-memory-limit \

          --enable-bcmath \

          --enable-calendar

 

** As far as compile options, go I've tried the most basic configuration

and get the same results with this as well:

 

# make clean

# CC="gcc" \

./configure --disable-xml --without-pear

 

Make Test Output

----------------

 

# make test

Bus Error - core dumped

make: [test] Error 138 (ignored)

core dump

 

PHP Compile Log

---------------

Script started on Wed May 30 17:05:07 2007
# make clean
find . -name \*.lo | xargs rm -f
find . -name \*.o | xargs rm -f
find . -name \*.la | xargs rm -f
find . -name \*.a | xargs rm -f
find . -name \*.so | xargs rm -f
find . -name .libs -a -type d|xargs rm -rf
rm -f libphp4.la sapi/cli/php sapi/cgi/php modules/* libs/*

# CC="gcc" \
LDFLAGS="-mcpu=v9 -L/usr/local/lib -L/usr/local/mysql/lib" \
./configure \
          --enable-track-vars \
          --enable-sockets \
          --enable-wddx \
          --enable-xslt \
            --with-xslt-sablot=/usr/local \
            --with-expat-dir=/usr/local \
            --with-iconv=/usr/local \
            --with-libxml-dir=/usr/local/lib \
          --with-curl \
          --with-mysql=/mysql-client \
          --with-zlib-dir=/usr/local \
          --with-jpeg-dir=/usr/local \
          --with-png-dir=/usr/local \
          --with-freetype-dir=/usr/local \
          --with-gd \
          --with-xpm-dir=/usr/local \
          --disable-debug \
          --enable-safe-mode \
          --enable-inline-optimization \
          --enable-memory-limit \
          --enable-bcmath \
          --enable-calendar

loading cache ./config.cache
checking for egrep... (cached) egrep
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking host system type... sparc-sun-solaris2.10
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  -mcpu=v9 -L/usr/local/lib -L/usr/local/mysql/lib) works... yes
checking whether the C compiler (gcc  -mcpu=v9 -L/usr/local/lib -L/usr/local/mysql/lib) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking whether gcc and cc understand -c and -o together... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for AIX... no
checking if compiler supports -R... (cached) yes
checking for re2c... (cached) exit 0;
checking whether ln -s works... (cached) yes
checking for gawk... (cached) nawk
checking for bison... (cached) bison -y
checking bison version... configure: warning: You will need bison 1.28
2.3 (ok)
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) yes
checking lex output file root... (cached) lex.yy
checking whether yytext is a pointer... (cached) yes
checking for working const... (cached) yes
checking flex version... 2.5.33 (ok)
checking whether byte ordering is bigendian... (cached) yes
checking whether to force non-PIC code in shared modules... no
checking for pthreads_cflags... (cached) 
checking for pthreads_lib... (cached) 

[1mConfiguring SAPI modules[m
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking for mod_charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS... no
checking for Caudium support... no
checking for CLI build... yes
checking for embedded SAPI library support... no
checking for Zeus ISAPI support... no
checking for NSAPI support... no
checking for PHTTPD support... no
checking for Pi3Web support... no
checking for Roxen/Pike support... no
checking for Servlet support... no
checking for thttpd... no
checking for TUX... no
checking for webjames... no
checking for CGI build... yes
checking whether writing to stdout works... (cached) yes
checking whether to force Apache CGI redirect... no
checking whether to discard path_info + path_translated... no
checking whether to enable path info checking... yes
checking whether to enable fastcgi support... no
checking for chosen SAPI module... cgi

[1mRunning system checks[m
checking for missing declarations of reentrant functions... done
checking for sendmail... (cached) /usr/sbin/sendmail
checking whether system uses EBCDIC... (cached) no
checking for socket... no
checking for __socket... no
checking for socket in -lsocket... yes
checking for htonl... yes
checking for gethostname... yes
checking for gethostbyaddr... no
checking for __gethostbyaddr... no
checking for gethostbyaddr in -lnsl... yes
checking for yp_get_default_domain... yes
checking for dlopen... yes
checking for sin in -lm... (cached) yes
checking for res_search... no
checking for __res_search... no
checking for res_search in -lresolv... yes
checking for inet_aton... yes
checking for dn_skipname... yes
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking for fclose declaration... ok
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for dirent.h... (cached) yes
checking for ApplicationServices/ApplicationServices.h... (cached) no
checking for sys/param.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for alloca.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking for arpa/nameser.h... (cached) yes
checking for assert.h... (cached) yes
checking for crypt.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for grp.h... (cached) yes
checking for ieeefp.h... (cached) yes
checking for langinfo.h... (cached) yes
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking for monetary.h... (cached) yes
checking for mach-o/dyld.h... (cached) no
checking for netdb.h... (cached) yes
checking for pwd.h... (cached) yes
checking for resolv.h... (cached) yes
checking for signal.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for syslog.h... (cached) yes
checking for sysexits.h... (cached) yes
checking for sys/file.h... (cached) yes
checking for sys/mman.h... (cached) yes
checking for sys/mount.h... (cached) yes
checking for sys/poll.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/statfs.h... (cached) yes
checking for sys/statvfs.h... (cached) yes
checking for sys/vfs.h... (cached) yes
checking for sys/sysexits.h... (cached) no
checking for sys/varargs.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking for unistd.h... (cached) yes
checking for unix.h... (cached) no
checking for utime.h... (cached) yes
checking for sys/utsname.h... (cached) yes
checking for sys/ipc.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for fopencookie... (cached) no
checking for broken getcwd... yes
checking for broken libc stdio... yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for tm_zone in struct tm... (cached) no
checking for tzname... (cached) yes
checking for tm_gmtoff in struct tm... (cached) no
checking for struct flock... (cached) yes
checking for socklen_t... (cached) yes
checking size of intmax_t... (cached) 0
checking size of size_t... (cached) 4
checking size of ssize_t... (cached) 0
checking size of ptrdiff_t... (cached) 0
checking size of long long... (cached) 8
checking size of long long int... (cached) 8
checking size of long... (cached) 4
checking size of int... (cached) 4
checking for st_blksize in struct stat... (cached) yes
checking for st_blocks in struct stat... (cached) yes
checking for st_rdev in struct stat... (cached) yes
checking for size_t... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking for struct sockaddr_storage... (cached) yes
checking for IPv6 support... (cached) yes
checking for vprintf... (cached) yes
checking for alphasort... (cached) yes
checking for asctime_r... (cached) yes
checking for chroot... (cached) yes
checking for ctime_r... (cached) yes
checking for cuserid... (cached) yes
checking for crypt... (cached) yes
checking for flock... (cached) no
checking for ftok... (cached) yes
checking for funopen... (cached) no
checking for gai_strerror... (cached) yes
checking for gcvt... (cached) yes
checking for getlogin... (cached) yes
checking for getprotobyname... (cached) yes
checking for getprotobynumber... (cached) yes
checking for getservbyname... (cached) yes
checking for getservbyport... (cached) yes
checking for getrusage... (cached) yes
checking for gettimeofday... (cached) yes
checking for gmtime_r... (cached) yes
checking for isascii... (cached) yes
checking for link... (cached) yes
checking for localtime_r... (cached) yes
checking for lockf... (cached) yes
checking for lrand48... (cached) yes
checking for memcpy... (cached) yes
checking for memmove... (cached) yes
checking for mkstemp... (cached) yes
checking for mmap... (cached) yes
checking for nl_langinfo... (cached) yes
checking for perror... (cached) yes
checking for poll... (cached) yes
checking for putenv... (cached) yes
checking for realpath... (cached) yes
checking for random... (cached) yes
checking for rand_r... (cached) yes
checking for regcomp... (cached) yes
checking for res_search... (cached) yes
checking for scandir... (cached) yes
checking for setitimer... (cached) yes
checking for setlocale... (cached) yes
checking for localeconv... (cached) yes
checking for setsockopt... (cached) yes
checking for setvbuf... (cached) yes
checking for shutdown... (cached) yes
checking for sin... (cached) yes
checking for snprintf... (cached) yes
checking for srand48... (cached) yes
checking for srandom... (cached) yes
checking for statfs... (cached) yes
checking for statvfs... (cached) yes
checking for std_syslog... (cached) no
checking for strcasecmp... (cached) yes
checking for strcoll... (cached) yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
checking for strftime... (cached) yes
checking for strstr... (cached) yes
checking for strtok_r... (cached) yes
checking for symlink... (cached) yes
checking for tempnam... (cached) yes
checking for tzset... (cached) yes
checking for unsetenv... (cached) yes
checking for usleep... (cached) yes
checking for utime... (cached) yes
checking for vsnprintf... (cached) yes
checking for getaddrinfo... (cached) yes
checking for strlcat... (cached) yes
checking for strlcpy... (cached) yes
checking for getopt... (cached) yes
checking whether utime accepts a null argument... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for declared timezone... (cached) yes
checking for type of reentrant time-related functions... (cached) POSIX
checking for readdir_r... (cached) yes
checking for type of readdir_r... (cached) POSIX

[1mGeneral settings[m
checking whether to include debugging symbols... no
checking layout of installed files... PHP
checking path to configuration file... DEFAULT
checking directory to be scanned for configuration files... DEFAULT
checking whether to enable safe mode by default... yes
checking for safe mode exec dir... /usr/local/php/bin
checking whether to enable PHP's own SIGCHLD handler... no
checking whether to enable magic quotes by default... no
checking whether to enable runpaths... yes
checking whether to explicitly link against libgcc... yes
checking whether to enable short tags by default... yes
checking whether to enable dmalloc... no
checking whether to enable IPv6 support... yes
checking whether to enable versioning... no

[1mConfiguring extensions[m
checking for OpenSSL support... no
checking for Kerberos support... no
checking for PCRE support... yes
checking for ZLIB support... no
checking if the location of ZLIB install directory is defined... /usr/local
checking for gzgets in -lz... (cached) yes
checking whether to enable bc style precision math functions... yes
checking for BZip2 support... no
checking whether to enable calendar conversion support... yes
checking for cpdflib support... no
checking for CRACKlib support... no
checking whether to enable ctype functions... yes
checking for CURL support... yes
checking for CURL in default path... found in /usr/local
checking for cURL 7.9.8 or greater... libcurl 7.16.2
checking for SSL support in libcurl... yes
checking for SSL library used... openssl
checking for openssl/crypto.h... (cached) no
checking for curl_easy_perform in -lcurl... (cached) yes
checking for curl_version_info in -lcurl... (cached) yes
checking for cyrus imap support... no
checking for xDBM support... no
checking whether to enable DBA... no
checking for GDBM support... no
checking for NDBM support... no
checking for Berkeley DB4 support... no
checking for Berkeley DB3 support... no
checking for Berkeley DB2 support... no
checking for DBM support... no
checking for CDB support... no
checking for INI File support... no
checking for FlatFile support... no
checking whether to enable DBA interface... no
checking whether to enable dbase support... no
checking whether to enable dbx support... no
checking whether to enable direct I/O support... no
checking for DOM support... no
checking for DOM XSLT support... no
checking for DOM EXSLT support... no
checking whether to enable EXIF (metadata from images) support... no
checking for FrontBase SQL92 (fbsql) support... no
checking for FDF support... no
checking whether to enable the bundled filePro support... no
checking for FriBidi support... no
checking whether to enable FTP support... no
checking for GD support... yes
checking for the location of libjpeg... /usr/local
checking for the location of libpng... /usr/local
checking for the location of libXpm... /usr/local
checking for FreeType 1.x support... no
checking for FreeType 2... /usr/local
checking for T1lib support... no
checking whether to enable truetype string function in GD... no
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... (cached) yes
checking for floorf... (cached) yes
checking for jpeg_read_header in -ljpeg... (cached) yes
checking for png_write_image in -lpng... (cached) yes
checking for XpmFreeXpmImage in -lXpm... (cached) yes
checking for GNU gettext support... no
checking for GNU MP support... no
checking for hwapi support... no
checking for Hyperwave support... no
checking for iconv support... yes
checking for libiconv in -liconv... (cached) yes
checking if iconv is Konstantin Chuguev's... no
checking if iconv supports errno... yes
checking if your cpp allows macro usage in include lines... yes
checking for IMAP support... no
checking for IMAP Kerberos support... no
checking for IMAP SSL support... no
checking for Informix support... no
checking for Ingres II support... no
checking for InterBase support... no
checking for Java support... no
checking for LDAP support... no
checking whether to enable multibyte string support... no
checking whether to enable multibyte regex support... yes
checking for external libmbfl... no
checking for MCAL support... no
checking for mcrypt support... no
checking for MCVE support... no
checking OpenSSL dir for MCVE... no
checking for mhash support... no
checking whether to include mime_magic support... no
checking for MING support... no
checking for mnoGoSearch support... no
checking for msession support... no
checking for mSQL support... no
checking for MSSQL support via FreeTDS... no
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
checking size of char... (cached) 1
checking size of int... (cached) 4
checking size of long... (cached) 4
checking size of long long... (cached) 8
checking for size_t... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking for type ulong... (cached) yes
checking for type uchar... (cached) no
checking for type uint... (cached) yes
checking for type ushort... (cached) yes
checking for int8... (cached) no
checking base type of last arg to accept... (cached) int
checking return type of qsort... (cached) void
checking for mysql_close in -lmysqlclient... (cached) yes
checking for ncurses support... no
checking for Oracle (OCI8) support using ORACLE_HOME installation... no
checking for Oracle (OCI8) support using Oracle Instant Client... no
checking for Adabas support... no
checking for SAP DB support... no
checking for Solid support... no
checking for IBM DB2 support... no
checking for Empress support... no
checking for Empress local access support... no
checking for Birdstep support... no
checking for a custom ODBC support... no
checking for iODBC support... no
checking for Easysoft ODBC-ODBC Bridge support... no
checking for unixODBC support... no
checking for DBMaker support... no
checking for Oracle-ORACLE support... no
checking whether to enable user-space object overloading support... yes
checking whether to enable pcntl support... no
checking for PDFlib support... no
checking for the location of libtiff... no
checking for Verisign Payflow Pro support... no
checking for PostgreSQL support... no
checking whether to enable POSIX-like functions... yes
checking for seteuid... (cached) yes
checking for setegid... (cached) yes
checking for setsid... (cached) yes
checking for getsid... (cached) yes
checking for setpgid... (cached) yes
checking for getpgid... (cached) yes
checking for ctermid... (cached) yes
checking for mkfifo... (cached) yes
checking for getrlimit... (cached) yes
checking for getlogin... (cached) yes
checking for getgroups... (cached) yes
checking for PSPELL support... no
checking for QtDOM support... no
checking for libedit readline replacement... no
checking for readline support... no
checking for recode support... no
checking whether to enable PHP sessions... yes
checking for mm support... no
checking whether pwrite works... (cached) yes
checking whether pread works... (cached) yes
checking whether to enable shmop support... no
checking for SNMP support... no
checking OpenSSL dir for SNMP... no
checking whether to enable UCD SNMP hack... no
checking whether to enable sockets support... yes
checking for struct cmsghdr... (cached) yes
checking for hstrerror... (cached) yes
checking for set_h_errno... (cached) no
checking for netdb.h... (cached) yes
checking for netinet/tcp.h... (cached) yes
checking for sys/un.h... (cached) yes
checking for errno.h... (cached) yes
checking for getcwd... (cached) yes
checking for getwd... (cached) yes
checking for asinh... (cached) yes
checking for acosh... (cached) yes
checking for atanh... (cached) yes
checking for log1p... (cached) yes
checking for hypot... (cached) yes
checking for standard DES crypt... (cached) yes
checking for extended DES crypt... (cached) no
checking for MD5 crypt... (cached) yes
checking for Blowfish crypt... (cached) yes
checking whether flush should be called explicitly after a buffered io... (cached) yes
checking which regex library to use... php
checking whether rounding works as expected... yes
checking for working fnmatch... (cached) yes
checking for glob... (cached) yes
checking for strfmon... (cached) yes
checking for fpclass... (cached) yes
checking for isinf... (cached) no
checking for isnan... (cached) yes
checking whether atof() accepts NAN... (cached) yes
checking whether atof() accepts INF... (cached) no
checking whether HUGE_VAL == INF... (cached) no
checking whether HUGE_VAL + -HUGEVAL == NAN... (cached) yes
checking for libswf support... no
checking for Sybase support... no
checking for Sybase-CT support... no
checking whether to enable System V IPC support... no
checking whether to enable System V semaphore support... no
checking whether to enable System V shared memory support... no
checking whether to enable tokenizer support... yes
checking whether to enable WDDX support... yes
checking whether byte ordering is bigendian... (cached) yes
checking whether to enable XML support... yes
checking external libexpat install dir... /usr/local
checking for XMLRPC-EPI support... no
checking libexpat dir for XMLRPC-EPI... /usr/local
checking iconv dir for XMLRPC-EPI... yes
checking whether to enable xslt support... yes
checking for XSLT Sablotron backend... /usr/local
checking for libexpat dir for Sablotron XSL support... /usr/local
checking for iconv dir for Sablotron XSL support... no
checking for JavaScript for Sablotron XSL support... no
checking for sablot-config... found
checking for Sablotron version... >= 0.96
checking for libiconv in -liconv... (cached) yes
checking for SablotSetEncoding in -lsablot... (cached) yes
checking for SablotGetOptions in -lsablot... (cached) yes
checking for YAZ support... no
checking whether to include YP support... no
checking for ZIP support... no

[1mConfiguring PEAR[m
checking whether to install PEAR... yes

[1mConfiguring Zend[m
checking bison version... 2.3 (ok)
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for limits.h... (cached) yes
checking for malloc.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for signal.h... (cached) yes
checking for unix.h... (cached) no
checking for mach-o/dyld.h... (cached) no
checking for dlfcn.h... (cached) yes
checking for size_t... (cached) yes
checking return type of signal handlers... (cached) int
checking for uint... (cached) yes
checking for ulong... (cached) yes
checking for int32_t... yes
checking for uint32_t... yes
checking for vprintf... (cached) yes
checking for 8-bit clean memcmp... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for memcpy... (cached) yes
checking for strdup... (cached) yes
checking for getpid... (cached) yes
checking for kill... (cached) yes
checking for strtod... (cached) yes
checking for strtol... (cached) yes
checking for finite... (cached) yes
checking for fpclass... (cached) yes
checking for finite... (cached) yes
checking for isfinite... (cached) no
checking for isinf... (cached) no
checking for isnan... (cached) yes
checking whether fp_except is defined... (cached) no
checking for dlfcn.h... (cached) yes
checking whether dlsym() requires a leading underscore in symbol names... no
checking whether to enable the Zend memory manager... yes
checking whether to enable thread-safety... no
checking whether to enable inline optimization for GCC... yes
checking whether to enable a memory limit... yes
checking whether to enable Zend debugging... no
checking whether to enable Zend multibyte... no
checking for inline... (cached) inline

[1mConfiguring TSRM[m
checking for stdarg.h... (cached) yes

[1mConfiguring libtool[m
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking build system type... sparc-sun-solaris2.10
checking for ld used by GCC... (cached) /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... (cached) no
checking for /usr/ccs/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/ccs/bin/nm -p
checking how to recognise dependent libraries... (cached) pass_all
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking command to parse /usr/ccs/bin/nm -p output... (cached) ok
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for objdir... .libs
checking for gcc option to produce PIC... (cached)       -fPIC
checking if gcc PIC flag       -fPIC works... (cached) yes
checking if gcc static flag  works... (cached) no
checking if gcc supports -c -o file.o... (cached) yes
checking if gcc supports -c -o file.lo... (cached) yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.10 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
creating libtool

[1mGenerating files[m
updating cache ./config.cache
creating ./config.status
creating php4.spec
creating main/build-defs.h
creating scripts/phpize
creating scripts/man1/phpize.1
creating scripts/php-config
creating scripts/man1/php-config.1
creating sapi/cli/php.1
creating main/php_config.h
main/php_config.h is unchanged
creating main/internal_functions.c
creating main/internal_functions_cli.c
+--------------------------------------------------------------------+
|                        *** WARNING ***                             |
|                                                                    |
| You will be compiling the CGI version of PHP without any           |
| redirection checking.  By putting this cgi binary somewhere in     |
| your web space, users may be able to circumvent existing .htaccess |
| security by loading files directly through the parser.  See        |
| http://www.php.net/manual/security.php for more details.           |
+--------------------------------------------------------------------+
| License:                                                           |
| This software is subject to the PHP License, available in this     |
| distribution in the file LICENSE.  By continuing this installation |
| process, you are bound by the terms of this license agreement.     |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point.                            |
+--------------------------------------------------------------------+
|                          *** NOTE ***                              |
|            The default for register_globals is now OFF!            |
|                                                                    |
| If your application relies on register_globals being ON, you       |
| should explicitly set it to on in your php.ini file.               |
| Note that you are strongly encouraged to read                      |
| http://www.php.net/manual/en/security.globals.php                  |
| about the implications of having register_globals set to on, and   |
| avoid using it if possible.                                        |
+--------------------------------------------------------------------+

Thank you for using PHP.

 

For the compile results look here:

Link to comment
Share on other sites

I downloaded the Sun Studio 11 compiler from:

http://opensolaris.org/os/community/tools/sun_studio_tools/sun_studio_11

_tools/

 

Then recompiled PHP using these options:

 

arch=`isainfo -k | sed s/sparc//` \

CC="/opt/SUNWspro/bin/cc -fast -xarch=${arch}" \

CXX="/opt/SUNWspro/bin/CC -fast -xarch=${arch}" \

CPPFLAGS="-I/usr/local/ssl/include" \

LDFLAGS="-L/usr/local/ssl/lib -R/usr/local/ssl/lib

--L/usr/local/mysql/lib -L/usr/local/etc/apache/lib" \

 

./configure \

          --with-apxs2=/usr/local/etc/apache/bin/apxs \

          --enable-track-vars \

          --enable-sockets \

          --enable-wddx \

          --enable-xslt \

            --with-xslt-sablot=/usr/local \

            --with-expat-dir=/usr/local \

            --with-iconv=/usr/local \

            --with-libxml-dir=/usr/local/lib \

          --with-curl \

          --with-mysql=/mysql-client \

          --with-zlib-dir=/usr/local \

          --with-jpeg-dir=/usr/local \

          --with-png-dir=/usr/local \

          --with-freetype-dir=/usr/local \

          --with-gd \

          --with-xpm-dir=/usr/local \

          --with-openssl=/usr/local/ssl \

          --disable-debug \

          --enable-safe-mode \

          --enable-inline-optimization \

          --enable-memory-limit \

          --enable-bcmath \

          --enable-calendar

 

It compiled fine.  Maybe an issue with GCC... not sure.

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.