Re: graphics/poppler-glib not build

From: Alexander Panyushkin <vsityz_at_gmail.com>
Date: Sat, 28 Sep 2013 22:37:36 +0300
*make.conf*
# ### Build whith  GCC 4.6
# ========================
.if  ${.CURDIR:N*/ports/graphics/poppler-glib*} == ""
CFLAGS= -O2 -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe -Wformat 
-Wformat-security
CPPFLAGS+= -D_FORTIFY_SOURCE=2
CXXFLAGS+=-rpath /usr/local/lib/gcc46
USE_GCC=4.6
CC=cc
CXX=c++
CPP=cpp
.endif

*portmaster  graphics/poppler-glib*
[...]
===>  Building for poppler-glib-0.22.2
gmake[1]: Вход в каталог 
`/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/poppler'
   CXX    CairoFontEngine.lo
   CXX    CairoOutputDev.lo
   CXX    CairoRescaleBox.lo
   CXXLD  libpoppler-cairo.la
c++: warning: argument unused during compilation: '-pthread'
c++: warning: argument unused during compilation: '-pthread'
c++: warning: argument unused during compilation: '-pthread'
/usr/bin/ld: cannot find -lstdc++
c++: error: linker command failed with exit code 1 (use -v to see 
invocation)
gmake[1]: *** [libpoppler-cairo.la] Ошибка 1


On 28.09.2013 22:02, Steve Kargl wrote:
> On Sat, Sep 28, 2013 at 09:52:10PM +0300, Alexander Panyushkin wrote:
>> 28.09.2013 20:28, David Chisnall ??????????:
>>> Yes, because libstdc++ is no longer part of the base system,
>> Yes, but in system installed GCC 4.6.3, and libstdc++ is present
>>
>> pkg_info -L gcc-4.6.3 | grep libstdc
>> /usr/local/share/gcc-4.6.3/python/libstdcxx/__init__.py
>> /usr/local/share/gcc-4.6.3/python/libstdcxx/v6/__init__.py
>> /usr/local/share/gcc-4.6.3/python/libstdcxx/v6/printers.py
>> /usr/local/lib/gcc46/libstdc++.a
>> /usr/local/lib/gcc46/libstdc++.so.6-gdb.py
>> /usr/local/lib/gcc46/libstdc++.so
>> /usr/local/lib/gcc46/libstdc++.so.6
>>
> Try adding
>
> CXXFLAGS+=-rpath /usr/local/lib/gcc46
>
> to the Makefile.
>
Received on Sat Sep 28 2013 - 17:37:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:42 UTC