frenetic-lang / frenetic

The Frenetic Programming Language and Runtime System
http://www.frenetic-lang.org/
Other
222 stars 52 forks source link

make&make install fail: unknown option '-allow-unannotated-ignores'. #652

Closed wanlixx closed 1 year ago

wanlixx commented 1 year ago

when I follow readme.md and try to build the frenetic , I am stuck in this error. image

wanlixx commented 1 year ago

image there is a conflict between tcpip and ppx. when I update tcpip, it will automatically update ppx to a version that does not have '-allow-unanotated-ignores'. Can anyone provide me a virtual machine which contains a well-built frenetic?

jnfoster commented 1 year ago

I just built fresh from OPAM on 4.12.1. I'm on an M1 Mac though, so some things may be non-standard.

Can you try

opam switch create 4.12.1

and then

opam install frenetic

and say Y to everything and see if that works for you?

wanlixx commented 1 year ago

@jnfoster great!that's work for me! thanks a lot! Actually, I am trying to build merlin for sdn. But the merlin's readme seems outdated. https://github.com/basus/merlin I will be appreciated if you can show me the merlin install or give me some advice on it.

jnfoster commented 1 year ago

That's great. I'll bump the version number in the .opam file to avoid this issue in the future.

Regarding Merlin, I haven't built it in quite a while. It has a fairly minimal dependency on Frenetic, so I don't think it'd be a huge lift, but I imagine some work would be needed to get it building and running again. Sorry.