aMule Forum
English => Compilation problems => Topic started by: tingo on August 22, 2008, 03:15:28 PM
-
Hello, I am trying to make a port of aMule 2.2.2 to FreeBSD, since the existing port is old, and the maintainer currently have other things in his life.
The port compie (builds) aMule just fine. However, when it comes to the install step, most man pages are NOT installed. Ther is no error message (at least that I can find), the man pages are just not installed.
configure line:
$ ./configure --disable-debug --mandir=/usr/local/man --without-included-gettext --with-wx-config=/usr/local/bin/wxgtk2u-2.8-config --with-gdlib-prefix=/usr/local --with-libpng-prefix=/usr/local --with-crypto-prefix=/usr/local --enable-monolithic --enable-optimize --enable-ed2k --enable-amulecmd --enable-webserver --enable-cas --enable-wxcas --enable-alc --enable-alcc --disable-amule-daemon --disable-amule-gui --with-wx-config=/usr/local/bin/wxgtk2u-2.8-config --localstatedir=/usr/local/share --with-html-dir=/usr/local/share/doc --disable-gtk-doc --with-gconf-source=xml:merged:/usr/local/etc/gconf/gconf.xml.defaults --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ --build=amd64-portbld-freebsd7.0
The whole config.log is attached.
What else is needed?
-
script -c make install would be nice.
-
script -c "make install"
-
script output from 'make install' is attached.
-
Ok, I have found out more (with help from the freebsd-ports mailing list).
FreeBSD's test command doesn't support '==' only '='. There are severla tests with '==' as operator in aMules configure, for example this one:
if test "$AMULE_DAEMON" == "yes"; then
and all those fails with 'unexpected operator'. For now, I will fix this in the port.
Is this something that the aMule developers can fix in the distribution?
-
Yes, it is. Once it has already been fixed, seems like we weren't careful enough. Will be fixed in next tarball.