LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (http://www.linuxquestions.org/questions/mandriva-30/)
-   -   fail to configure qt-x11-free-3.3.8.tar.gz on mandriva 2008 (http://www.linuxquestions.org/questions/mandriva-30/fail-to-configure-qt-x11-free-3-3-8-tar-gz-on-mandriva-2008-a-701586/)

auror4 02-02-2009 03:48 AM

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......

weibullguy 02-02-2009 04:52 AM

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.

GlennsPref 02-02-2009 04:59 AM

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.

knudfl 02-02-2009 05:27 AM

*
'su'
'urpmi libqt3-devel' to get 'libqt3-devel-3.3.8'

which is the default version for 2008(.1)

....

auror4 02-03-2009 01:54 AM

Quote:

Originally Posted by GlennsPref (Post 3428928)
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

GlennsPref 02-03-2009 07:47 AM

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!

knudfl 02-03-2009 10:50 AM

*
See # 4 ....

The command # 'urpmi <package>'

is downloading and installing the package.
....

auror4 02-03-2009 10:40 PM

Quote:

Originally Posted by knudfl (Post 3430521)
*
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...

auror4 02-04-2009 01:21 AM

Quote:

Originally Posted by GlennsPref (Post 3430260)
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...

knudfl 02-04-2009 01:55 AM

Quote:

... what you mean with the package is file with extension .package isn't ??
Please read # 4 again.

Code:

        urpmi libqt3-devel

GlennsPref 02-04-2009 02:36 AM

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.

auror4 02-04-2009 05:46 AM

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...

GlennsPref 02-04-2009 06:15 AM

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

GlennsPref 02-04-2009 06:25 AM

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

auror4 02-05-2009 12:52 AM

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.:confused:

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.:)


All times are GMT -5. The time now is 10:17 AM.