Compiling 1.3.1 under Fedora Core 1

General discussion about Celestia that doesn't fit into other forums.
Topic author
njh@bandsman.co.uk
Posts: 4
Joined: 20.01.2004
With us: 21 years 3 months
Location: Barnsley, South Yorkshire, UK
Contact:

Compiling 1.3.1 under Fedora Core 1

Post #1by njh@bandsman.co.uk » 20.01.2004, 14:52

When I run configure I get this:

checking for Qt... configure: error: Qt (>= Qt 3.1.0) (library qt-mt) not found. Please check your installation!

That's fine, obviously I am missing a dependancy. But try as I might I can't work out what .rpm I am missing from the Fedora distribution to make Celestia compile.

Topic author
njh@bandsman.co.uk
Posts: 4
Joined: 20.01.2004
With us: 21 years 3 months
Location: Barnsley, South Yorkshire, UK
Contact:

Post #2by njh@bandsman.co.uk » 20.01.2004, 17:07

Fixed it. It had nothing to do with the need to load in qt-mt, I had an incorrect LDFLAGS enviroment variable. Although I put my hands up and say I had it wrong, it wasn't helped by a misleading error message.

Topic author
njh@bandsman.co.uk
Posts: 4
Joined: 20.01.2004
With us: 21 years 3 months
Location: Barnsley, South Yorkshire, UK
Contact:

Post #3by njh@bandsman.co.uk » 20.01.2004, 17:10

Spoke too soon. It configures OK, but doesn't compile:

[snip]
depmode=gcc3 /bin/sh ../../../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../.. -I.. -I/usr/lib/qt-3.1/include -I/usr/include/kde -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -c -o eclipsefinderdlgbase.uic.moc.o `test -f 'eclipsefinderdlgbase.uic.moc.cpp' || echo './'`eclipsefinderdlgbase.uic.moc.cpp
make[5]: *** No rule to make target `eclipsefinderdlg.cpp', needed by `eclipsefinderdlg.o'. Stop.
[njh@njh celestia-1.3.1]$ find . -name eclipsefinderdlg\*
./src/celestia/kde/eclipsefinderdlgbase.ui
./src/celestia/kde/eclipsefinderdlg.h
./src/celestia/kde/.deps/eclipsefinderdlg.Po
./src/celestia/kde/.deps/eclipsefinderdlg.moc.Po
./src/celestia/kde/.deps/eclipsefinderdlgbase.uic.Po
./src/celestia/kde/.deps/eclipsefinderdlgbase.uic.moc.Po
./src/celestia/kde/eclipsefinderdlgbase.uic.h
./src/celestia/kde/eclipsefinderdlgbase.uic.cpp
./src/celestia/kde/eclipsefinderdlgbase.uic.o
./src/celestia/kde/eclipsefinderdlgbase.uic.moc.cpp
./src/celestia/kde/eclipsefinderdlgbase.uic.moc.o

L2Cache
Posts: 25
Joined: 19.01.2004
With us: 21 years 3 months

compile

Post #4by L2Cache » 21.01.2004, 14:25

This is a good post about the problem in redhat 9; and it may help with fedora:
http://www.celestiaproject.net/forum/viewtopic.php?t=4182

Topic author
njh@bandsman.co.uk
Posts: 4
Joined: 20.01.2004
With us: 21 years 3 months
Location: Barnsley, South Yorkshire, UK
Contact:

Post #5by njh@bandsman.co.uk » 21.01.2004, 14:53

I looked there but I could only see reference to the QT build problem which I have already fixed (see earlier reply to myself).

Where does it talk about clipsefinderdlgbase?

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

Post #6by Christophe » 21.01.2004, 16:34

The tarball you're using is missing some kde related files.

You can get a complete tarball here.
Christophe

Guest

Post #7by Guest » 21.01.2004, 17:20

That fixed it thanks.

For the record I had to do this to get celestia to configure on FC1:

LDFLAGS=-s CC=cc CFLAGS="-O2 -Wuninitialized -Wall -pipe -mcpu=i686 -march=i686 -ffast-math -msse2" ./configure --with-kde --with-qt-dir=/usr/lib/qt-3.1


Return to “Celestia Users”