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 09-11-2002, 02:39 PM   #1
Frauke
LQ Newbie
 
Registered: Sep 2002
Location: Montreal
Distribution: Mandrake 8.2
Posts: 10

Rep: Reputation: 0
compilers and "make" command


I'm new here, so first off: Hi, everyone!

I'm using Mandrake 8.2, and I've run into 2 problems so far:

1. I don't seem to have installed either gcc or TeX. Can anyone tell me how/where to find them on the installation disks? I'm told they should be there somewhere...

2. Is there such a thing as a "make" command to make executable files? The manual for a program that I installed tells me that I need to apply this command to a few files. Is there a version of Linux in which a c-compiler is invoked by "make"?
 
Old 09-11-2002, 04:47 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
Re: compilers and "make" command

Quote:
Originally posted by Frauke
I'm new here, so first off: Hi, everyone!
Hello!
Quote:
1. I don't seem to have installed either gcc or TeX. Can anyone tell me how/where to find them on the installation disks? I'm told they should be there somewhere...
They are included. Gcc is in gcc* packages, TeX in tetex* ones. 1st installation cd, I guess (I'm not 100% sure). You can install them using Package Manager or from console (when your cdrom is mounted as /mnt/cdrom):
rpm -i /mnt/cdrom/Mandrake/RPMS/gcc<press tab here>
When you press <tab> a list of possible files will be printed. When filename is completed, press enter to run the command.
You can do this in the same way with tetex.
NOTE: Those packages should be installed in an order. So don't worry when you get an error, just install the one it asked you to install and come back to the package later.
It's easier with Package Manager, if you have it installed (default). Just run it, and choose a package you'd like to install.
Quote:
2. Is there such a thing as a "make" command to make executable files? The manual for a program that I installed tells me that I need to apply this command to a few files. Is there a version of Linux in which a c-compiler is invoked by "make"?
Yes, there's also "make" package. You can install it int the same way as gcc and tetex above. Make runs a script. The script compiles a program (using gcc). Search this site for more info about make (and example Makefiles).
 
Old 09-12-2002, 12:51 PM   #3
Frauke
LQ Newbie
 
Registered: Sep 2002
Location: Montreal
Distribution: Mandrake 8.2
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for the quick response! I used the package manager, and it did work; however, first I tried to install them from the console.
Two problems occurred:
1. I couldn't mount the CD (I finally just clicked on the icon on the desktop);
2. when I typed rpm -i /mnt/cdrom/Mandrake/RPMS/gcc and pressed <tab>, it did indeed give me a list of files; however, when I then pressed enter, it claimed not to be able to find the directory/file.

What went wrong? Are the two problems related?
 
Old 09-12-2002, 01:14 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
2 - did you actually CHOOSE one of those files?
 
Old 09-12-2002, 01:20 PM   #5
Frauke
LQ Newbie
 
Registered: Sep 2002
Location: Montreal
Distribution: Mandrake 8.2
Posts: 10

Original Poster
Rep: Reputation: 0
d'oh!
 
Old 09-12-2002, 04:33 PM   #6
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
Maybe I wasn't clear enough. When you have a list, press next letter in the filename you'd like to install, press tab again. If there's only one file beggining with such characters, the name will be completed. if not, press next letter and so on...
 
  


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
So many errors when I typed the "make" and "make install" command Niceman2005 Linux - Software 23 07-22-2009 03:33 PM
error on "make"command; ralink 2500 driver jimbrook Linux - Wireless Networking 2 05-23-2005 11:58 PM
Ndiswrapper install failure - LBA-Linux "make" command fails petteril Linux - Wireless Networking 1 04-23-2005 09:22 AM
How to install "make" command from rpm on cd 2 - red hat linux 7.0 ZARGON Linux - Newbie 2 08-31-2004 11:53 AM
"make" command won't work in Fedora...installing Nvidia Ethernet drv's help Ge|atinousFury Linux - Hardware 24 01-22-2004 05:42 PM


All times are GMT -5. The time now is 06:37 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