LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices

Reply
 
Search this Thread
Old 04-29-2003, 06:18 AM   #1
schatoor
Senior Member
 
Registered: Jul 2002
Location: a tiny place caled hendrik ido ambacht in the netherlands
Distribution: SuSE, debian, slackware, lfs
Posts: 1,358

Rep: Reputation: 45
idea for a project: compile manager


Hi there. Currently, i'm building an linux from scratch. Now most of the packages are pretty small. But there ate some large once, like qt, kde, and openofiice. Openoffice takes 14 hours to compile!!!
Woulden't it be nice if you had a program what could

a) monitor the build proces, that is, tell you how much time still is left with a bar

b) you could pause the build proces at any given time and continue later.

How would you like such a program. Or does it alraidy exist?
 
Old 04-29-2003, 06:25 AM   #2
wapcaplet
Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
I don't know if such a utility exists. It could be pretty difficult to show the progress as a percentage, though, since you can't always know in advance how long it will take to compile something. I guess there could be a rough estimate, though, based on the number of files needing compilation, their size, etc. Pausing and continuing later would work pretty easily.

Also handy would be a summary report of error messages or other warnings, especially for big projects where you can't sit there and watch it for 14 hours.

Seems like there would probably be a program or script that does some of this stuff. Have you looked around at various build tools to see if any of them do this?
 
Old 04-29-2003, 07:54 AM   #3
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 46
You should have a look at automated linux from scratch.
http://automated.linuxfromscratch.org/

It does quiet a lot of what you want already.
 
Old 04-29-2003, 07:56 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,373

Rep: Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962
a) How could you ever know???

b) you already acn really, normally ctrl+c ing will kill the currently compiling process, everything that has already finished being compiled on't be compiled again if you run make again
 
Old 04-29-2003, 05:23 PM   #5
schatoor
Senior Member
 
Registered: Jul 2002
Location: a tiny place caled hendrik ido ambacht in the netherlands
Distribution: SuSE, debian, slackware, lfs
Posts: 1,358

Original Poster
Rep: Reputation: 45
Quote:
How could you ever know???
Well, the thing is I was wondering if such a thing could be build. And I just wanted to get the opinion of some of you guy's before I would wast my time on a project like this.
And ye, I'f noticed ctrl-c -ing a build proces and then running make again generally works. But i'm afraid you could get unexpected results and end up with an broken build. I don't know if that's troe though.
Any way, I got the idea when A sibling of mine came storming in to my room and asking me how long the damn build proces is going to last.(He to wanted to use the computer) I had to say I just didn't know. Kinda anoying for him, no?
 
Old 04-29-2003, 06:31 PM   #6
wapcaplet
Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Good point, it's no fun having compilation hogging the computer.

Though, I have had pretty good success with using the machine for other stuff while it's compiling. You may be able to find some 'nice' options to make it kind of run in the background, too.
 
Old 04-30-2003, 12:21 AM   #7
schatoor
Senior Member
 
Registered: Jul 2002
Location: a tiny place caled hendrik ido ambacht in the netherlands
Distribution: SuSE, debian, slackware, lfs
Posts: 1,358

Original Poster
Rep: Reputation: 45
I have been thinking about this. It should be possible to tell quite accurtaly how long a build is going to last. Think about it, the makefile contains info of what the computer should do and it shoulden't be to difficult do make script to determain the speed of a computer. Agreed, it's going to be cinda hard to figure out what the exact job of the computer will be if you only have the makefile. But in principle it should be possible.
Another good point pointed out by wapcaplet, is compiling in the background. Now I know ofcource this is possible, because, after all linux is a multitasking OS. But it would be nice to let it compile with reduced priority so that you could start other cpu intensive progs and let the build proces take up less cpu power. Then, when nothing is running, it could take a little more cpu power. Or am I reinventing the weel here?
 
  


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
Difficulties about my project idea kuldeep_kap Linux - General 1 09-24-2005 12:24 PM
Class project Idea AquamaN Programming 5 09-22-2005 12:04 AM
Idea for a project with linux(es) - What's possible? kanzure Linux - Newbie 1 03-14-2004 11:59 AM
Beginning a big project - Need an Good Project Manager gamehack Programming 3 01-15-2004 11:49 AM
Project Idea Advice KungFuHamster General 16 04-02-2003 11:57 PM


All times are GMT -5. The time now is 10:28 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration