[Nix-dev] curl depends on g++? Can we fix this?
Armijn Hemel
armijn at uulug.nl
Tue Dec 7 19:15:33 CET 2004
hi,
after a bit of digging through curl today (with and without Eelco) and
experimenting it seems that curl indeed does require g++ to compile
properly. Now, I'm not sure if that's what we want. The nice thing is
that we only *should* need a barebones C compiler, not a full blown C++
compiler as well.
Setting the environment variable CXXCPP to "gcc -E" makes it barf:
checking how to run the C++ preprocessor... gcc -E
configure: error: C++ preprocessor "gcc -E" fails sanity check
See `config.log' for more details.
I'm not sure what the right approach to fix this is. So far I can see
three options:
1 fix it in curl (send bugreport and all)
2 make sure we've got C++ support in our stdenv
3 patch curl beyond belief
I'm not happy with either of them to be honest but I prefer option 2.
If anyone has other solutions I'd be more than happy to hear them!
armijn
--
---------------------------------------------------------------------------
armijn at uulug.nl | http://www.uulug.nl/ | UULug: Utrecht Linux Users Group
---------------------------------------------------------------------------
More information about the nix-dev
mailing list