aMule Forum

English => Compilation problems => Topic started by: armadillo on May 18, 2008, 03:28:19 PM

Title: Compilation ERROR on Lepard Intel
Post by: armadillo on May 18, 2008, 03:28:19 PM
If using "-enable_webserver" parameter while configure, then an error occurs:

error: libintl.h: No such file or directory

WebInterface.cpp:50:22: error: libintl.h: No such file or directory
WebInterface.cpp:50:22: error: libintl.h: No such file or directory
WebInterface.cpp: In member function ‘virtual wxString CamulewebApp::SetLocale(const wxString&)’:
WebInterface.cpp:783: error: ‘bindtextdomain’ was not declared in this scope
WebInterface.cpp:787: error: ‘bind_textdomain_codeset’ was not declared in this scope
WebInterface.cpp:790: error: ‘textdomain’ was not declared in this scope
WebInterface.cpp: In member function ‘virtual wxString CamulewebApp::SetLocale(const wxString&)’:
WebInterface.cpp:783: error: ‘bindtextdomain’ was not declared in this scope
WebInterface.cpp:787: error: ‘bind_textdomain_codeset’ was not declared in this scope
WebInterface.cpp:790: error: ‘textdomain’ was not declared in this scope
lipo: can't figure out the architecture type of: /var/folders/H2/H2VTENrBGviv8JlMZWy1Uk+++TI/-Tmp-//ccwijk0F.out
make[4]: *** [amuleweb-WebInterface.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

However if  disable webserver while configure, I can compile it successfully. This error just appears recently.
Title: Re: Compilation ERROR on Lepard Intel
Post by: wuischke on May 19, 2008, 01:04:08 AM
This error shouldn't happen, because there should be a test to avoid this.

Just to make sure: Do you have gettext installed?
Title: Re: Compilation ERROR on Lepard Intel
Post by: GonoszTopi on May 19, 2008, 01:05:19 AM
Fixed.
Title: Re: Compilation ERROR on Lepard Intel
Post by: armadillo on May 19, 2008, 05:01:36 AM
This error shouldn't happen, because there should be a test to avoid this.

Just to make sure: Do you have gettext installed?

of course.
Title: Re: Compilation ERROR on Lepard Intel
Post by: armadillo on May 19, 2008, 05:05:19 AM
Fixed.


thx,I'll have a try.
Title: Re: Compilation ERROR on Lepard Intel
Post by: kreegee on May 27, 2008, 01:20:24 PM
same problem here with 20080527 - no matter if gettext is installed or not...
Title: Re: Compilation ERROR on Lepard Intel
Post by: wuischke on May 27, 2008, 04:07:25 PM
kreegee: Does the file libintl.h exist on your file system? If yes, where?