Install-amule-freebsd

From AMule Project FAQ
Revision as of 16:02, 15 December 2004 by Sk8muc (Talk | contribs | merge | delete)

Jump to: navigation, search

This page is likely to be updated soon, but it might help you even right now.

Update 15-Dec-2004: Install aMule-cvs on FreeBSD 5.3

Make sure you have installed: /usr/ports/x11-toolkits/wxgtk2 -> Ignore the "problems" about wxgtk2 on FreeBSD. It works perfect!

Download the latest aMule-cvs snapshot aMule-cvs Files

fetch http://amule.hirnriss.net/cvs/aMule-cvs-20041215.tar.bz2 tar -zxvf aMule-cvs-20041215.tar.bz2 cd amule-cvs/ ./configure --prefix=~/amule-cvs/ \ --with-wx-config=/usr/X11R6/bin/wx-config \ --with-wxbase-config=/usr/X11R6/bin/wx-config \ --disable-debug --with-curl-config=/usr/local/bin/curl-config \ --enable-optimize --x-libraries=/usr/X11R6/lib \ --x-includes=/usr/X11R6/include --localstatedir=/usr/X11R6/share/gnome \ --datadir=/usr/X11R6/share/gnome --with-html-dir=/usr/X11R6/share/doc \ --with-crypto-prefix=/usr/local --with-included-gettext --disable-cas

gmake cd ~/amule-cvs/src/amule

If you would like to install RC7, you can follow the same instructions.

Greetz, Martin

amule@air-maxx.net

Install aMule 2.0.0rc3 on FreeBSD 5.x

Why would you ask... we have /usr/ports/net/amule Well, this is the stable version 1.2.6 We wanna stay current or help testing / debugging, why else would you read this?

Install ports we need if you don't allready have (see pkg_info)

x11-toolkits/wxgtk

also (but you will have these already ;-)) devel/gettext and devel/gmake

You know how to install ports as a BSD user, so I don't have to tell you, I hope. It's just too easy you know. In case you're very new to FreeBSD, consult the great handbook at http://www.freebsd.org.

Configure

The ./configure does not work 100% automagically, we must help it out a bit.

Edit the <your home> tag, of course, or install it elsewhere.

./configure --prefix=/home/<your home>/amule --with-wx-config=/usr/X11R6/bin/wxgtk-2.4-config --with-wxbase-config=/usr/X11R6/bin/wxgtk-2.4-config

NOTE: This is one single line, not 3 lines or whatever wiki/HTML/your browser wraps this line into.

You will see configure doesn't find gdlib-config, even if you installed gdlib. Don't care, it's just not there and it's no "must have". Just skip it.

NOTE: If you get the following warning:

WARNING!! Your wxWidgets copy has been linked against GTK2 and this will make aMule be unstable, use so much cpu and ram. You have been advised, don't report bugs so.

at the end of configure you are probably linking against wxGTK2 instead of wxGTK. aMule will memleak and eat your CPU. It will probably crash as well. Use wxGTK as mentioned above!

Make

make will fail, use gmake

make is BSD make, gmake is GNU make. They are not compatible.

Now do:

gmake

Get yourself a hot green tea (I prefer some sort of sencha) while it is compiling.

Then do:

gmake install

Use it

Just start it with /home/<your home>/amule/bin/amule or wherever you installed it to...

Have phun

Eugene

The rc6 port

Visit http://www.amule-project.net/amule/thread.php?threadid=3758 and do as it sais ;-)

The rc7 port

Hi all, the rc7 port is now available on my website : http://contribs.martymac.com. I've also added binaries for those who don't want to spend time to compile. The port works on FreeBSD 4.10 and 5.2.1. Any feedback welcome. I've changed some options to the Makefile : amule-ed2k-handler is now amule-ed2k, and cmd+GUI options are now joined in global ones. Do a "make config" prior to the "make install" to update your config file.

Enjoy :)

Ganael LAPLANCHE

http://contribs.martymac.com

ganael.laplanche@martymac.com