Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-23-2012, 12:45 PM   #1
LQ Newbie
Registered: May 2012
Posts: 5

Rep: Reputation: Disabled
Building binaries from sources

Hi there!
I have another simple question... I have a small custom distribution that doesn't come with gcc and other several packages installed (such as apache2 or php5 etc..) aptitude or other packet manager is missing so i'm a little bit stuck..
I want to install some packages in my custom distribution.. what is the easiest way?
I'd like first to get gcc working and i'd like to build it with another distro (same architecture, i.e. same pc with all dependencies satisfied) and then put the binaries to my custom distro.

Is that possible?
Old 05-23-2012, 02:19 PM   #2
Senior Member
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
If I remember correctly, the way LFS gets around the problem is booting from another distribution (in your case, a Live CD would be most appropriate), then chrooting into the root of the target distribution and then compiling gcc.
Old 05-23-2012, 03:23 PM   #3
LQ Newbie
Registered: May 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thanks! I didn't know about LFS i'll give it a look!


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
Building RHEL 6 from sources TylerGriffiths Red Hat 8 06-12-2012 09:22 AM
Building 64 bit binaries from source. Zepiroth Linux - Server 2 03-11-2008 04:54 AM
building rpm from sources Yoyo302 Fedora 1 07-28-2005 07:52 PM
Building static binaries nikhiljosh Linux - General 1 10-15-2003 10:04 AM
Building RPM's from Sources in RH 7.3 MgF Linux - Newbie 2 02-03-2003 01:36 AM

All times are GMT -5. The time now is 10:06 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration