aMule Forum

English => Compilation problems => Topic started by: armadillo on July 12, 2008, 07:54:49 PM

Title: Enable UPnP while compilling?
Post by: armadillo 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!
Title: Re: Enable UPnP while compilling?
Post by: phoenix 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.
Title: Re: Enable UPnP while compilling?
Post by: armadillo on July 13, 2008, 06:36:31 PM
I try /usr/lib and succeed, thx!