LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mandrake question (https://www.linuxquestions.org/questions/linux-newbie-8/mandrake-question-304020/)

biojayc 03-20-2005 05:31 PM

mandrake question
 
I'm running Mandrake 10.0 Official. Whenever I go to the package manager and try to add in packages, sometimes it tells me to insert instalation cd 4, but there is only 3 cds? what is this mysterious 4th cd it's asking me for?

I was installing some stuff under developement, xmms, and some games when this happened last.

nadroj 03-20-2005 06:04 PM

i dont know never used mandrake, and dont know much about linux. but this page shows a 6-cd version.. looks like you can only buy it though? i dunno if this helps. http://www.mandrakelinux.com/en/ftp-premium.php3

simeandrews 03-20-2005 06:10 PM

The fourth cd is the kde 3.3 cd.

Anyway, a quick important mandrake lesson, it's called easy urpmi. THis is one of the most valuble tools available in the mandrake lnux os. Go to easyurpmi.zarb.org to find out what i'm talking about.

The mandrake cd's have the softwrae from the time of the release of your version. This is a problem because up to date software si much more important to have. So, easy urpmi will point the package manager to an internet ftp instead of your cd's, which gives you the latest releases in an easy-to-install format.

THe instructions are on the easy urpmi page, but anyway.

1. Choose your version of mandrake in the first section, and choose your architecture.

Proceed to step 2

2. Check all the boxes, and choose a mirror close to you.

Proceed to step 3

3. Copy the text displayed, and then open a console.

4. In the console, log in as root (type su and enter and then enter oyur password, enter), and paste the copied text. Now you should be able to get an up-to-date version of whatever you were looking for. Note it may take 20-30 minutes for the script to finish running.

biojayc 03-20-2005 07:12 PM

>>The fourth cd is the kde 3.3 cd.

Anyway, a quick important mandrake lesson, it's called easy urpmi. THis is one of the most valuble tools available in the mandrake lnux os. Go to easyurpmi.zarb.org to find out what i'm talking about.

The mandrake cd's have the softwrae from the time of the release of your version. This is a problem because up to date software si much more important to have. So, easy urpmi will point the package manager to an internet ftp instead of your cd's, which gives you the latest releases in an easy-to-install format.

THe instructions are on the easy urpmi page, but anyway.

1. Choose your version of mandrake in the first section, and choose your architecture.

Proceed to step 2

2. Check all the boxes, and choose a mirror close to you.

Proceed to step 3

3. Copy the text displayed, and then open a console.

4. In the console, log in as root (type su and enter and then enter oyur password, enter), and paste the copied text. Now you should be able to get an up-to-date version of whatever you were looking for. Note it may take 20-30 minutes for the script to finish running.>>

Problem is I don't have internet access available under linux. I have to boot windows for that, so I can't do that.

Also, I get glib errors when I try to install xmms so I can't get that working. I haven't been able to successfully install anything really.

nadroj 03-20-2005 07:15 PM

whats the error messages from glib? that could be a start

biojayc 03-20-2005 07:31 PM

it says:

checking for glib-config... no
checking for GLIB - version >= 1.2.2... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config
configure: error: *** GLIB >= 1.2.2 not installed - please install first ***

I don't know what glib is, I don't know what PREFIX is, and I don't know how to set path/environment variables.

I'm brand new to linux so I'm not sure what I've done/doing wrong. If this error makes any sense, any help would be greatly appreciated. Thanx

nadroj 03-20-2005 07:47 PM

when you try to install xmms like you said, the terminal displays a bunch of output like the portion you pasted. it goes through a list of dependantcies that the software your installing relies on. the software your installing (xmms in this case) needs and uses other software to run.. glib apparently being one of them.

info about glib
and another link about glib

looks like you need to download and install glib first. click here to get a page where to download glib from (it says the latest version is GLIB-2.6.3). so download and install that and let us know how that goes, or what errors it reports.

you mentioned you dont have internet access from your linux installation. so save the file in windows and reboot into linux and copy/paste the file you downloaded from windows partition to your linux one.. put it in your home directory, to make things simple.

if you dont know how to mount your windows drive/partition (or if it isnt already mounted), search this site or somewhere to find out and try it. let us know how that goes

biojayc 03-20-2005 11:07 PM

Thanx, I'll be sure to give that a try

biojayc 03-21-2005 04:13 AM

okay, I tried it and it didn't work. Glib seemed to install just fine. I did ./configure, make, and make install and they all seemed to work fine without any errors, but when I try to ./configure xmms, I still get the same error I got before.


I'm also getting errors when I try to install ndiswrapper. don't remember the exact errors, but I get them on the ./configure part of it. I'm just overall having alot of problems getting things compiled it seems... oh well, hopefully I'll have luck some day.

simeandrews 03-21-2005 06:32 AM

Compile it again, but when typing configure, do it like this:
Code:

./configure --prefix=/usr
THis will make the computer know that glib exists because it will be in a common folder.

THen just do mmake and make install for glib, the same you would have before, just do you know, no need to add a prefix or move to /usr

And if when you go to install xmms and it asks you something about pango, atk, or gtk, that should be in the same place as glib, but I'd suggest compiling them in the terminal or kde, I am not sure, but using gnome to compile these things could screw it up because it is reliant on gtk and its tools.

If you have any troubles, search simeandrews and click anything that says gtk in the name, I had a messy experience:cry:

biojayc 03-21-2005 01:00 PM

thanx a bunch, I'll give that a try

biojayc 03-21-2005 01:32 PM

I tiried that and got the same error I got before.

I went into the glib folder and typed "./configure --prefix=/usr" and then did "make" and "make install"

I then went into the xmms folder and typed "./configure" and got the same error I did before. Not sure whats up. Any other suggestions?

Also, what exactly does "--prefix" do, and what does "./configure", "make" and "make install" do? Thanx

nadroj 03-21-2005 01:36 PM

try again with prefix=/usr/ or prefix=/usr/bin/

simeandrews 03-21-2005 01:54 PM

I think ./configure checks to make sure everything you need is installed, and then makes a file which allows everything to run, make makes an installer, and make install runs the installer.

biojayc 03-21-2005 02:22 PM

./configure --prefix=/usr/ this didn't work at all

./configure --prefix=/usr/bin let me do ./configure, and make but make install errored and didn't complete. something about /usr/bin/man existing but not being a directory. anyway, don't know what that's about but that's what happened.


how do I set the GLIB_CONFIG environment variable, or any environment variable for that matter?


All times are GMT -5. The time now is 04:48 AM.