I have fgcom and fgcomgui installed and running on PCLOS 2010, however, I can only run them as the root user. If start fgcom via fgcomgui as a user I get:
- Code: Select all
$ /usr/local/bin/fgcom -Sfgcom.flightgear.org.uk -i0.75 -o0.75 -p16661
/usr/local/bin/fgcom - a communication radio based on VoIP with IAX/Asterisk
(c)2007 by H. Wirtz <wirtz@dfn.de>
Version 1.2.2 build 249M (with FGComGui patch)
Using iaxclient library Version SVN 249
Successfully parsed commandline options.
Reading list of airports...done.
Initializing IAX client as guest:xxxxxxxxxxx@fgcom.flightgear.org.uk
WatchDogProc: cannot set watch dog priority!
WatchDogProc: killing hung audio thread!
AL lib: ALc.c:1879: exit(): closing 2 Devices
AL lib: ALc.c:1808: alcCloseDevice(): destroying 1 Context(s)
AL lib: ALc.c:1420: alcDestroyContext(): deleting 1 Source(s)
AL lib: ALc.c:1818: alcCloseDevice(): deleting 20 Buffer(s)
In order to get fgcomgui to compile I had to modify some paths in the in the SConstruct file to read:
- Code: Select all
env.Append(
MOC_BIN = "/usr/lib/qt4/bin/moc", # qt meta object compiler
RCC_BIN = "/usr/lib/qt4/bin/rcc", # qt resource compiler
CCFLAGS = [
"-pipe",
"-Wall"
],
CPPPATH = [
"/usr/lib/qt4/include",
"/usr/lib/qt4/include/Qt",
"/usr/lib/qt4/include/QtCore",
"/usr/lib/qt4/include/QtGui"
],
LIBPATH = [
"/usr/lib"
I left the installation paths as default so the executables are located at /usr/local/bin/, whereas, PCLOS is setup so most executables are installed in /usr/bin/ when I install a program via synaptic.
So, how do I make fgcom and fgcomgui work for all users without being root? (sudo for all you debian users)
my system:
PCLinuxOS 2010
Kernel 2.6.32.11-pclos2.bfs
Xorg 1.6.5
Intel(R) Pentium(R) 4 CPU 3.00GHz
Radeon HD4650 PCIe