LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 03-09-2005, 07:32 AM   #1
w0und3d
LQ Newbie
 
Registered: Mar 2005
Location: Under the covers
Distribution: Mandrake 10.1 / Fedora Core 2
Posts: 14

Rep: Reputation: 0
qt / c++ / g++ help


hiya,

hopefully some1 can help me out here, i am running drake 10.1 download. i upgraded to kernerl version 2.6.10 due to the issues with the USB mouse, that seems to be working fine now, but here is my problem:

qt. c++ and g++(gmake) cannot be found when i try and compile programs. i can type qtconfig and it executes, gpp = executes and so does cpp, i checked in the rpms and they are all installed...could some 1 please tell what i can do, or how i can fix this....

thanks,
 
Old 03-09-2005, 08:12 AM   #2
bunnadik
Member
 
Registered: Jan 2005
Location: Övik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
You need to install those. For qt run 'urpmi libqt3-devel' and for g/c++ 'urpmi gcc-c++'

- Peder
 
Old 03-09-2005, 07:00 PM   #3
caladbolg
Member
 
Registered: Jul 2004
Distribution: Mandrake 10.x, Fedora Core 3, Archlinux 0.7, Ubuntu 5.04
Posts: 303

Rep: Reputation: 31
You shouldn't have to install the devel packages. Try reinstalling the regular packages first. The devel packages require an enormous number of dependencies.
 
Old 03-10-2005, 12:53 AM   #4
w0und3d
LQ Newbie
 
Registered: Mar 2005
Location: Under the covers
Distribution: Mandrake 10.1 / Fedora Core 2
Posts: 14

Original Poster
Rep: Reputation: 0
tried...

Hiya,

thanks for the replies...

Peder:
i tried the urpmi gcc-c++ / libqt3-devel and this is the response that i get - no package named gcc-c++


caladbolg:
i have tried to reinstall qt / cpp - but KDE is heavily dependant on the libs, which is already installed...

any other ideas?
 
Old 03-10-2005, 04:53 AM   #5
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Run

rpmdrake

instead and choose the packages from there...
 
Old 03-10-2005, 06:50 AM   #6
w0und3d
LQ Newbie
 
Registered: Mar 2005
Location: Under the covers
Distribution: Mandrake 10.1 / Fedora Core 2
Posts: 14

Original Poster
Rep: Reputation: 0
i did, thats the strange thing, these packages seem to be installed...
but if try and compile the kernel with make gconfig or make qconfig - i get an error that qt and gmake cannot be found.

although, other packages, that has dependencies on them work fine...
 
Old 03-10-2005, 07:43 AM   #7
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
If you've tried to manually install QT or these other libs, you may have headers laying around.

In turn the configure/Make scripts will find these, but end up configuring the actual Makefile, to use the location for the non-rpm version while the compiler wants the RPM version.

Also note that there are a few scripts that fail the configure tests, even though you have everything set up.

Usually in this case, the developer is utilizing a far more recent version on his/her machine, than what you have.
 
Old 03-11-2005, 01:15 AM   #8
w0und3d
LQ Newbie
 
Registered: Mar 2005
Location: Under the covers
Distribution: Mandrake 10.1 / Fedora Core 2
Posts: 14

Original Poster
Rep: Reputation: 0
Question

hiya,

thanks for the reply, i see what u r saying, and it makes sense, just weird though. i am kinda stuck at the moment, as i cannot install anything. I suppose i will just have to wait, till I reinstall Drake, or a new version gets released, so that i can upgrade...

Thanks again!
 
Old 03-11-2005, 01:49 AM   #9
bunnadik
Member
 
Registered: Jan 2005
Location: Övik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
To check if g++ and libqt is installed do a 'rpm -q gcc-c++' and 'rpm -q libqt-devel'

If you don't see anything and 'urpmi gcc-c++' and 'urpmi libqt-devel' don't work your urpmi sources
aren't right. If so check out opjoses sig.

And if it can't find gmake make sure you have "make" installed: 'rpm -q make'

You can also run 'make menuconfig' to compile the kernel

- Peder
 
Old 03-14-2005, 02:35 AM   #10
w0und3d
LQ Newbie
 
Registered: Mar 2005
Location: Under the covers
Distribution: Mandrake 10.1 / Fedora Core 2
Posts: 14

Original Poster
Rep: Reputation: 0
hiya,

i did the rpm -q - and the results were the same, it said that the packages are not installed...i will try the urpmi tonight - any ideas where i can find lists of sites?

rpm -q make = its installed!

thanks!
 
Old 03-14-2005, 09:04 AM   #11
bunnadik
Member
 
Registered: Jan 2005
Location: Övik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
Normally the urpm sources should already be set up by the MDK installation.
If you haven't deleted or tampered with them you can just run the urpmi commands
and it will prompt you to insert the appropriate CD (if you did a CD install. If you
did a network install it should fetch the packages from the net).
Otherwise you can try re-adding them through the mcc.

- Peder
 
Old 03-14-2005, 11:34 AM   #12
w0und3d
LQ Newbie
 
Registered: Mar 2005
Location: Under the covers
Distribution: Mandrake 10.1 / Fedora Core 2
Posts: 14

Original Poster
Rep: Reputation: 0
Hiya,

I have the 3 cd's for updates, i went to easyurpmi.zarb.org > got a list of mirrors there - busy adding them now...hopefully this will sort it out!

thanks for all the help!
 
Old 03-14-2005, 12:48 PM   #13
w0und3d
LQ Newbie
 
Registered: Mar 2005
Location: Under the covers
Distribution: Mandrake 10.1 / Fedora Core 2
Posts: 14

Original Poster
Rep: Reputation: 0
yeeeeeeeeeeeeeehaaaaaaaaaaaaaaawwwwwwwwwwwww!!!

thank you so much! urpmi works like a charm! gcc-c++ installed and working....i am busy with qt now, if that doesnt work, its not 2 serious, as i can now compile it!

thank you sooo much again!

and that ladies and gentlemen is why we lurve the *nix!

 
Old 03-15-2005, 07:47 PM   #14
cyborg_jt
Member
 
Registered: Jan 2004
Location: New Zealand
Distribution: 2.6.11-gentoo-r3
Posts: 120

Rep: Reputation: 15
same problem with you but I have no internet and can't do it
 
Old 03-16-2005, 12:24 AM   #15
w0und3d
LQ Newbie
 
Registered: Mar 2005
Location: Under the covers
Distribution: Mandrake 10.1 / Fedora Core 2
Posts: 14

Original Poster
Rep: Reputation: 0
uhm.....how did u respond to this post then?

have u checked drakrpm - if those packages are installed?
if you could download the rpm's and try to install it manually?

www.rpmfind.net > search for the packages there

maybe that will work...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 12:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration