That's it, all works fine now. Some patches have been submitted to the ports CVS a few days ago, addressing these same issues:
http://permalink.gmane.org/gmane.os.openbsd.ports.cvs/61543 I'll take a look into those, Richard probably should do the same, too. Many thanks to Stuart for all the help! On Feb 8, 2012, at 2:23 PM, Stuart Henderson wrote: > On 2012-02-08, ZC) Loff <zel...@zeloff.org> wrote: >> Just in case Richard Thornton is still listening, on OpenBSD 5.0 (i386) >> I managed to compile R properly using the aforementioned patch to the >> tre sources and passing '--with-cairo=no' as configure option. >> >> If you don't drop Cairo, R will be built all the same, but the first >> time you try to plot something R will crash due to some mess with >> libgthread. > > just run it with LD_PRELOAD=/usr/lib/libpthread.so in the environment