I'm having some compiling trouble and I hope someone can help.
I'm working on getting blfs 8.2 working and wanting to build LXDE.
While working thru all the dependencies I had to compile pcre-8.4.1.
Compilation failed with this error:
*********************
In file included from /usr/include/c++/7.3.0/ext/string_conversions.h:41:0,
from /usr/include/c++/7.3.0/bits/basic_string.h:6349,
from /usr/include/c++/7.3.0/string:52,
from pcrecpp.cc:43:
/usr/include/c++/7.3.0/cstdlib:75:15: fatal error: stdlib.h: No such
file or directory
#include_next <stdlib.h>
^~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:2255: libpcrecpp_la-pcrecpp.lo] Error 1
make[1]: Leaving directory '/blfs/sources/xc/pcre-8.41'
make: *** [Makefile:1322: all] Error 2
*********************
This isn't the first time I've had this error. I had it compiling a
couple of
other things too.
It seems to be a strange permissions problem. If when the error occurs
I then do "sudo make", compiling continues as it should and finishes with
no errors. I don't get it. cstdlib and stdlib.h are in the same folder
and their
permissions look correct. I've googled for solutions but have found none.
I'm afraid to continue using the "sudo make" trick to get around this
problem
lest I encounter problems from it down the road. Has anyone else had to
deal with this and found a solution?
Terry
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page