[CLAM] Re: instalaciòn_de_clam-0.91.0_en DEBIAN

Pau Arumi parumi at iua.upf.edu
Thu Nov 23 07:53:17 PST 2006


Giacomo,
I think the problem you found with libvorbis is related to debian. I'm 
sending this report to the list because David is now compiling CLAM in 
(two versions of) debian, so he might have found the same.

  Pau


En/na giacomo.sommavilla ha escrit:
> Hola Pau!
>
> estoy avanzando a poco a poco en la instalaciòn de CLAM 
> (desgraciadamente ahora tengo otras cosas mas que hacer aquì en el 
> trabajo, asì que vamos muy lentos :-/)
>
> Pau Arumi wrote:
> > puedes mirar si hay algun error en: .sconf_temp/conftest_43.out o 
> bién compilarlo y ejecutarlo a mano.
> > pero si compila/linka y no ejecuta, me imagino que el problema es 
> que no tendrás libvorbis en el LD_LIBRARY_PATH.
>
> no he conseguido solucionar el problema en la variable LD_LIBRARY_PATH 
> (soy nuevo del sistema operativo!)
> lo que he hecho ha sido llamar a
> $ scons configure with_oggvorbis=no
>
> de esta manera he simplemente evitado el problema..
>
> pero a la hora de hacer
> $ scons
>
> me ha salido un error en la compilaciòn de algùn ejemplo que utiliza 
> la libreria ID3 (el log del error està al final del mail (*)). Ademas 
> se me pide de modificar el fichero "settings.cfg" poniendo el valor 1 
> a la variable USE_OGGVORBIS.. no he entendido bien a que fichero se 
> refiere, dado que hay muchos settings.cfg (supongo sea el 
> ..[clam]../build/settings.cfg, pero aquel fichero ya tiene el valor 1 
> en dicha variable)..
>
> (adjunto el fichero SConstruct)
>
> gracias por tu ayuda!
> giacomo.
>
>
> --------------- (*) ------------------------------------------
> scons: Reading SConscript files ...
>
> scons: warning: Could not detect qt, using moc executable as a hint 
> (QTDIR=/usr)
> File "/home/giacomo/Desktop/clam-0.91.0/scons/libs/SConstruct", line 
> 312, in ?
> QTDIR not found, so assuming these are the paths for qt: 
> qt_includes=/usr/include/qt3 qt_libs=/usr/lib
>
> WARNING: at least one module configuration file is missing. Running 
> automatically as a 'scons configure'
>
> #############################################
> ### INSTALL DIRECTORY INFORMATION         ###
> #############################################
> Directory to install under: /usr/local
>        Library files will be installed at: /usr/local/lib
>        Executable files will be installed at: /usr/local/bin
>        Include files will be installed at: /usr/local/include
>        Documentation, data and examples will be installed at: 
> /usr/local/share
> ##############################################
> ### BUILDING CLAM LIBRARIES                ###
> ##############################################
> scons: done reading SConscript files.
> scons: Building targets ...
> g++ -o audioio/src/OggVorbisAudioStream.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 -DUSE_SNDFILE=1 -DUSE_MAD=1 
> -DUSE_ID3=1 -DUSE_ALSA=1 -DCLAM_MODULE='"audioio"' -Iaudioio/include 
> -Icore/include -Iprocessing/include -I/usr/include 
> -I/usr/local/include audioio/src/OggVorbisAudioStream.cxx
> In file included from audioio/src/OggVorbisAudioStream.cxx:22:
> audioio/include/CLAM/OggVorbisAudioStream.hxx:23:2: error: #error 
> USE_OGGVORBIS was not set to 1 in your settings.cfg file, but you are 
> including files that require this. Please fix your settings.cfg
> scons: *** [audioio/src/OggVorbisAudioStream.os] Error 1
> scons: building terminated because of errors.
>
>
>
>
>> hola giacomo!
>> todo bién por aquí. perdona el retraso en la respuesta.
>>
>> giacomo.sommavilla wrote:
>>> Hola Pau,
>>>
>>> querìa preguntarte si has vuelto del viaje (en estados unidos, 
>>> verdad? ademas congratulaciones por el premio que habeis ganado en 
>>> california) y si cuando tienes tiempo puedes ayudarme con la 
>>> instalaciòn de clam bajo windows ..o debian!, de hecho hemos 
>>> instalado linux en nuestros ordenadores y tambièn allì hemos tenido 
>>> problemas con la instalaciòn.
>>>
>>> bajo debian he intentado linkar las librerias de clam: a la hora de 
>>> hacer scons configure me ha salido el error que he puesto al final 
>>> del mail (ademas adjunto el fichero config.log)
>>>
>> parece que este programa linka pero no ejecuta:
>>>   |#include <vorbis/vorbisfile.h>
>>>   |
>>>   |int main( int argc, char** argv )
>>>   |{
>>>   |    OggVorbis_File vf;
>>>   |     |    ov_test_open( &vf );
>>>   |
>>>   |    return 0;
>>>   |}
>>>   |
>>>   |
>>> gcc -o .sconf_temp/conftest_43.o -c -O2 -fomit-frame-pointer -Wall 
>>> -DCLAM_FLOAT -DUSE_PTHREADS=1 -DUSE_XERCES_TRUE -DCLAM_USE_XML 
>>> -DUSE_LADSPA=1 -DUSE_FFTW=1 -DUSE_SNDFILE=1 -I/usr/include 
>>> -I/usr/local/include .sconf_temp/conftest_43.c
>>> gcc -o .sconf_temp/conftest_43 .sconf_temp/conftest_43.o -L/usr/lib 
>>> -L/usr/local/lib -L/opt/lib -lpthread -lxerces-c -lsfftw -lsrfftw 
>>> -lsndfile -logg -lvorbisenc -lvorbis -lvorbisfile
>>> .sconf_temp/conftest_43 > .sconf_temp/conftest_43.out
>>> scons: Configure: no
>>>
>>>   
>> puedes mirar si hay algun error en: .sconf_temp/conftest_43.out o 
>> bién compilarlo y ejecutarlo a mano.
>> pero si compila/linka y no ejecuta, me imagino que el problema es que 
>> no tendrás libvorbis en el LD_LIBRARY_PATH.
>>
>> ya contarás,
>>  pau
>>
>>


-- 
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