On Thu, May 19, 2016 at 03:19:17PM -0400, Paul J. Hentschel wrote:
> 
> Ken, I had already built clang when I built llvm for Mesa, so it wasn't a
> problem to try it. This is my first BLFS build. Kind of a practice run to
> see if I could make things work.
> 
> I wanted to try building VLC with your script but I couldn't get past the
> 3rd sed command. Doesn't it need a file name at the end?
> 
Yeah, looks as if I missed a line when I pasted line-by-line from my
history (without the command numbers).  The last sed should have
been

sed -e '/core.h/ {
        a #include <opencv2/imgproc/imgproc_c.h>
        a #include <opencv2/imgproc/imgproc.hpp>
    }' \
    -i modules/video_filter/opencv_example.cpp

and I'm fairly sure that is what is in the book.

> Anyways, I tried again with gcc 5.3 using the book patch and sed command and
> your exports and configure options and it worked! I proceeded to eliminate
> options and exports to figure out what was causing the build to fail. It
> turns out the CXX="g++ -std=c++11" is the culprit. If I eliminate that from
> the book instructions it works without any other changes. I feel silly now
> for not trying that before. I would be interested to know if anyone else can
> reproduce this with gcc 5.3.
> 
> Thanks for the help!
> Paul

Moving to a new version of gcc is always interesting ;-)

ĸen
-- 
This email was written using 100% recycled letters.
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to