aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Compilation ERROR on Lepard Intel  (Read 4569 times)

armadillo

  • Approved Newbie
  • *
  • Karma: 2
  • Offline Offline
  • Posts: 24
Compilation ERROR on Lepard Intel
« 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.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Compilation ERROR on Lepard Intel
« Reply #1 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?
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: Compilation ERROR on Lepard Intel
« Reply #2 on: May 19, 2008, 01:05:19 AM »

Fixed.
Logged
concordia cum veritate

armadillo

  • Approved Newbie
  • *
  • Karma: 2
  • Offline Offline
  • Posts: 24
Re: Compilation ERROR on Lepard Intel
« Reply #3 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.
Logged

armadillo

  • Approved Newbie
  • *
  • Karma: 2
  • Offline Offline
  • Posts: 24
Re: Compilation ERROR on Lepard Intel
« Reply #4 on: May 19, 2008, 05:05:19 AM »

Logged

kreegee

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 160
    • http://kreegee.cycovery.com
Re: Compilation ERROR on Lepard Intel
« Reply #5 on: May 27, 2008, 01:20:24 PM »

same problem here with 20080527 - no matter if gettext is installed or not...
« Last Edit: May 27, 2008, 01:22:46 PM by kreegee »
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Compilation ERROR on Lepard Intel
« Reply #6 on: May 27, 2008, 04:07:25 PM »

kreegee: Does the file libintl.h exist on your file system? If yes, where?
Logged