Toon posts:

php compile LEX error

Pagina: 1
Acties:

Verwijderd

Topicstarter
Ok, systeen is debian potato versie, apache 1.3.30, mysql en ik probeer php 4.0.6 te compilen. Enig idee wat er mis gaat?
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
debian:/home/dignus/php-4.0.6# ./configure --with-gd --with-mysql=/var/lib/mysql/ --with-apxs=/etc/apache/bin/apxs 
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... i586-pc-linux-gnu
checking for gawk... no
checking for mawk... mawk
checking for bison... no
checking for byacc... no
configure: warning: You will need bison if you want to regenerate the PHP parsers.
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 how to run the C preprocessor... gcc -E
checking for AIX... no
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking whether gcc and cc understand -c and -o together... yes
checking whether ln -s works... yes
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:/home/dignus/php-4.0.6#

Verwijderd

dan moet je flex installeren, geen id hoe het onder debian geregeld is, anders had ik je de url gegeven van rpm-find.net ... kijk anders ff op freshmeat.net/sourceforge.net

  • balk
  • Registratie: Januari 2000
  • Laatst online: 16-08 11:37
apt-get update
apt-get install flex

Verwijderd

Topicstarter
Thx, hier zal het wel mee lukken.

Verwijderd

ik krijg hetzelfde probleem onder RH7.2, kan ik dat met dezelfde commando's oplossen?

  • ACM
  • Registratie: Januari 2000
  • Niet online

ACM

Software Architect

Werkt hier

Nope, in redhat moet je, uiteraard, de goede rpm's installeren.

Stop je cd er in en doe iets als rpm -Uvh /mnt/cdrom/RedHat/RPMS/flex*

Verwijderd

ok zal proberen!

als ik een cd had :)

RH7.1 ook goed?

Ook fijn is: een defect CD speler in je server :) :(

  • ACM
  • Registratie: Januari 2000
  • Niet online

ACM

Software Architect

Werkt hier

Op dinsdag 12 maart 2002 14:41 schreef daNpy het volgende:
RH7.1 ook goed?
Euh, nee dan kan je beter even de ftp bezoeken :)
ftp://ftp.nluug.nl/site/ftp.redhat.com/redhat/redhat-7.2en oid

Verwijderd

Op dinsdag 12 maart 2002 17:33 schreef ACM het volgende:

[..]

Euh, nee dan kan je beter even de ftp bezoeken :)
ftp://ftp.nluug.nl/site/ftp.redhat.com/redhat/redhat-7.2en oid
Ok, maar dan moet ik ook meteen Easy CD Creator 4 nemen want Nero kan geen iso's branden (toch?) Daar heb ik al 4 CD's mee vern&*kt :(

Wanneer komt RH7.3 (met zlib update :) )

  • ACM
  • Registratie: Januari 2000
  • Niet online

ACM

Software Architect

Werkt hier

Op woensdag 13 maart 2002 12:58 schreef daNpy het volgende:
Nero doet prima ISO's hier.


Maarreuhm waar wil jij de iso voor downloaden? Voor één bestandje??
Je gaat toch wel naar de 'os/i386/RedHat/RPMS' subdir van wat ik hiervoor al noemde?
En niet naar de 'iso/i386' subdir...

Verwijderd

Op woensdag 13 maart 2002 13:00 schreef ACM het volgende:

[..]

Nero doet prima ISO's hier.


Maarreuhm waar wil jij de iso voor downloaden? Voor één bestandje??
Je gaat toch wel naar de 'os/i386/RedHat/RPMS' subdir van wat ik hiervoor al noemde?
En niet naar de 'iso/i386' subdir...
Ehrr... ok ik weet niet psies hoe ik iso's moet branden >:)
er staat dan gewoon de .iso op CD :(

Enneh, ik heb 7.2 dus nog niet :)

Verwijderd

flex-rpm
Daar staat de RH7.2 rpm. Die zou je zo kunnen installeren

Verwijderd

ok thx
zal het vanav thuis proberen.
Als het werkt ben ik je ZEER dankbaar!!

Verwijderd

misschien heel erg n00b maar kan iemand ff zeggenn hoe ik deze op de juiste manier uitpak? :)

edit:

man rpm
rpm -i flex.~ |:( |:( |:( |:(


:)
Pagina: 1