Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jan 2013 17:59:30 +0100
From:      "Ralf Mardorf" <ralf.mardorf@alice-dsl.net>
To:        "FreeBSD multi" <freebsd-multimedia@freebsd.org>
Subject:   Building sonata does fail (9.1 amd64)
Message-ID:  <op.wq7ytg11qhadp0@freebsd>

next in thread | raw e-mail | index | archive | help
# cd /usr/ports/audio/sonata ; make install clean
[snip]
===============================================================================

You have built the Boost library with thread support.

Don't forget to add -pthread to your linker options when
linking your code.

You have built the Boost.Python library. You have to add the following
options when building your own code:

Compiler options:
      -I/usr/local/include/python2.7 -I/usr/local/include

Linker options:
      -L/usr/local/lib/python2.7 -L/usr/local/lib -lboost_python -lpython2.7

===============================================================================

===>   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===>   Registering installation for boost-python-libs-1.48.0
===>   Returning to build of py27-tagpy-0.94.8
===>   py27-tagpy-0.94.8 depends on shared library: tag.1 - found
===>  Configuring for py27-tagpy-0.94.8
===>  Building for py27-tagpy-0.94.8
running setopt
Writing setup.cfg
running setopt
Writing setup.cfg
running setopt
Writing setup.cfg
running setopt
Writing setup.cfg
running bdist_egg
running egg_info
writing tagpy.egg-info/PKG-INFO
writing top-level names to tagpy.egg-info/top_level.txt
writing dependency_links to tagpy.egg-info/dependency_links.txt
reading manifest file 'tagpy.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'tagpy.egg-info/SOURCES.txt'
installing library code to build/bdist.freebsd-9.1-RELEASE-amd64/egg
running install_lib
running build_py
creating lib.freebsd-9.1-RELEASE-amd64
creating lib.freebsd-9.1-RELEASE-amd64/tagpy
copying tagpy/__init__.py -> lib.freebsd-9.1-RELEASE-amd64/tagpy
copying tagpy/ape.py -> lib.freebsd-9.1-RELEASE-amd64/tagpy
copying tagpy/flac.py -> lib.freebsd-9.1-RELEASE-amd64/tagpy
copying tagpy/id3v1.py -> lib.freebsd-9.1-RELEASE-amd64/tagpy
copying tagpy/id3v2.py -> lib.freebsd-9.1-RELEASE-amd64/tagpy
copying tagpy/mpc.py -> lib.freebsd-9.1-RELEASE-amd64/tagpy
copying tagpy/mpeg.py -> lib.freebsd-9.1-RELEASE-amd64/tagpy
creating lib.freebsd-9.1-RELEASE-amd64/tagpy/ogg
copying tagpy/ogg/__init__.py -> lib.freebsd-9.1-RELEASE-amd64/tagpy/ogg
copying tagpy/ogg/flac.py -> lib.freebsd-9.1-RELEASE-amd64/tagpy/ogg
copying tagpy/ogg/vorbis.py -> lib.freebsd-9.1-RELEASE-amd64/tagpy/ogg
running build_ext
building '_tagpy' extension
creating temp.freebsd-9.1-RELEASE-amd64-2.7
creating temp.freebsd-9.1-RELEASE-amd64-2.7/src
creating temp.freebsd-9.1-RELEASE-amd64-2.7/src/wrapper
gcc46 -pipe -fno-strict-aliasing -O3 -DNDEBUG -O2 -pipe
-Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing -fPIC
-I/usr/local/include/taglib -I/usr/local/include/python2.7
-I/usr/local/include -I/usr/local/include/python2.7 -c
src/wrapper/basics.cpp -o
temp.freebsd-9.1-RELEASE-amd64-2.7/src/wrapper/basics.o
gcc46 -pipe -fno-strict-aliasing -O3 -DNDEBUG -O2 -pipe
-Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing -fPIC
-I/usr/local/include/taglib -I/usr/local/include/python2.7
-I/usr/local/include -I/usr/local/include/python2.7 -c src/wrapper/id3.cpp
-o temp.freebsd-9.1-RELEASE-amd64-2.7/src/wrapper/id3.o
src/wrapper/id3.cpp: In function 'void exposeID3()':
src/wrapper/id3.cpp:215:8: error: no matching function for call to
'boost::python::class_<TagLib::ID3v2::Tag,
boost::noncopyable_::noncopyable, boost::python::bases<TagLib::Tag>
> ::def(const char [7], <unresolved overloaded function type>)'
src/wrapper/id3.cpp:215:8: note: candidates are:
/usr/local/include/boost/python/class.hpp:224:11: note: template<class
Derived> boost::python::class_<T, X1, X2, X3>::self&
boost::python::class_::def(const boost::python::def_visitor<Derived>&)
[with Derived = Derived, W = TagLib::ID3v2::Tag, X1 =
boost::noncopyable_::noncopyable, X2 = boost::python::bases<TagLib::Tag>,
X3 = boost::python::detail::not_specified, boost::python::class_<T, X1,
X2, X3>::self = boost::python::class_<TagLib::ID3v2::Tag,
boost::noncopyable_::noncopyable, boost::python::bases<TagLib::Tag> >]
/usr/local/include/boost/python/class.hpp:234:11: note: template<class F>
boost::python::class_<T, X1, X2, X3>::self&
boost::python::class_::def(const char*, F) [with F = F, W =
TagLib::ID3v2::Tag, X1 = boost::noncopyable_::noncopyable, X2 =
boost::python::bases<TagLib::Tag>, X3 =
boost::python::detail::not_specified, boost::python::class_<T, X1, X2,
X3>::self = boost::python::class_<TagLib::ID3v2::Tag,
boost::noncopyable_::noncopyable, boost::python::bases<TagLib::Tag> >]
/usr/local/include/boost/python/class.hpp:243:11: note: template<class A1,
class A2> boost::python::class_<T, X1, X2, X3>::self&
boost::python::class_::def(const char*, A1, const A2&) [with A1 = A1, A2 =
A2, W = TagLib::ID3v2::Tag, X1 = boost::noncopyable_::noncopyable, X2 =
boost::python::bases<TagLib::Tag>, X3 =
boost::python::detail::not_specified, boost::python::class_<T, X1, X2,
X3>::self = boost::python::class_<TagLib::ID3v2::Tag,
boost::noncopyable_::noncopyable, boost::python::bases<TagLib::Tag> >]
/usr/local/include/boost/python/class.hpp:250:11: note: template<class Fn,
class A1, class A2> boost::python::class_<T, X1, X2, X3>::self&
boost::python::class_::def(const char*, Fn, const A1&, const A2&) [with Fn
= Fn, A1 = A1, A2 = A2, W = TagLib::ID3v2::Tag, X1 =
boost::noncopyable_::noncopyable, X2 = boost::python::bases<TagLib::Tag>,
X3 = boost::python::detail::not_specified, boost::python::class_<T, X1,
X2, X3>::self = boost::python::class_<TagLib::ID3v2::Tag,
boost::noncopyable_::noncopyable, boost::python::bases<TagLib::Tag> >]
/usr/local/include/boost/python/class.hpp:266:11: note: template<class Fn,
class A1, class A2, class A3> boost::python::class_<T, X1, X2, X3>::self&
boost::python::class_::def(const char*, Fn, const A1&, const A2&, const
A3&) [with Fn = Fn, A1 = A1, A2 = A2, A3 = A3, W = TagLib::ID3v2::Tag, X1
= boost::noncopyable_::noncopyable, X2 =
boost::python::bases<TagLib::Tag>, X3 =
boost::python::detail::not_specified, boost::python::class_<T, X1, X2,
X3>::self = boost::python::class_<TagLib::ID3v2::Tag,
boost::noncopyable_::noncopyable, boost::python::bases<TagLib::Tag> >]
error: command 'gcc46' failed with exit status 1
*** [do-build] Error code 1

Stop in /usr/ports/audio/py-tagpy.
*** [run-depends] Error code 1

Stop in /usr/ports/audio/sonata.
*** [install] Error code 1

Stop in /usr/ports/audio/sonata.

Regards,
Ralf



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