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

Re: Oh no, what a really heavy bummer



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...

-- 
+---------------------------------------------------------------+
| Ron Johnson, Jr.        mailto:ron.l.johnson@cox.net          |
| Jefferson, LA  USA      http://members.cox.net/ron.l.johnson  |
|                                                               |
| "Fear the Penguin!!"                                          |
+---------------------------------------------------------------+



Reply to: