Skip to content

Filename cases going wrong on MacOS #160

Description

@andiejs

Everything works fine on Linux. My colleague @caseybasichis is trying to get our system going on his MacOS and there's some odd behavior running omake, where ocamlfind seems to be looking for the files with the wrong initial case -- everything is lowercase, files exist in the system in lowercase, and for certain files it's searching for and not finding the file in uppercase.

In particular Arr.cmo, L1.cmo, Hash.cmo are mentioned wheras it should be arr.cmo, l1.cmo, hash.cmo. The lowercase files are present.

  Entered /Users/caseybasichis/shape/ocaml_lib/ext
*** omake: reading OMakefiles
*** omake: finished reading OMakefiles (0.00 sec)
- build . ext.cma
+ ocamlfind ocamlc -package easy-format -w y -g -a -o ext.cma ext_fail.cmo Arr.cmo L1.cmo s1.cmo cis_orig.cmo bitv.cmo vec.cmo l2.cmo lSet.cmo listSet.cmo Hash.cmo linkedList.cmo roman.cmo files.cmo multiset.cmo listMset.cmo setMemo.cmo uunix.cmo
File "_none_", line 1:
Error: Cannot find file Arr.cmo

I'm aware that MacOS has some weird case behavior but here the files have the right case and only the ocamlfind call, generated by omake, is incorrect. The OMakefile has the correct lowercases. Any insight appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions