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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
03-27-2006, 02:24 PM
|
#1
|
LQ Newbie
Registered: Mar 2006
Posts: 6
Rep:
|
Complete Newb
when I try to install program by typing make it says file cannot be found I know this is something stupid I am doing can someone please clue me in
|
|
|
03-27-2006, 02:35 PM
|
#2
|
Member
Registered: Apr 2005
Location: England
Distribution: Arch Linux
Posts: 223
Rep:
|
To compile a program:
./configure
make
make install
And thats it.
|
|
|
03-27-2006, 02:36 PM
|
#3
|
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
|
Well is there a Makefile there? What does the Readme or install file say?
Need more info. What is the program and point a link to the download?
Brian1
|
|
|
03-27-2006, 02:42 PM
|
#4
|
Member
Registered: Apr 2005
Location: England
Distribution: Arch Linux
Posts: 223
Rep:
|
Good idea Brian1. It might be a binary package or some source that uses different means of compiling.
An error message might help also.
|
|
|
03-27-2006, 03:07 PM
|
#5
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
Quote:
Originally Posted by farmergreg
when I try to install program by typing make it says file cannot be found I know this is something stupid I am doing can someone please clue me in
|
3
What program?
Does the folder have a "README"?
Do you know that it is something that expects to be compiled?
|
|
|
03-28-2006, 02:25 PM
|
#6
|
LQ Newbie
Registered: Mar 2006
Posts: 6
Original Poster
Rep:
|
This is what i see in Directory
wxr-xr-x 11 500 users 928 Mar 28 06:21 .
drwxr-xr-x 3 root root 120 Mar 27 06:23 ..
-rw-r--r-- 1 500 users 31 Feb 27 2002 AUTHORS
-rw-r--r-- 1 500 users 15131 Feb 27 2002 COPYING
drwxr-xr-x 2 500 users 128 Jun 30 2003 CVS
-rw-r--r-- 1 500 users 5811 Jun 30 2003 ChangeLog
-rw-r--r-- 1 500 users 6970 Feb 27 2002 INSTALL
-rw-r--r-- 1 500 users 1088 Jun 22 2003 Makefile.am
-rw-r--r-- 1 500 users 450 Feb 27 2002 Makefile.dist
-rw-r--r-- 1 500 users 21866 Jun 30 2003 Makefile.in
-rw-r--r-- 1 500 users 0 Feb 27 2002 README
-rw-r--r-- 1 500 users 839 Feb 27 2002 TODO
-rw-r--r-- 1 500 users 331328 Jun 22 2003 acinclude.m4
-rw-r--r-- 1 500 users 360502 Jun 30 2003 aclocal.m4
drwxr-xr-x 3 500 users 808 Jun 30 2003 admin
-rw-r--r-- 1 500 users 3817 Jun 30 2003 config.h.in
-rw-r--r-- 1 root root 7079 Mar 28 06:21 config.log
-rwxr-xr-x 1 500 users 766789 Jun 30 2003 configure
-rw-r--r-- 1 500 users 41 Jun 22 2003 configure.files
-rw-r--r-- 1 500 users 3089 Jun 22 2003 configure.in
-rw-r--r-- 1 500 users 289 Apr 24 2003 configure.in.in
drwxr-xr-x 5 500 users 184 Jun 30 2003 doc
drwxr-xr-x 3 500 users 224 Jun 30 2003 fonts
drwxr-xr-x 4 500 users 1280 Jun 30 2003 kpacman
drwxr-xr-x 3 500 users 336 Jun 18 2003 kpacman-api
-rw------- 1 500 users 20570 Jun 30 2003 kpacman.kdevprj
-rw-r--r-- 1 500 users 6388 Jun 30 2003 kpacman.kdevses
-rw-r--r-- 1 500 users 451 Mar 28 06:26 kpacman.lsm
drwxr-xr-x 4 500 users 160 Jun 30 2003 maps
drwxr-xr-x 7 500 users 648 Jun 30 2003 pics
drwxr-xr-x 3 500 users 360 Jun 30 2003 po
-rw-r--r-- 1 500 users 10 Jun 22 2003 stamp-h.in
-rw-r--r-- 1 500 users 31 Jun 22 2003 subdirs
linux:/usr/share/games/pacman/kpacman-0.3.2 #
I dont see make anywhere
|
|
|
03-28-2006, 03:37 PM
|
#7
|
Member
Registered: Mar 2006
Location: belguim
Distribution: fedora, mandriva, suse
Posts: 148
Rep:
|
please read the file README or INSTALL to find out how to install this package. i'm sure you will find a better guide there
just type cat README |less and you can read the file
ps: in fact there is a makefile file thus you will most likely just have to do this:
./configure
make
make install
Last edited by shorun; 03-28-2006 at 03:39 PM.
|
|
|
03-28-2006, 04:23 PM
|
#8
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
Quote:
Originally Posted by Vampirite
To compile a program:
./configure
make
make install
And thats it.
|
farmergreg;
Did you do this?? (First reply to your post)
"make" is a system command (part of the compiler)
|
|
|
03-28-2006, 04:33 PM
|
#9
|
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
|
Looks like you are installing kpacman. I downloaded the source and read the INSTALL file. Here is the section on the install part from it.
The simplest way to compile this package is:
1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system. If you're
using `csh' on an old version of System V, you might need to type
`sh ./configure' instead to prevent `csh' from trying to execute
`configure' itself.
Running `configure' takes a while. While running, it prints some
messages telling which features it is checking for.
2. Type `make' to compile the package.
3. Type `make install' to install the programs and any data files and
documentation.
4. You can remove the program binaries and object files from the
source code directory by typing `make clean'.
From the above it is missing one things for a beginner. When you do the make install you need to be root so type ' su ' to become root.
|
|
|
03-29-2006, 10:04 AM
|
#10
|
LQ Newbie
Registered: Mar 2006
Posts: 6
Original Poster
Rep:
|
I logged on as root and it is kpacman, I was just looking for something simple to install to try to figure this out. Initially I typed ./configure and that works but when i type make it says file is missing.
|
|
|
03-29-2006, 10:10 AM
|
#11
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep: 
|
Do you have the automake package installed? How to check will vary from distro to distro..
|
|
|
03-29-2006, 10:12 AM
|
#12
|
Member
Registered: Mar 2006
Location: belguim
Distribution: fedora, mandriva, suse
Posts: 148
Rep:
|
could you post the output of the error (that we for once know what the problem is).
is it's make itselve that can't be found try installing gcc
|
|
|
03-29-2006, 11:54 AM
|
#13
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep: 
|
Quote:
Originally Posted by shorun
is it's make itselve that can't be found try installing gcc
|
make isn't part of gcc, it's in a separate package.
|
|
|
03-29-2006, 04:29 PM
|
#14
|
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
|
Unknown distro so if it is rpm based then run command ' rpm -qa | grep make ' to see if automake is installed or which version.
Also you can use the command ' whereis make ' to see if it exist and where. If it does type the command using the whole path. Example: /usr/bin/make
Possible it may not be in your path.
Brian1
|
|
|
03-30-2006, 09:30 AM
|
#15
|
LQ Newbie
Registered: Mar 2006
Posts: 6
Original Poster
Rep:
|
I will post the error message and the version is suse 9.1 I have 10 downloading but it takes awhile to download. I will also try your suggestions and I very much do appreciate your patience and help
Greg
|
|
|
All times are GMT -5. The time now is 10:50 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|