cannot create "Hello World" (1st KDE app)

Gerd König gk_ulm at web.de
Thu Jun 3 15:15:27 BST 2004


Hello Tarjei,

I tried your suggestions and removed the entry from /etc/ld.so.conf.
Again it is only possible to successfully call configure from the command line, KDevelop still not working (I set the --with-qt-dir path as configure param).

In my last mail I was so happy to run configure from the command line, that I forgot to run make afterwards. It's so  disappointing, now "make" exits with errors:


make
cd . && /bin/sh /home/koenig/development/server/kde_1/admin/missing --run autoheader
touch ./config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
make[1]: Entering directory `/home/koenig/development/server/kde_1'
Making all in doc
make[2]: Entering directory `/home/koenig/development/server/kde_1/doc'
Making all in .
make[3]: Entering directory `/home/koenig/development/server/kde_1/doc'
make[3]: Für das Ziel »all-am« ist nichts zu tun.
make[3]: Leaving directory `/home/koenig/development/server/kde_1/doc'
Making all in en
make[3]: Entering directory `/home/koenig/development/server/kde_1/doc/en'
/opt/kde3/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
make[3]: Leaving directory `/home/koenig/development/server/kde_1/doc/en'
make[2]: Leaving directory `/home/koenig/development/server/kde_1/doc'
Making all in po
make[2]: Entering directory `/home/koenig/development/server/kde_1/po'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Leaving directory `/home/koenig/development/server/kde_1/po'
Making all in src
make[2]: Entering directory `/home/koenig/development/server/kde_1/src'
make[2]: *** Keine Regel vorhanden, um das Target »libqt-mt.a.c«,
  benötigt von »libqt-mt.a.o«, zu erstellen.  Schluss.
make[2]: Leaving directory `/home/koenig/development/server/kde_1/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/koenig/development/server/kde_1'
make: *** [all] Fehler 2



it would be nice to have a running HELLO WORLD example ;-))

thanks ..GERD..

kdevelop at kdevelop.org schrieb am 03.06.04 13:18:39:
On Thu, 2004-06-03 at 11:05, =?iso-8859-1?Q? Gerd=20K=F6nig ?= wrote:
> Hi again,
> 
> thanks alot for all your help.
> ./configure from the shell is now working, but within KDevelop it isn't
> working. Where do I have to place the env.variables there, so that it 
> is also working (I tried "Project options"->"make options"->"environment 
> variables", but no success, somewhere in the "configure options" ????)
> 

Hi Gerd,

Which environment variables do you need to change to get it working? If
it's only QTDIR that needs changing, see below for a better fix.

> These were the steps I did for succeed in running configure:
> 1.) installed latest qt from trolltech.com into /opt/qt3.3.2

OK

> 2.) removed manual installed gcc from $PATH, so using that from OS

Good

> 3.) added /opt/qt3.3.2/lib to /etc/ld.so.conf

Danger, Will Robinson. When you do this (assuming /opt/qt3.3.2/lib is
placed above /usr/lib/qt3/lib in /etc/ld.so.conf), then every
application that is linked against Qt will now link against your build
of a newer Qt version (i.e. every KDE app). This _may_ work (it's only a
minor upgrade anyway), but I would still recommend against it.

My recommendation is to use the --with-qt-dir option for configure. In
Project Options->Configure Options->Configure arguments try adding:

--with-qt-dir=/opt/qt3.3.2

That should do the trick, and you won't have to worry about QTDIR.

> 4.) run ldconfig
> 5.) run ./configure of the "hello world" project
> => success (within bash, not in KDevelop :-( ).
> 
> so I need some further knowledge how to setup the project in KDevelop.
> 

I hope this works for you.

Regards,
-- 
Tarjei


-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«


_______________________________________________________________________
Moechten Sie Ihre SMS noch ausdrucksstaerker und emotionaler gestalten?
Fuegen Sie einfach ein Bild hinzu! http://freemail.web.de/?mc=021194


-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list