Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Sep 2013 22:37:36 +0300
From:      Alexander Panyushkin <vsityz@gmail.com>
To:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc:        David Chisnall <theraven@freebsd.org>, current@freebsd.org
Subject:   Re: graphics/poppler-glib not build
Message-ID:  <52473000.7060309@gmail.com>
In-Reply-To: <20130928190255.GA93842@troutmask.apl.washington.edu>
References:  <5246E64C.3080204@gmail.com> <13ADF1E8-B97E-44E7-8605-B0A4013EDE69@FreeBSD.org> <5247111B.1070702@gmail.com> <0869A0C6-3FCB-4413-9FC6-BC5D3A85BDD5@freebsd.org> <5247255A.6@gmail.com> <20130928190255.GA93842@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
*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.
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52473000.7060309>