[prev in list] [next in list] [prev in thread] [next in thread] 

List:       debian-user
Subject:    Re: eglibc fails to build from source
From:       Jon Dowland <jmtd () debian ! org>
Date:       2012-04-30 13:26:29
Message-ID: 20120430132441.GC7795 () debian
[Download RAW message or body]

On Mon, Apr 30, 2012 at 12:01:37PM +0100, Brian wrote:
>    sudo apt-get build-dep <package_name>

If you would prefer to be able to remove the build dependencies afterwards
easily, you  could do (assuming one has devscripts and gdebi installed):

     mk-build-deps
     sudo gdebi install <the generated .deb file>
     sudo dpkg -i <the generated .deb file>
     rm <the generated .deb file>

>    apt-get source <package_name>
> 
>    quilt import /path/to/patch; quilt push

     ^^ this step would only be needed if you were applying a patch
not already in the Debian packaging; if the patch is part of the packaging
this step could be skipped.

>    debuild -us -uc

Add -jN to enable parallel builds if you have a modern CPU (N=7 is quite good
for basic Intel i-era chips, or quad core 2 duos).  This can massively speed
up building and rebuilding packages.

> The system used was only a basic install so I needed devscripts and
> fakeroot.

You probably also needed build-essential.


-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/20120430132441.GC7795@debian

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic