[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash] Autoconf and kde path
From: |
Frédéric Point |
Subject: |
[Gnash] Autoconf and kde path |
Date: |
Tue, 9 May 2006 15:07:29 +0200 |
Hi,
I am using Gentoo to build gnash and I have a problem trying to compile gnash with konqueror support (klash). The problem is that on gentoo, kde base directories is like "/usr/kde/X.X" with X.X is major.minor
version of kde.
When I run autogen and, then, configure, it find kde libs dir but it can't find kde include dirs and then crash during compiling klash.
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I../.. -I../../serv
er -I../../libbase -I../../backend -I../../libgeometry -I/usr/include -I/usr/inc
lude/SDL -I/usr/include/SDL -I/usr/include/libxml2 -I/usr/include/kio -I/usr/inc
lude -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -mcpu=i686 -pi
pe -ansi -Wall -MT klash_part.lo -MD -MP -MF .deps/klash_part.Tpo -c klash_part.
cpp -fPIC -DPIC -o .libs/klash_part.o
klash_part.cpp:50:24: klibloader.h: No such file or directory
klash_part.cpp:51:20: kdebug.h
: No such file or directory
klash_part.cpp:52:21: kconfig.h: No such file or directory
klash_part.cpp:53:27: ksimpleconfig.h: No such file or directory
klash_part.cpp:54:21: kaction.h: No such file or directory
klash_part.cpp:55:26: kapplication.h: No such file or directory
[...]
etc
If I put --with-extra-incl=/usr/kde/3.4/include and --with-extra-libs=/usr/kde/3.4/libs, when I run configure, it doesn't find any kde libs neither kde includes, but I can go further. This time g++ complains about SDL_GetTicks which is unknown. I don't know if it is the right place, but I've finally managed to compile klash by :
1st ) putting this line in klash.cpp "#include <SDL.h>"
2nd) editing macros/kde.m4 and putting /usr/kde/3.4/include, /usr/kde/3.4/lib /usr/kde/3.4/bin in the right place
I think it would be clean to solve this by the autotools way, but I don't know which way can be the better one...
Frédéric Point
- [Gnash] Autoconf and kde path,
Frédéric Point <=