Kann PHP nicht installieren

Frank Lohmann F-.Lohmann at t-online.de
Thu Jan 22 12:42:44 CET 2004


Hallo,
ich bin total neu auf dem Gebiet mit PHP und Apache
und wollte die Programme installieren. Nach dem Handbuch habe ich es
bisher ausgeführt, kann aber dann den Befehl  -- make install -- nicht
ausführen.

Tut mir Leid das dieses Skript so blöd formatiert ist.

1. was mache ich falsch?
2. sind in dem Skript irgend welche Fehler?
	
	- ich brauche nötige Hilfe


linux:/home/fraloh/Programme/Web_Entwicklung # ls
.  ..  apache_1.3.28  apache_1.3.28.tar.gz  php-4.3.4  php-4.3.4.tar.gz
linux:/home/fraloh/Programme/Web_Entwicklung # cd apache_1.3.28
linux:/home/fraloh/Programme/Web_Entwicklung/apache_1.3.28 # ./configure
--prefix=/usr/local/apache
Configuring for Apache, Version 1.3.28
   + using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
   + configured for Linux platform
Error: could not find any of these C compilers
   anywhere in your PATH:  gcc cc acc c89
Configure terminated
linux:/home/fraloh/Programme/Web_Entwicklung/apache_1.3.28 # ./configure
--prefix=/usr/local/apache
Configuring for Apache, Version 1.3.28
   + using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
   + configured for Linux platform
   + setting C compiler to gcc
   + setting C pre-processor to gcc -E
   + using "tr [a-z] [A-Z]" to uppercase
   + checking for system header files
   + adding selected modules
   + using builtin Expat
   + checking sizeof various data types
   + doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed.  The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.

======== Error Output for sanity check ========
./helpers/TestCompile: line 1: make: command not found
============= End of Error Report =============

Aborting!
linux:/home/fraloh/Programme/Web_Entwicklung/apache_1.3.28 # cd ..
linux:/home/fraloh/Programme/Web_Entwicklung # ls
.  ..  apache_1.3.28  apache_1.3.28.tar.gz  php-4.3.4  php-4.3.4.tar.gz
linux:/home/fraloh/Programme/Web_Entwicklung # cd php-4.3.4
linux:/home/fraloh/Programme/Web_Entwicklung/php-4.3.4 # ./configure
--with-apache=../apache_1.3.28 -- enable-inline-optimization \
  > --with-mysql=/usr
configure: error: --: invalid option; use --help to show usage
linux:/home/fraloh/Programme/Web_Entwicklung/php-4.3.4 # ./configure
--with-apache=../apache_1.3.28 --enable-inline-optimization
--with-mysql=/usr
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for re2c... exit 0;
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for gawk... gawk
checking for bison... no
checking for byacc... no
configure: warning: You will need bison if you want to regenerate the
PHP parsers.
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: line 2425: lex: command
not found
configure: error: cannot find output from lex; giving up
linux:/home/fraloh/Programme/Web_Entwicklung/php-4.3.4 # ls
.                   Makefile.global
README.SUBMITTING_PATCH   acconfig.h.in  config.sub       install-sh
          pear                 snapshot
..                  Makefile.objects                  README.TESTING
          acinclude.m4   configure        libs                  php.gif
              stamp-h.in
.gdbinit            NEWS
README.UNIX-BUILD-SYSTEM  aclocal.m4     configure.in     ltmain.sh
          php.ini-dist         stub.c
CODING_STANDARDS    README.CVS-RULES                  README.Zeus
          build          cvsclean         main
php.ini-recommended  tests
CREDITS             README.EXTENSIONS                 TODO
          buildconf      ext              makedist
php4.spec.in         win32
EXTENSIONS          README.EXT_SKEL                   TODO.BUILDv5
          confdefs.h     footer           makedist.ZendEngine2  regex
INSTALL             README.PARAMETER_PARSING_API      TODO_SEGFAULTS
          config.cache   generated_lists  makerpm 
run-tests.php
LICENSE             README.QNX                        TSRM
          config.guess   genfiles         missing
run-tests2.php
Makefile.frag       README.SELF-CONTAINED-EXTENSIONS  Zend
          config.log     header           mkinstalldirs         sapi
Makefile.fragments  README.STREAMS                    acconfig.h
          config.nice    include          netware               scripts

linux:/home/fraloh/Programme/Web_Entwicklung/php-4.3.4 # make
bash: make: command not found
linux:/home/fraloh/Programme/Web_Entwicklung/php-4.3.4 # make install
bash: make: command not found


wäre schön wenn mir jemand helfen könnte!

Danke und Gruß
Frank Lohmann




More information about the Linux mailing list