LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   1st time installing redhat - Make and Make Install does not work (http://www.linuxquestions.org/questions/linux-newbie-8/1st-time-installing-redhat-make-and-make-install-does-not-work-530419/)

runlikeanantelope 02-19-2007 09:57 AM

1st time installing redhat - Make and Make Install does not work
 
I probably should have installed all the packages the 1st time installing Red Hat Linux, but I didn't. I downloaded some packages and when I run Make or Make Install, I get:

make: *** No targets specified and no makefile found. Stop.

How do you install Make? or is there something else I missed?

anomie 02-19-2007 10:05 AM

Sounds to me like make is installed. Confirm with which make

Instead, it sounds like your Makefile is broken. (Do you have a Makefile..?)

Why don't you explain exactly what it is you're trying to do?

runlikeanantelope 02-19-2007 10:07 AM

[root@mcareylnx cacti-install]# which make
/usr/bin/make


I'm following some instruction to install PHP, Apache, Net-SNMP, MySQL, and RRDtool so I can run Cacti and MRTG.....however, this is the first time I've touched Linux:scratch:

mcmillan 02-19-2007 02:26 PM

Are you trying to install this using source (the end of the file you downloaded would prbably be .tar.gz) or using an rpm. If possible it's usually easier to use rpms, and I would think they would be availble for the things you say you're installing. If you have an rpm you install it with the command rpm -i [package name]. You might need to install other files as dependencies however.

If you're trying to install from source the normal procedure is to uncompress the files (command = tar -xzvf). After this it's ususally switch to the uncompressed directory then type ./configure, then make, than make install, though sometimes things are a little different and it will have correct instructions in a README file.

runlikeanantelope 02-19-2007 03:58 PM

I didn't realize you could go to Add/Remove programs and add items like GNU make easily from there - thanks.


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