#42318 [Asn]: problem with nm not finding object files
| From: | rainer dot tammer at schulergroup dot com | Date: | Fri, 17 Aug 2007 07:13:43 +0000 |
| Subject: | #42318 [Asn]: problem with nm not finding object files | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-116223@lists.php.net to get a copy of this message | ||
ID: 42318
User updated by: rainer dot tammer at schulergroup dot com
Reported By: rainer dot tammer at schulergroup dot com
Status: Assigned
Bug Type: Compile Failure
Operating System: AIX 5.2/5.3
PHP Version: 5.2.3
Assigned To: dmitry
New Comment:
Hello,
the CVS snapshot does not change this problem (compiler xl c/c++).
But to be sure I will also test gcc 3.3
Bye
Rainer
Previous Comments:
------------------------------------------------------------------------
[2007-08-17 06:20:19] rainer dot tammer at schulergroup dot com
Hello,
I will try the snapshot - no problem.
I think that this is a bit AIX / tools dependent.
On newer AIX systems (AIX 5.2/5.3) with AIX Toolbox libtool 1.5.x
the .libs is needed.
I will also try to build PHP with gcc. Maybe this has some influence on
the problem.
Libtool 1.5.8 and 1.5.24 defines the following on AIX:
# The name of the directory that contains temporary libtool files.
objdir=.libs
So ... this seams to be libtool related.
Bye
Rainer Tammer
------------------------------------------------------------------------
[2007-08-16 22:34:38] jani@php.net
Or not really broke but tried to fix. First fix was ok but for some
reason Dmitry removed the .libs part of it, perhaps he knows why..
------------------------------------------------------------------------
[2007-08-16 22:32:10] jani@php.net
And on second check: Assigning to Dmitry who broke this with his commit
to fix (!) AIX build. Dmitry:
cvs diff -r1.17.2.1 -r1.17.2.2 sapi/cgi/config9.m4
cvs diff -r1.22 -r1.22.2.1 sapi/cli/config.m4
------------------------------------------------------------------------
[2007-08-16 22:26:14] jani@php.net
Before we continue with any fixes, try the latest CVS snapshot first:
http://snaps.php.net/php5.2-latest.tar.gz
Also, some systems are known to ship with broken sed/awk.
Make sure you use GNU ones. Also, you'd have better luck by using also
gcc instead..
------------------------------------------------------------------------
[2007-08-16 15:54:20] rainer dot tammer at schulergroup dot com
Hello,
this is the error message:
nv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -o sapi/cli/php
nm: ext/libxml/libxml.o: 0654-200 Cannot open the specified file.
nm: A file or directory in the path name does not exist.
nm: ext/pcre/pcrelib/pcre_chartables.o: 0654-200 Cannot open the
specified file.
nm: A file or directory in the path name does not exist.
nm: ext/pcre/pcrelib/pcre_ucp_searchfuncs.o: 0654-200 Cannot open the
specified file.
nm: A file or directory in the path name does not exist.
nm: ext/pcre/pcrelib/pcre_compile.o: 0654-200 Cannot open the specified
file.
nm: A file or directory in the path name does not exist.
nm: ext/pcre/pcrelib/pcre_config.o: 0654-200 Cannot open the specified
file.
nm: A file or directory in the path name does not exist.
nm: ext/pcre/pcrelib/pcre_exec.o: 0654-200 Cannot open the specified
file.
nm: A file or directory in the path name does not exist.
nm: ext/pcre/pcrelib/pcre_fullinfo.o: 0654-200 Cannot open the
specified file.
nm: A file or directory in the path name does not exist.
nm: ext/pcre/pcrelib/pcre_get.o: 0654-200 Cannot open the specified
file.
nm: A file or directory in the path name does not exist.
With the proposed fix the nm command works correctly.
Bye
Rainer Tammer
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/42318
--
Edit this bug report at http://bugs.php.net/?id=42318&edit=1