On Wed, 2004-06-23 at 20:17, Albert wrote:
Colin from inkscape-users mailing list suggested commenting out the #ifndef WIN32 ... #else .. #endif, so that a strcasestr function is provided by the nr-type-directry.cpp file itself.
As noted, I think that is the correct fix.
On the web I've found dirent.h needs the declarations from types.h rigth before it, or won't compile. Let's try.
In file ./src/extension/init.cpp ... #include <types.h> -----> FAILS
#include "/usr/include/ppc/types.h" ----> WORKS
Developers could introduce a #ifdef darwin #include "/usr/include/ppc/types.h" #endif
Huh. Interesting. See if <stdint.h> or <inttypes.h> also works.
It's usually better to find more portable headers, rather than testing for being on a specific OS.
COMPILED !
Now, ./inkscape in src folder works, but prints many critical problems. It all has to do with hard-wired links to /usr/local/share/... folders, non-existant when not installed.
That happens on all Unix platforms currently, though the autopackage project is working to fix that.
make install
WORKS without printing errors. Good.
Good work ^_^
I need to spend some time installing fink over dialup on my G3 laptop, so I can help keep the OS X port healthy...
-mental