On Tue, Apr 17, 2012 at 10:41:52AM +0100, Laurence Rochfort wrote:
> :D  Thanks for the permission to compile, Jan!
> 
> I was thinking more of allowances I might have to make for compiling
> software developed with GNU in mind on OpenBSD.  Or am I just looking
> at it the wrong way?
> 
> I guess I'll just suck it and see.
> 
> I'll also have a crack at creating a port.
> 
> Many thanks.
> 

If the software exists as a port, there's probably also a binary package.

Installing the binary package directly is least painful.

If you really want to look at things, compiling the port is very easy, though
it will usually take longer (sometimes much longer for monsters like
libreoffice). It's as stupid as cd /usr/ports/lang/swi-prolog && make install

Most software compiles just fine on OpenBSD. It's just that if you want
to do it by hand, you have to hunt for the dependencies, and give the right
environment/options to configure.

Contrary to Linux, we have a heavy separation between the base system and
3rd party software. In particular, the compiler and linker in base are
"untainted", and they do not look in /usr/local by default. You 
have to explicitly set CPPFLAGS and LDFLAGS if you need to look there !

Reply via email to