[Clam-devel] call for mac powerpc people

Xavier Amatriain xavier at create.ucsb.edu
Thu Feb 1 00:46:31 PST 2007


After compiling the libs and qt4 this is where I am now...

When I try to compile NetworkEditor or Annotator (with the QTDIR 
correctly defined) I get:

No tool named 'bundle'

Any ideas?

Xavier Amatriain wrote:
> Have you tried simply running make again? A similar thing at the linking
> stage happened to me and I fixed it like this.
>
> Btw, how can compilation on powerpc's be so slooooooowww? I have had qt4
> compiling for 4 hours (not kidding) and still has not finished. Hope I
> get there one day ;)
>
> On Wed, 2007-01-31 at 17:10 -0600, 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