pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: poppler-0.54.0 Build Failure on NetBSD 6_Stable (gcc version issue?)
On Fri, May 19, 2017 at 02:23:57PM -0000, yancm%sdf.org@localhost wrote:
> Upon trying to update to latest pkgsrc web2c (which requires
> poppler-0.54.0) I receive a fail in the poplar build:
>
> ===> Building for poppler-0.54.0
> /usr/pkg/bin/gmake all-recursive
> gmake[1]: Entering directory '/usr/pkgsrc/print/poppler/work/poppler-0.54.0'
> Making all in goo
> gmake[2]: Entering directory
> '/usr/pkgsrc/print/poppler/work/poppler-0.54.0/goo'
> CXX libgoo_la-gfile.lo
> cc1plus: error: unrecognized command line option "-std=c++11"
>
> I note native gcc on NetBSD 6_Stable is:
> # gcc --version
> gcc (NetBSD nb2 20110806) 4.5.3
> which does not have a -std=c++11 option per the man page.
>
> It seems like poplar requires a more recent version of gcc, can the
> correct pkgsrc gcc version be automated in the build scripts?
>
Add a line to Makefile
GCC_REQD+=4.7
(Ideally, we will add this to USE_LANGUAGES=c++11, but I think it
doesn't do this yet)
Home |
Main Index |
Thread Index |
Old Index