aMule Forum

English => aMule Help => Topic started by: Moetda on January 27, 2004, 12:16:52 AM

Title: Pb with make of wxGTK-2.4.2
Post by: Moetda on January 27, 2004, 12:16:52 AM
Hi

I'v folowed the Howto but at the end of the make i've got this messages  ?(
Can someone helps me  ;(

In file included from ./src/common/parser.y:127:
./src/common/lexer.l: Dans la fonction « wxExprCleanUp »:
./src/common/lexer.l:190: error: `PROIO_yy_current_buffer' undeclared (first use in this function)
./src/common/lexer.l:190: error: (Each undeclared identifier is reported only once
./src/common/lexer.l:190: error: for each function it appears in.)
make: *** [parser.o] Erreur 1

thank's in advance
Title: Re: Pb with make of wxGTK-2.4.2
Post by: deltaHF on January 27, 2004, 12:20:50 AM
do you have flex installed ?

greets
Title: Re: Pb with make of wxGTK-2.4.2
Post by: Moetda on January 27, 2004, 12:30:21 AM
Yes i've had this message once
I forgot to say i'm a newbie and I use Knoppix (Debian based)

I've tried make uninstall, make clean, apt-get install flex and I've the 2.5.31-16 version

Then one more time make and one more time the same error

Oh may be it need's a ldconfig ?
Title: Re: Pb with make of wxGTK-2.4.2
Post by: deltaHF on January 27, 2004, 12:34:14 AM
after installing a new pkg, u have to rerun the ./configure script first
Title: Re: Pb with make of wxGTK-2.4.2
Post by: Moetda on January 27, 2004, 12:36:10 AM
Ok I do it again  :]
Title: Re: Pb with make of wxGTK-2.4.2
Post by: Moetda on January 27, 2004, 02:14:35 PM
Well I've done :

make uninstall
make clean
./configure --prefix=/usr --disable-gtk2 --enable-timedate --enable-gui --enable-protocol --enable-http --enable-ftp --enable-resources --enable-prologio --disable-debug --enable-final --enable-timer --with-gtk --disable-profile
make
 
And unfortunately I've the same result  ;(
Title: Re: Pb with make of wxGTK-2.4.2
Post by: deltaHF on January 27, 2004, 02:21:51 PM
ok, i found smth else:

Quote
This is a well know problem i have when helping another user, to fix :

- Edit wxGTK-2.4.2/src/common/lexer.l
- Go to the end of file and remove :
Code: [Select]
#ifdef FLEX_SCANNER
        if (yy_current_buffer)
                yy_delete_buffer(yy_current_buffer);
#endif
Then relaunch make as usual ...

A++
Title: Re: Pb with make of wxGTK-2.4.2
Post by: Moetda on January 27, 2004, 02:59:31 PM
And you know what ??

It works ! :D

I've a low id but i will found why

Thanks a lot for your quickness and effectivness  8)
Title: Re: Pb with make of wxGTK-2.4.2
Post by: deltaHF on January 27, 2004, 03:09:00 PM
ur welcome :)