ID:               40038
 User updated by:  ionut dot aivanesei at amdocs dot com
 Reported By:      ionut dot aivanesei at amdocs dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         Compile Failure
 Operating System: HP-UX, AIX
 PHP Version:      5.2.0
 New Comment:

I will also add here the beginning of the configure command:

--------------------------------------------------
creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking host system type... hppa2.0w-hp-hpux11.11
checking target system type... hppa2.0w-hp-hpux11.11
checking for gcc... no
checking for cc... cc
checking whether the C compiler (cc  ) works... yes
checking whether the C compiler (cc  ) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether cc accepts -g... yes
checking whether cc understands -c and -o together... yes
checking how to run the C preprocessor... cc -E
checking for AIX... no
checking whether ln -s works... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... no
checking for re2c... no
configure: warning: You will need re2c 0.9.11 or later if you want to
regenerate PHP parsers.
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking if awk is broken... no
checking for bison... no
checking for byacc... no
checking for bison version... invalid
configure: warning: bison versions supported for regeneration of the
Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 (found: none).
checking for flex... flex
checking for yywrap in -lfl... no
checking lex output file root... lex.yy
checking whether yytext is a pointer... no
checking for working const... yes
checking for flex version... 2.5.4 (ok)
checking whether to force non-PIC code in shared modules... no
checking for pthreads_cflags... -mt
checking for pthreads_lib...

Configuring SAPI modules
...

Thanks,
Ionutz


Previous Comments:
------------------------------------------------------------------------

[2007-01-05 22:11:01] [EMAIL PROTECTED]

Check your config.log and see what happened. The check 
involved is a standard compiler check (not unique to PHP).

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

[2007-01-05 22:05:32] ionut dot aivanesei at amdocs dot com

Description:
------------
When compiling PHP 5.2.0 on HP and AIX I get:
configure: error: installation or configuration problem: C++ compiler
cannot create executables.

On the same servers (3 HP<11.11|11.23> and 1 AIX) i succeded to compile
PHP 5.1.6 and also MySQL, Apache HTTPD, limxml2, openldap, libmcrypt,
etc.

Also, PHP 5.2.0 (and all others) I succeded to compile on other 4 SunOS
servers.


Reproduce code:
---------------
./configure --prefix=...


Expected result:
----------------
everythig should be OK

Actual result:
--------------
...
Configuring libtool
checking build system type... hppa2.0w-hp-hpux11.11
checking for non-GNU ld... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking how to recognise dependent libraries... file_magic
(s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library
checking for object suffix... o
checking for executable suffix... no
checking for c++... no
checking for g++... no
checking for gcc... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking whether the C++ compiler (gcc   ) works... no
configure: error: installation or configuration problem: C++ compiler
cannot create executables.



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


-- 
Edit this bug report at http://bugs.php.net/?id=40038&edit=1

Reply via email to