php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26611 make install [install-pear-installer] Error 134
Submitted: 2003-12-12 23:47 UTC Modified: 2003-12-16 13:11 UTC
From: george_planansky at harvard dot edu Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4CVS-2003-12-13 OS: solaris 2.8 patched to nov 2003
Private report: No CVE-ID: None
 [2003-12-12 23:47 UTC] george_planansky at harvard dot edu
Description:
------------
make install output:

Installing PHP SAPI module:       cgi
Installing PHP CGI into: /usr/local/bin/
Installing shared extensions:     /usr/local/lib/php/extensions/no-debug-non-zts-20020429/
Installing PEAR environment:      /usr/local/lib/php/
Abort - core dumped
make[1]: *** [install-pear-installer] Error 134
make: *** [install-pear] Error 2

# ./configure  --enable-force-cgi-redirect --enable-discard-path --enable-cli --with-openssl=/usr/local/openssl --with-zlib=/usr --e\nable-bcmath --enable-calendar --with-db4=/usr/local --enable-filepro --with-gd=shared,/usr/local --enable-gd-native-ttf --with-jpeg\-dir=/usr/local --with-png-dir=/usr/local --with-xpm-dir=/usr/local --with-freetype-dir=/usr/local --with-gettext=/usr/local --with-\mysql=/usr/local/mysql --with-unixODBC=/usr/local --with-pgsql=shared,/usr/local/pgsql --with-pspell=/usr/local --with-readline=/usr\/local --with-regex=system --enable-sockets --enable-tokenizer

... using gcc-3.3.2



This had worked ok with php-4.3.2RC1, gcc-3.0.5,
same config.

Installing PHP SAPI module
Installing shared extensions:     /usr/local/lib/php/extensions/no-debug-non-zts-20020429/
Installing PEAR environment:      /usr/local/lib/php/
[PEAR] Archive_Tar    - installed: 0.9
[PEAR] Console_Getopt - installed: 1.0
[PEAR] PEAR           - installed: 1.0.1
[PEAR] DB             - installed: 1.3
[PEAR] HTTP           - installed: 1.2
[PEAR] Mail           - installed: 1.0.1
[PEAR] Net_SMTP       - installed: 1.0
[PEAR] Net_Socket     - installed: 1.0.1
[PEAR] XML_Parser     - installed: 1.0.1
[PEAR] XML_RPC        - installed: 1.0.4
Installing build environment:     /usr/local/lib/php/build/
Installing header files:          /usr/local/include/php/
Installing helper programs:       /usr/local/bin/
  program: phpize
  program: php-config
  program: phpextdist






Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-12-14 20:33 UTC] sniper@php.net
Try with this configure line:

# ./configure
--with-openssl=/usr/local/openssl
--with-gettext=/usr/local
--with-pspell=/usr/local
--disable-all
--enable-xml
--with-pcre-regex
--enable-cli
--enable-debug


 [2003-12-15 19:51 UTC] george_planansky at harvard dot edu
The problem seems to follow the pspell option.
I get the "Abort" if I configure with --with-pspell,
but do not get the Abort if I configure without it.
http://snaps.php.net/php4-STABLE-latest.tar.gz

This was true of a more inclusive configure ...
--with-pspell --> Abort .

The pspell library like most others I'm using
was built with gcc-3.0.X ... I'm trying to build it
with gcc-3.3.2 , just in case.

# ./configure
--with-openssl=/usr/local/openssl
--with-gettext=/usr/local
--with-pspell=/usr/local
--disable-all
--enable-xml
--with-pcre-regex
--enable-cli
--enable-debug

