[Nix-dev] Nix failed to build on FreeBSD 9.1

Henry Lenzi hank.lenzi at gmail.com
Mon Jan 14 20:49:51 CET 2013


Hello -

I pulled sources today with git, everything was fine and dandy (I
followed the instructions), but somehow it just won't build, there's
some complaining about flex.

Included is the error log.

Can you help? It must be a trivial thing, but I don't really grok Flex.


TIA,
Hank

BTW: Failed to mention the following dependency in Nix's installation
chapter: Perl's WWW::Curl
(on FreeBSD, that's port named p5-WWW-Curl).
-------------- next part --------------
gmake  all-recursive
gmake[1]: Entering directory `/tmp/nix'
Making all in src
gmake[2]: Entering directory `/tmp/nix/src'
Making all in boost
gmake[3]: Entering directory `/tmp/nix/src/boost'
Making all in format
gmake[4]: Entering directory `/tmp/nix/src/boost/format'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory `/tmp/nix/src/boost/format'
gmake[4]: Entering directory `/tmp/nix/src/boost'
gmake[4]: Nothing to be done for `all-am'.
gmake[4]: Leaving directory `/tmp/nix/src/boost'
gmake[3]: Leaving directory `/tmp/nix/src/boost'
Making all in libutil
gmake[3]: Entering directory `/tmp/nix/src/libutil'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/tmp/nix/src/libutil'
Making all in libstore
gmake[3]: Entering directory `/tmp/nix/src/libstore'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/tmp/nix/src/libstore'
Making all in libmain
gmake[3]: Entering directory `/tmp/nix/src/libmain'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/tmp/nix/src/libmain'
Making all in nix-store
gmake[3]: Entering directory `/tmp/nix/src/nix-store'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/tmp/nix/src/nix-store'
Making all in nix-hash
gmake[3]: Entering directory `/tmp/nix/src/nix-hash'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/tmp/nix/src/nix-hash'
Making all in libexpr
gmake[3]: Entering directory `/tmp/nix/src/libexpr'
/usr/bin/flex --outfile lexer-tab.cc --header-file=lexer-tab.hh ./lexer.l 
/usr/bin/flex: unknown flag '-'.  For usage, try
	/usr/bin/flex --help
gmake[3]: *** [lexer-tab.hh] Error 1
gmake[3]: Leaving directory `/tmp/nix/src/libexpr'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/tmp/nix/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp/nix'
gmake: *** [all] Error 2


More information about the nix-dev mailing list