SMP Guide

SiriusB said:
The problem is that for some people, myself included, FahMon simply refuses to compile. And believe me I have tried everything short of reinstalling Linux.


Yip. I had no problem compiling it with scons, but other ppl had no luck when using the exact same method.
 
shadowscotland said:
so you did, oops (but you didn't say how :p



what that mean? and more importantly do I need to fix it :eek:

It means that you haven't got some shared libraries installed that you need.

Okay, you're using ubuntu yes?

Open a terminal and type this:

Code:
sudo apt-get install libwxgtk2.6-dev wx-common

That will installed wxGTK, which will allow fahmon to run.
 
Last edited:
Cob said:
Yip. I had no problem compiling it with scons, but other ppl had no luck when using the exact same method.


I have come across this. It won't compile on my ubuntu server at all, but I know why: Dapper doesn't have wxGTK 2.6.3 in it's repositories, whereas Edgy does.

What kind of errors have people been getting which cause fahmon to fail to compile?
 
shadowscotland said:
stephen@lemonman:~$ sudo apt-get libwxgtk2.6-dev wx-common
Password:
E: Invalid operation libwxgtk2.6-dev
stephen@lemonman:~$

Ooops, sorry slip of the fingers there

Code:
sudo apt-get install libwxgtk2.6-dev wx-common
 
stephen@lemonman:~$ sudo apt-get install libwxgtk2.6-dev wx-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libwxgtk2.6-dev
stephen@lemonman:~$

nope - try again :D
 
shadowscotland said:
stephen@lemonman:~$ sudo apt-get install libwxgtk2.6-dev wx-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libwxgtk2.6-dev
stephen@lemonman:~$

nope - try again :D

grr ;) assuming gedit is your text editor

Code:
sudo gedit /etc/apt/sources.list

This should open the repo list in gedit.

Now uncomment (remove the leading #) all lines that start with # deb or # deb-src

Save the file and close gedit.

Then run

Code:
sudo apt-get update

Which will get your installation sources up-to-date so you can install wxGTK

Then run the command you tried before.

Are you on MSN etc? That would be so much easier than post by post on the forums ;)
 
Last edited:
Open in Terminal never seems to work. So you'll have to do it the hard way.

Also, if you followed my guide your repos should already have been enabled :o
 
shadowscotland said:
fahmon.sh - double clicked it - four options - run didn't work so tried open

Well, just to be sure you can actually get fahmon to start at all,

use the terminal method SiriusB suggested.

Code:
cd ~/fahmonb5/src
./fahmon

If that doesn't work, it should give you some error messages that tell you why
 
SiriusB said:
Open in Terminal never seems to work. So you'll have to do it the hard way.

Also, if you followed my guide your repos should already have been enabled :o

if by repo's you mean the large yellow box to cut and paste that only applies to the native section (skip to section two I was told so i did) and no mention of it their.
 
stephen@lemonman:~$ cd ~/fahmonb5/src
stephen@lemonman:~/fahmonb5/src$ ./fahmon
./fahmon: error while loading shared libraries: libwx_gtk2u_xrc-2.6.so.0: cannot open shared object file: No such file or directory
stephen@lemonman:

I think we've found the problem

I've also noticed I've just got seven new updates to load - off to do that now

Edit: same error message
 
Last edited:
shadowscotland said:
stephen@lemonman:~$ cd ~/fahmonb5/src
stephen@lemonman:~/fahmonb5/src$ ./fahmon
./fahmon: error while loading shared libraries: libwx_gtk2u_xrc-2.6.so.0: cannot open shared object file: No such file or directory
stephen@lemonman:

I think we've found the problem

Ok, that means it still can't load the wxGTK library.

So, open a terminal and type

Code:
wx-config --list

and note the output.
 
shadowscotland said:
stephen@lemonman:~$ wx-config --list
bash: wx-config: command not found
stephen@lemonman:~$

That means wxGTK isn't actually installed.

Code:
apt-get install libwxgtk2.6-dev libwxgtk2.6-0 wx-common

libwxgtk2.6-0 should have been installed automatically along with the -dev version.
 
didn't work - so added sudo - currently download

but wife is very unhappy that I've been ignoring her (which I have been for over a hour!)

I'll come back to this tomorrow, leave me a list of instructions and I'll do my best to make it work :D
 
Back
Top Bottom