aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: feedback  (Read 2402 times)

rufus

  • Approved Newbie
  • *
  • Karma: -2
  • Offline Offline
  • Posts: 27
feedback
« on: January 02, 2007, 04:50:25 PM »

hello, I get the following when compiling amule 2.1.3+patch.

This is the relevant environment:

mac osx 10.4.8 (ppc)
Xcode 2.4.1
g++ --version: powerpc-apple-darwin8-g++-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5367)
libpng 1.2.14 (../configure --prefix=/usr/local)
gd 2.0.33-2 (../configure --prefix=/usr/local)
wxMac-2.8.0 (../configure --disable-shared --enable-unicode --prefix=/usr/local )

These are the parameters for aMule's makefile configuration:

../configure --disable-systray --disable-gtk --enable-embedded_crypto --enable-cas --enable-webserver --enable-amulecmd --disable-debug --enable-optimize --disable-dependency-tracking CFLAGS="-arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk" CXXFLAGS="-arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk" --with-wx-config=/usr/local/bin/wx-config

Note. largefile is enabled by default on wxMac-2.8.0, but aMule's config still checks for it, and it fails. To avoid the error, I commented out the relevant part.

Messages from "configure":

checking for gdlib-config... /usr/local/bin/gdlib-config
checking for gdlib version >= 2.0.0... yes (version 2.0.33)
checking gd.h usability... no
checking gd.h presence... yes
configure: WARNING: gd.h: present but cannot be compiled
configure: WARNING: gd.h:     check for missing prerequisite headers?
configure: WARNING: gd.h: see the Autoconf documentation
configure: WARNING: gd.h:     section "Present But Cannot Be Compiled"
configure: WARNING: gd.h: proceeding with the preprocessor's result
configure: WARNING: gd.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------ ##
configure: WARNING:     ## Report this to admin@amule.org ##
configure: WARNING:     ## ------------------------------ ##
checking for gd.h... yes


checking libintl.h usability... no
checking libintl.h presence... yes
configure: WARNING: libintl.h: present but cannot be compiled
configure: WARNING: libintl.h:     check for missing prerequisite headers?
configure: WARNING: libintl.h: see the Autoconf documentation
configure: WARNING: libintl.h:     section "Present But Cannot Be Compiled"
configure: WARNING: libintl.h: proceeding with the preprocessor's result
configure: WARNING: libintl.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------ ##
configure: WARNING:     ## Report this to admin@amule.org ##
configure: WARNING:     ## ------------------------------ ##
checking for libintl.h... yes

Make is successful.

When using the application, the GUI is usable, but has evident problems.
« Last Edit: January 02, 2007, 07:53:21 PM by rufus »
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Re: feedback
« Reply #1 on: January 07, 2007, 05:50:11 PM »

I would leave off the CFLAGS and CXXFLAGS.  Since you're only specifying the same architecture and OS version SDK that you're building on, they are redundant.  However, their presence may be preventing the headers from passing the tests.

If you choose to keep those flags, then you probably should set CPPFLAGS, too, to be consistent.

Lastly, what sort of "evident problems" are you reporting.  If you want help resolving them, we'll need more details.
Logged