graphics/poppler-glib not build
Alexander Panyushkin
vsityz at gmail.com
Sat Sep 28 19:37:42 UTC 2013
*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.
>
More information about the freebsd-current
mailing list