From:             stevep at sga dot org
Operating system: Unixware 7.1.0
PHP version:      5CVS-2006-09-25 (snap)
PHP Bug Type:     Compile Failure
Bug description:  php cli built, libphp5.so not built

Description:
------------
I have run into this problem on PHP5.1.6 and when trying 
the latest PHP5 snapshot on a Unixware 7.1.0 host.

*** Warning: libtool could not satisfy all declared 
inter-library
*** dependencies of module libphp5. Therefore, libtool 
will create
*** a static module, that should work as long as the 
dlopening
*** application is linked with the -dlopen flag.
copying selected object files to avoid basename 
conflicts...
using piecewise archive linking...


Reproduce code:
---------------
CC=cc LD=/usr/ccs/bin/ld LDFLAGS="-L/usr/ccs/lib" ./
configure \
  --disable-rpath \
  --with-apxs=/www/bin/apxs \
  --with-openssl=/usr/local/ssl \
  --disable-debug \
  --enable-magic-quotes \
  --enable-mm=shared \
  --enable-track-vars \
  --enable-trans-sid \
  --enable-wddx=shared \
  --enable-xml \
  --enable-mhash \
  --enable-mcrypt \
  --with-mhash=/usr/local/lib \
  --with-mcrypt=/usr/local/lib \
  --with-dom \
  --with-gd \
  --with-gettext \
  --with-mysql=/usr/local/mysql \
  --with-regex=system \
  --with-xml \
  --with-zlib-dir=/usr/lib \
  --prefix=/usr/local

make

Expected result:
----------------
libphp5.so built

Actual result:
--------------
libphp5.so not built, only libphp5.a

The same configuration did work when I last installed 
PHP-4.3.9 on this machine.

I am using the SCO bundled toolchain to build this.  I 
tried building gcc-3.4.6 and using that, but have the 
same problems.

I also tried just to configure as:

CC=cc LD=/usr/ccs/bin/ld LDFLAGS="-L/usr/ccs/lib" ./
configure \
  --with-apxs=/www/bin/apxs \
  --prefix=/usr/local

Same problem.

More details available upon request, I'm not sure what 
all to include.


As a side note, I had to make a few quick changes to get 
it to compile on Unixware 7.1.0:

ext/hash/hash_ripemd.c:
  Unixware 7.1.0 did not like the static unsigned char 
SS[80] assignment, I changed the name of SS to something 
else, and in the following macro definitions, and all 
was fine.

ext/sqlite/sqlite.c
Did not like enum callback_prep_t { DO_REG, SKIP_REG, 
ERR }; I had to change ERR to something else and also 
changing references in the rest of the code.

-- 
Edit bug report at http://bugs.php.net/?id=38952&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=38952&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=38952&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=38952&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=38952&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=38952&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=38952&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=38952&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=38952&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=38952&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=38952&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=38952&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=38952&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=38952&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=38952&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=38952&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=38952&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=38952&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=38952&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=38952&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=38952&r=mysqlcfg

Reply via email to