[Lazarus] Compiling on OpenBSD
Leonardo Rame
l.rame at griensu.com
Thu Feb 27 02:16:01 CET 2014
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.
I had only a couple of issues while compiling.
1) Use gmake instead of make. This is the same as in FreeBsd, no problem.
2) Had to create the file ide/include/openbsd/lazconf.inc with the same contents of the FreeBsd version (attached).
3) At linking lazarus there were some warnings:
/usr/local/lib//libglib-2.0.so.3600.1: warning: vsprintf() is often misused, please use vsnprintf()
/usr/local/lib//libglib-2.0.so.3600.1: warning: stpcpy() is dangerous GNU crap; don't use it
/usr/X11R6/lib//libX11.so.15.2: warning: strcpy() is almost always misused, please use strlcpy()
/usr/X11R6/lib//libX11.so.15.2: warning: strcat() is almost always misused, please use strlcat()
/usr/X11R6/lib//libX11.so.15.2: warning: sprintf() is often misused, please use snprintf()
4) When I've tried to run ./lazarus, I got this:
(lazarus:14292): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
[FORMS.PP] ExceptionOccurred
Sender=EAccessViolation
Exception=Access violation
Stack trace:
$000000020D8F7A4A
TApplication.HandleException Access violation
Stack trace:
$000000020D8F7A4A
[FORMS.PP] ExceptionOccurred
I think this can be related to my gtk2 version: gtk+2-2.24.20p1
Well, I hope someone can take a look at the OpenBSD version, this is a really nice O.S. that deserves a Lazarus package :).
Regards,
--
Leonardo M. Ramé
http://leonardorame.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20140226/37e450a9/attachment-0002.html>
More information about the Lazarus
mailing list