LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-21-2003, 06:22 PM   #1
lawrencegoodman
Member
 
Registered: Aug 2003
Posts: 47

Rep: Reputation: 15
Compiling from Source--Huh?


One of the biggest frustrations I have as a newbie is when I install a new program from source, it invariably fails. I know that I am doing the commands correctly (./configure (sometimes with a prefix) then make and make install). The problem I have is reading the output after the make command to understand why the installation doesn't take. You get reams and reams of output and for the life of me I can't figure out which of the lines in the output are telling me what went wrong.

So what I am asking very generally is how to read the output I get after I type the make command to understand what is going wrong. What type of statements should I look for? How do I figure out if the problem is one of not having certain packages installed?

If someone knows of a good website where all this is explained for newbies, then by all means blow me off and point me in that direction.

Thanks.
 
Old 12-21-2003, 06:27 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Post one of your outputs here and maybe someone can explain to you what happened, etc? At times its not every single line you see errors on that is the problem, its usually towards the end that will be the culprit. Majority of the time when people install from source and get errors, its either dependecy issues or its not finding the needed packages to compile in your path, etc.
 
Old 12-21-2003, 06:31 PM   #3
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
i'd think the errors you recieve will be varied from 1 program to the next. so as to errors in general you'd need to post some of them here. i'd suggest the next source compile that you have problems with, post some specific errors. sorry to be no more help.

edit: you may ignore my reply as someone else got to it whilst i struggled to type.

Last edited by Peacedog; 12-21-2003 at 06:32 PM.
 
Old 12-21-2003, 06:42 PM   #4
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
Re: Compiling from Source--Huh?

Quote:
Originally posted by lawrencegoodman
One of the biggest frustrations I have as a newbie is when I install a new program from source, it invariably fails. I know that I am doing the commands correctly (./configure (sometimes with a prefix) then make and make install).
just to remind you, you didnt say "make install as root".

configure and make are to be done as normal user.
make install to be done as root.
at what point do you get the errors (at configure/ make/ make install?) if its at make install, then its cos your not running it as root.

if thats what youre doin, then disregard what i said, and post your error messages.

Last edited by h/w; 12-21-2003 at 06:44 PM.
 
Old 12-21-2003, 07:29 PM   #5
Allen614
Member
 
Registered: Dec 2002
Location: Plains
Distribution: Slackware 13
Posts: 465

Rep: Reputation: 30
Your errors should be at the end of ./configure. If they're at the end of make you have a problem with "automake".
 
  


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
compiling apt from source - where's the source? stynhx9000 Ubuntu 2 12-01-2005 08:32 AM
Compiling from source phil0024 Linux - Newbie 5 02-10-2005 09:27 AM
compiling software from source...how do i delete the folder w/ source? webazoid Linux - Software 2 07-01-2004 10:09 PM
huh huh hey bevis Im guna build a puter! cognosti Linux - Hardware 28 08-12-2003 04:49 PM
Installing, making, compiling ?????huh? etphonehome510 Linux - Software 3 09-21-2002 12:38 AM


All times are GMT -5. The time now is 04:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration