Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old February 21st, 2008   #1
two00lbwaster
5 Cups of Ubuntu
 
Join Date: Oct 2007
Beans: 30
How-to: Compiling (installing) FaHmon on Ubuntu

I had trouble trying to compile the new FahMon release after reinstalling Ubuntu. This is for the current version 2.3.99.1

This is the guide you need to follow for compiling the new release

Download the latest source code from here and extract to the home drive or where ever you feel comfortable.
This will do the job for you (copy and past into a terminal)
Code:
wget -O FahMon-2.3.99.1.tar.bz2 --no-check-certificate "http://fahmon.net/downloads/current.php?linux"
Now to extract the file (copy and past into a terminal)
Code:
tar xvf FahMon-2.3.99.1.tar.bz2
You'll need to make sure that you have g++,wxgtk 2.6.4 or higher and the wxgtk2.6-dev, and wx-common installed to compile the program. I would suggest the use of synaptic for installation but you can use the following commands:
Code:
sudo apt-get install libwxgtk2.8-dev
That will also install some required dependencies
Code:
sudo apt-get install wx-common
And finally for some users (although this may require your install CD)
Code:
sudo apt-get install g++
To clear up the guide, I type in wxgtk into synaptic and select libwxgtk2.8-dev click mark for installation and allow it to select all the other required dependecies, I then run a search for wx-common tick that for installation too. I then click the apply button.
For some users you may need to install the g++ package and dependancies.



Then it's a case of following the instructions in the guide, which are:

Use the cd command in a console to place yourself in your fahmon folder.
type into the console
Code:
cd /home/[USER NAME]/FahMon-2.3.99.1
or whatever your folder is called

Type in the console
Code:
./configure
You may need to type y to confirm partway through this.

Type
Code:
make
This will take a few minutes, even on a very fast machine.

Type
Code:
sudo make install
You'll get an error after make install if you don't use sudo.

You'll now find fahmon installed and an icon link to the program in Applications>System Tools


Thanks go to Uncle_Fungus for his help with this how-to.

Last edited by two00lbwaster; July 20th, 2009 at 09:47 AM..
two00lbwaster is offline   Reply With Quote
Old March 5th, 2008   #2
Dngrsone
Gee! These Aren't Roasted!
 
Dngrsone's Avatar
 
Join Date: Dec 2007
Location: Central CA
Beans: 203
Ubuntu 8.10 Intrepid Ibex
Send a message via ICQ to Dngrsone Send a message via Yahoo to Dngrsone
Re: Compiling (installing) FaHmon on Ubuntu

Okay, I installed the required libraries, but it's giving me an error:

Quote:
checking for wx-config... no
configure: error:
wxWidgets must be installed on your system.

Please check that wx-config is in path, the directory
where wxWidgets libraries are installed (returned by
'wx-config --libs' or 'wx-config --static --libs' command)
is in LD_LIBRARY_PATH or equivalent variable and
wxWidgets version is 2.8.0 or above.
I am unsure what to do.
Dngrsone is offline   Reply With Quote
Old June 13th, 2008   #3
Boydyboyd
First Cup of Ubuntu
 
Boydyboyd's Avatar
 
Join Date: Apr 2008
Location: Leeds, UK
Beans: 1
Ubuntu 8.04 Hardy Heron
Send a message via MSN to Boydyboyd
Re: How-to: Compiling (installing) FaHmon on Ubuntu

thanks alot for this, i have been trying to find a way to compile fahmon onto my ubuntu for ages, now the folding can resume.

Boydyboyd is offline   Reply With Quote
Old July 6th, 2008   #4
chex313
First Cup of Ubuntu
 
Join Date: Mar 2008
Location: Springmont PA
Beans: 7
Xubuntu 8.04 Hardy Heron
Re: Compiling (installing) FaHmon on Ubuntu

Thanks a lot! The directions are great!

I did not have to do this.

"You will need to type y to confirm partway through this."
chex313 is offline   Reply With Quote
Old July 13th, 2008   #5
two00lbwaster
5 Cups of Ubuntu
 
Join Date: Oct 2007
Beans: 30
Re: Compiling (installing) FaHmon on Ubuntu

Quote:
Originally Posted by chex313 View Post
Thanks a lot! The directions are great!

I did not have to do this.

"You will need to type y to confirm partway through this."
Yes there seems to have been a change or something with Hardy. With Gutsy I still had to press y part the way through. I'll update the instructions to read "You may need to type y to confirm partway through this."
two00lbwaster is offline   Reply With Quote
Old July 24th, 2008   #6
techstop
Quad Shot of Ubuntu
 
Join Date: Nov 2005
Beans: 473
Ubuntu 9.10 Karmic Koala
Re: Compiling (installing) FaHmon on Ubuntu

Thanks mate. Nice howto!
techstop is offline   Reply With Quote
Old November 1st, 2008   #7
mr_raider
A Carafe of Ubuntu
 
Join Date: Nov 2008
Beans: 91
Ubuntu 9.04 Jaunty Jackalope
Re: Compiling (installing) FaHmon on Ubuntu

Has anyone successfully compiled it in Intrepid? It worked fine in Hardy but I'm guessing the libraries have changed.
mr_raider is offline   Reply With Quote
Old June 12th, 2009   #8
rmjohnson144
A Carafe of Ubuntu
 
Join Date: Jul 2008
Beans: 124
Re: Compiling (installing) FaHmon on Ubuntu

Well, I'm just guessing, but I'd assume you need to install the latest version of wxWidgets. Synaptic Package Manager says V2.8 is the newest one.

Good luck
-=Mark=-
__________________
DFI LanParty UT X58-T3eH8 * 920 * 3GB (3 x 1GB G. Skill F3-16000CL9T-3GBPI-B) * Pair XFX 9800 GTX+ * Creative SB Audigy 2 * ubuntu 8.04.1 64-bit

http://folding.extremeoverclocking.c...hnson&t=128734
rmjohnson144 is offline   Reply With Quote
Old June 17th, 2009   #9
sites
Just Give Me the Beans!
 
sites's Avatar
 
Join Date: Jan 2006
Location: Atlanta, GA
Beans: 67
Ubuntu 9.10 Karmic Koala
Re: Compiling (installing) FaHmon on Ubuntu

I'm also getting the libcurl error...

configure:20369: error:
Could not find a valid libCURL installation on your system.

I've installed curl, but still get this error. I'm using Hardy.
sites is offline   Reply With Quote
Old July 20th, 2009   #10
jrennell
First Cup of Ubuntu
 
Join Date: Aug 2008
Beans: 4
Post Re: Compiling (installing) FaHmon on Ubuntu

Quote:
Originally Posted by sites View Post
I'm also getting the libcurl error...

configure:20369: error:
Could not find a valid libCURL installation on your system.

I've installed curl, but still get this error. I'm using Hardy.
altech6983 had a good tip and suggested running "sudo ldconfig" after running the script. That should clear up that issue (worked on 9.04 at least).

I update the commands in my post to include that step. Sorry for its omission.

EDIT: Oops, I'm dumb... that might be a problem with 8.04 packages, I'll test it out on a 8.04 VM and see if I get the same thing...

EDIT2: Good news, this script will work for 8.04. Make sure you do a
Code:
$ sudo apt-get update
before you run it to make sure you get the newest libcurl along with the other packages.

Last edited by jrennell; July 22nd, 2009 at 08:49 PM.. Reason: Comfirmed working with 8.04
jrennell is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:12 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry