Node:Platform specific UNIX notes, Next:Redistributable files UNIX, Previous:UNIX foreign language interface, Up:Release notes and installation guide for UNIX
This section contains some installation notes which are platform specific under UNIX.
CC to e.g.
/opt/SUNWspro/bin/cc before invoking InstallSICStus.
library(bdb),
library(tcltk).
malloc()/MM_USE_MALLOC instead of the usual
sbrk()/MM_USE_SBRK. The latter did not work reliably. This is as
if sicstus -m was always used.
library(tcltk) requires Tk which is
not installed on MacOS X by default (see Tcl/Tk Notes).
spld will only work if there is a properly
configured
subdirectory sp-3.9.1 in the same directory as the executable; see
UNIX Runtime Systems on Target Machines.
Alternatively, the option --wrapper can be passed to spld.
In this case a wrapper script is created that will set up various
environment variables and invoke the real executable.
spld --resources ... does not work, whereas
spld --static --resources ... will. This is no great loss;
pre-linking dynamic foreign resources is pointless, at best.
Tcl/Tk or BDB, you may
need to set-up DYLD_LIBRARY_PATH so that the MacOS X dynamic
linker can find them. When using the SICStus development executable
(sicstus), a wrapper script does this automatically.
tcsh> limit data datasize 6144 kbytes bash> ulimit -d 6144This indicates that the maximum size of the data-segment is only 6 Mb. To remove the limit, do
tcsh> limit data unlimited datasize unlimited bash> ulimit -d unlimited bash> ulimit -d unlimitedPlease note:
limit (ulimit) is a shell built-in
in csh/tcsh (sh/bash). It may have a
different name in other shells.
spld --moveable implies --wrapper. This is due to
limitations in the IRIX run-time loader.
spld --moveable. This should not be a
problem; pre-linked dynamic resources are not recommended anyway.
Large
Address-Space Model. This is done automatically by spld. If you
do not use spld, you need to set this option yourself. This is
achieved by linking the executable using the -bmaxdata option. An
alternative may be to set the environment variable LDR_CNTRL
appropriately. See the documentation for the AIX command ld.