Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> ./configure Problem With Mdk9.1, Configuring PHP with mysql support
penz
post Jul 9 2003, 01:52 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 9-July 03
Member No.: 1,070



Hi,

I am following the procedure in the PHP manual to configure PHP for use with MYSQL.

When I run ./configure --with-mysql --with..............
It stops after a few seconds complaining that it can find output from Lex.

I am new to linux and probably jumping in deeper than I should, howevwe I gotta learn somehow.....

Here is a section of the output from the configure script:

creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
Updated main/php_version.h
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 ranlib... ranlib
checking whether ln -s works... yes
checking for gawk... 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: line 2356: lex: command not found
configure: error: cannot find output from lex; giving up

Any suggestions????

penz
Go to the top of the page
 
+Quote Post
crash3m
post Jul 9 2003, 05:16 AM
Post #2


Whats this Lie-nix Thing?
*

Group: Members
Posts: 9
Joined: 9-July 03
Member No.: 1,072



Your going about this the hard way...
urpmi php-mysql

and your done smile.gif
Go to the top of the page
 
+Quote Post
Corey
post Jul 9 2003, 08:19 AM
Post #3


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 1,254
Joined: 21-September 02
From: St John's, Newfoundland, Canada
Member No.: 3



However, if you do want to compile everything, you need the package "flex" according to that error.

ftp://ftp.gnu.org/gnu/non-gnu/flex/flex-2.5.27.tar.gz


--------------------
Corey Quilliam
(former) Linuxhelp.ca Administrator
cquilliam-AT-gmail-dot-com

Want to help out Linuxhelp.net? Check out our Linuxhelp Wiki and see if there are some articles you would like to submit!!

--
Ubuntu 8.04 64-bit - Work Laptop (HP-Compaq NC6400 Core2)
Kubuntu 8.04 64-bit - Desktop (HP m8120n QuadCore)
Ubuntu 6.04 - Server (I'm not upgrading this baby until support runs out in 2012) (Some old POS dell)
Go to the top of the page
 
+Quote Post
penz
post Jul 9 2003, 09:04 PM
Post #4


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 9-July 03
Member No.: 1,070



Thanks,

I crashed and burned with something else so ended up re-installing.

I'll try your suggestions tonight.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th October 2017 - 04:37 AM