Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error with ocaml-cgi 0.13: cp: illegal option -- l #3

Open
barracuda156 opened this issue Jan 28, 2024 · 0 comments
Open

Build error with ocaml-cgi 0.13: cp: illegal option -- l #3

barracuda156 opened this issue Jan 28, 2024 · 0 comments

Comments

@barracuda156
Copy link

Looks like something got broken in 0.13 as opposed to 0.12:

--->  Building ocaml-cgi
Executing:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_ocaml-cgi/ocaml-cgi/work/ocaml-cgi-0.13" && /usr/bin/make -j6 -w all 
make: Entering directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_ocaml-cgi/ocaml-cgi/work/ocaml-cgi-0.13'
Makefile:104: .depend: No such file or directory
rm -f .depend
ocamldep  *.ml *.mli > .depend
make: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_ocaml-cgi/ocaml-cgi/work/ocaml-cgi-0.13'
make: Entering directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_ocaml-cgi/ocaml-cgi/work/ocaml-cgi-0.13'
ocamlc -g -c -w -3 cgi.mli
ocamlc -g -c -w -3 runcgi.ml
ocamlc -g -c -w -3 cgi.ml
ocamlc -g unix.cma -w -3 runcgi.cmo -o runcgi.byte
cp -l -f runcgi.byte runcgi
cp: illegal option -- l
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file
       cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ... target_directory
make: *** [byte] Error 64
make: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_ocaml-cgi/ocaml-cgi/work/ocaml-cgi-0.13'
Command failed:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_ocaml-cgi/ocaml-cgi/work/ocaml-cgi-0.13" && /usr/bin/make -j6 -w all 
Exit code: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant