On Sat, 6 Oct 2018 08:52:26 -0500
rhubarbpieguy via blfs-support <[email protected]> wrote:

> It appears setting the new variables didn't fix the problem.  I hope 
> I've followed your and Ken's guidance correctly. Again, I should mention 
> Poppler was the only problem package and the older version works well, 
> but it would be nice to know what I've done wrong.  So ...
> 
> echo $CPLUS_INCLUDE_PATH - /usr/include
> echo $C_INCLUDE_PATH - /usr/include
> echo $CPATH - nothing returned


Wait, we have to do one thing at a time. Did you set the above
$CPLUS_INCLUDE_PATH and $C_INCLUDE_PATH? If so, don't do that yet -
we need to see the gcc paths without these variables being set.
If you didn't set them, do you have any idea where and why they
are being set?

> `gcc -print-prog-name-cc1plus` -v

I think you meant

`gcc -print-prog-name=cc1plus` -v

OK, so, do a:

unset CPLUS_INCLUDE_PATH
unset C_INCLUDE_PATH
unset CPATH
`gcc -print-prog-name=cc1plus` -v
`gcc -print-prog-name=cc1` -v

and show us the result.

Now, what Alex did to overcome his problem was this:

export CPLUS_INCLUDE_PATH=/usr/include/c++/8.2.0:/usr/include

So, it wasn't just /usr/include

If you use Alex's longer CPLUS_INCLUDE_PATH definition, can you build
poppler 0.69?

Without any CPLUS_INCLUDE_PATH etc. variables set, can you build poppler
0.62 on the gcc 8.2.0 system?

If so, but poppler 0.69 fails, can you narrow it down to which release
first shows the problem?

https://poppler.freedesktop.org/releases.html

You don't have to try to build these different releases right now, at least
not until after the questions above are answered. But, I notice that for
the 0.65 release changes there is the item:

  "Fix compilation with libc++"

which might actually mean "break the libc++ build on rhubarbpieguy's system"
LOL!


> find /usr -name "stdlib.h"
> 
> /usr/include/bits/stdlib.h
> /usr/include/c++/8.2.0/stdlib.h
> /usr/include/c++/8.2.0/tr1/stdlib.h
> /usr/include/stdlib.h

All this looks OK to me.



  Mike
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to