LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   LEX failed during compiling GIMP, MDK 9.2 (https://www.linuxquestions.org/questions/linux-software-2/lex-failed-during-compiling-gimp-mdk-9-2-a-178713/)

Ygarl 05-06-2004 05:59 PM

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

:scratch: :scratch: :scratch: :scratch:

rootboy 05-06-2004 08:05 PM

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


All times are GMT -5. The time now is 02:00 AM.