Would like to import CORE into Fedora (naming problem)
Daniel P. Berrange
berrange at redhat.com
Wed Sep 13 18:39:48 UTC 2006
On Wed, Sep 13, 2006 at 07:36:22PM +0100, Jonathan Underwood wrote:
> On 13/09/06, Ed Hill <ed at eh3.com> wrote:
> >On Wed, 13 Sep 2006 14:47:06 +0200
> >Laurent Rineau <laurent.rineau__fedora_extras at normalesup.org> wrote:
> >
> >> During the review of CGAL¹ (bug #199168), a problem was raised by
> >> Ralf C.: the first version of CGAL-devel was shipping CORE², a
> >> dependency of CGAL. That library installs its headers
> >> into /usr/include/CORE/* and Ralf said that the name "CORE" is too
> >> general for an inclusion into FE.
> >
> >
> >As others have suggested, I agree that: /usr/include/CGAL/CORE
> >is a safe, easy, and totally reasonable fix.
>
> This would require editing existing code changing all #include directives
>
> #include <CORE/foo.h> ---> #include <CGAL/CORE/foo.h>
>
> wouldn't it?
Nope, change the compiler flags so instead of -I/usr/include, have
something like -I/usr/include/CGAL. You can even take it one step
further have put a version number in the directory which lets you
install multiple versions of the headers side-by-side. cf GTK
installing into /usr/include/gtk-2.0
Regards,
Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules: http://search.cpan.org/~danberr/ -=|
|=- Projects: http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
More information about the fedora-extras-list
mailing list