Building from CVS

The place to discuss creating, porting and modifying Celestia's source code.
Guest

Building from CVS

Post #1by Guest » 10.02.2003, 04:35

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

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Post #2by Christophe » 10.02.2003, 11:27

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".


Return to “Development”