wacke(6)%cd sapi/cli
wacke(7)%./php -v
Abort (core dumped)
wacke(8)% gdb ./php ./core
GNU gdb 5.2.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.8"...
Core was generated by `./php -v'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/local/lib/libpspell.so.4...done.
Loaded symbols for /usr/local/lib/libpspell.so.4
Reading symbols from /usr/local/lib/libltdl.so.3...done.
Loaded symbols for /usr/local/lib/libltdl.so.3
Reading symbols from /usr/local/lib/libpspell-modules.so.1...done.
Loaded symbols for /usr/local/lib/libpspell-modules.so.1
Reading symbols from /usr/local/lib/libstdc++.so.5...done.
Loaded symbols for /usr/local/lib/libstdc++.so.5
Reading symbols from /usr/lib/libm.so.1...done.
Loaded symbols for /usr/lib/libm.so.1
Reading symbols from /usr/local/lib/libgcc_s.so.1...done.
Loaded symbols for /usr/local/lib/libgcc_s.so.1
Reading symbols from /usr/local/lib/libintl.so.2...done.
Loaded symbols for /usr/local/lib/libintl.so.2
Reading symbols from /usr/local/lib/libiconv.so.2...done.
Loaded symbols for /usr/local/lib/libiconv.so.2
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/local/openssl/lib/libssl.so.0.9.7...done.
Loaded symbols for /usr/local/openssl/lib/libssl.so.0.9.7
Reading symbols from /usr/local/openssl/lib/libcrypto.so.0.9.7...done.
Loaded symbols for /usr/local/openssl/lib/libcrypto.so.0.9.7
Reading symbols from /usr/lib/libresolv.so.2...done.
Loaded symbols for /usr/lib/libresolv.so.2
Reading symbols from /usr/lib/libdl.so.1...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/lib/libnsl.so.1...done.
Loaded symbols for /usr/lib/libnsl.so.1
Reading symbols from /usr/lib/libsocket.so.1...done.
Loaded symbols for /usr/lib/libsocket.so.1
Reading symbols from /usr/local/lib/libstdc++.so.3...done.
Loaded symbols for /usr/local/lib/libstdc++.so.3
Reading symbols from /usr/lib/libmp.so.2...done.
Loaded symbols for /usr/lib/libmp.so.2
Reading symbols from /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
#0  0xff09f980 in _libc_kill () from /usr/lib/libc.so.1
(gdb) bt#0  0xff09f980 in _libc_kill () from /usr/lib/libc.so.1
#1  0xff035964 in abort () from /usr/lib/libc.so.1
#2  0xff2e1adc in ?? () from /usr/local/lib/libstdc++.so.5
#3  0xff2e1b14 in ?? () from /usr/local/lib/libstdc++.so.5
#4  0xff2e1b24 in ?? () from /usr/local/lib/libstdc++.so.5
#5  0xff2e1a00 in ?? () from /usr/local/lib/libstdc++.so.5
#6  0xff2bfa3c in ?? () from /usr/local/lib/libstdc++.so.5
#7  0xff2b7098 in ?? () from /usr/local/lib/libstdc++.so.5
#8  0xff2b69a0 in ?? () from /usr/local/lib/libstdc++.so.5
#9  0xff2bbfd8 in ?? () from /usr/local/lib/libstdc++.so.5
#10 0xff2bc36c in ?? () from /usr/local/lib/libstdc++.so.5
#11 0xff377470 in ?? () from /usr/local/lib/libpspell.so.4
#12 0xff3774e0 in ?? () from /usr/local/lib/libpspell.so.4
#13 0xff378530 in ?? () from /usr/local/lib/libpspell.so.4
#14 0xff36e73c in ?? () from /usr/local/lib/libpspell.so.4
#15 0xff3bcf0c in ?? ()
#16 0xff3c7440 in ?? ()
#17 0xff3b2c30 in ?? ()
#18 0xff2f669c in ?? () from /usr/local/lib/libstdc++.so.5
#19 0xff2c4e94 in ?? () from /usr/local/lib/libstdc++.so.5
#20 0xff2d0d60 in ?? () from /usr/local/lib/libstdc++.so.5
#21 0xff2c0e9c in ?? () from /usr/local/lib/libstdc++.so.5
#22 0xff2bfa18 in ?? () from /usr/local/lib/libstdc++.so.5
#23 0xff2b7098 in ?? () from /usr/local/lib/libstdc++.so.5
#24 0xff2b69a0 in ?? () from /usr/local/lib/libstdc++.so.5
#25 0xff2bbfd8 in ?? () from /usr/local/lib/libstdc++.so.5
#26 0xff2bc36c in ?? () from /usr/local/lib/libstdc++.so.5
#27 0xff2b4740 in ?? () from /usr/local/lib/libstdc++.so.5
#28 0xff2b3068 in ?? () from /usr/local/lib/libstdc++.so.5
#29 0xff2ad2c0 in ?? () from /usr/local/lib/libstdc++.so.5
#30 0xff3bcf0c in ?? ()
#31 0xff3bc660 in ?? ()
#32 0xff3c84b4 in ?? ()
#33 0xff3b2bf4 in ?? ()
(gdb)
 [2003-12-16 00:05 UTC] sniper@php.net
Most likely this crash will disappear when you "cleanup" and compile all related stuff with same compiler / linker.

In any case, this is not PHP bug as is.

 [2003-12-16 01:43 UTC] george_planansky at harvard dot edu
Evidently --with-pspell used to use pspell, but, by php-4.3,
changed to use aspell instead.  Not surprisingly, this
cryptic change cryptically breaks builds that once
used --with-pspell successfully.  

If that is indeed the case ... then --with-pspell
is a booby trap.

I strongly suggest getting rid of --with-pspell and
adding --with-aspell .  Losing the former will explictly
alert people of the change (breaking, and no longer using, pspell); adding the latter will indicate what to use
instead (aspell).   Would have saved me grief.
 [2003-12-16 13:11 UTC] george_planansky at harvard dot edu
./configure does say to use the new aspell, and
it builds fine with it, so my bug report was 
twice bogus.

Note to build a shared aspell with solaris using
/usr/ccs/bin/ld, the aspell configure must be
edited so it does not produce 

    *-sun-solaris* ) extra_ldflags="-Wl,-mimpure-text";;

I think pure-text applies to the gnu ld only.  
The extra_ldflags lead to a "ure ... " error string
with /usr/ccs/bin/ld .
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Aug 17 15:01:29 2024 UTC