Boost in MacPorts Issue

Simon Hitzemann simon at hitzemann.org
Sat Jan 24 11:22:13 PST 2009


>>   and also I have in my .bash_profile this export:
>>    export CXXFLAGS="-I /opt/local/include";
>
> Usually this should go into CPPFLAGS as it is for the preprocessor.
> Also, check that the Makefile or build system is honoring the
> environment variables.
>
> Maybe you need to pass this directly to make like:
>  make CPPFLAGS='-I /opt/local/include'
>
> Just out of interest, which software is this and if it is Open Source,
> would it be worth to add it to MacPorts?

There must be no space between -I and the path.

Regards,
Simon


More information about the macports-users mailing list