Subject: Re: Compiling Outside Source Code
To: Randy Beaudreault <maccult@pacbell.net>
From: Martin Weber <Ephaeton@gmx.net>
List: netbsd-help
Date: 07/24/2001 18:45:23
On Tuesday 24 July 2001 18:19 you've wrote:
> How do I compile source code that isn't part of the NetBSD package
> system? I want to get icepref up and running to modify icewm but
> since I don't have a clue as to building source code not in the
> package system I need help. Thanks for any help here.
Typically unix packages come in a compressed tarball. So you'd go into
some kind of temporary directory and do :
gunzip -dc <package> | tar x(v)f - or
bunzip2 -dc <packag> | tar x(v)f -
^ If you want verbose filenames during extract
./configure --help (to see a list of options to configure the software)
./configure --prefix=/usr/local (just for example, call with all options you
think that fit, you'll see them on the --help)
make
then go root and
make install
Sometimes you can stumble into weird problems after the make call, before you
feel lost, try to 'gmake' instead.
This has however the backdraw that it is not recorded into the packaging
system. This means you cannot easily de-install it for example... But don't
ask me now how to do that ;> I'd have to investigate for myself, and I think
someone on here will know it.
Martin Weber