[CLAM] problem instaling CLAM in Ubuntu

David García Garzón dgarcia at iua.upf.edu
Wed Dec 27 10:58:28 PST 2006


That's weird. Default g++ version in edgy, and even the one in dapper, should define, as the standard mandates, std::snprintf inside the cstdio header which is included at the begining of the file. I don't know where can be the problem. Any weird combination of gcc versions? Try to remove the std:: on the offending line. Althought that should not be the solution, it may work and knowing whether it works or not could give us more information.





On Wed, 27 Dec 2006 10:26:11 -0800
clam_user at mac.com wrote:

> I'm trying to install CLAM in Uuntu 6 (ppc) and I always get this error:
> 
> g++ -o processing/src/TooltipTracker2D.os -c -O2 -fomit-frame-pointer -Wall -fPIC -DCLAM_FLOAT -DUSE_PTHREADS=1 -DUSE_XERCES_TRUE -DCLAM_USE_XML -DUSE_LADSPA=1 -DUSE_FFTW=1 -DCLAM_MODULE='"processing"' -Iprocessing/include -Icore/include -I/usr/include -I/usr/local/include processing/src/TooltipTracker2D.cxx
> processing/src/TooltipTracker2D.cxx: In member function ?void CLAMVM::TooltipTracker2D::DefaultTooltipTextRender(int, int, char*, int)?:
> processing/src/TooltipTracker2D.cxx:87: error: ?snprintf? is not a member of ?std?
> scons: *** [processing/src/TooltipTracker2D.os] Error 1
> scons: building terminated because of errors.
> 
> 
> I've tried building from svn and from the source stable release.
> 
> 
> Any ideas?
> 
> 
> 
> Fiodor.
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> 
> _______________________________________________
> CLAM mailing list
> CLAM at iua.upf.es
> http://www.iua.upf.es/mtg/clam

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





More information about the clam-users mailing list