[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: building deb-src packages



On Mon, May 13, 2002 at 03:19:34PM -0500, Ron Johnson wrote:
> I've downloaded the mozilla source package, but am unsure 
> of what to do next.  
> Do I do this:
>    dpkg-deb --build /etc/apt/mozilla-1+rc1
> or
>    cd /etc/apt/mozilla-1+rc1 && dpkg-buildpackage -ai686

(I hope you didn't unpack it in /etc/apt! Use 'apt-get source' as an
ordinary user, not as root, and usually somewhere in your home
directory.)

Change into the unpacked source directory and run 'dpkg-buildpackage
-rfakeroot -uc -us'. The -uc and -us prevent the tools from trying to
sign the generated .changes and .dsc files, which you probably don't
want to bother with. -rfakeroot, if you have the fakeroot package
installed, means you don't need root privileges for the build.

You'll want to install the build-essential package and its dependencies,
plus anything listed in the Build-Depends:/Build-Depends-Indep: fields
of debian/control in the source package. 'apt-get build-dep mozilla'
will do this for you if you have apt >= 0.5.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: