You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 766 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Greetings, thanks for all the excellent work on ocaml. This is a tiny
bug report on building under OS X, 10.1.2. While I've composed this,
I'll also mention in passing that although strongly attracted to the
great technical capabilities of ocaml -- wide platform support,
brilliant compiler, good libraries and community -- I am still avoiding
significant use of ocaml with a key reason being the very heavy
syntax. Compared to languages like Lisp, Python, and Haskell for
example, I find ocaml more difficult to remember and visually
distracting (eg. the reliance on the overly black ';' character where
spaces, commas or periods might be used in other languages.) I have
been through this pull-push ambivalence several times with ocaml and not
yet convinced myself to work with it very much. I hope you will
consider an eventual migration to a lighter, more easy to remember and
visually appealing syntax -- to better complement ocaml's many other
great features.
Best regards,
John
Bug report:
Building ocaml-3.04 on OS X 10.1.2, there seems to be a problem making
camlp4optopt
This is triggered with
make opt.opt
which makes that one additional target,
Note: that the directions in the INSTALL file for building separately
don't mention that target:
make ocamlc.opt # to build a native-code version of
ocamlc
make ocamlopt.opt # to build a native-code version of
ocamlopt
make ocamllex.opt # to build a native-code version of
ocamllex
or
make opt.opt # to build all of them
so I only encountered the error when doing 'make opt.opt'
The log follows. Everything builds find until the 'make camp4optopt'
command. Let me know if you would like the rest of the build logs.
% ./configure >> & /tmp/o.log
% make world >> & /tmp/o.log
% make bootstrap >> & /tmp/o.log
% make opt >> & /tmp/o.log
% make ocamlc.opt >> & /tmp/o.log
% make ocamlopt.opt >> & /tmp/o.log
% make ocamllex.opt >> & /tmp/o.log
% make camlp4optopt
In the meantime, just remove the call to camlp4optopt in the Makefile:
this is optional. You will get no camlp4o.opt, that's all, but you can
use camlp4o.
Original bug ID: 766
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Greetings, thanks for all the excellent work on ocaml. This is a tiny
bug report on building under OS X, 10.1.2. While I've composed this,
I'll also mention in passing that although strongly attracted to the
great technical capabilities of ocaml -- wide platform support,
brilliant compiler, good libraries and community -- I am still avoiding
significant use of ocaml with a key reason being the very heavy
syntax. Compared to languages like Lisp, Python, and Haskell for
example, I find ocaml more difficult to remember and visually
distracting (eg. the reliance on the overly black ';' character where
spaces, commas or periods might be used in other languages.) I have
been through this pull-push ambivalence several times with ocaml and not
yet convinced myself to work with it very much. I hope you will
consider an eventual migration to a lighter, more easy to remember and
visually appealing syntax -- to better complement ocaml's many other
great features.
Best regards,
John
Bug report:
Building ocaml-3.04 on OS X 10.1.2, there seems to be a problem making
camlp4optopt
This is triggered with
make opt.opt
which makes that one additional target,
Note: that the directions in the INSTALL file for building separately
don't mention that target:
make ocamlc.opt # to build a native-code version of
ocamlc
make ocamlopt.opt # to build a native-code version of
ocamlopt
make ocamllex.opt # to build a native-code version of
ocamllex
or
make opt.opt # to build all of them
so I only encountered the error when doing 'make opt.opt'
The log follows. Everything builds find until the 'make camp4optopt'
command. Let me know if you would like the rest of the build logs.
% ./configure >> & /tmp/o.log
% make world >> & /tmp/o.log
% make bootstrap >> & /tmp/o.log
% make opt >> & /tmp/o.log
% make ocamlc.opt >> & /tmp/o.log
% make ocamlopt.opt >> & /tmp/o.log
% make ocamllex.opt >> & /tmp/o.log
% make camlp4optopt
cd camlp4; make optp4
set -e; for i in lib odyl camlp4 meta etc; do cd $i; make opt; cd ..;
done
make[2]: Nothing to be done for `opt'.
cp odyl_config.ml odyl_config.ppo
../../boot/ocamlrun ../../ocamlopt -I ../../stdlib -I
../../otherlibs/dynlink -c -impl odyl_config.ppo
rm -f odyl_config.ppo
OTOP=../.. OPT= EXE= ../tools/camlp4_comm.sh -nolib -DOPT -o
odyl_main.ppo odyl_main.ml
../../boot/ocamlrun ../boot/camlp4r -nolib -I ../boot pa_ifdef.cmo
-nolib -DOPT -o odyl_main.ppo odyl_main.ml
../../boot/ocamlrun ../../ocamlopt -I ../../stdlib -c -impl odyl_main.ppo
rm -f odyl_main.ppo
../../boot/ocamlrun ../../ocamlopt -I ../../stdlib -I
../../otherlibs/dynlink odyl_config.cmx odyl_main.cmx -a -o odyl.cmxa
../../boot/ocamlrun ../boot/camlp4r -nolib -I ../boot -o odyl.ppo odyl.ml
../../boot/ocamlrun ../../ocamlopt -I ../../stdlib -I
../../otherlibs/dynlink -c -impl odyl.ppo
rm -f odyl.ppo
../../boot/ocamlrun ../boot/camlp4r -nolib -I ../boot -o quotation.ppo
quotation.ml
../../boot/ocamlrun ../../ocamlopt -I ../../stdlib -I ../odyl -I ../boot
-I ../../utils -I ../../parsing -I ../../otherlibs/dynlink -c -impl
quotation.ppo
rm -f quotation.ppo
../../boot/ocamlrun ../boot/camlp4r -nolib -I ../boot -o ast2pt.ppo
ast2pt.ml
../../boot/ocamlrun ../../ocamlopt -I ../../stdlib -I ../odyl -I ../boot
-I ../../utils -I ../../parsing -I ../../otherlibs/dynlink -c -impl
ast2pt.ppo
rm -f ast2pt.ppo
../../boot/ocamlrun ../boot/camlp4r -nolib -I ../boot -o spretty.ppo
spretty.ml
../../boot/ocamlrun ../../ocamlopt -I ../../stdlib -I ../odyl -I ../boot
-I ../../utils -I ../../parsing -I ../../otherlibs/dynlink -c -impl
spretty.ppo
rm -f spretty.ppo
../../boot/ocamlrun ../boot/camlp4r -nolib -I ../boot -o reloc.ppo
reloc.ml
../../boot/ocamlrun ../../ocamlopt -I ../../stdlib -I ../odyl -I ../boot
-I ../../utils -I ../../parsing -I ../../otherlibs/dynlink -c -impl
reloc.ppo
rm -f reloc.ppo
../../boot/ocamlrun ../boot/camlp4r -nolib -I ../boot pa_extend.cmo -o
pcaml.ppo pcaml.ml
../../boot/ocamlrun ../../ocamlopt -I ../../stdlib -I ../odyl -I ../boot
-I ../../utils -I ../../parsing -I ../../otherlibs/dynlink -c -impl
pcaml.ppo
rm -f pcaml.ppo
../../boot/ocamlrun ../boot/camlp4r -nolib -I ../boot q_MLast.cmo -o
argl.ppo argl.ml
../../boot/ocamlrun ../../ocamlopt -I ../../stdlib -I ../odyl -I ../boot
-I ../../utils -I ../../parsing -I ../../otherlibs/dynlink -c -impl
argl.ppo
rm -f argl.ppo
../../boot/ocamlrun ../../ocamlopt -I ../../stdlib -I ../odyl -I ../boot
-I ../../utils -I ../../parsing -I ../../otherlibs/dynlink
../lib/stdpp.cmx ../lib/token.cmx ../lib/plexer.cmx ../lib/gramext.cmx
../lib/grammar.cmx ../lib/extfun.cmx ../lib/fstream.cmx
../../utils/config.cmx quotation.cmx ast2pt.cmx spretty.cmx reloc.cmx
pcaml.cmx argl.cmx -a -o camlp4.cmxa
../../boot/ocamlrun ../boot/camlp4r -nolib -I ../boot pa_extend.cmo
q_MLast.cmo -o pa_r.ppo pa_r.ml
../../boot/ocamlrun ../../ocamlopt -I ../../stdlib -I ../camlp4 -I
../boot -I ../../utils -c -impl pa_r.ppo
make[2]: *** [pa_r.cmx] Error 139
make[1]: *** [optp4] Error 2
make: *** [camlp4optopt] Error 2
The text was updated successfully, but these errors were encountered: