Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2012-02

Is FreeBSD supported?

10 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi,

From the following website, it mentions that FreeBSD is supported, but

there is no FreeBSD download available.

http://sourceforge.net/projects/lazarus/

It shouldn't be a problem building my own, but it is always handy having an official binary release available as a starting point.

I'm setting up a FreeBSD 9.0 (32-bit) development system and would like to know the status of Lazarus on FreeBSD (9.0 preferably). I'll probably default to the GTK2 widgetset, but if Qt4 is more stable/supported I can switch to that too.

Regards, ? - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net

Reply by email

Vincent Snijders
to Graeme Geldenhuys

Op 29 februari 2012 09:47 heeft Graeme Geldenhuys
het volgende geschreven:

Show quoted text 7 lines
Hi, From the following website, it mentions that FreeBSD is supported, but there is no FreeBSD download available. http://sourceforge.net/projects/lazarus/

It is supported, but there are no binary releases. FreeBSD user can use the source tar ball.

It shouldn't be a problem building my own, but it is always handy having an official binary release available as a starting point.

There is no official binary release from the lazarus team.

I'm setting up a FreeBSD 9.0 (32-bit) development system and would like to know the status of Lazarus on FreeBSD (9.0 preferably). I'll probably default to the GTK2 widgetset, but if Qt4 is more stable/supported I can switch to that too.

I don't use Lazarus on FreeBSD, (there are other who use Lazarus on FreeBSD), maybe there is even a lazarus version in ports, so you get some help building it from source.

Vincent

Reply by email

Vincent Snijders
to Graeme Geldenhuys: there is no FreeBSD download available. http://sourceforge.net/projects/lazarus/ It…

Op 29 februari 2012 09:47 heeft Graeme Geldenhuys
het volgende geschreven:

Show quoted text 10 lines
Hi, From the following website, it mentions that FreeBSD is supported, but there is no FreeBSD download available. http://sourceforge.net/projects/lazarus/ It shouldn't be a problem building my own, but it is always handy having an official binary release available as a starting point.

See also:
http://wiki.lazarus.freepascal.org/Installing_Lazarus#Installing_Lazarus_under_FreeBSD

Vincent

Reply by email

Helmut Hartl
to Graeme Geldenhuys
Graeme Geldenhuys wrote 11 lines
On 29 February 2012 10:54, Vincent Snijders wrote: >> >> http://sourceforge.net/projects/lazarus/ >> > It is supported, but there are no binary releases. FreeBSD user can > use the source tar ball. Thanks Vincent.

We use Laz/FPC in our FreeBSD company development team since years, we mainly use trunk/svn versions directly on the developer machines. (different checkouts / ~weekly) and a definitive version on the nightly build server and test suite.

You may get trouble with threaded applications crashing with fpc 2.6, and FreeBSD 9 which comes from a bad/incomplete semaphore definition IIRC.

Pierre fixed that (many thanks) a while ago but AFAIK it's not in the 2.6.1 fixes branch - so you may have to apply a patch manually. -> search for posts from me, pierre, marco regarding FreeBSD and threads. or come back to me if you have troubles ...

helmut

Reply by email

Graeme Geldenhuys
to Helmut Hartl
Helmut Hartl wrote
We use Laz/FPC in our FreeBSD company development team since years,

Excellent news, thanks.

You may get trouble with threaded applications crashing with fpc 2.6, and FreeBSD 9 which comes from a bad/incomplete semaphore definition IIRC.

Thanks for the heads-up, I use multi-threading a lot in our work. I'll search for the patch.

Has anybody notified or requested a back-port of that patch to 2.6.1?

Thanks again for all the info. So far the FreeBSD system looks awesome
- I'm absolutely loving ZFS by the way! :)

Regards, ? - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net

Reply by email

Miquel Bruns
to Graeme Geldenhuys

look:

http://www.pilotlogic.com/sitejoom/index.php/forum/79-bsd-development/1516-lab-codetyphon-on-freebsd-9-0-final

On Wed, Feb 29, 2012 at 10:48 AM, Graeme Geldenhuys <

Show quoted text 36 lines
wrote: On 29 February 2012 11:37, Helmut Hartl wrote: > > We use Laz/FPC in our FreeBSD company development team since years, Excellent news, thanks. > You may get trouble with threaded applications crashing with fpc 2.6, > and FreeBSD 9 which comes from a bad/incomplete semaphore definition IIRC. Thanks for the heads-up, I use multi-threading a lot in our work. I'll search for the patch. Has anybody notified or requested a back-port of that patch to 2.6.1? Thanks again for all the info. So far the FreeBSD system looks awesome - I'm absolutely loving ZFS by the way! :) -- Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120229/13573570/attachment.html>

Reply by email

Marco van de Voort
to Vincent Snijders: Op 29 februari 2012 09:47 heeft Graeme Geldenhuys het volgende geschreven: It is…
Vincent Snijders wrote 7 lines
> From the following website, it mentions that FreeBSD is supported, but > there is no FreeBSD download available. > > http://sourceforge.net/projects/lazarus/ > It is supported, but there are no binary releases. FreeBSD user can use the source tar ball.

pkg_add lazarus maybe?

There seem to be binary ports on FTP:
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-stable/devel/

Reply by email

Helmut Hartl
to Marco van de Voort
Marco van de Voort wrote 6 lines
On Wed, Feb 29, 2012 at 10:37:19AM +0100, Helmut Hartl wrote: > You may get trouble with threaded applications crashing with fpc 2.6, > and FreeBSD 9 which comes from a bad/incomplete semaphore definition IIRC. Did you debug that yourself? I didn't merge it because the patch doesn't look sane to me.

To be honest no - I asked for hint's why our software does not run on freebsd 9 and provided a gdb stacktrace. Pierre Muller answered he made a patch for the above mentionend, in a specific revision. (svn diff -r 19175:19176 > bsd_sem_patch.diff )

Date:22.09.11 12:37 Committer: pierre svn revno: 19176 (on /trunk) * Fix failure of webtbs/tw17560: the C structure sem (also TSemaphore record) used in cthreads unit inside cIntSemaphoreInit function via a GetMem(sizeof(TSempahore). sem was a simple cint value which lead to memoryt overwriting past end of allocated memory in sem_XXX calls. -- I looked over it, tested our software and I found no negative behaviour until today so I simply respected pierre's word and advice. Without that patch, nearly every multithreaded app crashes on FreeBSD 9 on application startup. helmut

Reply by email