#18868 [NEW]: Ref : Bug #9469 HAVE_REALPATH not being checked : not yet fixed in TSRM
| From: | php_bug at caesura dot co dot uk | Date: | Mon, 12 Aug 2002 16:11:34 +0000 |
| Subject: | #18868 [NEW]: Ref : Bug #9469 HAVE_REALPATH not being checked : not yet fixed in TSRM | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-16546@lists.php.net to get a copy of this message | ||
From: php_bug@caesura.co.uk
Operating system: AIX 3.2.5
PHP version: 4.2.2
PHP Bug Type: Compile Failure
Bug description: Ref : Bug #9469 HAVE_REALPATH not being checked : not yet fixed in TSRM
Ref : Bug #9469 HAVE_REALPATH not being checked : not yet fixed in TSRM?
System :
AIX 3.2.5, apache 1.3.12, GNU Make version 3.76.1, gcc version 2.8.1
I configured and built php 4.2.2 in its own directory ok (my "gnu_make" is
to differentiate from the IBM one) :
% ./configure --with-apache=/usr/local/source/apache_1.3.12
% gnu_make
% gnu_make install
% cd ../apache_1.3.12
./configure --prefix=/www --activate module=src/modules/php4/libphp4.a
but ...
% gnu_make
...
gcc -DAIX=30 -DNEED_RLIM_T -U__STR__ -I/usr/local/source/php-4.2.2
-I/usr/local/source/php-4.2.2/main -I/usr/local/source/php-4.2.2/main
-I/usr/local/source/php-4.2.2/Zend -I/usr/local/source/php-4.2.2/Zend
-I/usr/local/source/php-4.2.2/TSRM -I/usr/local/source/php-4.2.2/TSRM
-I/usr/local/source/php-4.2.2 -DUSE_EXPAT -I./lib/expat-lite
-DNO_DL_NEEDED
./apaci \
-o httpd buildmark.o modules.o modules/php4/libphp4.a
modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a
lib/expat-lite/libexpat.a -Lmodules/php4 -L../modules/php4
-L../../modules/php4 -lmodphp4 -lm
collect2: ld returned 8 exit status
0706-317 ERROR: Unresolved or undefined symbols detected:
Symbols in error (followed by references) are
dumped to the load map.
The -bloadmap:<filename> option will create a load map.
.realpath
gnu_make[2]: *** [target_static] Error 1
gnu_make[2]: Leaving directory `/usr/local/source/apache_1.3.12/src'
gnu_make[1]: *** [build-std] Error 2
gnu_make[1]: Leaving directory `/usr/local/source/apache_1.3.12'
gnu_make: *** [build] Error 2
Do TSRM/tsrm_virtual_cwd.c/h (and others?) need to be updated with a check
for HAVE_REALPATH. It seems AIX 3.2.5 does not have realpath(), just like
Win32 and BEOS ...
--
Edit bug report at http://bugs.php.net/?id=18868&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18868&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18868&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18868&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18868&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18868&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18868&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18868&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18868&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18868&r=globals