LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 02-02-2009, 03:48 AM   #1
auror4
LQ Newbie
 
Registered: Jan 2009
Posts: 9

Rep: Reputation: 0
Smile fail to configure qt-x11-free-3.3.8.tar.gz on mandriva 2008


Hallo

I'm newbie in Linux, Now I'm using mandriva 2008.
I use Linux to operate GPS processing Software, In those installation process of these software, I need to install QT to /usr/local/qt

so I using qt-x11-free-3.3.8.tar.gz.

However I having problem in compile the configure file

I type

[root@localhost qt]# ./configure
and this is the results
"You don't seem to have 'make' or 'gmake' in your PATH"

I dont know what was wrong ??

Please anybody can help me

With kindest regards
.....auror4......
 
Old 02-02-2009, 04:52 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,701
Blog Entries: 1

Rep: Reputation: 219Reputation: 219Reputation: 219
You need to install the make application. Install it using the package manager that comes with Mandriva. For that matter, why don't you install QT using your package manager instead of building QT from source?

BTW, you don't need to be root to configure and compile software. It's not a good habit to get into.
 
Old 02-02-2009, 04:59 AM   #3
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Hi, you need to install the build packages, Usually called the dev packages.

This may have changed since 2008mdv, but the package name is make.

There is also automake, and cmake.

If your repo is setup, then type...

urpmi automake

Accept any dependants, as you/your-system will require them to build from source.

If not don't worry, if you have the dvd (official Release) then the packages are on the dvd.

See how you go, there will be a few packages to set up/add a build system.

Regards, Glenn

p.s. On older mandriva systems there used to be a program called kpackage,

which can assist in installing from source and looking after deps.

It's still manual install though, because you may have to retire to get the deps setup.

Last edited by GlennsPref; 02-02-2009 at 05:02 AM. Reason: kpackage
 
Old 02-02-2009, 05:27 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,521

Rep: Reputation: 2502Reputation: 2502Reputation: 2502Reputation: 2502Reputation: 2502Reputation: 2502Reputation: 2502Reputation: 2502Reputation: 2502Reputation: 2502Reputation: 2502
*
'su'
'urpmi libqt3-devel' to get 'libqt3-devel-3.3.8'

which is the default version for 2008(.1)

....
 
Old 02-03-2009, 01:54 AM   #5
auror4
LQ Newbie
 
Registered: Jan 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by GlennsPref View Post
Hi, you need to install the build packages, Usually called the dev packages.

This may have changed since 2008mdv, but the package name is make.

There is also automake, and cmake.

If your repo is setup, then type...

urpmi automake

Accept any dependants, as you/your-system will require them to build from source.

If not don't worry, if you have the dvd (official Release) then the packages are on the dvd.

See how you go, there will be a few packages to set up/add a build system.

Regards, Glenn

p.s. On older mandriva systems there used to be a program called kpackage,

which can assist in installing from source and looking after deps.

It's still manual install though, because you may have to retire to get the deps setup.

Thanks for your attention !!

However how can I get those build/dev packages, or make packages if I dont have mandriva 2008 installer anymore..
where can I download it ..
How to operate that build/dev packages

I found a program called makedev in software management..however I couldn't find that program on menu desktop (is that what you mean with make packages ??)

I also couldn't found program named kpackage..

sorry if I asking you, too many questions..

regards, auror4
 
Old 02-03-2009, 07:47 AM   #6
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Hi, the make program is called from the command line when you type...

./configure

the configure script is going to search your system for the packages/programs required to build the package in question.

Including make and others too.

Look for automake, that should take care of it and any deps.

If you want to add the repo for mdv2008 goto...

http://easyurpmi.zarb.org/

Follow the directions on the page. Make sure you get x86_64 for 64bit or i586 for 32 bit processors/cpu.

Once you have copied the script to a shell, This will start a download of the rpm database only.

It can be quite large upto 50Mb. You can minimise it by changing the lines for hdlist to synthesis.hdlist

Quote:
instead using the file hdlist.cz you can optionally use the file synthesis.hdlist.cz

that will take much less time to download however haves less information
Quote:
urpmi.addmedia main_2008.1 http://ftp.riken.jp/Linux/mandrake/o...a/main/release with media_info/hdlist.cz

to

