On Thu, 25 Sep 2003 09:58 am, Jeff Waugh wrote:
> <quote who="James Gray">
>
> > Here's the way I read the man pages (as root):
> > apt-get source <package>
> > cd <package>
> > ./configure --with-all-the-opts-i-need
> > dpkg-buildpackage
> > dpkg -i <package>.deb
> >
> > Or is there a better way??  Thanks in advance folks :)
>
> Sure, try this:
>
>   apt-get source <package>
>   vi <package>*/debian/rules
>   (modify the configure arguments in here, under the configure rule [1])
>   dpkg-buildpackage -uc -us -rfakeroot [2]
>   dpkg -i ../<package>*.deb
>
> [1] depending on what you're changing, you might have to get your hands
> dirty on more detailed packaging foo, even if you just add a configure
> parameter. this will generally only happen with complicated and/or messy
> packages.
>
> [2] because you should always build your packages/software/anything as an
> unprivileged user! :-)
>
> - Jeff

Thanks Jeff - I was on the right track then :)  This is good coz it means I 
can sail the problematic FreeBSD box up the river.  (Refuses to use DMA for 
the hard-drives which is crucifying squid, plus other nastiness).

As for [2] - yeh, that was a bit of typo.  Made that mistake once with a 
"make clean" that was doing some "rm -f *" juju for a dodgey package that 
recursed a symlinmk to root (/).  Goodbye system!

--James
__________________________________
A random quote of nothing:

Original thought is like original sin: both happened before you were born
to people you could not have possibly met.
                -- Fran Lebowitz, "Social Studies"

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to