[Clam-devel] call for mac powerpc people

Pau Arumi parumi at iua.upf.edu
Thu Feb 1 02:34:59 PST 2007


check that CLAM/ is updated
and the bundle sconstools installed. in clam_prefix/share/clam/sconstools
for example, removing the installed file and doing scons install (in 
clam) i get this:

Install file: 
"/Users/parumi/clamSandboxes/testfarmTrunk/CLAM/scons/sconstools/bundle.py" 
as "/Users/parumi/clamSandboxes/tlocal/share/clam/sconstools/bundle.py"

once in NetworkEditor/ check the prefix options:

$ cat options.cache
install_prefix = '/Users/parumi/clamSandboxes/tlocal/'
clam_prefix = '/Users/parumi/clamSandboxes/tlocal/'
verbose = 1




Xavier Amatriain wrote:
> 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.
>>>>
>>>>       
>
>
> _______________________________________________
> Clam-devel mailing list
> Clam-devel at llistes.projectes.lafarga.org
> https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel





More information about the clam-devel mailing list