aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: FreeBSD port of aMule 2.2.2 - man pages are not installed  (Read 4048 times)

tingo

  • Approved Newbie
  • *
  • Karma: 2
  • Offline Offline
  • Posts: 18
FreeBSD port of aMule 2.2.2 - man pages are not installed
« 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:
Quote
  $ ./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?
Logged
--
Torfinn

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: FreeBSD port of aMule 2.2.2 - man pages are not installed
« Reply #1 on: August 22, 2008, 03:20:05 PM »

script -c make install would be nice.
Logged
Homefucking is killing prostitution

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: FreeBSD port of aMule 2.2.2 - man pages are not installed
« Reply #2 on: August 22, 2008, 04:03:51 PM »

script -c "make install"
Logged
concordia cum veritate

tingo

  • Approved Newbie
  • *
  • Karma: 2
  • Offline Offline
  • Posts: 18
Re: FreeBSD port of aMule 2.2.2 - man pages are not installed
« Reply #3 on: August 22, 2008, 04:25:37 PM »

script output from 'make install' is attached.
Logged
--
Torfinn

tingo

  • Approved Newbie
  • *
  • Karma: 2
  • Offline Offline
  • Posts: 18
Re: FreeBSD port of aMule 2.2.2 - man pages are not installed
« Reply #4 on: August 23, 2008, 12:49:43 AM »

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?
Logged
--
Torfinn

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: FreeBSD port of aMule 2.2.2 - man pages are not installed
« Reply #5 on: August 24, 2008, 08:55:11 AM »

Yes, it is. Once it has already been fixed, seems like we weren't careful enough. Will be fixed in next tarball.
Logged
concordia cum veritate