1.
If I try to compile GODI on Solaris, it first fails when
godi-ocaml/work/ocaml/build/partial-install.sh tries to touch
not_installed=$PWD/_build/not_installed because the directory does not
exist. Manually performing 
mkdir -p ${HOME}/godi/build/godi/godi-ocaml/_build
after it started to compile godi-ocaml fixes this.

2.
Then it fails building
build/godi/godi-tools/work/godi-tools-2.0.11/console-src/godi-digest:

if [ -n "/caml" ]; then \
                cp "/caml/config.h" "caml_config.h"; \
        else \
                cp `ocamlc -where`/caml/config.h caml_config.h; \
        fi
cp: cannot access /caml/config.h
gmake[9]: *** [caml_config.h] Error 2

The culprit is line 184 in
build/godi/godi-tools/work/godi-tools-2.0.11/console-src/configure
which says

stdlib="$(ocamlc -where)"

when it should probably say

stdlib="$(shell ocamlc -where)"

ocamlc is not a make function, and don't ask me why this works with the
same version 3.81 of GNU make on linux... (actually, I found the reason:
if I explicitly set SHELL in the Makefile to point to an instance of bash,
it compiles with stdlib="$(ocamlc -where)" on solaris, too).

But of course I still can not install GODI, since the build process will
clean out my fixed configure and Makefile.conf and recompile from the oiginal
buggy source:

### Building godi-tools
===> Cleaning for godi-tools-2.0.11
=> Checksum OK for godi-tools-2.0.11.tar.gz.
===> Extracting for godi-tools-2.0.11


- Florian.



_______________________________________________
Godi-list mailing list
[email protected]
https://godirepo.camlcity.org/mailman/listinfo/godi-list

Reply via email to