LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-14-2005, 05:29 PM   #1
madhatter3
Member
 
Registered: Dec 2005
Posts: 36

Rep: Reputation: 15
"make install" problem


I've ran into a problem while attempting to install a couple different programs. In the FAQ on the install everything goes as planned in terminal until they tell me to type,
"make"
"make install"
The terminal doesnt recognize those commands and thus I cant finish installation.

Im running Fedora Core 2.4... and the programs i was having trouble with were HP Toolbox and tpconfig

Thanks in advance,

Hatter
 
Old 12-14-2005, 06:07 PM   #2
cuiq
Member
 
Registered: Aug 2004
Location: Philly
Distribution: Debian Lenny, FreeBSD
Posts: 577

Rep: Reputation: 30
You need to become root to do a "make install" however if make is not working then you may need to install "automake"


Peace V
 
Old 12-14-2005, 07:01 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Fedora's packaging system is RPM based. You can use the command "rpm -q make" to determine the exact name of the make package. If other other times, the make command worked then you may have the make command, but there was another problem. Are you sure that the error was that the make command wasn't found, or could it have been that the "Makefile" wasn't found. You may simply need to cd to the source directory first. Does the command "which make" return /usr/bin/make? Is /usr/bin in your path as both a regular user and as the root user? Does the file "Makefile" exist. If Makefile doesn't exist, is there a "configure" script in the directory. Often there is a "configure" script that generates a Makefile. Actually, the configure script is generated automatically using the "autoconf" command (using a configure.in setup file), but this is almost always done for you already. I am mentioning it because there have been a couple of times when it wasn't. I believe the the "automake" and "autolib" commands are normally called by autoconf, rather than being normally called manually. They may not be needed if the "configure" script is already generated for you.

One last thing to check is that the partition that the tarball is extracted to, was mounted with the "noexec" option. This may be the case if you are trying to run make in the /tmp directory. Use your home directory for compiling tarballs instead.
 
Old 12-14-2005, 11:09 PM   #4
madhatter3
Member
 
Registered: Dec 2005
Posts: 36

Original Poster
Rep: Reputation: 15
The error I get when I type make is the fact that there are no make files it says. There are these two files, "Makefile.am" and "Makefile.in" in the folder.

I did the rpm -q make command and it responded with "make-3.0???" I can get the excat response if you need it. Anyway it didnt help matters any.

Hatter
 
Old 12-15-2005, 01:53 AM   #5
coolpyrofreak
Member
 
Registered: Mar 2004
Location: Las Vegas, NV
Distribution: Arch Linux
Posts: 103

Rep: Reputation: 15
do a "yum install automake" to make sure that the make command is actually on your system. then, cd to the source directory. run ./configure for kicks. if that doesn't work, become root and then run make && make install.
 
Old 12-15-2005, 04:20 AM   #6
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,646

Rep: Reputation: 147Reputation: 147
Quote:
Originally Posted by jschiwal
Often there is a "configure" script that generates a Makefile. Actually, the configure script is generated automatically using the "autoconf" command (using a configure.in setup file), but this is almost always done for you already. I am mentioning it because there have been a couple of times when it wasn't.
tpconfig at least requires to call ./configure first before doing "make" and "make install". Did you execute it?
 
Old 12-15-2005, 09:45 AM   #7
madhatter3
Member
 
Registered: Dec 2005
Posts: 36

Original Poster
Rep: Reputation: 15
I executed all proper commands before the make command and they all went through. When I type make, it doesnt understand it. Or make install. Ill try a couple other things and post again.

Hatter
 
Old 12-15-2005, 10:40 AM   #8
bye
LQ Newbie
 
Registered: Dec 2005
Location: peking
Posts: 6

Rep: Reputation: 0
try this

./configure
make
make install
make clear
 
Old 12-15-2005, 04:38 PM   #9
madhatter3
Member
 
Registered: Dec 2005
Posts: 36

Original Poster
Rep: Reputation: 15
Here is the problem I am specificly having with HP toolbox. The first set of yum commands seem to work. Then I encounter an error loading the config file. After that the make command is impossible.

[root@localhost hplip-0.9.7]# ./configure --prefix=/usr
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

The checked the config.log file which didnt help me at all.

Hatter
 
Old 12-15-2005, 05:42 PM   #10
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,646

Rep: Reputation: 147Reputation: 147
You have no compiler installed
I'm not sure about all possible fedora compiler packages and the package management. If I remember right a "yum install gcc-c++" should give you ability to compile c++ files. Next time you install Fedora or another distro you should choose to install the Dev/Developer series of packages.
 
Old 12-16-2005, 12:52 AM   #11
bye
LQ Newbie
 
Registered: Dec 2005
Location: peking
Posts: 6

Rep: Reputation: 0
pls install "gcc"
or
try
./configure --prefix=/usr --nodeps --force
 
Old 12-16-2005, 02:05 AM   #12
madhatter3
Member
 
Registered: Dec 2005
Posts: 36

Original Poster
Rep: Reputation: 15
The problem was I didnt have any of the developer packages installed. The HP program works great now. Thanks for all the help.

Now onto installing a NVIDIA driver. Im sure Ill be posting again sometime.

Hatter
 
Old 12-26-2005, 03:16 PM   #13
tweakerxp
Member
 
Registered: Nov 2005
Location: Dem Dar Hills of Tennessee
Distribution: SuSE 10.0
Posts: 55

Rep: Reputation: 15
What is meant by "going root"??
 
Old 12-26-2005, 03:18 PM   #14
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by tweakerxp
What is meant by "going root"??
Type "su" (without quotes) and then enter your root password.
 
  


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
So many errors when I typed the "make" and "make install" command Niceman2005 Linux - Software 23 07-22-2009 02:33 PM
differences between "make install" and "make paranoid-install" ? Xavius Linux - Newbie 3 03-22-2009 02:50 AM
problem "make"ing gtk+ "/usr/bin/env: perl -w" caid Linux - Newbie 8 07-29-2005 04:51 AM
BASH problems: "configure, make, make install" commands don't work ditch* Linux - General 3 07-19-2005 04:37 PM
compiling tar.bz2... "./configure make make install" doesn't work dodo1983 Linux - Newbie 7 08-17-2004 12:34 AM

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

All times are GMT -5. The time now is 03:39 PM.

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