LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-27-2006, 02:24 PM   #1
farmergreg
LQ Newbie
 
Registered: Mar 2006
Posts: 6

Rep: Reputation: 0
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
 
Old 03-27-2006, 02:35 PM   #2
Vampirite
Member
 
Registered: Apr 2005
Location: England
Distribution: Arch Linux
Posts: 223

Rep: Reputation: 30
To compile a program:

./configure
make
make install

And thats it.
 
Old 03-27-2006, 02:36 PM   #3
Brian1
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: Reputation: 65
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
 
Old 03-27-2006, 02:42 PM   #4
Vampirite
Member
 
Registered: Apr 2005
Location: England
Distribution: Arch Linux
Posts: 223

Rep: Reputation: 30
Good idea Brian1. It might be a binary package or some source that uses different means of compiling.

An error message might help also.
 
Old 03-27-2006, 03:07 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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?
 
Old 03-28-2006, 02:25 PM   #6
farmergreg
LQ Newbie
 
Registered: Mar 2006
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
Old 03-28-2006, 03:37 PM   #7
shorun
Member
 
Registered: Mar 2006
Location: belguim
Distribution: fedora, mandriva, suse
Posts: 148

Rep: Reputation: 15
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.
 
Old 03-28-2006, 04:23 PM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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)
 
Old 03-28-2006, 04:33 PM   #9
Brian1
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: Reputation: 65
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.
 
Old 03-29-2006, 10:04 AM   #10
farmergreg
LQ Newbie
 
Registered: Mar 2006
Posts: 6

Original Poster
Rep: Reputation: 0
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.
 
Old 03-29-2006, 10:10 AM   #11
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Do you have the automake package installed? How to check will vary from distro to distro..
 
Old 03-29-2006, 10:12 AM   #12
shorun
Member
 
Registered: Mar 2006
Location: belguim
Distribution: fedora, mandriva, suse
Posts: 148

Rep: Reputation: 15
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
 
Old 03-29-2006, 11:54 AM   #13
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
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.
 
Old 03-29-2006, 04:29 PM   #14
Brian1
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: Reputation: 65
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
 
Old 03-30-2006, 09:30 AM   #15
farmergreg
LQ Newbie
 
Registered: Mar 2006
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
complete newb with questions... numone Linux - Newbie 5 03-02-2005 05:23 PM
Complete Newb KJI Linux - Newbie 1 04-04-2004 09:45 AM
Complete newb please help citrus Linux - Newbie 11 12-29-2003 05:28 PM
complete newb, need email help baccart Linux - Newbie 2 11-04-2003 06:28 PM
Complete newb needs help somerandomlamer Linux - Newbie 15 10-20-2003 05:22 PM

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

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