FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Alt

 
 
LinkBack Thread Tools
 
Old 09-18-2010, 02:37 PM
Fabian Groffen
 
Default Where to set includes?

On 18-09-2010 14:31:15 +0200, Al wrote:
> Now while bootstrapping header files go also into many other directories:
>
> $EPREFIX/usr/include/readline/
> $EPREFIX/usr/include/python2.6/
> $EPREFIX/usr/lib/binutils/i686-pc-cygwin1.7/2.20.51.0.8/include/
> $EPREFIX/usr/lib/perl5/5.10.1/i686-linux/CORE/
> $EPREFIX/....
>
> bootstrap-solaris.xml doesn't suggest to add those directories to CPPFLAGS.

correct

> Do I have to add them there?

no

> Do I add them on per package basis to ebuilds?

no, packages do so themselves if they require that

> Are they found without?

yeah, because most of the time you do:
#include <readline/readline.h>
and if you want some version of python includes, the package will add
-I$EPREFIX/usr/include/python2.6 itself such that
#include <Python.h>
works automagically.

> Bootstrapping works, but I am unsure if it is not using the systems
> header files instead.

if it does you'll notice sooner or later when you start to see weird
errors about missing symbols or undefined stuff.


--
Fabian Groffen
Gentoo on a different level
 
Old 09-18-2010, 02:45 PM
Al
 
Default Where to set includes?

Thank you very much Fabian. That answerd all to this.

Al
 
Old 09-25-2010, 10:23 PM
Al
 
Default Where to set includes?

2010/9/18 Fabian Groffen <grobian@gentoo.org>:
> On 18-09-2010 14:31:15 +0200, Al wrote:
>> Now while bootstrapping header files go also into many other directories:
>>
>> $EPREFIX/usr/include/readline/
>> $EPREFIX/usr/include/python2.6/
>> $EPREFIX/usr/lib/binutils/i686-pc-cygwin1.7/2.20.51.0.8/include/
>> $EPREFIX/usr/lib/perl5/5.10.1/i686-linux/CORE/
>> $EPREFIX/....
>>
>> bootstrap-solaris.xml doesn't suggest to add those directories to CPPFLAGS.
>
> correct

It is not part of

gentoo/usr/portage/profiles/prefix/windows/cygwin/1.7/x86/make.defaults

I get with emerge --sync later. This is likely a bug else it would be
mentioned in

http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml

Report it to http://bugs.gentoo.org/?

Al
 
Old 09-25-2010, 10:42 PM
Al
 
Default Where to set includes?

Sorry it's late. The previos postings makes no sense. Maybe I find
out, what I wanted to say. Else forget.

Al
 

Thread Tools




All times are GMT. The time now is 03:10 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org