Hello sgmlers,
Is it possible to get sgmltools working on Mac OS X
(a.k.a., Darwin)? I'm working on it right now...
I have OpenJade and Python installed.
Here's the configure output.
creating cache ./config.cache
checking for a BSD compatible install... /sw/bin/install -c
checking for jade... N/A
checking for openjade... /sw/bin/openjade
Using /sw/bin/openjade as DSSSL engine
checking for lynx... /sw/bin/lynx
checking for w3m... N/A
checking for iSilo386... N/A
checking for python... /sw/bin/python
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for /usr/share/sgml/docbkdsl/images... no
trying /usr/local/share/sgml/stylesheets/docbook/images/
updating cache ./config.cache
creating ./config.status
creating bin/sgmltools
creating bin/buildcat
creating bin/sgmlwhich
creating Makefile
creating dsssl/print.dsl
creating bin/gensgmlenv
After I do the make install and try sgmltools --help, I
get:
Traceback (most recent call last):
File "/usr/local/bin/sgmltools", line 87, in ?
from SGMLtools import SGMLtools
ImportError: No module named SGMLtools
So, what do I have to do next?
thanks for your help
Logged In: YES
user_id=244593
I discovered that when I built sgmltools, ${prefix} wasn't being replaced with the right prefix (in this case /usr/local). Manually changing the sgmltools file made it work, but I haven't had time to figure out why it didn't work in the first place.