From: Bert D. <dri...@pl...> - 2001-12-02 15:18:52
|
Has anyone built WxPerl on FreeBSD? The problem is that Perl on FreeBSD is built without pthreads, but wxwindows is built with pthreads. perl5 Makefile.PL complains about library settings it inherits from gtk-config: % /usr/local/bin/perl5 Makefile.PL Checking if your kit is complete... Looks good Unrecognized argument in LIBS ignored: '-Wl,-E' Unrecognized argument in LIBS ignored: '-pthread' Wheb built this way, "make test" reports it can't find pthread_create. Manually sprinkling a bunch of "-pthread"s and "-lc_r" gets it to build, but predictably with this voodoo the extension is not very stable (a bit of clicking around in demo/samples/controls/controls.pl and some resizing, and foom: a Perl crash without further traceback in xdr_u_int; obviously a threadsafe/no threadsafe mismatch). FreeBSD 4.4, the Perl that came with it (5.005_03), wxWindows build from the ports collection of FreeBSD 4.4 (wxgtk-2.2.7,1). Cheers, -- Bert -- Bert Driehuis -- dri...@pl... -- +31-20-3116119 If the only tool you've got is an axe, every problem looks like fun! |