Skip to content

Instantly share code, notes, and snippets.

@objmagic
Last active August 29, 2015 14:18
Show Gist options
  • Select an option

  • Save objmagic/d8ae3451488414f69b62 to your computer and use it in GitHub Desktop.

Select an option

Save objmagic/d8ae3451488414f69b62 to your computer and use it in GitHub Desktop.
eliom test
mkdir -p local/var/run
mkdir -p local/var/log
mkdir -p local/var/lib
mkdir -p local/tmp
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C tests opt
for i in miniwiki testsuite distillery; do /Applications/Xcode.app/Contents/Developer/usr/bin/make -C $i clean; done
ocamlbuild -use-ocamlfind -tag thread -package eliom.server -clean
Finished, 0 targets (0 cached) in 00:00:00.
00:00:00 0 (0 ) STARTING -------- |rm -Rf _build
for i in basic mobile; do rm -Rf distillery-$i clean; done
for i in miniwiki testsuite distillery; do /Applications/Xcode.app/Contents/Developer/usr/bin/make -C $i opt; done
ocamlbuild -use-ocamlfind -tag thread -package eliom.server miniwiki.cmxs
Finished, 4 targets (0 cached) in 00:00:01.
eliombuild testsuite_client.js
File "_tags", line 3, characters 147-164:
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
File "_tags", line 3, characters 147-164:
Warning: the tag "ppopt(-lwt-debug)" is not used in any flag declaration, so it will have no effect; it may be a typo. Otherwise use `mark_tag_used` in your myocamlbuild.ml to disable this warning.
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
+ ocamlfind ocamlc -c -g -thread -syntax camlp4o -package ocsigenserver.baselib,js_of_ocaml.deriving.syntax,deriving.syntax.std,tyxml.syntax -package lwt.syntax.log -package eliom.server,eliom.server.ext -package eliom.server -package eliom.syntax.predef -package eliom.syntax.server -ppopt -type -ppopt type_dir/eliom_testsuite4.inferred.mli -I '' -I server -o server/eliom_testsuite4.cmo server/eliom_testsuite4.ml
File "eliom_testsuite4.eliom", line 1332, characters 10-16:
Warning 26: unused variable strstr.
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Finished, 55 targets (0 cached) in 00:00:40.
eliombuild testsuite.cmxs \
server/eliom_testsuite_global.cmxs \
server/eliom_testsuite_site.cmxs
File "_tags", line 3, characters 147-164:
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
File "_tags", line 3, characters 147-164:
Warning: the tag "ppopt(-lwt-debug)" is not used in any flag declaration, so it will have no effect; it may be a typo. Otherwise use `mark_tag_used` in your myocamlbuild.ml to disable this warning.
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
+ ocamlfind ocamlopt -c -g -thread -syntax camlp4o -package ocsigenserver.baselib,js_of_ocaml.deriving.syntax,deriving.syntax.std,tyxml.syntax -package lwt.syntax.log -package eliom.server,eliom.server.ext -package eliom.server -package eliom.syntax.predef -package eliom.syntax.server -ppopt -type -ppopt type_dir/eliom_testsuite4.inferred.mli -I '' -I server -o server/eliom_testsuite4.cmx server/eliom_testsuite4.ml
File "eliom_testsuite4.eliom", line 1332, characters 10-16:
Warning 26: unused variable strstr.
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Finished, 54 targets (36 cached) in 00:00:11.
for i in basic mobile; do /Applications/Xcode.app/Contents/Developer/usr/bin/make opt-$i; done
mkdir -p distillery-basic
eliom-distillery -name distillery_basic -template basic -target-directory distillery-basic
Generated distillery-basic/Makefile.
Generated distillery-basic/Makefile.options.
Generated distillery-basic/distillery_basic.conf.in.
Generated distillery-basic/distillery_basic.eliom.
Generated distillery-basic/README.
Generated distillery-basic/static/css/distillery_basic.css.
echo 'TEST_PREFIX=local/' >> distillery-basic/Makefile.options
echo 'PREFIX=../../../local/' >> distillery-basic/Makefile.options
echo 'STATICDIR=var/www/distillery-basic/static' >> distillery-basic/Makefile.options
echo 'ELIOMSTATICDIR=var/www/distillery-basic/eliomstatic' >> distillery-basic/Makefile.options
echo 'LIBDIR=var/www/distillery-basic/lib' >> distillery-basic/Makefile.options
echo 'WWWUSER=' >> distillery-basic/Makefile.options
echo 'WWWGROUP=' >> distillery-basic/Makefile.options
make -C distillery-basic byte install.static
Makefile:216: .depend: No such file or directory
mkdir _deps
eliomdep -server distillery_basic.eliom > _deps/distillery_basic.eliom.server
eliomdep -client distillery_basic.eliom > _deps/distillery_basic.eliom.client
cat _deps/distillery_basic.eliom.server _deps/distillery_basic.eliom.client > .depend
eliomc -infer distillery_basic.eliom
js_of_eliom -c distillery_basic.eliom
mkdir -p local/var/www/distillery-basic/eliomstatic
js_of_eliom -o local/var/www/distillery-basic/eliomstatic/distillery_basic.js \
_client/distillery_basic.cmo
mkdir -p local/etc/distillery_basic
sed -e "/^ *%%%/d" -e "s|%%PROJECT_NAME%%|distillery_basic|g" -e "s|%%DATABASE_NAME%%||g" -e "s|%%DATABASE_USER%%||g" -e "s|%%CMDPIPE%%|%%PREFIX%%var/run/distillery_basic-cmd|g" -e "s|%%LOGDIR%%|%%PREFIX%%var/log/distillery_basic|g" -e "s|%%DATADIR%%|%%PREFIX%%var/data/distillery_basic|g" -e "s|%%PERSISTENT_DATA_BACKEND%%|dbm|g" -e "s|%%LIBDIR%%|%%PREFIX%%var/www/distillery-basic/lib|g" -e "s|%%WARNING%%|DON\'T EDIT THIS FILE! It is generated from distillery_basic.conf.in, edit that one, or the variables in Makefile.options|g" -e "s|%%PACKAGES%%||g" -e "s|%%ELIOMSTATICDIR%%|%%PREFIX%%var/www/distillery-basic/eliomstatic|g" -e "s|%%DEBUGMODE%%||g" -e "s|%%PORT%%|80|g" -e "s|%%STATICDIR%%|%%PREFIX%%var/www/distillery-basic/static|g" -e "s|%%USERGROUP%%||g" distillery_basic.conf.in | sed -e "s|%%PREFIX%%|../../../local/|g" > local/etc/distillery_basic/distillery_basic.conf
sed -e "/^ *%%%/d" -e "s|%%PROJECT_NAME%%|distillery_basic|g" -e "s|%%DATABASE_NAME%%||g" -e "s|%%DATABASE_USER%%||g" -e "s|%%CMDPIPE%%|%%PREFIX%%var/run/distillery_basic-cmd|g" -e "s|%%LOGDIR%%|%%PREFIX%%var/log/distillery_basic|g" -e "s|%%DATADIR%%|%%PREFIX%%var/data/distillery_basic|g" -e "s|%%PERSISTENT_DATA_BACKEND%%|dbm|g" -e "s|%%LIBDIR%%|%%PREFIX%%var/www/distillery-basic/lib|g" -e "s|%%WARNING%%|DON\'T EDIT THIS FILE! It is generated from distillery_basic.conf.in, edit that one, or the variables in Makefile.options|g" -e "s|%%PACKAGES%%||g" -e "s|%%ELIOMSTATICDIR%%|%%PREFIX%%var/www/distillery-basic/eliomstatic|g" -e "s|%%DEBUGMODE%%||g" -e "s|%%PORT%%|8080|g" -e "s|%%STATICDIR%%|static|g" -e "s|%%USERGROUP%%||g" distillery_basic.conf.in | sed -e "s|%%PREFIX%%|local/|g" > local/etc/distillery_basic/distillery_basic-test.conf
eliomc -c distillery_basic.eliom
mkdir -p local/var/www/distillery-basic/lib
eliomc -a -o local/var/www/distillery-basic/lib/distillery_basic.cma \
_server/distillery_basic.cmo
cp -r static/* ../../../local/var/www/distillery-basic/static
[ -z ] || chown -R ../../../local/var/www/distillery-basic/static
install local/var/www/distillery-basic/eliomstatic/distillery_basic.js ../../../local/var/www/distillery-basic/eliomstatic
make -C distillery-basic opt install.opt
eliomopt -c distillery_basic.eliom
eliomopt -a -o local/var/www/distillery-basic/lib/distillery_basic.cmxa \
_server/distillery_basic.cmx
eliomopt -shared -linkall -o local/var/www/distillery-basic/lib/distillery_basic.cmxs local/var/www/distillery-basic/lib/distillery_basic.cmxa
install local/var/www/distillery-basic/lib/distillery_basic.cmxs ../../../local/var/www/distillery-basic/lib
install local/etc/distillery_basic/distillery_basic.conf ../../../local/etc/distillery_basic/distillery_basic.conf
cp -r static/* ../../../local/var/www/distillery-basic/static
[ -z ] || chown -R ../../../local/var/www/distillery-basic/static
install local/var/www/distillery-basic/eliomstatic/distillery_basic.js ../../../local/var/www/distillery-basic/eliomstatic
rm distillery-basicmake[3]: unlink: distillery-basic: Operation not permitted
mkdir -p distillery-mobile
eliom-distillery -name distillery_mobile -template mobile -target-directory distillery-mobile
Generated distillery-mobile/Makefile.
Generated distillery-mobile/Makefile.options.
Generated distillery-mobile/mobile/distillery_mobile.config.xml.in.
Generated distillery-mobile/distillery_mobile.conf.in.
Generated distillery-mobile/distillery_mobile.eliom.
Generated distillery-mobile/README.
Generated distillery-mobile/static/css/distillery_mobile.css.
Generated distillery-mobile/static/index.html.
Generated distillery-mobile/static/js/distillery_mobile.js.
echo 'TEST_PREFIX=local/' >> distillery-mobile/Makefile.options
echo 'PREFIX=../../../local/' >> distillery-mobile/Makefile.options
echo 'STATICDIR=var/www/distillery-mobile/static' >> distillery-mobile/Makefile.options
echo 'ELIOMSTATICDIR=var/www/distillery-mobile/eliomstatic' >> distillery-mobile/Makefile.options
echo 'LIBDIR=var/www/distillery-mobile/lib' >> distillery-mobile/Makefile.options
echo 'WWWUSER=' >> distillery-mobile/Makefile.options
echo 'WWWGROUP=' >> distillery-mobile/Makefile.options
make -C distillery-mobile byte install.static
Makefile:308: .depend: No such file or directory
mkdir _deps
eliomdep -server distillery_mobile.eliom > _deps/distillery_mobile.eliom.server
eliomdep -client distillery_mobile.eliom > _deps/distillery_mobile.eliom.client
cat _deps/distillery_mobile.eliom.server _deps/distillery_mobile.eliom.client > .depend
eliomc -infer distillery_mobile.eliom
js_of_eliom -c distillery_mobile.eliom
mkdir -p local/var/www/distillery-mobile/eliomstatic
js_of_eliom -o local/var/www/distillery-mobile/eliomstatic/distillery_mobile.js \
_client/distillery_mobile.cmo
cp local/var/www/distillery-mobile/eliomstatic/distillery_mobile.js static/js/.
mkdir -p local/etc/distillery_mobile
sed -e "/^ *%%%/d" -e "s|%%PROJECT_NAME%%|distillery_mobile|g" -e "s|%%DATABASE_NAME%%||g" -e "s|%%DATABASE_USER%%||g" -e "s|%%CMDPIPE%%|%%PREFIX%%var/run/distillery_mobile-cmd|g" -e "s|%%LOGDIR%%|%%PREFIX%%var/log/distillery_mobile|g" -e "s|%%DATADIR%%|%%PREFIX%%var/data/distillery_mobile|g" -e "s|%%PERSISTENT_DATA_BACKEND%%|dbm|g" -e "s|%%LIBDIR%%|%%PREFIX%%var/www/distillery-mobile/lib|g" -e "s|%%WARNING%%|DON\'T EDIT THIS FILE! It is generated from distillery_mobile.conf.in, edit that one, or the variables in Makefile.options|g" -e "s|%%PACKAGES%%||g" -e "s|%%ELIOMSTATICDIR%%|%%PREFIX%%var/www/distillery-mobile/eliomstatic|g" -e "s|%%DEBUGMODE%%||g" -e "s|%%PORT%%|80|g" -e "s|%%STATICDIR%%|%%PREFIX%%var/www/distillery-mobile/static|g" -e "s|%%USERGROUP%%||g" distillery_mobile.conf.in | sed -e "s|%%PREFIX%%|../../../local/|g" > local/etc/distillery_mobile/distillery_mobile.conf
sed -e "/^ *%%%/d" -e "s|%%PROJECT_NAME%%|distillery_mobile|g" -e "s|%%DATABASE_NAME%%||g" -e "s|%%DATABASE_USER%%||g" -e "s|%%CMDPIPE%%|%%PREFIX%%var/run/distillery_mobile-cmd|g" -e "s|%%LOGDIR%%|%%PREFIX%%var/log/distillery_mobile|g" -e "s|%%DATADIR%%|%%PREFIX%%var/data/distillery_mobile|g" -e "s|%%PERSISTENT_DATA_BACKEND%%|dbm|g" -e "s|%%LIBDIR%%|%%PREFIX%%var/www/distillery-mobile/lib|g" -e "s|%%WARNING%%|DON\'T EDIT THIS FILE! It is generated from distillery_mobile.conf.in, edit that one, or the variables in Makefile.options|g" -e "s|%%PACKAGES%%||g" -e "s|%%ELIOMSTATICDIR%%|%%PREFIX%%var/www/distillery-mobile/eliomstatic|g" -e "s|%%DEBUGMODE%%||g" -e "s|%%PORT%%|8080|g" -e "s|%%STATICDIR%%|static|g" -e "s|%%USERGROUP%%||g" distillery_mobile.conf.in | sed -e "s|%%PREFIX%%|local/|g" > local/etc/distillery_mobile/distillery_mobile-test.conf
eliomc -c distillery_mobile.eliom
mkdir -p local/var/www/distillery-mobile/lib
eliomc -a -o local/var/www/distillery-mobile/lib/distillery_mobile.cma \
_server/distillery_mobile.cmo
cp -r static/* ../../../local/var/www/distillery-mobile/static
[ -z ] || chown -R ../../../local/var/www/distillery-mobile/static
install local/var/www/distillery-mobile/eliomstatic/distillery_mobile.js ../../../local/var/www/distillery-mobile/eliomstatic
make -C distillery-mobile opt install.opt
eliomopt -c distillery_mobile.eliom
eliomopt -a -o local/var/www/distillery-mobile/lib/distillery_mobile.cmxa \
_server/distillery_mobile.cmx
eliomopt -shared -linkall -o local/var/www/distillery-mobile/lib/distillery_mobile.cmxs local/var/www/distillery-mobile/lib/distillery_mobile.cmxa
install local/var/www/distillery-mobile/lib/distillery_mobile.cmxs ../../../local/var/www/distillery-mobile/lib
install local/etc/distillery_mobile/distillery_mobile.conf ../../../local/etc/distillery_mobile/distillery_mobile.conf
cp -r static/* ../../../local/var/www/distillery-mobile/static
[ -z ] || chown -R ../../../local/var/www/distillery-mobile/static
install local/var/www/distillery-mobile/eliomstatic/distillery_mobile.js ../../../local/var/www/distillery-mobile/eliomstatic
rm distillery-mobilemake[3]: unlink: distillery-mobile: Operation not permitted
[ -p local/var/run/eliom_command ] || \
{ mkfifo local/var/run/eliom_command; \
chmod 660 local/var/run/eliom_command; }
OCAMLPATH=tests/: ocsigenserver.opt -c tests/eliom.conf
ocsigenserver.opt: main: Fatal - Findlib package ocsigenserver.ext.ocsipersist-sqlite not found: maybe you forgot <findlib path="..."/>?
make: *** [run.opt.local] Error 53
mkdir -p local/var/run
mkdir -p local/var/log
mkdir -p local/var/lib
mkdir -p local/tmp
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C tests opt
for i in miniwiki testsuite distillery; do /Applications/Xcode.app/Contents/Developer/usr/bin/make -C $i clean; done
ocamlbuild -use-ocamlfind -tag thread -package eliom.server -clean
Finished, 0 targets (0 cached) in 00:00:00.
00:00:00 0 (0 ) STARTING -------- |rm -Rf _build
for i in basic mobile; do rm -Rf distillery-$i clean; done
for i in miniwiki testsuite distillery; do /Applications/Xcode.app/Contents/Developer/usr/bin/make -C $i opt; done
ocamlbuild -use-ocamlfind -tag thread -package eliom.server miniwiki.cmxs
Finished, 4 targets (0 cached) in 00:00:01.
eliombuild testsuite_client.js
File "_tags", line 3, characters 147-164:
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
File "_tags", line 3, characters 147-164:
Warning: the tag "ppopt(-lwt-debug)" is not used in any flag declaration, so it will have no effect; it may be a typo. Otherwise use `mark_tag_used` in your myocamlbuild.ml to disable this warning.
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
+ ocamlfind ocamlc -c -g -thread -syntax camlp4o -package ocsigenserver.baselib,js_of_ocaml.deriving.syntax,deriving.syntax.std,tyxml.syntax -package lwt.syntax.log -package eliom.server,eliom.server.ext -package eliom.server -package eliom.syntax.predef -package eliom.syntax.server -ppopt -type -ppopt type_dir/eliom_testsuite4.inferred.mli -I '' -I server -o server/eliom_testsuite4.cmo server/eliom_testsuite4.ml
File "eliom_testsuite4.eliom", line 1332, characters 10-16:
Warning 26: unused variable strstr.
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Finished, 55 targets (0 cached) in 00:00:40.
eliombuild testsuite.cmxs \
server/eliom_testsuite_global.cmxs \
server/eliom_testsuite_site.cmxs
File "_tags", line 3, characters 147-164:
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
File "_tags", line 3, characters 147-164:
Warning: the tag "ppopt(-lwt-debug)" is not used in any flag declaration, so it will have no effect; it may be a typo. Otherwise use `mark_tag_used` in your myocamlbuild.ml to disable this warning.
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
+ ocamlfind ocamlopt -c -g -thread -syntax camlp4o -package ocsigenserver.baselib,js_of_ocaml.deriving.syntax,deriving.syntax.std,tyxml.syntax -package lwt.syntax.log -package eliom.server,eliom.server.ext -package eliom.server -package eliom.syntax.predef -package eliom.syntax.server -ppopt -type -ppopt type_dir/eliom_testsuite4.inferred.mli -I '' -I server -o server/eliom_testsuite4.cmx server/eliom_testsuite4.ml
File "eliom_testsuite4.eliom", line 1332, characters 10-16:
Warning 26: unused variable strstr.
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Finished, 54 targets (36 cached) in 00:00:10.
for i in basic mobile; do /Applications/Xcode.app/Contents/Developer/usr/bin/make opt-$i; done
mkdir -p distillery-basic
eliom-distillery -name distillery_basic -template basic -target-directory distillery-basic
Generated distillery-basic/Makefile.
Generated distillery-basic/Makefile.options.
Generated distillery-basic/distillery_basic.conf.in.
Generated distillery-basic/distillery_basic.eliom.
Generated distillery-basic/README.
Generated distillery-basic/static/css/distillery_basic.css.
echo 'TEST_PREFIX=local/' >> distillery-basic/Makefile.options
echo 'PREFIX=../../../local/' >> distillery-basic/Makefile.options
echo 'STATICDIR=var/www/distillery-basic/static' >> distillery-basic/Makefile.options
echo 'ELIOMSTATICDIR=var/www/distillery-basic/eliomstatic' >> distillery-basic/Makefile.options
echo 'LIBDIR=var/www/distillery-basic/lib' >> distillery-basic/Makefile.options
echo 'WWWUSER=' >> distillery-basic/Makefile.options
echo 'WWWGROUP=' >> distillery-basic/Makefile.options
make -C distillery-basic byte install.static
Makefile:216: .depend: No such file or directory
mkdir _deps
eliomdep -server distillery_basic.eliom > _deps/distillery_basic.eliom.server
eliomdep -client distillery_basic.eliom > _deps/distillery_basic.eliom.client
cat _deps/distillery_basic.eliom.server _deps/distillery_basic.eliom.client > .depend
eliomc -infer distillery_basic.eliom
js_of_eliom -c distillery_basic.eliom
mkdir -p local/var/www/distillery-basic/eliomstatic
js_of_eliom -o local/var/www/distillery-basic/eliomstatic/distillery_basic.js \
_client/distillery_basic.cmo
mkdir -p local/etc/distillery_basic
sed -e "/^ *%%%/d" -e "s|%%PROJECT_NAME%%|distillery_basic|g" -e "s|%%DATABASE_NAME%%||g" -e "s|%%DATABASE_USER%%||g" -e "s|%%CMDPIPE%%|%%PREFIX%%var/run/distillery_basic-cmd|g" -e "s|%%LOGDIR%%|%%PREFIX%%var/log/distillery_basic|g" -e "s|%%DATADIR%%|%%PREFIX%%var/data/distillery_basic|g" -e "s|%%PERSISTENT_DATA_BACKEND%%|dbm|g" -e "s|%%LIBDIR%%|%%PREFIX%%var/www/distillery-basic/lib|g" -e "s|%%WARNING%%|DON\'T EDIT THIS FILE! It is generated from distillery_basic.conf.in, edit that one, or the variables in Makefile.options|g" -e "s|%%PACKAGES%%||g" -e "s|%%ELIOMSTATICDIR%%|%%PREFIX%%var/www/distillery-basic/eliomstatic|g" -e "s|%%DEBUGMODE%%||g" -e "s|%%PORT%%|80|g" -e "s|%%STATICDIR%%|%%PREFIX%%var/www/distillery-basic/static|g" -e "s|%%USERGROUP%%||g" distillery_basic.conf.in | sed -e "s|%%PREFIX%%|../../../local/|g" > local/etc/distillery_basic/distillery_basic.conf
sed -e "/^ *%%%/d" -e "s|%%PROJECT_NAME%%|distillery_basic|g" -e "s|%%DATABASE_NAME%%||g" -e "s|%%DATABASE_USER%%||g" -e "s|%%CMDPIPE%%|%%PREFIX%%var/run/distillery_basic-cmd|g" -e "s|%%LOGDIR%%|%%PREFIX%%var/log/distillery_basic|g" -e "s|%%DATADIR%%|%%PREFIX%%var/data/distillery_basic|g" -e "s|%%PERSISTENT_DATA_BACKEND%%|dbm|g" -e "s|%%LIBDIR%%|%%PREFIX%%var/www/distillery-basic/lib|g" -e "s|%%WARNING%%|DON\'T EDIT THIS FILE! It is generated from distillery_basic.conf.in, edit that one, or the variables in Makefile.options|g" -e "s|%%PACKAGES%%||g" -e "s|%%ELIOMSTATICDIR%%|%%PREFIX%%var/www/distillery-basic/eliomstatic|g" -e "s|%%DEBUGMODE%%||g" -e "s|%%PORT%%|8080|g" -e "s|%%STATICDIR%%|static|g" -e "s|%%USERGROUP%%||g" distillery_basic.conf.in | sed -e "s|%%PREFIX%%|local/|g" > local/etc/distillery_basic/distillery_basic-test.conf
eliomc -c distillery_basic.eliom
mkdir -p local/var/www/distillery-basic/lib
eliomc -a -o local/var/www/distillery-basic/lib/distillery_basic.cma \
_server/distillery_basic.cmo
install -d ../../../local/var/www/distillery-basic/static
install -d ../../../local/var/www/distillery-basic/eliomstatic
cp -r static/* ../../../local/var/www/distillery-basic/static
[ -z ] || chown -R ../../../local/var/www/distillery-basic/static
install local/var/www/distillery-basic/eliomstatic/distillery_basic.js ../../../local/var/www/distillery-basic/eliomstatic
make -C distillery-basic opt install.opt
eliomopt -c distillery_basic.eliom
eliomopt -a -o local/var/www/distillery-basic/lib/distillery_basic.cmxa \
_server/distillery_basic.cmx
eliomopt -shared -linkall -o local/var/www/distillery-basic/lib/distillery_basic.cmxs local/var/www/distillery-basic/lib/distillery_basic.cmxa
install -d ../../../local/var/www/distillery-basic/lib
install local/var/www/distillery-basic/lib/distillery_basic.cmxs ../../../local/var/www/distillery-basic/lib
install -d ../../../local/etc/distillery_basic
install local/etc/distillery_basic/distillery_basic.conf ../../../local/etc/distillery_basic/distillery_basic.conf
cp -r static/* ../../../local/var/www/distillery-basic/static
[ -z ] || chown -R ../../../local/var/www/distillery-basic/static
install local/var/www/distillery-basic/eliomstatic/distillery_basic.js ../../../local/var/www/distillery-basic/eliomstatic
install -d ../../../local/var/data/distillery_basic
install -d ../../../local/var/log/distillery_basic
rm distillery-basicmake[3]: unlink: distillery-basic: Operation not permitted
mkdir -p distillery-mobile
eliom-distillery -name distillery_mobile -template mobile -target-directory distillery-mobile
Generated distillery-mobile/Makefile.
Generated distillery-mobile/Makefile.options.
Generated distillery-mobile/mobile/distillery_mobile.config.xml.in.
Generated distillery-mobile/distillery_mobile.conf.in.
Generated distillery-mobile/distillery_mobile.eliom.
Generated distillery-mobile/README.
Generated distillery-mobile/static/css/distillery_mobile.css.
Generated distillery-mobile/static/index.html.
Generated distillery-mobile/static/js/distillery_mobile.js.
echo 'TEST_PREFIX=local/' >> distillery-mobile/Makefile.options
echo 'PREFIX=../../../local/' >> distillery-mobile/Makefile.options
echo 'STATICDIR=var/www/distillery-mobile/static' >> distillery-mobile/Makefile.options
echo 'ELIOMSTATICDIR=var/www/distillery-mobile/eliomstatic' >> distillery-mobile/Makefile.options
echo 'LIBDIR=var/www/distillery-mobile/lib' >> distillery-mobile/Makefile.options
echo 'WWWUSER=' >> distillery-mobile/Makefile.options
echo 'WWWGROUP=' >> distillery-mobile/Makefile.options
make -C distillery-mobile byte install.static
Makefile:308: .depend: No such file or directory
mkdir _deps
eliomdep -server distillery_mobile.eliom > _deps/distillery_mobile.eliom.server
eliomdep -client distillery_mobile.eliom > _deps/distillery_mobile.eliom.client
cat _deps/distillery_mobile.eliom.server _deps/distillery_mobile.eliom.client > .depend
eliomc -infer distillery_mobile.eliom
js_of_eliom -c distillery_mobile.eliom
mkdir -p local/var/www/distillery-mobile/eliomstatic
js_of_eliom -o local/var/www/distillery-mobile/eliomstatic/distillery_mobile.js \
_client/distillery_mobile.cmo
cp local/var/www/distillery-mobile/eliomstatic/distillery_mobile.js static/js/.
mkdir -p local/etc/distillery_mobile
sed -e "/^ *%%%/d" -e "s|%%PROJECT_NAME%%|distillery_mobile|g" -e "s|%%DATABASE_NAME%%||g" -e "s|%%DATABASE_USER%%||g" -e "s|%%CMDPIPE%%|%%PREFIX%%var/run/distillery_mobile-cmd|g" -e "s|%%LOGDIR%%|%%PREFIX%%var/log/distillery_mobile|g" -e "s|%%DATADIR%%|%%PREFIX%%var/data/distillery_mobile|g" -e "s|%%PERSISTENT_DATA_BACKEND%%|dbm|g" -e "s|%%LIBDIR%%|%%PREFIX%%var/www/distillery-mobile/lib|g" -e "s|%%WARNING%%|DON\'T EDIT THIS FILE! It is generated from distillery_mobile.conf.in, edit that one, or the variables in Makefile.options|g" -e "s|%%PACKAGES%%||g" -e "s|%%ELIOMSTATICDIR%%|%%PREFIX%%var/www/distillery-mobile/eliomstatic|g" -e "s|%%DEBUGMODE%%||g" -e "s|%%PORT%%|80|g" -e "s|%%STATICDIR%%|%%PREFIX%%var/www/distillery-mobile/static|g" -e "s|%%USERGROUP%%||g" distillery_mobile.conf.in | sed -e "s|%%PREFIX%%|../../../local/|g" > local/etc/distillery_mobile/distillery_mobile.conf
sed -e "/^ *%%%/d" -e "s|%%PROJECT_NAME%%|distillery_mobile|g" -e "s|%%DATABASE_NAME%%||g" -e "s|%%DATABASE_USER%%||g" -e "s|%%CMDPIPE%%|%%PREFIX%%var/run/distillery_mobile-cmd|g" -e "s|%%LOGDIR%%|%%PREFIX%%var/log/distillery_mobile|g" -e "s|%%DATADIR%%|%%PREFIX%%var/data/distillery_mobile|g" -e "s|%%PERSISTENT_DATA_BACKEND%%|dbm|g" -e "s|%%LIBDIR%%|%%PREFIX%%var/www/distillery-mobile/lib|g" -e "s|%%WARNING%%|DON\'T EDIT THIS FILE! It is generated from distillery_mobile.conf.in, edit that one, or the variables in Makefile.options|g" -e "s|%%PACKAGES%%||g" -e "s|%%ELIOMSTATICDIR%%|%%PREFIX%%var/www/distillery-mobile/eliomstatic|g" -e "s|%%DEBUGMODE%%||g" -e "s|%%PORT%%|8080|g" -e "s|%%STATICDIR%%|static|g" -e "s|%%USERGROUP%%||g" distillery_mobile.conf.in | sed -e "s|%%PREFIX%%|local/|g" > local/etc/distillery_mobile/distillery_mobile-test.conf
eliomc -c distillery_mobile.eliom
mkdir -p local/var/www/distillery-mobile/lib
eliomc -a -o local/var/www/distillery-mobile/lib/distillery_mobile.cma \
_server/distillery_mobile.cmo
install -d ../../../local/var/www/distillery-mobile/static
install -d ../../../local/var/www/distillery-mobile/eliomstatic
cp -r static/* ../../../local/var/www/distillery-mobile/static
[ -z ] || chown -R ../../../local/var/www/distillery-mobile/static
install local/var/www/distillery-mobile/eliomstatic/distillery_mobile.js ../../../local/var/www/distillery-mobile/eliomstatic
make -C distillery-mobile opt install.opt
eliomopt -c distillery_mobile.eliom
eliomopt -a -o local/var/www/distillery-mobile/lib/distillery_mobile.cmxa \
_server/distillery_mobile.cmx
eliomopt -shared -linkall -o local/var/www/distillery-mobile/lib/distillery_mobile.cmxs local/var/www/distillery-mobile/lib/distillery_mobile.cmxa
install -d ../../../local/var/www/distillery-mobile/lib
install local/var/www/distillery-mobile/lib/distillery_mobile.cmxs ../../../local/var/www/distillery-mobile/lib
install -d ../../../local/etc/distillery_mobile
install local/etc/distillery_mobile/distillery_mobile.conf ../../../local/etc/distillery_mobile/distillery_mobile.conf
cp -r static/* ../../../local/var/www/distillery-mobile/static
[ -z ] || chown -R ../../../local/var/www/distillery-mobile/static
install local/var/www/distillery-mobile/eliomstatic/distillery_mobile.js ../../../local/var/www/distillery-mobile/eliomstatic
install -d ../../../local/var/data/distillery_mobile
install -d ../../../local/var/log/distillery_mobile
rm distillery-mobilemake[3]: unlink: distillery-mobile: Operation not permitted
mkdir -p local/var/run
mkdir -p local/var/log
mkdir -p local/var/lib
mkdir -p local/tmp
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C tests opt
for i in miniwiki testsuite distillery; do /Applications/Xcode.app/Contents/Developer/usr/bin/make -C $i clean; done
ocamlbuild -use-ocamlfind -tag thread -package eliom.server -clean
Finished, 0 targets (0 cached) in 00:00:00.
00:00:00 0 (0 ) STARTING -------- |rm -Rf _build
for i in basic mobile; do rm -Rf distillery-$i clean; done
for i in miniwiki testsuite distillery; do /Applications/Xcode.app/Contents/Developer/usr/bin/make -C $i opt; done
ocamlbuild -use-ocamlfind -tag thread -package eliom.server miniwiki.cmxs
Finished, 4 targets (0 cached) in 00:00:00.
eliombuild testsuite_client.js
File "_tags", line 3, characters 147-164:
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
File "_tags", line 3, characters 147-164:
Warning: the tag "ppopt(-lwt-debug)" is not used in any flag declaration, so it will have no effect; it may be a typo. Otherwise use `mark_tag_used` in your myocamlbuild.ml to disable this warning.
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
+ ocamlfind ocamlc -c -g -thread -syntax camlp4o -package ocsigenserver.baselib,js_of_ocaml.deriving.syntax,deriving.syntax.std,tyxml.syntax -package lwt.syntax.log -package eliom.server,eliom.server.ext -package eliom.server -package eliom.syntax.predef -package eliom.syntax.server -ppopt -type -ppopt type_dir/eliom_testsuite4.inferred.mli -I '' -I server -o server/eliom_testsuite4.cmo server/eliom_testsuite4.ml
File "eliom_testsuite4.eliom", line 1332, characters 10-16:
Warning 26: unused variable strstr.
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Finished, 55 targets (0 cached) in 00:00:40.
eliombuild testsuite.cmxs \
server/eliom_testsuite_global.cmxs \
server/eliom_testsuite_site.cmxs
File "_tags", line 3, characters 147-164:
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
File "_tags", line 3, characters 147-164:
Warning: the tag "ppopt(-lwt-debug)" is not used in any flag declaration, so it will have no effect; it may be a typo. Otherwise use `mark_tag_used` in your myocamlbuild.ml to disable this warning.
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
+ ocamlfind ocamlopt -c -g -thread -syntax camlp4o -package ocsigenserver.baselib,js_of_ocaml.deriving.syntax,deriving.syntax.std,tyxml.syntax -package lwt.syntax.log -package eliom.server,eliom.server.ext -package eliom.server -package eliom.syntax.predef -package eliom.syntax.server -ppopt -type -ppopt type_dir/eliom_testsuite4.inferred.mli -I '' -I server -o server/eliom_testsuite4.cmx server/eliom_testsuite4.ml
File "eliom_testsuite4.eliom", line 1332, characters 10-16:
Warning 26: unused variable strstr.
Warning: tag "ppopt" does not expect a parameter, but is used with parameter "-lwt-debug"
Finished, 54 targets (36 cached) in 00:00:11.
for i in basic mobile; do /Applications/Xcode.app/Contents/Developer/usr/bin/make opt-$i; done
mkdir -p distillery-basic
eliom-distillery -name distillery_basic -template basic -target-directory distillery-basic
Generated distillery-basic/Makefile.
Generated distillery-basic/Makefile.options.
Generated distillery-basic/distillery_basic.conf.in.
Generated distillery-basic/distillery_basic.eliom.
Generated distillery-basic/README.
Generated distillery-basic/static/css/distillery_basic.css.
echo 'TEST_PREFIX=local/' >> distillery-basic/Makefile.options
echo 'PREFIX=../../../local/' >> distillery-basic/Makefile.options
echo 'STATICDIR=var/www/distillery-basic/static' >> distillery-basic/Makefile.options
echo 'ELIOMSTATICDIR=var/www/distillery-basic/eliomstatic' >> distillery-basic/Makefile.options
echo 'LIBDIR=var/www/distillery-basic/lib' >> distillery-basic/Makefile.options
echo 'WWWUSER=' >> distillery-basic/Makefile.options
echo 'WWWGROUP=' >> distillery-basic/Makefile.options
make -C distillery-basic byte install.static
Makefile:216: .depend: No such file or directory
mkdir _deps
eliomdep -server distillery_basic.eliom > _deps/distillery_basic.eliom.server
eliomdep -client distillery_basic.eliom > _deps/distillery_basic.eliom.client
cat _deps/distillery_basic.eliom.server _deps/distillery_basic.eliom.client > .depend
eliomc -infer distillery_basic.eliom
js_of_eliom -c distillery_basic.eliom
mkdir -p local/var/www/distillery-basic/eliomstatic
js_of_eliom -o local/var/www/distillery-basic/eliomstatic/distillery_basic.js \
_client/distillery_basic.cmo
mkdir -p local/etc/distillery_basic
sed -e "/^ *%%%/d" -e "s|%%PROJECT_NAME%%|distillery_basic|g" -e "s|%%DATABASE_NAME%%||g" -e "s|%%DATABASE_USER%%||g" -e "s|%%CMDPIPE%%|%%PREFIX%%var/run/distillery_basic-cmd|g" -e "s|%%LOGDIR%%|%%PREFIX%%var/log/distillery_basic|g" -e "s|%%DATADIR%%|%%PREFIX%%var/data/distillery_basic|g" -e "s|%%PERSISTENT_DATA_BACKEND%%|dbm|g" -e "s|%%LIBDIR%%|%%PREFIX%%var/www/distillery-basic/lib|g" -e "s|%%WARNING%%|DON\'T EDIT THIS FILE! It is generated from distillery_basic.conf.in, edit that one, or the variables in Makefile.options|g" -e "s|%%PACKAGES%%||g" -e "s|%%ELIOMSTATICDIR%%|%%PREFIX%%var/www/distillery-basic/eliomstatic|g" -e "s|%%DEBUGMODE%%||g" -e "s|%%PORT%%|80|g" -e "s|%%STATICDIR%%|%%PREFIX%%var/www/distillery-basic/static|g" -e "s|%%USERGROUP%%||g" distillery_basic.conf.in | sed -e "s|%%PREFIX%%|../../../local/|g" > local/etc/distillery_basic/distillery_basic.conf
sed -e "/^ *%%%/d" -e "s|%%PROJECT_NAME%%|distillery_basic|g" -e "s|%%DATABASE_NAME%%||g" -e "s|%%DATABASE_USER%%||g" -e "s|%%CMDPIPE%%|%%PREFIX%%var/run/distillery_basic-cmd|g" -e "s|%%LOGDIR%%|%%PREFIX%%var/log/distillery_basic|g" -e "s|%%DATADIR%%|%%PREFIX%%var/data/distillery_basic|g" -e "s|%%PERSISTENT_DATA_BACKEND%%|dbm|g" -e "s|%%LIBDIR%%|%%PREFIX%%var/www/distillery-basic/lib|g" -e "s|%%WARNING%%|DON\'T EDIT THIS FILE! It is generated from distillery_basic.conf.in, edit that one, or the variables in Makefile.options|g" -e "s|%%PACKAGES%%||g" -e "s|%%ELIOMSTATICDIR%%|%%PREFIX%%var/www/distillery-basic/eliomstatic|g" -e "s|%%DEBUGMODE%%||g" -e "s|%%PORT%%|8080|g" -e "s|%%STATICDIR%%|static|g" -e "s|%%USERGROUP%%||g" distillery_basic.conf.in | sed -e "s|%%PREFIX%%|local/|g" > local/etc/distillery_basic/distillery_basic-test.conf
eliomc -c distillery_basic.eliom
mkdir -p local/var/www/distillery-basic/lib
eliomc -a -o local/var/www/distillery-basic/lib/distillery_basic.cma \
_server/distillery_basic.cmo
cp -r static/* ../../../local/var/www/distillery-basic/static
[ -z ] || chown -R ../../../local/var/www/distillery-basic/static
install local/var/www/distillery-basic/eliomstatic/distillery_basic.js ../../../local/var/www/distillery-basic/eliomstatic
make -C distillery-basic opt install.opt
eliomopt -c distillery_basic.eliom
eliomopt -a -o local/var/www/distillery-basic/lib/distillery_basic.cmxa \
_server/distillery_basic.cmx
eliomopt -shared -linkall -o local/var/www/distillery-basic/lib/distillery_basic.cmxs local/var/www/distillery-basic/lib/distillery_basic.cmxa
install local/var/www/distillery-basic/lib/distillery_basic.cmxs ../../../local/var/www/distillery-basic/lib
install local/etc/distillery_basic/distillery_basic.conf ../../../local/etc/distillery_basic/distillery_basic.conf
cp -r static/* ../../../local/var/www/distillery-basic/static
[ -z ] || chown -R ../../../local/var/www/distillery-basic/static
install local/var/www/distillery-basic/eliomstatic/distillery_basic.js ../../../local/var/www/distillery-basic/eliomstatic
rm distillery-basicmake[3]: unlink: distillery-basic: Operation not permitted
mkdir -p distillery-mobile
eliom-distillery -name distillery_mobile -template mobile -target-directory distillery-mobile
Generated distillery-mobile/Makefile.
Generated distillery-mobile/Makefile.options.
Generated distillery-mobile/mobile/distillery_mobile.config.xml.in.
Generated distillery-mobile/distillery_mobile.conf.in.
Generated distillery-mobile/distillery_mobile.eliom.
Generated distillery-mobile/README.
Generated distillery-mobile/static/css/distillery_mobile.css.
Generated distillery-mobile/static/index.html.
Generated distillery-mobile/static/js/distillery_mobile.js.
echo 'TEST_PREFIX=local/' >> distillery-mobile/Makefile.options
echo 'PREFIX=../../../local/' >> distillery-mobile/Makefile.options
echo 'STATICDIR=var/www/distillery-mobile/static' >> distillery-mobile/Makefile.options
echo 'ELIOMSTATICDIR=var/www/distillery-mobile/eliomstatic' >> distillery-mobile/Makefile.options
echo 'LIBDIR=var/www/distillery-mobile/lib' >> distillery-mobile/Makefile.options
echo 'WWWUSER=' >> distillery-mobile/Makefile.options
echo 'WWWGROUP=' >> distillery-mobile/Makefile.options
make -C distillery-mobile byte install.static
Makefile:308: .depend: No such file or directory
mkdir _deps
eliomdep -server distillery_mobile.eliom > _deps/distillery_mobile.eliom.server
eliomdep -client distillery_mobile.eliom > _deps/distillery_mobile.eliom.client
cat _deps/distillery_mobile.eliom.server _deps/distillery_mobile.eliom.client > .depend
eliomc -infer distillery_mobile.eliom
js_of_eliom -c distillery_mobile.eliom
mkdir -p local/var/www/distillery-mobile/eliomstatic
js_of_eliom -o local/var/www/distillery-mobile/eliomstatic/distillery_mobile.js \
_client/distillery_mobile.cmo
cp local/var/www/distillery-mobile/eliomstatic/distillery_mobile.js static/js/.
mkdir -p local/etc/distillery_mobile
sed -e "/^ *%%%/d" -e "s|%%PROJECT_NAME%%|distillery_mobile|g" -e "s|%%DATABASE_NAME%%||g" -e "s|%%DATABASE_USER%%||g" -e "s|%%CMDPIPE%%|%%PREFIX%%var/run/distillery_mobile-cmd|g" -e "s|%%LOGDIR%%|%%PREFIX%%var/log/distillery_mobile|g" -e "s|%%DATADIR%%|%%PREFIX%%var/data/distillery_mobile|g" -e "s|%%PERSISTENT_DATA_BACKEND%%|dbm|g" -e "s|%%LIBDIR%%|%%PREFIX%%var/www/distillery-mobile/lib|g" -e "s|%%WARNING%%|DON\'T EDIT THIS FILE! It is generated from distillery_mobile.conf.in, edit that one, or the variables in Makefile.options|g" -e "s|%%PACKAGES%%||g" -e "s|%%ELIOMSTATICDIR%%|%%PREFIX%%var/www/distillery-mobile/eliomstatic|g" -e "s|%%DEBUGMODE%%||g" -e "s|%%PORT%%|80|g" -e "s|%%STATICDIR%%|%%PREFIX%%var/www/distillery-mobile/static|g" -e "s|%%USERGROUP%%||g" distillery_mobile.conf.in | sed -e "s|%%PREFIX%%|../../../local/|g" > local/etc/distillery_mobile/distillery_mobile.conf
sed -e "/^ *%%%/d" -e "s|%%PROJECT_NAME%%|distillery_mobile|g" -e "s|%%DATABASE_NAME%%||g" -e "s|%%DATABASE_USER%%||g" -e "s|%%CMDPIPE%%|%%PREFIX%%var/run/distillery_mobile-cmd|g" -e "s|%%LOGDIR%%|%%PREFIX%%var/log/distillery_mobile|g" -e "s|%%DATADIR%%|%%PREFIX%%var/data/distillery_mobile|g" -e "s|%%PERSISTENT_DATA_BACKEND%%|dbm|g" -e "s|%%LIBDIR%%|%%PREFIX%%var/www/distillery-mobile/lib|g" -e "s|%%WARNING%%|DON\'T EDIT THIS FILE! It is generated from distillery_mobile.conf.in, edit that one, or the variables in Makefile.options|g" -e "s|%%PACKAGES%%||g" -e "s|%%ELIOMSTATICDIR%%|%%PREFIX%%var/www/distillery-mobile/eliomstatic|g" -e "s|%%DEBUGMODE%%||g" -e "s|%%PORT%%|8080|g" -e "s|%%STATICDIR%%|static|g" -e "s|%%USERGROUP%%||g" distillery_mobile.conf.in | sed -e "s|%%PREFIX%%|local/|g" > local/etc/distillery_mobile/distillery_mobile-test.conf
eliomc -c distillery_mobile.eliom
mkdir -p local/var/www/distillery-mobile/lib
eliomc -a -o local/var/www/distillery-mobile/lib/distillery_mobile.cma \
_server/distillery_mobile.cmo
cp -r static/* ../../../local/var/www/distillery-mobile/static
[ -z ] || chown -R ../../../local/var/www/distillery-mobile/static
install local/var/www/distillery-mobile/eliomstatic/distillery_mobile.js ../../../local/var/www/distillery-mobile/eliomstatic
make -C distillery-mobile opt install.opt
eliomopt -c distillery_mobile.eliom
eliomopt -a -o local/var/www/distillery-mobile/lib/distillery_mobile.cmxa \
_server/distillery_mobile.cmx
eliomopt -shared -linkall -o local/var/www/distillery-mobile/lib/distillery_mobile.cmxs local/var/www/distillery-mobile/lib/distillery_mobile.cmxa
install local/var/www/distillery-mobile/lib/distillery_mobile.cmxs ../../../local/var/www/distillery-mobile/lib
install local/etc/distillery_mobile/distillery_mobile.conf ../../../local/etc/distillery_mobile/distillery_mobile.conf
cp -r static/* ../../../local/var/www/distillery-mobile/static
[ -z ] || chown -R ../../../local/var/www/distillery-mobile/static
install local/var/www/distillery-mobile/eliomstatic/distillery_mobile.js ../../../local/var/www/distillery-mobile/eliomstatic
rm distillery-mobilemake[3]: unlink: distillery-mobile: Operation not permitted
[ -p local/var/run/eliom_command ] || \
{ mkfifo local/var/run/eliom_command; \
chmod 660 local/var/run/eliom_command; }
OCAMLPATH=tests/: ocsigenserver.opt -c tests/eliom.conf
ocsigenserver.opt: main: Fatal - While loading /Users/runhang/.opam/4.02.1/lib/sqlite3/sqlite3.cmxs: error loading shared library: dlopen(/Users/runhang/.opam/4.02.1/lib/sqlite3/sqlite3.cmxs, 138): Symbol not found: _sqlite3_enable_load_extension
ocsigenserver.opt: main: Referenced from: /Users/runhang/.opam/4.02.1/lib/sqlite3/sqlite3.cmxs
ocsigenserver.opt: main: Expected in: flat namespace
ocsigenserver.opt: main: in /Users/runhang/.opam/4.02.1/lib/sqlite3/sqlite3.cmxs
make: *** [run.opt.local] Error 52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment