cflags problem

ac nyvsld at gmail.com
Thu Oct 20 02:12:54 PDT 2005


On 10/20/05, Tollef Fog Heen <tfheen at err.no> wrote:
> * ac
>
> No need to Cc me, I'm on the list.
>
oh, sorry, i should have noticed that.

> | On 10/19/05, Tollef Fog Heen <tfheen at err.no> wrote:
> |
> | > Why is this a problem?  Do you have overlapping header files between
> | > /usr/include (or /usr/local/include) and other places?
> |
> | yah, i installed libXrender, renderext, libXft at /usr/local,
> | but libXrender failed building , and i can see things like
> | `-I/usr/local/include -I/usr/X11R6/include' in the command line.
>
> You don't explain _why_ this is a problem.

well the reason is,
xlibs recommend themselves to be configured with option  `--prefix=/usr/X11R6'.
when installing xfree86, some old version of xlibs get installed too,
there maybe broken dependencies.

so i decided all xlibs installed at `/usr/local',
this also makes it simple to config packages, especially if there are
many libs to be installed at one time, which is the case i'm currently
in.
just type `./configure' , and wait things to end...


>
> | thanks.  `-nostdinc' does work.  but then all system include dirs
> | have to be explicit , for some package, and sounds not good.  i
> | still think software packager( user of pkg-config ) should use
> | `-isystem' instead of `-I' for `-isystem' will be processed after
> | `-I' and before standard dirs and wont `does nothing' if dir is a
> | system standard dir.
>
> pkg-config doesn't change -I to -isystem, so if you think that's a
> sensible thing to do, you have to get it changed in the .pc files.
>
> I wonder if the «ignore list» in pkg-config could be generated from
> what cpp -v outputs as part of the build process, though..  Patches

yah, it did show information about ignored `-I''s
:)

> accepted. :-)
>
> --
> Tollef Fog Heen
> ,''`.
> UNIX is user friendly, it's just picky about who its friends are      : :'
> :
>                                                                       `. `'
>
>                                                                         `-
>
> _______________________________________________
> pkg-config mailing list
> pkg-config at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/pkg-config
>


--
all born, to be dying


More information about the pkg-config mailing list