sheeze Posted February 26, 2007 Share Posted February 26, 2007 Hello, I'm trying to install php5 on aix 5.2 I run the configure script that seems to run just fine (I think :queasy: ) and then then the make command (that run fine aswell) but the make install command fails. this is the output i get after running it: echo '\ \ echo '\ \ Installing PHP SAPI module: cgi Installing PHP CGI into: /usr/local/bin/ cp: sapi/cgi/php: No such file or directory make: The error code from the last command is 1. Stop. After checking the output of the configure script aswell, I saw it really don't generate the php file, here is the output: Generating files creating ./config.status creating php5.spec creating main/build-defs.h creating scripts/phpize creating scripts/man1/phpize.1 creating scripts/php-config creating scripts/man1/php-config.1 creating sapi/cli/php.1 creating main/php_config.h creating main/internal_functions.c creating main/internal_functions_cli.c +--------------------------------------------------------------------+ | *** WARNING *** | | | | You will be compiling the CGI version of PHP without any | | redirection checking. By putting this cgi binary somewhere in | | your web space, users may be able to circumvent existing .htaccess | | security by loading files directly through the parser. See | | http://www.php.net/manual/security.php for more details. | +--------------------------------------------------------------------+ | License: | | This software is subject to the PHP License, available in this | | distribution in the file LICENSE. By continuing this installation | | process, you are bound by the terms of this license agreement. | | If you do not agree with the terms of this license, you must abort | | the installation process at this point. | +--------------------------------------------------------------------+ Thank you for using PHP. I included here the last 50 lines of the configure.log file aswell, here it is: configure:105699: checking for executable suffix configure:105900: checking for c++ configure:105932: checking whether the C++ compiler (g++ ) works configure:105948: g++ -o conftest conftest.C 1>&5 configure:105974: checking whether the C++ compiler (g++ ) is a cross-compiler configure:105979: checking whether we are using GNU C++ configure:106007: checking whether g++ accepts -g configure:106056: g++ -c -g -O2 conftest.C 1>&5 configure:106073: g++ -c -g -O2 conftest.C 1>&5 configure: In function 'int main()': configure:106069: error: 'exit' was not declared in this scope configure: failed program was: #line 106066 "configure" #include "confdefs.h" int main() { exit (42); ; return 0; } configure:106056: g++ -c -g -O2 conftest.C 1>&5 configure:106073: g++ -c -g -O2 conftest.C 1>&5 configure:106095: checking how to run the C++ preprocessor configure:106144: checking the maximum length of command line arguments configure:106245: checking command to parse /usr/bin/nm -B output from gcc object configure:106434: checking for objdir configure:106500: checking for ar configure:106567: checking for ranlib configure:106634: checking for strip configure:106971: checking if gcc static flag works configure:107021: checking if gcc supports -fno-rtti -fno-exceptions configure:107071: checking for gcc option to produce PIC configure:107341: checking if gcc supports -c -o file.o configure:107412: checking whether the gcc linker (/usr/bin/ld) supports shared libraries configure:107801: gcc -o conftest -I/usr/include -g -O2 conftest.c 1>&5 configure:108309: checking dynamic linker characteristics configure:108883: checking how to hardcode library paths into programs configure:108921: checking whether stripping libraries is possible configure:109506: checking if libtool supports shared libraries configure:109510: checking whether to build shared libraries configure:109533: checking whether to build static libraries configure:110202: checking for ld used by g++ configure:110274: checking if the linker (/usr/bin/ld) is GNU ld configure:110340: checking whether the g++ linker (/usr/bin/ld) supports shared libraries configure:110473: g++ -o conftest -g -O2 conftest.cpp 1>&5 configure:111180: g++ -c -g -O2 conftest.cpp 1>&5 configure:111290: checking for g++ option to produce PIC configure:111624: checking if g++ supports -c -o file.o configure:111695: checking whether the g++ linker (/usr/bin/ld) supports shared libraries configure:111781: checking dynamic linker characteristics configure:112355: checking how to hardcode library paths into programs configure:112393: checking whether stripping libraries is possible If you want more information about my system, let me know Any help will be appriciated! Thanks in advance! Quote Link to comment Share on other sites More sharing options...
sheeze Posted February 26, 2007 Author Share Posted February 26, 2007 fixed found the problem here http://bugs.php.net/bug.php?id=39795 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.