Comment #7 on issue 74 by
gijsmole...@gmail.com: casacore directory missing
Hi Malte and ger,
Thanks for the answer, but I don't agree :)
Having to specify the include path this way is non-standard and breaks
various auto build tools. If we don't change this, we can't autcompile
python-casacore using pip for example.
I think modifying the include paths is not that much of work, if you want
I can do it for you. It doesn't require that much change, only
appending "casacore" in front of all the casacore specific includes. From
there I think everything should work, maybe some cmake files require a
small change.
About depending projects, people can still include casacore the old way, by
setting the include path to <prefix>/include/casacore. In the new situation
if casacore is installed with a debian package (in /usr) a end-user doesn't
need to adjust the compiler include path. The same if it is installed with
a manual build without specifying a prefix (so in /usr/local).
So effectively the only thing that would change for a end user is that
_only_ if casacore is not installed in /usr of /usr/local the user needs to
add/change the compiler include path (<casacore_prefix>/include), if they
not already did that.
I think if this is clearly stated in the changelog and/or release notes
people can deal with that. This would be for the 2.0 release right? This is
a major release, although I agree that it is very important casacore stays
backwards compatible, this change would only imply a minimal change to the
include path in some cases. As long it is clearly documented improving
compliance to the standard way of doing things should be a priority also
imho.