Avatar billede noem Nybegynder
23. juli 2002 - 12:39 Der er 10 kommentarer og
1 løsning

fejl veed kompiling

jeg er ved at compile de nyeste version af php men får ne fejl

hvad mangler jeg  ??

http://80.196.128.194/ind.html
Avatar billede dank Nybegynder
23. juli 2002 - 13:30 #1
er der ikke en config.log der afsører noget?
Avatar billede noem Nybegynder
23. juli 2002 - 13:38 #2
http:80.196.128.194/log.html

ikke noget der siger mig noget  :)
Avatar billede noem Nybegynder
23. juli 2002 - 13:38 #3
Avatar billede dank Nybegynder
23. juli 2002 - 13:47 #4
dette er ikke mit stærke område.. men jeg synes at huske at jeg har set et eller andet sted med en der havde samme problem, hvilket blev løst efter at han installerede

glibc-devel
Avatar billede noem Nybegynder
23. juli 2002 - 13:59 #5
efter at have installeret libglib2.0-dev

kommer den lidt videre:

debian:/var/www/php-4.2.2# ./configure --with-mysql --with--apach=/etc/apache
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking host system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of Makefiles... no
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 for style of include used by make... GNU
checking dependency style of gcc... none
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 for gcc option to accept ANSI C... none needed
checking whether compiler supports -R... no
checking whether compiler supports -Wl,-rpath,... yes
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for gawk... (cached) 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: lex: command not found
configure: error: cannot find output from lex; giving up
debian:/var/www/php-4.2.2#
Avatar billede noem Nybegynder
23. juli 2002 - 14:01 #6
efter jeg havede pastet dette installeret jeg bison så den fejl er der ikke mere nu er den bare:

debian:/var/www/php-4.2.2# ./configure --with-mysql --with--apach=/etc/apache
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking host system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of Makefiles... no
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 for style of include used by make... GNU
checking dependency style of gcc... none
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 for gcc option to accept ANSI C... none needed
checking whether compiler supports -R... no
checking whether compiler supports -Wl,-rpath,... yes
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for gawk... (cached) gawk
checking for bison... bison -y
checking bison version... 1.35 (ok)
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: lex: command not found
configure: error: cannot find output from lex; giving up
debian:/var/www/php-4.2.2#
Avatar billede dank Nybegynder
23. juli 2002 - 14:22 #7
Installer Flex :)
Avatar billede noem Nybegynder
23. juli 2002 - 14:43 #8
thx
Avatar billede Soren L. Hansen Nybegynder
23. juli 2002 - 14:46 #9
Og lav i øvrigt din configure-kommando om til:
./configure --with-mysql --with--apache=/etc/apache
Avatar billede noem Nybegynder
23. juli 2002 - 14:58 #10
hmm den har ikke opdateret min php efter jeg har
lavet
./configure --with-mysql --with--apache=/etc/apache
make
make install

skal det gøres et specialt sted eller en special måde ?
Avatar billede dank Nybegynder
23. juli 2002 - 15:12 #11
Tjaeee.. jeg har fulgt denne: http://www.php.net/manual/en/install.apache.php
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
IT-kurser om Microsoft 365, sikkerhed, personlig vækst, udvikling, digital markedsføring, grafisk design, SAP og forretningsanalyse.

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester