Just checked mod_dtcl out from CVS and tried to build it on a Digital UNIX
host here. I came across a couple of portability issues which I'll detail
here. I've hacked a quick patch, but haven't yet checked if it will break
other builds...

o buildtcl.sh uses expressions like:

        export VARNAME=value

  which breaks on older Bourne shells, fix: rewrite as:

        VARNAME=value ; export VARNAME

o Tcl include files were not found. My guess here is many people have it
installed in it's 'default' location '/usr/local', and since gcc searches
/usr/include AND /usr/local/include by default, everything's cool. The
bundled Digital CC does _not_ do this however so I added an extra
'-I$TCL_PREFIX/include' to $INC in builddtcl.sh after reading the
tclConfig.sh.

o Some of the source modules use '//' as comments which upsets the Digital
compiler - well, strictly speaking it isn't real C is it? Whatever,
changing them to the regular '/* blah */' fixes things.

Anyway, not actually tested it yet, but now compiles at least, will do so
soon and send the patches.

Simon
-- 
Simon Greaves            Voice: +679 212114
Systems & Networks       Fax:   +679 304089
ITS, USP, Suva           Email: [EMAIL PROTECTED]
Fiji


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to