On Mon, May 20, 2002 at 09:48:35AM -0700, Bill Moseley wrote: > At 05:30 PM 05/20/02 +0100, Nick Ing-Simmons wrote: > >>If I copy the .xs code into a main {} block and build a stand-alone C > >>program it works fine everyplace. > > > >Static linking the extension into perl should also work. > > Hum, not exactly sure what you are suggesting.
He means run 'make perl' in the extension directory, rather than make It builds a new perl statically linked with the extension. (Well, at least the XS code will be statically linked. It may take more effort to find a libaspell.a rather than a libaspell.so, but getting that statically linked too may help) 'make test_static' will test the new perl binary that this builds for you. Also, if it works on Linux, taking the Linux binary and running it on FreeBSD under the Linux emulation might prove "interesting", particularly if a static build on FreeBSD still doesn't work. Nicholas Clark -- Even better than the real thing: http://nms-cgi.sourceforge.net/