Page 1 of 1

Building from CVS

Posted: 10.02.2003, 04:35
by Guest
Hi,

I seem to be having some trouble running binaries I create from the CVS version.

When trying to run the binary, I get the following error message:
"Error reading configuration file", followed by a DCOP error and then program termination.

I am compiling with the following options to configure "--with-kde --enable-debug"

When I try to run the program with gdb, I get very strange behavior. Breakpoints do not fire even though the code is executing (some printf's that I have added are being displayed.)

If I printf the output arguement given to ReadCelestiaConfig, I seem to get garbage.

Not really sure what the problem could be.

I'm using gcc 3.2 with gcc-c++ 3.2 and kdelibs-3.0.5a on a Mandrake 9.0 system.

Any ideas?


-- Thanks

Posted: 10.02.2003, 11:27
by Christophe
You need to do a 'make install' to be able to run celestia, otherwise it won't find its configuration file hence the "Error reading configuration file" message.

If you've already run 'make install' then there's probably something wrong with your KDEDIR setup, try running configure with "--with-kde --prefix=/usr".