aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Failed to build CVS 20080514 on Mac OS X Intel  (Read 3955 times)

tdttester

  • Approved Newbie
  • *
  • Karma: 2
  • Offline Offline
  • Posts: 11
Failed to build CVS 20080514 on Mac OS X Intel
« on: May 14, 2008, 05:13:59 PM »

I'm getting this on the make process:

   then mv -f ".deps/amuleweb-UPnPCompatibility.Tpo" ".deps/amuleweb-UPnPCompatibility.Po"; else rm -f ".deps/amuleweb-UPnPCompatibility.Tpo"; exit 1; fi
g++  -I/usr/include -D__CRYPTO_INSTALLED__ -D__WEAK_CRYPTO__  -W -Wall -Wshadow -Wundef -O2  -DUSE_WX_EXTENSIONS  -bind_at_load -L/usr/lib  -lpthread -o amuleweb -L/usr/local/lib -L../../libs/common -L../../libs/ec/cpp amuleweb-WebServer.o amuleweb-WebInterface.o amuleweb-WebSocket.o amuleweb-ExternalConnector.o amuleweb-OtherFunctions.o amuleweb-RLE.o amuleweb-NetworkFunctions.o amuleweb-php_parser.o amuleweb-php_lexer.o amuleweb-php_syntree.o amuleweb-php_amule_lib.o amuleweb-php_core_lib.o amuleweb-UPnP.o amuleweb-UPnPCompatibility.o  -lec -lmulecommon -L/Users/josep/amule/wxMac-2.8.7/build/lib   -framework IOKit -framework Carbon -framework Cocoa -framework System -framework QuickTime  /Users/josep/amule/wxMac-2.8.7/build/lib/libwx_base_carbonu_net-2.8.a /Users/josep/amule/wxMac-2.8.7/build/lib/libwx_base_carbonu-2.8.a -lwxregexu-2.8 -lwxtiff-2.8 -lz -lpthread -liconv   -lreadline -lpng12    -lz
Undefined symbols:
  "_libintl_textdomain", referenced from:
      CamulewebApp::SetLocale(wxString const&) in amuleweb-WebInterface.o
  "_libintl_bind_textdomain_codeset", referenced from:
      CamulewebApp::SetLocale(wxString const&) in amuleweb-WebInterface.o
  "_libintl_bindtextdomain", referenced from:
      CamulewebApp::SetLocale(wxString const&) in amuleweb-WebInterface.o
  "_libintl_gettext", referenced from:
      php_native_gettext(PHP_VALUE_NODE*)      in amuleweb-php_core_lib.o
  "_libintl_ngettext", referenced from:
      php_native_ngettext(PHP_VALUE_NODE*)      in amuleweb-php_core_lib.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[4]: *** [amuleweb] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


Logged

gtoso

  • Official MacOSX Packager
  • Full Member
  • ***
  • Karma: 24
  • Offline Offline
  • Posts: 206

Hi,
same compilation problem on Tiger PPC.

I successfully compiled 200805 10 and 13,
from 14 something has broken.

Comparing 13 and 14 building log (in attach) I see missing "-lintl" g++ option building amuleweb.

Code: [Select]
< g++  -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -O2 -I/opt/local/include -D__CRYPTO_INSTALLED__ -D__WEAK_CRYPTO__  -W -Wall -Wshadow -Wundef -O2
 -DUSE_WX_EXTENSIONS  -L/opt/local/lib -bind_at_load -L/opt/local/lib  -lpthread -o amuleweb -L/opt/local/lib -L../../libs/common -L../../libs/ec/cpp amuleweb-WebServe
r.o amuleweb-WebInterface.o amuleweb-WebSocket.o amuleweb-ExternalConnector.o amuleweb-OtherFunctions.o amuleweb-RLE.o amuleweb-NetworkFunctions.o amuleweb-php_parser.
o amuleweb-php_lexer.o amuleweb-php_syntree.o amuleweb-php_amule_lib.o amuleweb-php_core_lib.o amuleweb-UPnP.o amuleweb-UPnPCompatibility.o  -lec -lmulecommon -L/Users
/gtoso/mulo/wxMac-2.8.7/osx-build-noports/lib  -arch ppc -arch i386  -framework IOKit -framework Carbon -framework Cocoa -framework System -framework QuickTime  /Users
/gtoso/mulo/wxMac-2.8.7/osx-build-noports/lib/libwx_base_carbonu_net-2.8.a /Users/gtoso/mulo/wxMac-2.8.7/osx-build-noports/lib/libwx_base_carbonu-2.8.a -lwxregexu-2.8
-lwxexpat-2.8 -lwxtiff-2.8 -lwxjpeg-2.8 -lwxpng-2.8 -lz -lpthread -liconv   -lreadline -lncurses -lpng12    -lintl -lz

