LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-03-2002, 11:25 PM   #1
newmandrakeuser
LQ Newbie
 
Registered: Dec 2002
Posts: 8

Rep: Reputation: 0
I am trying to figure out dependecies


Ok so i took the leap and installed Mandrake 9.0 I am dual booting with windows XP none of this really matters but i am just proud of my self because i actually got this dual boot working with no help.
Anyways I am trying to install a game that i found online when i try to ./configure i get this
foobillard-1.9]$ ./configure
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-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
now it seems to be a problem with something not being installed but for the life of me i can't figure out where i go to find these things or how to install them once i do find them. what is worse is this is just the first step to installing and i am completely lost
also i have a i810audio driver installed i tried checking everything out in KDE control center and it seems ok but i can't get any sound. So before this post becomes a story i will just say thanks in advance for all the help i am sure will be rolling in.
Thanks
 
Old 12-03-2002, 11:33 PM   #2
rlkiddjr
Member
 
Registered: Feb 2002
Distribution: FreeBSD 4.9
Posts: 69

Rep: Reputation: 15
Go into Mandy's package manager and install the c++ library files. You will need this package if you compile the programs to install them.

After you do that, if you get any other errors post them and we will try to figure out what else your missing.

Hope this helps,
rlkiddjr
 
Old 12-03-2002, 11:40 PM   #3
newmandrakeuser
LQ Newbie
 
Registered: Dec 2002
Posts: 8

Original Poster
Rep: Reputation: 0
I would be more than glad to do that

But I can't find the package manager you are speaking of when i go to the KDE control menu (start button) i go to configuration and then to packaging and then to install software then i do a search in this program and it says none found i did the search for C++
Am i doing this right or am i showing true newbiness?
Thanks
 
Old 12-03-2002, 11:55 PM   #4
rlkiddjr
Member
 
Registered: Feb 2002
Distribution: FreeBSD 4.9
Posts: 69

Rep: Reputation: 15
I think it is called Mandrake control center. Then look for something like software packages. Then look for either c++ libraries or c++ devloper.

Sorry I can't be more specific right now, but I'm not setting in front of my Linux box.
 
Old 12-04-2002, 01:33 AM   #5
Natbobc
LQ Newbie
 
Registered: Dec 2002
Posts: 9

Rep: Reputation: 0
Hello,

I'm not familiar w/ Mandrake and haven't used RPM's much lately, however the packages you need should be something along the lines of the following:

perl*.i586.rpm
automake*.i586.rpm
autoconf*.i586.rpm
gcc*.i586.rpm
glibc*.i586.rpm
make*.i586.rpm

You should be able to mount the cd-rom and do an rpm -i with all of the above packages. For example in a console type the following:

mount /dev/hdb /mnt/cdrom && \
rpm -i `find /mnt/cdrom/Mandrake/RPMS -name perl*.i586.rpm` && \
echo DONE

If it doesn't echo DONE then it failed somewhere along the line. If you have any problems let me know, I'll see what I can do to help. Hopefully I'm not assuming too much or too little about your level of knowledge under linux.

Regards,

Natbob

PS: to post the output errors you will probably have to redirect stderr to a file. The easiest way to do that is put the following before every &&:

2>> ~/errfile.txt

Then you can just open up the errfile.txt from your home directory. Delete the file once you are done w/ it.
 
Old 12-04-2002, 11:53 AM   #6
llama_meme
Member
 
Registered: Nov 2001
Location: London, England
Distribution: Gentoo, FreeBSD
Posts: 590

Rep: Reputation: 30
You shouldn't need Perl, automake or autoconf, but you'll need the others...

(automake and autoconf are written in Perl, I think, but ./configure is just a shell script)

Alex
 
Old 12-04-2002, 12:45 PM   #7
Natbobc
LQ Newbie
 
Registered: Dec 2002
Posts: 9

Rep: Reputation: 0
Yeah your right, I guess you don't really need perl for most configure scripts. Although, I have found the occassional one that has a dependancy on it (unfortunately an example package name evades me at the moment ). The reason I suggested the automake and the autoconf is more from a porting perspective so you can generate files such as configure, config.sub and config.guess, although it's probably quicker to download the latter 2 files from gnu.org. There's a whole mash of other config files the scripts can generate, but I haven't used it since switching back from qnx to linux. ( The concept of use it or lose it comes into play especially strong w/ me . )

A couple other files you'll also need that I forgot to mention are binutils*.i586.rpm and bin86*.i586.rpm, hopefully there's nothing else critical that I'm missing, sorry for forgetting about those 2. You'll need the binutils for the linker and I believe you need bin86 for compiling stuff like your kernel, can't remember for certain though...

Regards,

Nathan
 
Old 12-04-2002, 01:28 PM   #8
newmandrakeuser
LQ Newbie
 
Registered: Dec 2002
Posts: 8

Original Poster
Rep: Reputation: 0
Ok great responses now i am running into another problem all of my mandrake discs are in ISO format is there a way to extract them in MDK9.0 or should i go to windows and use isobuster? also when i type in rpm -i `find /mnt/cdrom/Mandrake/RPMS -name perl*.i586.rpm` && \ it does nothing except gives me another command line no echo no nothing. I am thinking this is because RPM doesn't look in ISO's. I am hoping i can figure this out man it would be easier if i knew somebody who knew alittle bit about linux so they could just come say OK this is what you are doing wrong. but oh well Thanks again for the replys i think i am heading in the right direction i am just goin real slow
 
Old 12-04-2002, 02:01 PM   #9
llama_meme
Member
 
Registered: Nov 2001
Location: London, England
Distribution: Gentoo, FreeBSD
Posts: 590

Rep: Reputation: 30
Quote:
rpm -i `find /mnt/cdrom/Mandrake/RPMS -name perl*.i586.rpm` && \
This is a bit odd - && has to be followed by another command (which is executed if the first one succeeds). The \ then says you're continuing the script onto the next line - hence the further prompt. What you've probably forgotten is the echo "DONE" on the next line of the script Natbobc gave you

rpm won't look in ISO files - you'd have to either burn them onto CDs and look on the CDs, or extract the ISOs onto your HD (not sure how to do the second one, but I'm sure someone can tell you).

Alex
 
Old 12-05-2002, 01:12 AM   #10
Natbobc
LQ Newbie
 
Registered: Dec 2002
Posts: 9

Rep: Reputation: 0
Hello,

Sorry about my last post the \ after the && is redundant, I usually do everything on one line and don't worry about \, I thought it might make things clearier though if it spanned multiple lines. Sorry for any confusion or problems it may have generated. If you use a loopback device you can mount properly formatted drive images and iso's. In your case:

mkdir -p /mnt/iso &&
losetup /dev/loop/0 __YOUR_MANDRAKE_ISO__.iso &&
mount -t iso9660 /dev/loop/0 /mnt/iso &&
echo DONE

Then you can access the required files as you wish through the new mount point. If you don't have a /dev/loop/#, then you'll have to load the module like so:

insmod loop

You may also want to look for a /dev/loop# as well, but I'm pretty sure since you're using Mandrake your kernel will be using devfs. If you have any problems or questions let me know.

Regards,

Nathan
 
Old 12-05-2002, 10:38 AM   #11
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
Try this

OK, you need to locate the "Install Software" option of Mandrake:

http://www.linux-mandrake.com/en/dem...t/SoftwareMgr/

You need to find the gcc package - install it (it'll pull in a load of other packages as dependancies) and when it's done run "gcc --help" in a terminal to make sure it's there, you should see lots of help text fly past.

When that's done, rerun configure. If you get another dependancy failure (and you probably will) ask again on these forums or in IRC (irc.freenode.net in #linuxhelp). I am TD, if I am there ask me, say you came from LQ.org and I'll see what I can do.

Yes, installing software on Linux is a PITA. It's the area I'm currently trying to fix with my project (autopackage.org) but it's a big problem so for now you will have to learn how to do it the hard way.
 
Old 12-05-2002, 12:29 PM   #12
newmandrakeuser
LQ Newbie
 
Registered: Dec 2002
Posts: 8

Original Poster
Rep: Reputation: 0
Two things
1. To netbobc thanks for the reply that looks like it might help i am at work right now and am not able to get to my box but i will try that as soon as i can. let me explain my system config alittle bit I have one 10 gig Partition with windows XP pro ntfs on it then i have one 2.5gig partition which is what i used to install mandrake from because i couldn't get it to read off the CDrom ISO correctly. I know i should have converted the ISO onto the cd but i couldn't get it to work. anyways thanks for that info netbob
2. To mhearn I appreciate the information and i guess i should have put this in the post but for some reason when i go to the install software there are only like ten or twelve things listed in there and i know i did not install everything but i did have a strange error during install it said that install could not read a certain RPM should it continue i said yes and everything worked fine from there now when i go to the install software i can't figure out how to get it to show everything i tried selecting show all packages and it showed a few more but nowhere near the amount it should. Well i hope to be able to try out the suggestions made this evening so i will get back to you later. Thanks again for all the help.
 
Old 12-05-2002, 09:45 PM   #13
newmandrakeuser
LQ Newbie
 
Registered: Dec 2002
Posts: 8

Original Poster
Rep: Reputation: 0
Ok i got the d@mn thing to configure

Now i have a new problem i am going to post the entire contents of the ./configure and then the make
./configure screen
foobillard-1.9]# ./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... missing
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... (cached) c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for limits.h... (cached) yes
checking for unistd.h... (cached) yes
checking for math.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for stdio.h... (cached) yes
checking for ft2build.h... (cached) no
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
checking for socket... (cached) yes
checking for poll... (cached) yes
creating ./config.status
creating Makefile
creating foobillard.spec
creating foobillard-SDL.spec
creating src/Makefile
creating data/Makefile
creating src/config.h
src/config.h is unchanged
[root@localhost foobillard-1.9]#

make screen

foobillard-1.9]# make
Making all in src
make[1]: Entering directory `/home/josh/foobillard-1.9/src'
gcc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/foobillard/"' -Wall -O3 `freetype-config --cflags` `sdl-config --cflags` -DUSE_SDL -c billard3d.c
/bin/sh: line 1: freetype-config: command not found
/bin/sh: line 1: sdl-config: command not found
billard3d.c:31:20: GL/glu.h: No such file or directory
billard3d.c: In function `DisplayFunc_cubemap':
billard3d.c:1564: warning: unused variable `th'
billard3d.c:1564: warning: unused variable `ph'
billard3d.c:1574: warning: unused variable `real_dist'
billard3d.c:1575: warning: unused variable `fps'
billard3d.c:1580: warning: unused variable `prj_matr'
billard3d.c:1582: warning: unused variable `rg_eye_dist'
billard3d.c: In function `create_cuberef_map':
billard3d.c:1781: warning: unused variable `j'
billard3d.c:1781: warning: unused variable `depth'
billard3d.c:1781: warning: `target' might be used uninitialized in this function
billard3d.c: In function `DisplayFunc':
billard3d.c:2247: warning: unused variable `str'
billard3d.c:1834: warning: unused variable `light_diff'
billard3d.c:1835: warning: unused variable `light_amb'
billard3d.c:1932: warning: `eye_offs0' might be used uninitialized in this function
billard3d.c:1945: warning: `eye_offs1' might be used uninitialized in this function
billard3d.c: In function `reassign_and_gen_cuberef_tex':
billard3d.c:2829: warning: unused variable `depth'
billard3d.c:2811: warning: unused variable `w'
billard3d.c:2811: warning: unused variable `h'
billard3d.c:2811: warning: unused variable `depth'
billard3d.c:2811: warning: `target' might be used uninitialized in this function
billard3d.c:2829: warning: `w' might be used uninitialized in this function
billard3d.c:2829: warning: `h' might be used uninitialized in this function
billard3d.c: In function `init_menu':
billard3d.c:3064: warning: unused variable `i'
billard3d.c: In function `parse_gl_extensions_string':
billard3d.c:3259: warning: assignment discards qualifiers from pointer target type
billard3d.c: In function `Init':
billard3d.c:3329: warning: implicit declaration of function `gluBuild2DMipmaps'
billard3d.c: At top level:
billard3d.c:172: warning: `cubereftexbind' defined but not used
billard3d.c:183: warning: `half_full_names' defined but not used
make[1]: *** [billard3d.o] Error 1
make[1]: Leaving directory `/home/josh/foobillard-1.9/src'
make: *** [all-recursive] Error 1
[root@localhost foobillard-1.9]# ./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... missing
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... (cached) c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for limits.h... (cached) yes
checking for unistd.h... (cached) yes
checking for math.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for stdio.h... (cached) yes
checking for ft2build.h... (cached) no
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
checking for socket... (cached) yes
checking for poll... (cached) yes
creating ./config.status
creating Makefile
creating foobillard.spec
creating foobillard-SDL.spec
creating src/Makefile
creating data/Makefile
creating src/config.h
src/config.h is unchanged
[root@localhost foobillard-1.9]# make
Making all in src
make[1]: Entering directory `/home/josh/foobillard-1.9/src'
gcc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/foobillard/"' -Wall -O3 `freetype-config --cflags` `sdl-config --cflags` -DUSE_SDL -c billard3d.c
/bin/sh: line 1: freetype-config: command not found
/bin/sh: line 1: sdl-config: command not found
billard3d.c:31:20: GL/glu.h: No such file or directory
billard3d.c: In function `DisplayFunc_cubemap':
billard3d.c:1564: warning: unused variable `th'
billard3d.c:1564: warning: unused variable `ph'
billard3d.c:1574: warning: unused variable `real_dist'
billard3d.c:1575: warning: unused variable `fps'
billard3d.c:1580: warning: unused variable `prj_matr'
billard3d.c:1582: warning: unused variable `rg_eye_dist'
billard3d.c: In function `create_cuberef_map':
billard3d.c:1781: warning: unused variable `j'
billard3d.c:1781: warning: unused variable `depth'
billard3d.c:1781: warning: `target' might be used uninitialized in this function
billard3d.c: In function `DisplayFunc':
billard3d.c:2247: warning: unused variable `str'
billard3d.c:1834: warning: unused variable `light_diff'
billard3d.c:1835: warning: unused variable `light_amb'
billard3d.c:1932: warning: `eye_offs0' might be used uninitialized in this function
billard3d.c:1945: warning: `eye_offs1' might be used uninitialized in this function
billard3d.c: In function `reassign_and_gen_cuberef_tex':
billard3d.c:2829: warning: unused variable `depth'
billard3d.c:2811: warning: unused variable `w'
billard3d.c:2811: warning: unused variable `h'
billard3d.c:2811: warning: unused variable `depth'
billard3d.c:2811: warning: `target' might be used uninitialized in this function
billard3d.c:2829: warning: `w' might be used uninitialized in this function
billard3d.c:2829: warning: `h' might be used uninitialized in this function
billard3d.c: In function `init_menu':
billard3d.c:3064: warning: unused variable `i'
billard3d.c: In function `parse_gl_extensions_string':
billard3d.c:3259: warning: assignment discards qualifiers from pointer target type
billard3d.c: In function `Init':
billard3d.c:3329: warning: implicit declaration of function `gluBuild2DMipmaps'
billard3d.c: At top level:
billard3d.c:172: warning: `cubereftexbind' defined but not used
billard3d.c:183: warning: `half_full_names' defined but not used
make[1]: *** [billard3d.o] Error 1
make[1]: Leaving directory `/home/josh/foobillard-1.9/src'
make: *** [all-recursive] Error 1
[root@localhost foobillard-1.9]#
now i know that somewhere in there it is telling me what else i am missing but again i can't find it.
BTW the link to the mandrake site helped alot i knew that there was some reason why mandy's install packages was only showing a very few it was because i hadn't told it where to look for more after figuring that i got a few games installed as well as the C++ RPM i think i also install gcc. I appreciate any further that can be offered
Thanks
 
Old 12-06-2002, 12:00 AM   #14
Natbobc
LQ Newbie
 
Registered: Dec 2002
Posts: 9

Rep: Reputation: 0
Hello again,

When you're looking to troubleshoot errors it's best to start at the top and work your way down. Your problem appears to start here:

/bin/sh: line 1: freetype-config: command not found
/bin/sh: line 1: sdl-config: command not found
billard3d.c:31:20: GL/glu.h: No such file or directory

These three lines tell you a little about what you're missing. The first line tells you're missing the freetype-config should be part of the the freetype-developer rpm freetype is just some font lib routines. You'll probably want to install the XFree86-4.x-developer lib as well, as I believe it has a newer version. The sdl-config should be part of the sdl-developer rpm (Simple DirectMedia Layer). The missing GL/glu.h means your missing the developer library for OpenGL. Basically you should probably install both the developer and base libraries to ensure they are there. So as a quick summary the libs you need are:

XFree86-4.x-developer library
SDL-developer library
OpenGL-developer library
FreeType-developer library

The latter 3 may or may not require the base library to be installed, and I'm assuming since you're running Mandrake the base X library and exec's are already installed so you shouldn't need that. As usually let me know how it goes.

Regards,
Nathan
 
  


Reply


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
Where to get dependecies? ElectroLinux Linux - Newbie 3 02-22-2005 06:00 PM
Installing libraries/dependecies Baix Linux - Software 1 06-19-2004 02:41 PM
Handling all those dependecies Baix Linux - Newbie 4 06-19-2004 02:31 PM
failed dependecies with libpcap Baltasar Fedora 6 02-06-2004 09:56 AM
Bugger! Failed Dependecies legend23 Linux - General 4 09-27-2002 06:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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