aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Enable UPnP while compilling?  (Read 6774 times)

armadillo

  • Approved Newbie
  • *
  • Karma: 2
  • Offline Offline
  • Posts: 24
Enable UPnP while compilling?
« on: July 12, 2008, 07:54:49 PM »

when I configure, with parameters ./configure --disable-systray --disable-gtk --enable-embedded_crypto               --with-wx-config=../wxMac-2.8.8/build/wx-config               --enable-cas --enable-webserver --enable-amulecmd               --disable-debug --disable-optimize --with-crypto-prefix=/usr/local/cryptopp               --disable-dependency-tracking            CFLAGS="-arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4"            CXXFLAGS="-arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4" --with-libupnp-prefix=../libupnp-1.6.6/build

I‘ve compiled and install libupp-1.6.6 with it's default parameters (configure->make->make install), but while configure aMule-SVN-20080712, it still says “WARNING! UPnP code has been disabled because libupnp >= 1.6.6 not found”. How to solve this problem? Thanks!
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: Enable UPnP while compilling?
« Reply #1 on: July 13, 2008, 05:59:40 AM »

Quote
--with-libupnp-prefix=../libupnp-1.6.6/build

Did you try it with an absolute path? IIRC, configure will choke on a relative path.

Also, if you did "make install" with libupnp, you should not need to specify --with-libupnp-prefix, unless you don't have "/usr/local/lib" in your /etc/ld.so.conf file. In this case, add it and run "ldconfig" as root.
Logged

armadillo

  • Approved Newbie
  • *
  • Karma: 2
  • Offline Offline
  • Posts: 24
Re: Enable UPnP while compilling?
« Reply #2 on: July 13, 2008, 06:36:31 PM »

I try /usr/lib and succeed, thx!
Logged