Hi, I'm playing with OpenBsd 5.4 amd64 (with XFCE4) and found it has an fpc 2.6.2 package, so I tried compiling Lazarus trunk.<br />
<br />
I had only a couple of issues while compiling.<br />
<br />
1) Use gmake instead of make. This is the same as in FreeBsd, no problem.<br />
2) Had to create the file ide/include/openbsd/lazconf.inc with the same contents of the FreeBsd version (attached).<br />
3) At linking lazarus there were some warnings:<br />
<br />
/usr/local/lib//libglib-2.0.so.3600.1: warning: vsprintf() is often misused, please use vsnprintf()<br />
/usr/local/lib//libglib-2.0.so.3600.1: warning: stpcpy() is dangerous GNU crap; don't use it<br />
/usr/X11R6/lib//libX11.so.15.2: warning: strcpy() is almost always misused, please use strlcpy()<br />
/usr/X11R6/lib//libX11.so.15.2: warning: strcat() is almost always misused, please use strlcat()<br />
/usr/X11R6/lib//libX11.so.15.2: warning: sprintf() is often misused, please use snprintf()<br />
<br />
4) When I've tried to run ./lazarus, I got this:<br />
<br />
(lazarus:14292): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed<br />
[FORMS.PP] ExceptionOccurred <br />
Sender=EAccessViolation<br />
Exception=Access violation<br />
Stack trace:<br />
$000000020D8F7A4A<br />
TApplication.HandleException Access violation<br />
Stack trace:<br />
$000000020D8F7A4A<br />
[FORMS.PP] ExceptionOccurred <br />
<br />
I think this can be related to my gtk2 version: gtk+2-2.24.20p1<br />
<br />
Well, I hope someone can take a look at the OpenBSD version, this is a really nice O.S. that deserves a Lazarus package :).<br />
<br />
Regards,<br />
-- <br />
Leonardo M. Ramé<br />
http://leonardorame.blogspot.com