On Tue, 23 Oct 2012 12:44:38 +0200 Baptiste Daroussin <[email protected]> wrote: > > >> Rod Person <[email protected]> writes: > > >> > [i3] YACC src/cfgparse.y > > >> > [i3] CC src/cfgparse.tab.c > > >> > [i3] LEX src/cfgparse.l > > >> > flex: can't open src/cfgparse.yy.c > > >> > gmake: *** [src/cfgparse.yy.c] Error 1 > > >> FreeBSD’s base system flex or bison or both is really old. Use > > >> the one from ports. > > >> > > > Thanks for the reply. > > > > > > At first I thought that was the issues, I have > > > > > > flex 2.5.37 > > > bison 2.5.1 > > > > > > Both of which are higher than the DEPENDS document...I thought > > > maybe I should downgrade them? > > > > You need the ones from ports: > > > > ports/textproc/flex > > ports/devel/bison > > > actually devel/bison is not needed, but textproc/flex is really > needed. > > If you have a look a the port which is old :( then you'll get the > correct way to build i3 on FreeBSD.
Bapt, Thanks for the reply. I tried looking at the old port and making the changes suggested by it to 4.3 but that did not help. Then someone on the FreeBSD list found the problem, which I quote now: "The commands that fail are: flex -i -o src/cfgparse.yy.c ../i3-4.3/src/cfgparse.l flex -i -o i3-config-wizard/cfgparse.yy.c i3-config-wizard/cfgparse.l The below commands work: flex -i -osrc/cfgparse.yy.c ../i3-4.3/src/cfgparse.l flex -i -oi3-config-wizard/cfgparse.yy.c i3-config-wizard/cfgparse.l" So once I did that every thing build smoothly. I guess it just one of those little Linux and FreeBSD differences :) The port maintainer was CC on the reply with a diff so hopefully the official port will be updated soon. Thanks again for the reply, Rod -- Just because it can been done, does not mean it should be done.
