[Nix-dev] nix on Fedora 9

Eelco Dolstra e.dolstra at tudelft.nl
Wed May 21 13:24:24 CEST 2008


Hi,

Armijn Hemel wrote:

> has anyone had success building Nix on Fedora 9? I get this:
> 
> Making all in libutil
> make[3]: Entering directory
> `/home/armijn/nix/nix-0.12pre11815/src/libutil'
> if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
> -I. -I. -I../..    -Wall -I./.. -I../../externals/inst-aterm/include
> -D_FILE_OFFSET_BITS=64 -g -O2 -MT util.lo -MD -MP -MF ".deps/util.Tpo"
> -c -o util.lo util.cc; \
> 	then mv -f ".deps/util.Tpo" ".deps/util.Plo"; else rm -f
> ".deps/util.Tpo"; exit 1; fi
> mkdir .libs
>  g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -I./..
> -I../../externals/inst-aterm/include -D_FILE_OFFSET_BITS=64 -g -O2 -MT
> util.lo -MD -MP -MF .deps/util.Tpo -c util.cc  -fPIC -DPIC
> -o .libs/util.o
> util.cc: In function ‘std::string nix::getEnv(const std::string&, const
> std::string&)’:
> util.cc:49: error: ‘getenv’ was not declared in this scope

Thanks, I've just committed a fix for this and other header file problems.  (It 
seems that the libstdc++ (?) header files have become a lot stricter/cleaner.)

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/



More information about the nix-dev mailing list