[Clam-devel] call for mac powerpc people
Pau Arumi
parumi at iua.upf.edu
Thu Feb 1 00:50:17 PST 2007
it seems a known problem with mac osx 10.3.9 and qt3. but i haven't
found a clear solution
http://lists.macosforge.org/pipermail/macports-users/2006-September/000092.html
http://lists.trolltech.com/qt-interest/2006-02/thread00130-0.html
http://lists.apple.com/archives/Darwin-development/2003/Oct/msg00232.html
the last link suggest invoking the gcc command line.
i think this should give the command lines invoqued by make and qmake.
$ sudo port -dv install qt3-mac
p.
CHRISTOPHER TIGNOR wrote:
> My install died on qt-3 with this:
>
> ---> Building qt3-mac with target symlinks src-qmake src-moc sub-src
> sub-tools
>
> Error: Target com.apple.build returned: shell command "cd
> "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync
> .darwinports.org_dpupdate_dports_aqua_qt3-mac/work/qt-mac-free-3.3.7" &&
> QMAKESPEC='' QTDIR=''
> DYLD_LIBRARY_PATH="/opt/local/var/db/dports/build/_opt_local_var_db_dports_s
> ources_rsync.rsync.darwinports.org_dpupdate_dports_aqua_qt3-mac/work/qt-mac-
> free-3.3.7/lib" make symlinks src-qmake src-moc sub-src sub-tools" returned
> error 2
> Command output: ld: multiple definitions of symbol
> std::allocator<char>::allocator[not-in-charge]()
> /usr/lib/libstdc++.6.dylib(single module) definition of
> std::allocator<char>::allocator[not-in-charge]()
> /usr/lib/gcc/darwin/3.3/libstdc++.a(stl-inst.o) private external definition
> of std::allocator<char>::allocator[not-in-charge]() in section
> (__TEXT,__text)
> ld: multiple definitions of symbol std::allocator<char>::~allocator
> [in-charge]()
> /usr/lib/libstdc++.6.dylib(single module) definition of
> std::allocator<char>::~allocator [in-charge]()
> /usr/lib/gcc/darwin/3.3/libstdc++.a(stl-inst.o) private external definition
> of std::allocator<char>::~allocator [in-charge]() in section (__TEXT,__text)
> ld: multiple definitions of symbol std::allocator<char>::~allocator
> [not-in-charge]()
> /usr/lib/libstdc++.6.dylib(single module) definition of
> std::allocator<char>::~allocator [not-in-charge]()
> /usr/lib/gcc/darwin/3.3/libstdc++.a(stl-inst.o) private external definition
> of std::allocator<char>::~allocator [not-in-charge]() in section
> (__TEXT,__text)
> ld: multiple definitions of symbol
> std::allocator<wchar_t>::allocator[in-charge](std::allocator<wchar_t>
> const&)
> /usr/lib/libstdc++.6.dylib(single module) definition of
> std::allocator<wchar_t>::allocator[in-charge](std::allocator<wchar_t>
> const&)
> /usr/lib/gcc/darwin/3.3/libstdc++.a(stl-inst.o) private external definition
> of std::allocator<wchar_t>::allocator[in-charge](std::allocator<wchar_t>
> const&) in section (__TEXT,__text)
> ld: multiple definitions of symbol
> std::allocator<wchar_t>::allocator[in-charge]()
> /usr/lib/libstdc++.6.dylib(single module) definition of
> std::allocator<wchar_t>::allocator[in-charge]()
> /usr/lib/gcc/darwin/3.3/libstdc++.a(stl-inst.o) private external definition
> of std::allocator<wchar_t>::allocator[in-charge]() in section
> (__TEXT,__text)
> ld: multiple definitions of symbol
> std::allocator<wchar_t>::allocator[not-in-charge](std::allocator<wchar_t>
> const&)
> /usr/lib/libstdc++.6.dylib(single module) definition of
> std::allocator<wchar_t>::allocator[not-in-charge](std::allocator<wchar_t>
> const&)
> /usr/lib/gcc/darwin/3.3/libstdc++.a(stl-inst.o) private external definition
> of std::allocator<wchar_t>::allocator[not-in-charge](std::allocator<wchar_t>
> const&) in section (__TEXT,__text)
> ld: multiple definitions of symbol
> std::allocator<wchar_t>::allocator[not-in-charge]()
> /usr/lib/libstdc++.6.dylib(single module) definition of
> std::allocator<wchar_t>::allocator[not-in-charge]()
> /usr/lib/gcc/darwin/3.3/libstdc++.a(stl-inst.o) private external definition
> of std::allocator<wchar_t>::allocator[not-in-charge]() in section
> (__TEXT,__text)
> ld: multiple definitions of symbol std::allocator<wchar_t>::~allocator
> [in-charge]()
> /usr/lib/libstdc++.6.dylib(single module) definition of
> std::allocator<wchar_t>::~allocator [in-charge]()
> /usr/lib/gcc/darwin/3.3/libstdc++.a(stl-inst.o) private external definition
> of std::allocator<wchar_t>::~allocator [in-charge]() in section
> (__TEXT,__text)
> ld: multiple definitions of symbol std::allocator<wchar_t>::~allocator
> [not-in-charge]()
> /usr/lib/libstdc++.6.dylib(single module) definition of
> std::allocator<wchar_t>::~allocator [not-in-charge]()
> /usr/lib/gcc/darwin/3.3/libstdc++.a(stl-inst.o) private external definition
> of std::allocator<wchar_t>::~allocator [not-in-charge]() in section
> (__TEXT,__text)
> /usr/bin/libtool: internal link edit command failed
> make[1]: *** [../lib/libqt-mt.3.3.7.dylib] Error 1
> make: *** [sub-src] Error 2
>
> Error: Status 1 encountered during processing.
>
> C>T>
>
> On 1/31/07 12:00 PM, "Pau Arumi" <parumi at iua.upf.edu> wrote:
>
>
>> Xavier Amatriain wrote:
>>
>>> I am also giving it a shot (in parallel with a zillion other things). I
>>> couldn't even get pass the configure step. It is having problems
>>> compiling the vmqt. I guess the issue is that I need qt4 for this module
>>> but, isn't this module supposed to be compiled only for NetworkEditor?
>>> Where does QTDIR have to point when compiling the libs?
>>>
>>> I am assuming that is the problem because the messages I get from scons
>>> are far more cryptical, complaining about incorrect options and so on in
>>> the vmqt.py file.
>>>
>>>
>>>
>> you need QTDIR undefined to compile the libs, as it uses macport version.
>> the wiki says:
>>
>> "Install CLAM dependencies available in darwinports. This command will
>> compile each
>> packages from upstream (the original project site) and will
>> automatically pull its
>> dependencies:
>> $ sudo port install xercesc pkgconfig libsndfile libogg libmad
>> libvorbis fftw-single fftw cppunit qt3-mac"
>>
>> so qt3 lib is a darwin port, installed at /opt/local. and later:
>>
>> "
>> * Take into account that you'll need to export QTDIR to qt4 when
>> compiling networkeditor and annotator.
>> * before doing "scons configure" make sure that QTDIR do not point
>> to qt4
>> * before compiling SMSTools reset QTDIR=
>> * before compiling Annotator point QTDIR to qt4
>> (in my case export QTDIR=/usr/local/Trolltech/Qt-4.2.2/)
>> * before compiling NetworkEditor point QTDIR to qt4
>> "
>>
>> now i see it could be explained better (i'll do), but i don't see any
>> confusing point neither.
>> maybe _too many_ things in parallel? ;-)
>>
>> p.
>>
>>
>
>
More information about the clam-devel
mailing list