[Nix-dev] log4cxx build fails

Andrew Morsillo andrew.morsillo at gmail.com
Thu Jan 29 16:06:52 CET 2009


When I try to build log4cxx-0.9.7 on nixos it fails. I am new to
nix/nixos and don't know how I should go about trying
to solve this so some pointers would be greatly appreciated.

building filter.o
g++ -DHAVE_CONFIG_H -I. -I. -I../../../include/log4cxx
-I../../../include  -D_REENTRANT  -g -O2 -c -o filter.o filter.cpp
filter.cpp: In static member function 'static log4cxx::String
log4cxx::Filter::merge(const log4cxx::String&, const log4cxx::String&,
const log4cxx::String&)':
filter.cpp:31: error: 'RegEx' was not declared in this scope
filter.cpp: In static member function 'static bool
log4cxx::Filter::match(const log4cxx::String&, const
log4cxx::String&)':
filter.cpp:42: error: 'RegEx' was not declared in this scope
make[3]: *** [filter.o] Error 1
make[3]: Leaving directory
`/tmp/nix-build-j0dpr6ny609f79y50qqv9dv7rpsc55qp-log4cxx-0.9.7.drv-0/log4cxx-0.9.7/tests/src/util'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/tmp/nix-build-j0dpr6ny609f79y50qqv9dv7rpsc55qp-log4cxx-0.9.7.drv-0/log4cxx-0.9.7/tests/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/tmp/nix-build-j0dpr6ny609f79y50qqv9dv7rpsc55qp-log4cxx-0.9.7.drv-0/log4cxx-0.9.7/tests'
make: *** [all-recursive] Error 1
builder for `/nix/store/j0dpr6ny609f79y50qqv9dv7rpsc55qp-log4cxx-0.9.7.drv'
failed with exit code 2
error: build of
`/nix/store/j0dpr6ny609f79y50qqv9dv7rpsc55qp-log4cxx-0.9.7.drv' failed

Thanks,
Andrew Morsillo



More information about the nix-dev mailing list