You are not logged in.

#1 2010-05-13 23:31:01

rp181
Member
Registered: 2010-04-03
Posts: 81

Bulding KDE applications

I am trying to compile KFreeFlight (A FlightGear frontend), but getting stuck at "./configure".

When i run "./configure --with-qt-dir=/opt/qt" , it works until...

checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
So, check this please and use another prefix!

What do i do?

Offline

#2 2010-05-13 23:34:48

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,384
Website

Re: Bulding KDE applications

Remove "--with-qt-dir=/opt/qt"

Offline

#3 2010-05-13 23:36:44

schen
Member
Registered: 2009-06-06
Posts: 468

Re: Bulding KDE applications

Or install QT.

By the way, kfreeflight is in the AUR.

Last edited by schen (2010-05-14 01:45:54)

Offline

#4 2010-05-13 23:37:41

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Bulding KDE applications


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#5 2010-05-13 23:39:52

rp181
Member
Registered: 2010-04-03
Posts: 81

Re: Bulding KDE applications

Without the "--with-qt-dir=/opt/qt":

checking for perl... /usr/bin/perl
checking for Qt... configure: error: Qt (>= Qt 3.2 and < 4.0) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.

With it:

checking for perl... /usr/bin/perl
checking for Qt... libraries /opt/qt/lib, headers /opt/qt/include using -mt
checking for moc... /opt/qt/bin/moc
checking for uic... /opt/qt/bin/uic
checking whether uic supports -L ... yes
checking whether uic supports -nounload ... yes
checking if Qt needs -ljpeg... no
checking for rpath... yes
checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
So, check this please and use another prefix!

Took me forever, but found another thread that said to add that in order for configure to be able to find the Qt libraries.

Offline

#6 2010-05-14 00:27:57

davidm
Member
Registered: 2009-04-25
Posts: 371

Re: Bulding KDE applications

(>= Qt 3.2 and < 4.0)

It looks as if it needs qt3, not qt4 (just qt in arch's pacman I believe).  Do you have the necessary qt3 libraries installed along with the qt4 ones you have with kde4?

Offline

#7 2010-05-14 15:24:26

yngwin
Member
Registered: 2009-05-08
Posts: 67

Re: Bulding KDE applications

You'd need kde3 for this outdated application.

Offline

#8 2010-05-15 14:58:14

rp181
Member
Registered: 2010-04-03
Posts: 81

Re: Bulding KDE applications

Ok, i got the configure sorted out...kind of. I get

checking for mcopidl... not found
configure: error: The important program mcopidl was not found!
Please check whether you installed aRts correctly or use
--without-arts to compile without aRts support (this will remove functionality).

So i added the --without-arts options, and the configuration completes succesfully. When i run make, i get:

cd . && make -f admin/Makefile.common configure.in ;
make[1]: Entering directory `/home/phani/Downloads/kfreeflight-0.3.2'
*** Creating configure.files
make[1]: Leaving directory `/home/phani/Downloads/kfreeflight-0.3.2'
cd . && /bin/sh /home/phani/Desktop/Downloads/kfreeflight-0.3.2/admin/missing --run aclocal-1.9 
/home/phani/Desktop/Downloads/kfreeflight-0.3.2/admin/missing: line 52: aclocal-1.9: command not found
WARNING: `aclocal-1.9' is missing on your system.  You should only need it if
         you modified `acinclude.m4' or `configure.in'.  You might want
         to install the `Automake' and `Perl' packages.  Grab them from
         any GNU archive site.
 cd . && /bin/sh /home/phani/Desktop/Downloads/kfreeflight-0.3.2/admin/missing --run automake-1.9 --gnu 
/home/phani/Desktop/Downloads/kfreeflight-0.3.2/admin/missing: line 52: automake-1.9: command not found
WARNING: `automake-1.9' is missing on your system.  You should only need it if
         you modified `Makefile.am', `acinclude.m4' or `configure.in'.
         You might want to install the `Automake' and `Perl' packages.
         Grab them from any GNU archive site.
 cd . && perl admin/am_edit 
cd . && perl admin/am_edit Makefile.in
cd . && rm -f configure
cd . && make -f admin/Makefile.common configure
make[1]: Entering directory `/home/phani/Downloads/kfreeflight-0.3.2'
configure.in:43: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:48: error: possibly undefined macro: AM_CONFIG_HEADER
configure.in:51: error: possibly undefined macro: AC_CHECK_COMPILERS
configure.in:52: error: possibly undefined macro: AC_ENABLE_SHARED
configure.in:53: error: possibly undefined macro: AC_ENABLE_STATIC
configure.in:58: error: possibly undefined macro: AM_KDE_WITH_NLS
configure.in:61: error: possibly undefined macro: AC_PATH_KDE
configure.in:70: error: possibly undefined macro: AC_CHECK_KDEMAXPATHLEN
make[1]: *** [configure] Error 1
make[1]: Leaving directory `/home/phani/Downloads/kfreeflight-0.3.2'
make: *** [configure] Error 2

Offline

Board footer

Powered by FluxBB