LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   fail to configure qt-x11-free-3.3.8.tar.gz on mandriva 2008 (https://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.:)

GlennsPref 02-05-2009 02:23 AM

Try it from the software installer gui.

"Mandriva Control Center". (MCC)

You can browse to the file or search from there if the repo is set-up.

Regards, Glenn

auror4 02-05-2009 06:14 AM

Oh !!!! Thanks

I had download it, it takes very long time and when I try urpmi libqt3-devel it can found the package,(No package named libqt3-devel),
I'm in Indonesia

I type it from [root@localhost ~], where should I type the 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:

I also got advised to instaled development application using this

urpmi gcc-c++
urpmi make

How do you think ??

sorry for being dummies, asking you so many questions.:)

GlennsPref 02-05-2009 06:31 AM

Well, you will need them for building packages.(gcc-c++ make)

There may be more packages, depending on what you have installed now.

Your location helps me with your english, which is quite good, but I have to guess sometimes.

No Offence intended.

If you goto the directory where you downloaded the package you could use rpm or urpmi to install it.

I hope you see that the repo database is just a list of the available packages and the info for each one.

You will need to be root/admin to install packages/programs.

So, su to root...

su (type in root password)

rpm -ivh *.rpm

will install all the rpm's you have in that directory

But may balk with dependants not being available.

The other option, also from the command line...

same as before.. cd to the directory containing the downloaded rpms.

su (to root, type in root password)

urpmi *.rpm

That will try to solve any deps, using the repo hdlists you downloaded before.


It may ask you questions, like a choice between one version or another.

Be care full, as you don't want to end up upgrading the whole system. Takes ages.

See if that helps, Glenn

auror4 02-05-2009 06:38 AM

Quote:

Originally Posted by GlennsPref (Post 3432746)
Try it from the software installer gui.

"Mandriva Control Center". (MCC)

You can browse to the file or search from there if the repo is set-up.

Regards, Glenn


it says no packaged name libqt3-devel, I try to search libqt3-devel throught software management,but there is no search result for that.

However I found file named lsb-build-qt3-devel(version 3.1.1-4mdv2007.0), and those package are unable to installed [I type urpmi lsb-build-qt3-devel ]due to unsatisfied gcc-c++,

Is that means that I failed in download libqt3-devel, however how can I get
gcc-++ ?

because I failed add those gcc_++ throught "Configure media sources" menu on Mandriva Control Center...

:study:

By the way do you have any tips to upgrade from mandriva 2008.0 to mandriva 2009.0 using urpmi command (if that possible ?)

GlennsPref 02-05-2009 07:02 AM

can you paste the contents of the file...

/etc/urpmi/urpmi.cfg

Please?

Everything relies on the version of gcc and glibc.

Those 2 files/packages put a limit on what version you can install.

That can only work if you have successfully downloaded the hdlists with urpmi.addmedia

sorry, that's not quite right...

"Configure Media Sources" is the gui for urpmi.addmedia

It should work.

lsb = linux standard base, If you go this way it could be more complicated.

Your system is quite old, I have forgotten too much about it.

Try to cut the name a bit. Like

urpmi qt3

Then "use the tab key to auto complete" the name (from the repo) from the konsole(cli).

Here is the name from the repo you named before.
Code:

ftp://mirrors.secsup.org/pub/linux/mandrake/Mandrakelinux/official/2008.0/i586/media/main/release/libqt3-devel-3.3.8-8mdv2008.0.i586.rpm
Sometimes it want the full name, not just the first bit, but the version too.

It's fussy (temperamental).

auror4 03-02-2009 11:35 PM

Great... it's work

Thanks for all of you guys..:)

GlennsPref 03-03-2009 12:26 AM

It is possible to upgrade from one version to another as long as it is not too distant,

because of the changes in dependent packages and package name changes.

If you want to try it, BACK UP FIRST!

then go to easy-urpmi zarb.net or something, there is a few of them, but basically the same thing.

Follow the instruction carefully.

I do not advise this unless you have a firm knowledge of the cli and the tools requires to install and remove packages.

It's dangerous, you could wipe your system! (break it.)

Regards, Glenn


All times are GMT -5. The time now is 03:11 PM.