> g++  -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -O2 -I/opt/local/include -D__CRYPTO_INSTALLED__ -D__WEAK_CRYPTO__  -W -Wall -Wshadow -Wundef -O2
 -DUSE_WX_EXTENSIONS  -L/opt/local/lib -bind_at_load -L/opt/local/lib  -lpthread -o amuleweb -L/opt/local/lib -L../../libs/common -L../../libs/ec/cpp amuleweb-WebServe
r.o amuleweb-WebInterface.o amuleweb-WebSocket.o amuleweb-ExternalConnector.o amuleweb-OtherFunctions.o amuleweb-RLE.o amuleweb-NetworkFunctions.o amuleweb-php_parser.
o amuleweb-php_lexer.o amuleweb-php_syntree.o amuleweb-php_amule_lib.o amuleweb-php_core_lib.o amuleweb-UPnP.o amuleweb-UPnPCompatibility.o  -lec -lmulecommon -L/Users
/gtoso/mulo/wxMac-2.8.7/osx-build-noports/lib  -arch ppc -arch i386  -framework IOKit -framework Carbon -framework Cocoa -framework System -framework QuickTime  /Users
/gtoso/mulo/wxMac-2.8.7/osx-build-noports/lib/libwx_base_carbonu_net-2.8.a /Users/gtoso/mulo/wxMac-2.8.7/osx-build-noports/lib/libwx_base_carbonu-2.8.a -lwxregexu-2.8
-lwxexpat-2.8 -lwxtiff-2.8 -lwxjpeg-2.8 -lwxpng-2.8 -lz -lpthread -liconv   -lreadline -lncurses -lpng12    -lz

« Last Edit: May 17, 2008, 12:31:01 PM by gtoso »
Logged

gtoso

  • Official MacOSX Packager
  • Full Member
  • ***
  • Karma: 24
  • Offline Offline
  • Posts: 206

Comparing 13 and 14 building log (in attach) I see missing "-lintl" g++ option building amuleweb.

The problem may be here:

super:~/mulo gtoso$ diff amule-cvs.20080513/src/webserver/src/Makefile.in amule-cvs.20080514/src/webserver/src/Makefile.in     
49d48
< @COMPILE_NLS_TRUE@am__append_4 = -lintl
360,361c359,360
<       $(READLINE_LIBS) $(LIBPNG_LIBS) $(RESOLV_LIB) $(BFD_LIB) \
<       $(REGEX_LIB) $(am__append_4)
---
>       $(READLINE_LIBS) $(LIBPNG_LIBS) $(RESOLV_LIB) $(BFD_LIB) $(REGEX_LIB)
>
super:~/mulo gtoso$

Logged

gtoso

  • Official MacOSX Packager
  • Full Member
  • ***
  • Karma: 24
  • Offline Offline
  • Posts: 206

Yes,
I'm tring to compile 20080517 with this simple reverse patch and it seems to go:

Code: [Select]
--- amule-cvs.20080514/src/webserver/src/Makefile.in    2008-05-14 07:01:41.000000000 +0200
+++ amule-cvs.20080513/src/webserver/src/Makefile.in    2008-05-13 07:01:40.000000000 +0200
@@ -46,6 +46,7 @@
 
 @ENABLE_UPNP_TRUE@am__append_2 = -DENABLE_UPNP
 @ENABLE_UPNP_TRUE@am__append_3 = -DENABLE_UPNP
+@COMPILE_NLS_TRUE@am__append_4 = -lintl
 subdir = src/webserver/src
 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
        $(srcdir)/Makefile.in
@@ -356,8 +357,8 @@
        $(am__append_3)
 amuleweb_LDFLAGS = $(LIBPNG_LDFLAGS) -L../../libs/common -L../../libs/ec/cpp
 amuleweb_LDADD = -lec -lmulecommon $(WXBASE_LIBS) $(ZLIB_LIBS) \
-       $(READLINE_LIBS) $(LIBPNG_LIBS) $(RESOLV_LIB) $(BFD_LIB) $(REGEX_LIB)
-
+       $(READLINE_LIBS) $(LIBPNG_LIBS) $(RESOLV_LIB) $(BFD_LIB) \
+       $(REGEX_LIB) $(am__append_4)
 noinst_HEADERS = \
                 WebInterface.h \
                 WebServer.h \
« Last Edit: May 17, 2008, 02:05:09 PM by gtoso »
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: Failed to build CVS 20080514 on Mac OS X Intel
« Reply #4 on: May 19, 2008, 01:04:09 AM »

Fixed, hopefully. Please try next tarball.
Logged
concordia cum veritate

gtoso

  • Official MacOSX Packager
  • Full Member
  • ***
  • Karma: 24
  • Offline Offline
  • Posts: 206
Re: Failed to build CVS 20080514 on Mac OS X Intel
« Reply #5 on: May 19, 2008, 06:12:42 PM »

Thanks,
20080519 compiled successfully.

Logged