LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 05-06-2004, 06:59 PM   #1
Ygarl
Member
 
Registered: Mar 2004
Location: London, UK
Distribution: Ubuntu Breezy and Dyne:Bolic
Posts: 64

Rep: Reputation: 15
LEX failed during compiling GIMP, MDK 9.2


Hi!
I gave this a runthough, trying to get the new version of GIMP-print (via Sourceforge - you guys rule!) to compile and it gave me this gumph at the end...

Any idears? I'm a sad newbie in Linux World here, but I can't figure why it's freaking out. I also can't find lex anywheres in me PC when I look for it (via searches, not just 'looking' through directories, of course!).
Heeelllpp!!
______________________________________________________________
[root@localhost gimp-print-4.2.6]# sh configure
creating 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... found
checking for working automake... missing
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... i686-pc-linux-gnu
checking for cups-config... /usr/bin/cups-config
checking whether to build CUPS driver... yes
checking whether to build translated CUPS PPD files... yes
checking whether to use level 3 PostScript... no
checking whether to build ghostscript driver... no
checking for foomatic-configure... /usr/bin/foomatic-configure
checking whether to build foomatic data files... yes
checking for foomatic-ppdfile... /usr/bin/foomatic-ppdfile
checking whether to make use of Foomatic 3.x features... yes
checking Foomatic printer IDs... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... ..................No entry with old Foomatic printer ID found!
checking whether to use the old numerical Foomatic printer IDs... no
checking for ijs-config... no
checking whether to build IJS driver... no
checking whether to turn on debugging in build... no
checking whether to use readline... yes
checking for gimp-config... no
checking whether to build GIMP plugin... no
checking whether to install sample images... yes
checking whether to install user guide... yes
checking whether to build escputil... yes
checking whether to build testpattern generator... no
checking whether to build test programs... no
checking if user install is enabled... no
checking for strerror in -lcposix... no
checking for mawk... no
checking for gawk... gawk
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 a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for bison... no
checking for byacc... no
checking how to run the C preprocessor... gcc -E
checking for flex... no
checking for lex... no
configure: line 2183: flex: command not found
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... configure: line 2271: lex: command not found
configure: error: cannot find output from lex; giving up

 
Old 05-06-2004, 09:05 PM   #2
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
Quote:

[root@localhost gimp-print-4.2.6]# sh configure
Looks like you were ruut. Good.


Quote:

checking for flex... lex
flex = lex. No problem.


Quote:

checking for yywrap in -ll... no
checking lex output file root... configure: line 2271: lex: command not found
configure: error: cannot find output from lex; giving up
Try installing flex (Redhat build).

ftp://at.rpmfind.net/linux/fedora/co...-31.1.i386.rpm


Or, build it yourself.

ftp://ftp.gnu.org/non-gnu/flex/
ftp://ftp.gnu.org/non-gnu/flex/flex-2.5.4a.tar.gz

Then try building Gimp again.


John
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
compiling the gimp Netsensei General 3 12-06-2005 03:27 AM
Problem with Gimp 2.0 [compiling] Tsukasa Linux - Software 0 04-12-2004 07:19 AM
True Type fonts and Gimp in MDK 9.2 ClayOgre Mandriva 4 01-20-2004 08:25 AM
Nessus install on mdk 9.1 errors w/ Neither lex nor flex are installed Hobbs Linux - Software 1 11-19-2003 02:57 PM
Compiling Gimp-Print Mikx Linux - Software 0 07-09-2003 10:09 AM


All times are GMT -5. The time now is 01:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration