LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 07-07-2006, 01:16 PM   #1
Morkeste
LQ Newbie
 
Registered: Jul 2006
Distribution: Mandriva 2006
Posts: 13

Rep: Reputation: 0
Gcc? Make? Configure?


Ok, I have been a Windows user for quite a long time and am very advanced at it... But I decided it's now the time to move onto somthing that's good. So I now have Linux. The Mandriva 2006 distro.

Anyways. I have been trying to install stuff... Some is easy, untill I have the source file to install. The "make" commands dont work and the "./compile" doesnt work. It says no suitible somthing in $PATH. I read around and I found that I need to install GCC. I downloaded it and tryed to install. No luck because I need to do the "make" command which also doesnt work.

What all do I need to install to get these things to work?

I have been sitting here for a few days trying to figure it out trying not to be some noob asking dumb questions, but I guess asking questions could be helpful sometimes huh?

Any help is much appriciated
 
Old 07-07-2006, 01:23 PM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Which piece of software are you trying to install? If it's something common, then you'll likely be able to obtain it using your distro's package manager (which will probably be easier than building from source).

Mandriva will have pre-built packages for gcc and make on the CDs (or again, available via the aforementioned package manager) so you should install those from there.

I believe that Mandriva's package manager is called "urpmi" or something like that, but I can't say for sure as I don't use the distro.

HTH.
 
Old 07-07-2006, 01:32 PM   #3
Morkeste
LQ Newbie
 
Registered: Jul 2006
Distribution: Mandriva 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Nylex
Which piece of software are you trying to install? If it's something common, then you'll likely be able to obtain it using your distro's package manager (which will probably be easier than building from source).

Mandriva will have pre-built packages for gcc and make on the CDs (or again, available via the aforementioned package manager) so you should install those from there.

I believe that Mandriva's package manager is called "urpmi" or something like that, but I can't say for sure as I don't use the distro.

HTH.
To be honest.. I forget what I was trying to install in the first place... I have been looking around about GCC the past few days... Er, wait, it was XMMS.

How do I find/use this package manager? I have 3 installation cds and not quite sure what im looking for.

I did the locate command in shell and came up with this...

Code:
[morkeste@localhost ~]$ locate urpmi
/etc/logrotate.d/urpmi
/etc/bash_completion.d/urpmi
/etc/urpmi
/etc/urpmi/urpmi.cfg
/etc/urpmi/inst.list
/etc/urpmi/skip.list
/var/lib/urpmi
/var/lib/urpmi/hdlist.Installation Free CD1 (cdrom1).cz
/var/lib/urpmi/synthesis.hdlist.Installation Free CD1 (cdrom1).cz
/var/lib/urpmi/hdlist.Installation Free CD2 (cdrom2).cz
/var/lib/urpmi/synthesis.hdlist.Installation Free CD2 (cdrom2).cz
/var/lib/urpmi/hdlist.Installation Free CD3 (cdrom3).cz
/var/lib/urpmi/synthesis.hdlist.Installation Free CD3 (cdrom3).cz
/var/lib/urpmi/names.Installation Free CD1 (cdrom1)
/var/lib/urpmi/names.Installation Free CD2 (cdrom2)
/var/lib/urpmi/names.Installation Free CD3 (cdrom3)
/var/lib/urpmi/MD5SUM
/var/lib/urpmi/compssUsers.flat
/var/lib/urpmi/.RPMLOCK
/var/lib/urpmi/.LOCK
/var/cache/urpmi
/var/cache/urpmi/headers
/var/cache/urpmi/partial
/var/cache/urpmi/rpms
/var/cache/urpmi/rpms/libstdc++2.10-2.96-0.83mdk.i586.rpm
/var/cache/urpmi/rpms/libstdc++5-3.3.6-1mdk.i586.rpm
/usr/share/man/man8/urpmi.addmedia.8.bz2
/usr/share/man/man8/rurpmi.8.bz2
/usr/share/man/man8/urpmi.8.bz2
/usr/share/man/man8/urpmi.removemedia.8.bz2
/usr/share/man/man8/urpmi.update.8.bz2
/usr/share/man/man5/urpmi.cfg.5.bz2
/usr/share/man/man5/urpmi.files.5.bz2
/usr/share/doc/mandriva-release-2006.0/README.urpmi
/usr/share/doc/urpmi-4.7.15
/usr/share/doc/urpmi-4.7.15/ChangeLog
/usr/share/doc/openssh-4.2p1/README.update.urpmi
/usr/share/mimelnk/application/x-urpmi-media.desktop
/usr/share/mimelnk/application/x-urpmi.desktop
/usr/bin/urpmi_rpm-find-leaves
/usr/bin/gurpmi.addmedia
/usr/bin/gurpmi
/usr/bin/gurpmi2
/usr/lib/perl5/vendor_perl/5.8.7/gurpmi.pm
/usr/lib/menu/gurpmi
/usr/sbin/rurpmi
/usr/sbin/urpmi.addmedia
/usr/sbin/urpmi
/usr/sbin/urpmi.removemedia
/usr/sbin/urpmi.update
/usr/sbin/gurpmi.addmedia
/usr/sbin/gurpmi2
 
Old 07-07-2006, 02:02 PM   #4
pokemaster
Member
 
Registered: Apr 2005
Location: Massachusetts, USA
Distribution: debian,ubuntu,slackware
Posts: 110

Rep: Reputation: 17
mandriva uses the urpmi package manager -- not my favorite.

There are ways to configure it to download & install packages, but it's not the easiest.

I'd suggest going with a distro called debian. debian.org

installing packages is something like `apt-get install xmms'. Now sit back, and enjoy the glory which is xmms

debian will download xmms, and any other programs it may need to run on your computer, and install them all for you.

if you run `apt-get install build-essentials', you will get make and gcc and all those programs you seem to be missing on mandriva.

if you want to continue with mandriva, google for how-tos on urpmi.

Good luck!
 
Old 07-07-2006, 02:11 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Personally, I would avoid trying different distros to solve problems such as posted by OP.

In Mandriva--or any other distro with a GUI interface, the package manager shows up in the menus with a name that is similar to install SW, install applications, etc.

To learn how to do it from the command line, type "man urpmi".

What you found with locate is the executable in /usr/sbin. If that is not in your PATH variable, then you can run it by typing /usr/sbin/urpmi
 
Old 07-07-2006, 02:32 PM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Edit: sorry, didn't read pixellany's post properly. Ignore me .
 
Old 07-07-2006, 03:26 PM   #7
Morkeste
LQ Newbie
 
Registered: Jul 2006
Distribution: Mandriva 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Ok... I was reading some stuff about urpmi and learned some things, but stil kind of stuck. I was reading something and it said to type "urpmi someprogram" So I did and it said:

[root@localhost Desktop]# urpmi xmms
The package(s) are already installed
The following package names were assumed: libxmms1


Tryed that a few times... Didnt work.

So I moved onto another step in the guide. It said download the '.src.rpm' and then type su, then the pass, then type 'rpm --rebuild ./someprogram-2.3.1.src.rpm'

I tryed that and then it kept saying "no such file or directory" So then I decided to just click on the .src.rpm and install, and it said cannot continue cause unsatisfied mikmod


I never would have guessed installing a program would turn out to be so hard
 
Old 07-07-2006, 03:32 PM   #8
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Since it says XMMS is already installed, have you tried running it?

When you ran "rpm --rebuild filename.src.rpm", were you in the directory in which the file was located? You can use ls to see the files in the current directory. pwd will tell you which directory you're currently in (though actually, that's displayed in your prompt, but pwd will give you the full path) and you use cd to change directory. Another thing to be aware of is case-sensitivity in the shell: FILENAME isn't the same as filename or Filename.
 
Old 07-07-2006, 03:37 PM   #9
Morkeste
LQ Newbie
 
Registered: Jul 2006
Distribution: Mandriva 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Nylex
Since it says XMMS is already installed, have you tried running it?

When you ran "rpm --rebuild filename.src.rpm", were you in the directory in which the file was located? You can use ls to see the files in the current directory. pwd will tell you which directory you're currently in (though actually, that's displayed in your prompt, but pwd will give you the full path) and you use cd to change directory. Another thing to be aware of is case-sensitivity in the shell: FILENAME isn't the same as filename or Filename.
I did 'locate xmms' and it really isnt anywhere. It says it's in usr/lib/ and usr/share/

Code:
/usr/share/doc/libxmms1-1.2.10
/usr/share/doc/libxmms1-1.2.10/COPYING
/usr/share/icons/crystalsvg/16x16/apps/xmms.png
/usr/share/icons/crystalsvg/32x32/apps/xmms.png
/usr/share/icons/kdeclassic/16x16/apps/xmms.png
/usr/share/icons/kdeclassic/32x32/apps/xmms.png
/usr/share/icons/Amaranth/scalable/apps/xmms.svg
/usr/share/icons/Wasp/scalable/apps/xmms.svg
/usr/share/icons/mono/scalable/apps/xmms.svgz
/usr/share/icons/Locolor/32x32/apps/xmms.png
/usr/share/icons/kids/16x16/apps/xmms.png
/usr/share/icons/kids/22x22/apps/xmms.png
/usr/share/icons/kids/32x32/apps/xmms.png
/usr/share/icons/kids/48x48/apps/xmms.png
/usr/share/icons/kids/64x64/apps/xmms.png
/usr/share/icons/slick/16x16/apps/xmms.png
/usr/share/icons/slick/22x22/apps/xmms.png
/usr/share/icons/slick/32x32/apps/xmms.png
/usr/share/icons/slick/48x48/apps/xmms.png
/usr/share/apps/kappfinder/apps/Multimedia/xmms-enqueue.desktop
/usr/share/apps/kappfinder/apps/Multimedia/xmms.desktop
/usr/share/apps/amarok/amarokui_xmms.rc
/usr/share/apps/amarok/images/wizard_xmms.png
/usr/bin/amarok_xmmswrapper2
/usr/lib/libxmms.so.1.3.1
/usr/lib/libxmms.so.0
/usr/lib/libxmms.so.1
And yes... I put it on my desktop... Then opened up the Desktop folder and right-clicked, then Actions|Open Terminal Here. Then I did the 'rpm --rebuild'
 
Old 07-07-2006, 03:59 PM   #10
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
Quote:
The "make" commands dont work and the "./compile" doesnt work.
you should do ./configure.

try 'urpmq xmms' and see if it lists the actual xmms program, which you can then use urpmi to install it.
 
Old 07-07-2006, 04:04 PM   #11
Morkeste
LQ Newbie
 
Registered: Jul 2006
Distribution: Mandriva 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by nadroj
you should do ./configure.

try 'urpmq xmms' and see if it lists the actual xmms program, which you can then use urpmi to install it.
Sorry, I did mean ./configure. My brain is just being swarmed with all these new terms, I just gess "compile" came out instead, lol

I tryed what you said and got:


[morkeste@localhost ~]$ urpmq xmms
libxmms1
 
Old 07-08-2006, 07:52 AM   #12
Morkeste
LQ Newbie
 
Registered: Jul 2006
Distribution: Mandriva 2006
Posts: 13

Original Poster
Rep: Reputation: 0
K, it's a new day.. I figured I'd give it a shot again... I ended up gettig 'urpmi xmms' to work.. I cant quite figure out what this means, I thought urpmi xmms was supposed to work? *scratches head*

It tells me:


Code:
[root@localhost morkeste]# urpmi xmms
no package named xmms
The following packages contain xmms:
AudioCompress-xmms
adplug-xmms
gdam-xmms-plugin
gdesklets-cornerxmms
gxmms
gxmms-beep-media-player
libxmms1
php4-xmms
pyxmms
ruby-xmms
xfce-xmms-plugin
xmms-Zon
xmms-alarm
xmms-ao
xmms-cdcover
xmms-cdread
xmms-coverviewer
xmms-crossfade
xmms-crystality
xmms-cueinfo
xmms-eq
xmms-fc
xmms-find
xmms-gdancer
xmms-imms
xmms-infopipe
xmms-itouch
xmms-jack
xmms-kde
xmms-libvisual
xmms-lirc
xmms-mad
xmms-mas
xmms-modplug
xmms-morestate
xmms-mp3cue
xmms-mplayer
xmms-musepack
xmms-nas
xmms-nbs
xmms-normalize
xmms-oggre
xmms-sc68
xmms-scrobbler
xmms-sid
xmms-sidplay
xmms-singit
xmms-speex
xmms-status-plugin
xmms-uade
xmms-vtx
xmms-weasel
xmms-xf86audio
xmms-xosd
xmmsctrl
xmmsd
xmmsmplayer

Last edited by Morkeste; 07-08-2006 at 07:53 AM.
 
Old 07-08-2006, 08:01 AM   #13
pokemaster
Member
 
Registered: Apr 2005
Location: Massachusetts, USA
Distribution: debian,ubuntu,slackware
Posts: 110

Rep: Reputation: 17
odd... those are all plugins for xmms or plugins for other programs to make them control xmms... but no xmms...

I'm guessing your urpmi is still trying to install from the CDs, a google search for 'urpmi how-to' turned up this site:
http://www.usalug.org/phpBB2/viewtopic.php?t=2488
which might tell you what you want to know.


Good luck
 
Old 07-08-2006, 08:41 AM   #14
Morkeste
LQ Newbie
 
Registered: Jul 2006
Distribution: Mandriva 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pokemaster
odd... those are all plugins for xmms or plugins for other programs to make them control xmms... but no xmms...

I'm guessing your urpmi is still trying to install from the CDs, a google search for 'urpmi how-to' turned up this site:
http://www.usalug.org/phpBB2/viewtopic.php?t=2488
which might tell you what you want to know.


Good luck
Thanks very much! I was already updating the sources from EasyUrpmi before you posted, but that site will probably be very helpfull in the future


So back to the original topic, rather than xmms. Say I have to download somthing that only comes with the source. I can't recall what I was trying to get, but there were a few things. All their readme's say use the 'make' and 'configure' (I think it was probably somthing on KDE-Look)

Is there any way for me to get those to work too?
 
Old 07-08-2006, 12:09 PM   #15
ErrorBound
Member
 
Registered: Apr 2006
Posts: 280

Rep: Reputation: 31
Quote:
Originally Posted by Morkeste
Ok, I have been a Windows user for quite a long time and am very advanced at it... But I decided it's now the time to move onto somthing that's good. So I now have Linux.
hahaha, story of my life
 
  


Reply



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
a dilema after configure, make, make install... alixx Linux - Newbie 8 01-07-2007 06:09 PM
configure, make and make install commands don't work for me Fenster Fedora 8 08-18-2004 10:58 AM
'Make' needs 'Gcc' to compile but 'Gcc' needs 'Make'??? Qwirt Linux - Software 1 07-14-2004 10:54 PM
Installed using ./configure, make, make install, how to remove? EnVoy Mandriva 4 03-10-2004 07:05 PM
Can I automate the tar, ./configure, make, and make install of about 50 packages? JoeLinux Linux - General 2 04-13-2002 03:35 AM

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

All times are GMT -5. The time now is 09:25 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
Open Source Consulting | Domain Registration