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

Re: Oh no, what a really heavy bummer



On Thu, Jan 23, 2003 at 03:22:44PM -0600, Ron Johnson wrote:
> On Thu, 2003-01-23 at 11:17, Pigeon wrote:
> > Hi,
> > 
> [snip]
> > 
> > Having put appropriate deb-src lines in sources.list, pointing to CD
> > images or websites as appropriate, have I got this sequence right?
> > 
> > apt-get source --download-only whatever   # get source package
> > dpkg-source -x whatever.dsc               # unpack it
> > # fiddle with Makefiles etc.
> > dpkg-buildpackage -b -ai686 whatever.dsc  # create binary .deb
> > dpkg -i whatever.deb                      # install it
> 
> Here's how I do it:
> # apt-get source gqview=1.0.2-1
> # export CC=gcc-3.2 -Wall -O2 -mcpu=pentiumpro
> # apt-get --compile source gqview=1.0.2-1
> # dpkg -i gqview.deb
>   alternatively:
> # apt-get --compile source gqview=1.0.2-1
> 
> Note that the "=x.y.z-a" isn't necessary.
> 
> There's a sid package named apt-src which automates it even more.
> 
> I like the 2 step process, though...

Nice one, I'll give that a shot. (Not tonight though...)

Cheers,
Pigeon



Reply to: