LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-23-2004, 02:55 PM   #1
thedp
LQ Newbie
 
Registered: Sep 2004
Distribution: Slackware 12.0
Posts: 22

Rep: Reputation: 15
gcc and installing with make...


thanks to this board i finally managed to install gcc on my suse 9.1 box.
but how do i install programs with it? i've read in the software manual that i need to use make, that comes with the gcc compiler, but i can't make make to work - it says command not found.


i am trying to install php from the php.net downloads page



thank you.
 
Old 09-23-2004, 05:04 PM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
make is a seperate program from gcc. You can find it from searching www.gnu.org or www.rpmfind.net, or it will probably be on your SuSE install disks.
 
Old 09-23-2004, 05:30 PM   #3
thedp
LQ Newbie
 
Registered: Sep 2004
Distribution: Slackware 12.0
Posts: 22

Original Poster
Rep: Reputation: 15
are you talking about automake? like: automake-1.8.3-23.i586.rpm ?
 
Old 09-24-2004, 01:29 PM   #4
thedp
LQ Newbie
 
Registered: Sep 2004
Distribution: Slackware 12.0
Posts: 22

Original Poster
Rep: Reputation: 15
well i installed it... but how do i use it?

it seems like no matter that option i try, it fails...
 
Old 09-24-2004, 03:16 PM   #5
mermxx
Member
 
Registered: Apr 2004
Location: Wales
Distribution: rh9, winxp
Posts: 411

Rep: Reputation: 30
when u downloaded the file and extracted it does it not have a read me file which usually will tell u how to install....u may need to cd to the file and run make from there (as root) or it may use the install command, most do have a readme file
 
Old 09-24-2004, 03:35 PM   #6
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
Re: gcc and installing with make...

Quote:
Originally posted by thedp
i am trying to install php from the php.net downloads page
http://www.php.net/manual/en/install.unix.php (please note that these instructions aren't necessarily in the best reading order).
 
Old 09-25-2004, 02:37 AM   #7
thedp
LQ Newbie
 
Registered: Sep 2004
Distribution: Slackware 12.0
Posts: 22

Original Poster
Rep: Reputation: 15
if i understand it right, it says:

$ ./configure

$ make

$ make export




but with automake installed i don't have any make... only automake and it doesn't work...
am i missing something?
 
Old 09-25-2004, 04:39 AM   #8
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
Make and automake are different packages.

Make is a program that uses a file called a Makefile that contains information about how different files depend on each other, and how to create each file. Using make, you can thus say “make” to make the default target, usually the executable, and all the intermediate files with one command.

Automake is a program that extracts dependency information from a set of C or C++ source files, and writes out a Makefile.

You want make, not automake.
 
Old 09-25-2004, 04:53 AM   #9
thedp
LQ Newbie
 
Registered: Sep 2004
Distribution: Slackware 12.0
Posts: 22

Original Poster
Rep: Reputation: 15
is the make a separate package, or is it part of gcc and gcc-c++ ?
 
Old 09-25-2004, 05:23 AM   #10
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
It's usually a seperate package.
 
Old 09-25-2004, 11:04 AM   #11
thedp
LQ Newbie
 
Registered: Sep 2004
Distribution: Slackware 12.0
Posts: 22

Original Poster
Rep: Reputation: 15
can you please direct me to one, because when i search for make all i get is:
pwlib-devel-1.6.5-8.i586.rpm


it can't be it, right?!
 
Old 09-25-2004, 11:32 AM   #12
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Why not build it from source? Get it from:
http://ftp.gnu.org/pub/gnu/make/
read the INSTALL file after you've unpacked it. You can use the sh build.sh script to create Make and then run 'make install' as root to install it system-wide.
 
Old 09-25-2004, 01:16 PM   #13
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
If you're looking for an RPM, try www.rpmfind.net

http://www.rpmfind.net/linux/rpm2htm...mit=Search+...
 
Old 09-25-2004, 02:07 PM   #14
thedp
LQ Newbie
 
Registered: Sep 2004
Distribution: Slackware 12.0
Posts: 22

Original Poster
Rep: Reputation: 15
as i said... i did search with http://rpm.pbone.net/ for make

but all i got was: pwlib-devel-1.6.5-8.i586.rpm for SuSE 9.x
the problem is i'm not sure that's what i'm looking for...
 
Old 09-25-2004, 04:26 PM   #15
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Quote:
Originally posted by thedp
as i said... i did search with http://rpm.pbone.net/ for make

but all i got was: pwlib-devel-1.6.5-8.i586.rpm for SuSE 9.x
the problem is i'm not sure that's what i'm looking for...
I repeat....build from source following the link I provided above.

Or continue searching indefinitely for an rpm (which suck anyway). Your choice.
 
  


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
gcc? make? hm? MagicMaxi Linux - Newbie 2 10-09-2005 11:35 AM
installing make from a gcc rpm (yea i know im a n00b) wLancer Linux - Software 1 11-28-2004 09:50 PM
make can't find gcc levicc00123 Linux - General 1 09-10-2004 08:04 PM
gcc, make...where from? Sul Linux - Newbie 1 08-07-2004 10:29 AM
'Make' needs 'Gcc' to compile but 'Gcc' needs 'Make'??? Qwirt Linux - Software 1 07-14-2004 10:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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