Hello,
After using libHaru on a windows squeak, I decided to try on my Mac OS
X the same.
On the pc, I just installed FFI, copied a FFIPlugin and libhpdf.dll to
the squeak
directory, and was done (after installing HPDF from squeaksource).
On the OS X machine, I started with the seaside one-click: 2.8-573.
As there is no pre-compiled libHaru for OS-X, I installed one through
macports.
It takes a while, as it has a few dependencies. I ended up with an
libhpdf.dylib in:
/opt/local/lib
In Michael Davies blog I found squeak expects a link to the library in:
/Applications/Seaside-2.8-573.app/Contents/Resources
so, I cd-ed there and created a link:
ln -s /opt/local/lib/libhpdf-2.1.0.dylib libhpdf
In the same directory is also an alias libhpdf.dylib. Am I supposed to
use that?
I then tried running the tests, but noticed that the FFIplugin tests
were red.
I took a look at a 3.8.18beta3U.app from 3.10.2-7179 and noticed it
had many more
files in the Contents/Resources. Copying the SqueakFFIPrims.bundle to
the equivalent
location in the Seaside image helped to get some test running, though
not those
involved with saving a file.
Which version of the bundle should I add to get all tests green?
Stephan Eggermont
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners