LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ./configure (https://www.linuxquestions.org/questions/linux-newbie-8/configure-363311/)

ryedunn 09-14-2005 10:55 AM

./configure
 
Im trying to use ./configure but getting stopped with the error:
checking for Qt... configure: error: Qt (>= Qt 3.3 and < 4.0) (headers and libraries) not found. Please check your installation!

hmm..okay
./configure --help
--with-qt-includes=DIR where the Qt includes are.
--with-qt-libraries=DIR where the Qt library is installed.

cool... so I try
./configure --with-qt-libraries=/usr/lib/qt3/ --with-qt-includes=/us/lib/qt3/
and
./configure --with-qt-libraries=/usr/lib/qt3/lib --with-qt-includes=/us/lib/qt3/lib

but Im geting the same error. I have googled the error, checked the logs, and read all the docs so now Im coming to you for advice.
Please help,
The GNUbie

reddazz 09-14-2005 10:58 AM

You need to install the qt development libraries (libqt-devel or qt-devel).

ryedunn 09-14-2005 11:13 AM

first of all, thank you very much... looks like that worked

just on a side note I think Im going crazy installing all these devel packages just to get this one thing working.

ryedunn 09-14-2005 12:25 PM

reddazz,
Check this out...

Superkaramba can't be compiled
because of missing Python libraries/headers.

[root@rdunn superkaramba]# rpm -qa |grep -i libpython*
libpython2.4-2.4.1-3mdk
[root@rdunn superkaramba]# urpmi libpython2.4-devel
The following packages can't be installed because they depend on packages
that are older than the installed ones:
libpython2.4-devel-2.4-5mdk
Continue? (Y/n) Y
The package(s) are already installed

It doesnt look like the devel is installed but urpmi wont let me install it? any thoughts?

foo_bar_foo 09-14-2005 11:09 PM

seems to me splitting the packages in half one binary and one devel was the stupidest things Linux ever did and now it's like some bizarre tradition like gefilte fish or something.

Can't believe over the years how many people have trouble with it.

basically i think the idea was everyone but developers just use binary packages provided by package manager.

time to storm the capital and demand no more smelly gefilte fish .

tkedwards 09-15-2005 01:50 AM

ryedunn if you go to easyurpmi and setup the repositories you can just get the superkaramba package without having to compile anything.

Quote:

[root@rdunn superkaramba]# rpm -qa |grep -i libpython*
libpython2.4-2.4.1-3mdk
[root@rdunn superkaramba]# urpmi libpython2.4-devel
The following packages can't be installed because they depend on packages
that are older than the installed ones:
libpython2.4-devel-2.4-5mdk
Run Mandrake Update and see if that helps. Its libpython2.4-2.4-5mdk on my 2005LE system (with all updates installed I believe) so its a bit strange that you've got a later version. Do you have any cooker sources configured in your software sources?

Otherwise you could try
Code:

rpm -e --nodeps libpython2.4
and then (straight away before anything breaks! :))
Code:

urpmi libpython2.4 libpython2.4-devel

reddazz 09-15-2005 04:26 AM

ryedunn go to easyurpmi as suggested above and setup the main, contrib, plf and updates repositories for the version of Mandrake/Mandriva you are running. Once thats done you can install superkaramba using urpmi or if you want to compile the latest version on your own, setup the repositories then do
Code:

#urpmi --auto-select
#urpmi libpython-devel


ryedunn 09-15-2005 07:57 AM

Thank you everyone for being so helpful... The superkaramba version was older than what I needed so I decided to try it manually.. I also reinsalled all the python packages manually but will keep your advice for nextime...

tkedwards: Looks like everything I had was cooker. ... oops

Live and learn.. THANKS AGAIN!
R

ryedunn 09-15-2005 01:09 PM

oh wow this is cool........

I found a few application that I was hoping on putting together with Superkaramba. It seems like there is no standard so each one requires me to install some new development application. This time it was PyKDE.
Application works great. but now my others fail with something like
Code:

------------------------------------------------------
What does ImportError mean?

It means that I couldn't load a python add-on liquid_weather.py
If this is a regular theme and doesn't use python
extensions, then nothing is wrong.
------------------------------------------------------

hmmm.. just playing around I deleted PyKDE3.11.1-1mdk10.spec. now my old applications work and the new one crashes.

So my question is .. . Is there any way I can have only the new application access PyKDE3.11.1-1mdk10.spec and have the old one ignore it?

tkedwards 09-15-2005 09:03 PM

Quote:

hmmm.. just playing around I deleted PyKDE3.11.1-1mdk10.spec. now my old applications work and the new one crashes.

So my question is .. . Is there any way I can have only the new application access PyKDE3.11.1-1mdk10.spec and have the old one ignore it?
I don't understand your question. A spec file is the script file that you write to package something as an RPM. Could you describe what you're trying to do with it?


All times are GMT -5. The time now is 02:53 PM.