Click to See Complete Forum and Search --> : problem installing glib - my first compile ever


randy82103
10-11-2003, 05:20 PM
running mandrake 9.0 with KDE
trying to install xmms -> gtk -> glib
dled glib-1.2.9, put it in /home/.../glib-1.2.9

I run ./configure and I get

loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking host system type... i686-pc-linux-gnuoldld
checking build system type... i686-pc-linux-gnuoldld
checking for ranlib... :
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH

I am very new to linux, and this is my first ever program installation attempt, need a little help with this part.

thanks

hard candy
10-11-2003, 05:24 PM
You picked one of the most complicated programs to compile and install to start off with. Why not use a rpm from the web- "www.rpmfind.net".
Then start off with a smaller less complicated program to compile.

dek0nstructi0n
10-11-2003, 05:32 PM
The configure script didn't find a compiler on your system. Install the c/c++ dev tools like gcc from your mandrake CD

randy82103
10-11-2003, 06:46 PM
Thanks for the info, I tried looking on the cd, but the rpms didnt work right for me, I am getting the gcc-3.2.3.tar.bz2 from the GCC website right now, hopefully that will do it for me.

dek0nstructi0n
10-11-2003, 07:00 PM
You're not going to be able to compile the compiler without a compiler :D

What problems were you getting with the rpms on the mandrake CD? I thought most distros installed the basic development tools by default

Can you post output from a shell of :
"which gcc"

randy82103
10-11-2003, 07:04 PM
which: no gcc in (/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin)

hmm. the rpms had dependancies that listed when they failed too, I hunted down most of the dependancies, but one of the progs had a kernal requirement that I couldn't understand.

randy82103
10-11-2003, 08:46 PM
ok, I am getting frustrated. I am trying to learn xmms on mandrake so that later i can learn KDE on gentoo, and I know that will be more difficult, but how can I compile with out a compiler? What did people do before RPMs, i mean, I can not find all the things I am looking for to install the RPM, and I have the gcc from their website, is there no way this can work?

hard candy
10-12-2003, 06:20 AM
Open up the Mandrake rpm installation program (I forget what it's called -drake rpm? Tell it you want to install extra rpms. It should give you a list to choose from, choose the ones from the development section. Kernel sources, perl-dev, kde-dev, etc. It should ask you to insert the installation cd. Do so and install the rpms. Go ahead and install anything with "-devel**" at the end, yuou never know what you'll need in the future.
For glib, rpmfind.net (http://rpmfind.net/linux/RPM/) , look here and find the rpm you want, there should be one for Mandrake. Look at the page for it, it will tell you the dependencies required.

I looked and all that was for Mandrake was the src rpm, so you get to compile anyway. Read in the rpm directions about installing src rpm's. glib.src.rpm (http://rpmfind.net//linux/RPM/mandrake/9.1/SRPMS/glib-1.2.10-6mdk.src.html)

dek0nstructi0n
10-12-2003, 11:19 AM
randy82103,

you're going to have to give a lot more detail about why installing the gcc rpms failed. At this point I'm thinking your installation is broken.

What gcc packages are available on the Mandrake CD? Can you list them + version numbers. GCC basically only pre-reqs glibc which should be installed on you system (otherwise your system wouldn't function at all!).

Also post the dependencies that it complains about.

Did you use Mandrake's tool for installing the rpms? Or did you try it on command line. If on command line, show the command you entered.

randy82103
10-12-2003, 03:46 PM
Whew! ok, I was getting frustrated, last night. Hard Candy, sweet, got the "rpmdrake" in effect.

now it's on to compiling xmms...