Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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.
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.
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,646
Rep:
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?
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.
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.
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,646
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.