[Nix-dev] nix on Fedora 9
Armijn Hemel
armijn at uulug.nl
Tue May 20 22:26:57 CEST 2008
hi all,
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
util.cc: In destructor ‘nix::AutoDelete::~AutoDelete()’:
util.cc:532: warning: suggest explicit braces to avoid ambiguous ‘else’
util.cc: In copy constructor ‘nix::AutoCloseFD::AutoCloseFD(const
nix::AutoCloseFD&)’:
util.cc:568: error: ‘abort’ was not declared in this scope
util.cc: In function ‘void nix::killUser(uid_t)’:
util.cc:769: error: ‘abort’ was not declared in this scope
util.cc: In function ‘void nix::setuidCleanup()’:
util.cc:879: error: ‘abort’ was not declared in this scope
make[3]: *** [util.lo] Error 1
make[3]: Leaving directory
`/home/armijn/nix/nix-0.12pre11815/src/libutil'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/armijn/nix/nix-0.12pre11815/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/armijn/nix/nix-0.12pre11815'
make: *** [all] Error 2
$ gcc --version
gcc (GCC) 4.3.0 20080428 (Red Hat 4.3.0-8)
Maybe a compiler problem?
armijn
--
-------------------------------------------------------------------------
armijn at uulug.nl | http://www.uulug.nl/ | UULug: Utrecht Linux Users Group
-------------------------------------------------------------------------
More information about the nix-dev
mailing list