LinuxQuestions.org
Help answer threads with 0 replies.
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-13-2009, 04:05 PM   #1
vendtagain
Member
 
Registered: Sep 2009
Distribution: Slackware, Debian, Mac OS X, Zenwalk, Puppy, Gentoo
Posts: 199

Rep: Reputation: 32
Question question(s) regarding compiling from source


When compiling software from source,
Is there a standard log file(s) created containing status info about the build (namely errors)?
and
when errors do occur mid-build, is there a typical way to start the build where it left off (after error is fixed, such as installing a missing library)?
 
Old 12-13-2009, 04:15 PM   #2
ozanbaba
Member
 
Registered: May 2003
Location: İzmir
Distribution: Slackware64 15.0 Multilib
Posts: 778

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by vendtagain View Post
When compiling software from source,
Is there a standard log file(s) created containing status info about the build (namely errors)?
that depends on build system. but usually all of the systems has an option to log the build. (or make 2>&1 > log will put every output (error and standant output in file called log).

Quote:
and
when errors do occur mid-build, is there a typical way to start the build where it left off (after error is fixed, such as installing a missing library)?
make won't recompile the things that are already compiled. but sometimes it will not compile things it should be recompiling.
 
1 members found this post helpful.
Old 12-13-2009, 04:32 PM   #3
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
I have a habit of saving the output to a file using the following command line:
Code:
make 2>&1 | tee compile.log
this let me to see the output (which actually is "standard error", since it is the place where make sends its messages) on the screen and store it in a file at the same time for further analysis. The same for the other steps, especially "make check" which usually sends a lot of messages that quickly fill up the scrolling capability of the terminal:
Code:
make check 2>&1 | tee check.log
make install 2>&1 | tee install.log
 
Old 12-13-2009, 05:59 PM   #4
AutoBot
Member
 
Registered: Mar 2002
Location: I can see you from here.
Distribution: Gentoo 1.3b
Posts: 184

Rep: Reputation: 34
Nevermind

Last edited by AutoBot; 12-13-2009 at 06:09 PM. Reason: Read the post wrong.
 
  


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
Compiling a Slackware package from source vs Compiling from source. khronosschoty Slackware 5 09-26-2008 06:09 PM
Question on Compiling from source cod3fr3ak Linux - Server 9 07-14-2008 10:33 AM
compiling apt from source - where's the source? stynhx9000 Ubuntu 2 12-01-2005 07:32 AM
compiling software from source...how do i delete the folder w/ source? webazoid Linux - Software 2 07-01-2004 09:09 PM
compiling source question fernandoo Linux - Newbie 3 09-28-2003 02:28 PM

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

All times are GMT -5. The time now is 03:13 AM.

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