urpmi.addmedia main_2008.1 http://ftp.riken.jp/Linux/mandrake/o...a/main/release with media_info/synthesis.hdlist.cz
Of course you want the 2008.0 repo not the 2008.1(spring) Unless you decide to upgrade,

This could take a while and may break your system.backup first.

The synthesis.hdlist.cz has less information about the packages,

The Mandriva software installer will fetch the info as you select the packages instead, but it is a faster download.

So, when you get to the easy-urpmi page select only the repos you require,

then when the database is downloaded you will be ready to install with the Software installer.

Cheers, Glenn

kpackage may have been with 2007.0, my bad!

Last edited by GlennsPref; 02-03-2009 at 07:55 AM. Reason: Thank you
 
Old 02-03-2009, 10:50 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,521

Rep: Reputation: 2502Reputation: 2502Reputation: 2502Reputation: 2502Reputation: 2502Reputation: 2502Reputation: 2502Reputation: 2502Reputation: 2502Reputation: 2502Reputation: 2502
*
See # 4 ....

The command # 'urpmi <package>'

is downloading and installing the package.
....
 
Old 02-03-2009, 10:40 PM   #8
auror4
LQ Newbie
 
Registered: Jan 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
*
See # 4 ....

The command # 'urpmi <package>'

is downloading and installing the package.
....
thanks for your help, I had tried your tips,
urpmi qt, however its didnt work..

It says that couldn't find the package, what you mean with the package is file with extension .package isn't ?? correct me if I wrong...
 
Old 02-04-2009, 01:21 AM   #9
auror4
LQ Newbie
 
Registered: Jan 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Wink

Quote:
Originally Posted by GlennsPref View Post
Hi, the make program is called from the command line when you type...

./configure

the configure script is going to search your system for the packages/programs required to build the package in question.

Including make and others too.

Look for automake, that should take care of it and any deps.

If you want to add the repo for mdv2008 goto...

http://easyurpmi.zarb.org/

Follow the directions on the page. Make sure you get x86_64 for 64bit or i586 for 32 bit processors/cpu.

Once you have copied the script to a shell, This will start a download of the rpm database only.

It can be quite large upto 50Mb. You can minimise it by changing the lines for hdlist to synthesis.hdlist





Of course you want the 2008.0 repo not the 2008.1(spring) Unless you decide to upgrade,

This could take a while and may break your system.backup first.

The synthesis.hdlist.cz has less information about the packages,

The Mandriva software installer will fetch the info as you select the packages instead, but it is a faster download.

So, when you get to the easy-urpmi page select only the repos you require,

then when the database is downloaded you will be ready to install with the Software installer.

Cheers, Glenn

kpackage may have been with 2007.0, my bad!
according to your advise, I want 2008.0 repo, and I try to install hdlist.cz, however when I type (as the manual says)

[root@localhost ~]#urpmi.addmedia main ftp://mirrors.secsup.org/pub/linux/m...a/main/release with media_info/hdlist.cz

retrieving failed: wget failed: exited with 1
unable to access hdlist file of "main", medium ignored
unable to update medium "main"
removing medium "main"

I typed all the manual source ,but it still same massages ... could you help me, what was wrong

Thanks...
 
Old 02-04-2009, 01:55 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,521

Rep: Reputation: 2502Reputation: 2502Reputation: 2502Reputation: 2502Reputation: 2502Reputation: 2502Reputation: 2502Reputation: 2502Reputation: 2502Reputation: 2502Reputation: 2502
Quote:
... what you mean with the package is file with extension .package isn't ??
Please read # 4 again.

Code:
        urpmi libqt3-devel
 
Old 02-04-2009, 02:36 AM   #11
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Hi, The file exists...

ftp://mirrors.secsup.org/pub/linux/m...info/hdlist.cz

retry, and or check your connection and firewall to allow ftp file transfers.

or you might change the name of your local rpm database name...

urpmi.addmedia main ....

to

urpmi.addmedia main-release ....

It can be done, Maybe the server was not available at the time you tried. Retry.

knudfl, I am not ignoring you, I feel you have the right approach as well.

cheers, Glenn

ps, you may want to get main-release, contrib, main-updates (not there, main may contain all the updates that were released at that time) and non-free.

Last edited by GlennsPref; 02-04-2009 at 02:39 AM. Reason: Get the other repos too.
 
Old 02-04-2009, 05:46 AM   #12
auror4
LQ Newbie
 
Registered: Jan 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Hi is it possible to for me to download those hdlist.cz (named repo isn't ??),saved on my home/account

then installed using urpmi command on konsole , could you tell me exactly,to do that and the command, cause I get some problem if I directly installed from the net...
 
Old 02-04-2009, 06:15 AM   #13
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Hi, I'm not sure we understand each other.

I don't think it would work to save the hdlist.cz file to /home/user/

The file hdlist.cz is only a data base of the packages available from that repo(repository).

If the easy-urpmi script does not work, you may need to get a different repository...

From A different country perhaps, but one near you would be better.

The urpmi program (urpmi.addmedia) will rename hdlist.cz from each repository and add it to your resources.

So, rpmdrake will be able to find it. /var/lib/urpmi

I find copy and paste the text from easy-urpmi into Konsole and wait for it to finish downloading the data-bases.

What is your Location? I am in Australia (Down Under)

Cheers, Glenn

Last edited by GlennsPref; 02-04-2009 at 06:16 AM.
 
Old 02-04-2009, 06:25 AM   #14
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Paste this text into Konsole...And wait.

This uses a smaller file I mentioned above. It's quicker...
Code:
urpmi.addmedia --update plf-free http://distrib-coffee.ipsl.jussieu.fr/pub/linux/plf/mandriva/2008.0/free/release/binary/i586/ with media_info/synthesis.hdlist.cz
urpmi.addmedia --update plf-nonfree http://distrib-coffee.ipsl.jussieu.fr/pub/linux/plf/mandriva/2008.0/non-free/release/binary/i586/ with media_info/synthesis.hdlist.cz
urpmi.addmedia main http://mandriva.mirror.garr.it/mirrors/mandriva/official/2008.0/i586/media/main/release with media_info/synthesis.hdlist.cz
urpmi.addmedia --update main_updates http://mandriva.mirror.garr.it/mirrors/mandriva/official/2008.0/i586/media/main/updates with media_info/synthesis.hdlist.cz
urpmi.addmedia contrib http://mandriva.mirror.garr.it/mirrors/mandriva/official/2008.0/i586/media/contrib/release with media_info/synthesis.hdlist.cz
urpmi.addmedia --update contrib_updates http://mandriva.mirror.garr.it/mirrors/mandriva/official/2008.0/i586/media/contrib/updates with media_info/synthesis.hdlist.cz
urpmi.addmedia non-free http://mandriva.mirror.garr.it/mirrors/mandriva/official/2008.0/i586/media/non-free/release with media_info/synthesis.hdlist.cz
urpmi.addmedia --update non-free_updates http://mandriva.mirror.garr.it/mirrors/mandriva/official/2008.0/i586/media/non-free/updates with media_info/synthesis.hdlist.cz
Once it has finished downloading you can...

urpmi libqt3-devel

That should do it.

Regards, Glenn

Last edited by GlennsPref; 02-04-2009 at 06:26 AM. Reason: space
 
Old 02-05-2009, 12:52 AM   #15
auror4
LQ Newbie
 
Registered: Jan 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Oh !!!! Thanks

I had download it, and when I try urpmi libqt3-devel it can found the package,(No package named libqt3-devel),

I type it from [root@localhost ~], where should do I be type that command
is it on the [root@localhost account(home account)]or the location can be from anywhere as long as I'm at the root.

when I type
urpmi gcc-c++
it tells No package named gcc-++,

however I succeeded when I type
urpmi make

sorry for being dummies, asking you many questions.

Last edited by auror4; 02-05-2009 at 03:54 AM.
 
  


Reply

Tags
configure, mandriva, qt, x11


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in installing .tar.gz package in mandriva 2008 det0nat0r Linux - Desktop 4 07-25-2008 05:29 AM
LXer: The Perfect Server - Mandriva 2008 Spring Free (Mandriva 2008.1) LXer Syndicated Linux News 0 04-10-2008 04:10 PM
Mandriva 2008 Fails To Update Mandriva 2007 Spring Free max53000 Mandriva 1 10-20-2007 04:53 AM
LXer: The Perfect Desktop - Mandriva 2008 Free (Mandriva 2008.0) LXer Syndicated Linux News 0 10-16-2007 07:20 PM
LXer: The Perfect Server - Mandriva 2008 Free (Mandriva 2008.0) LXer Syndicated Linux News 0 10-11-2007 09:41 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration