[Clam-devel] Re: Clam-devel Digest, Vol 16, Issue 18

Han, Yushen yushen.han at gmail.com
Tue Mar 25 03:54:59 PDT 2008


Hi, Pau

Thanks again for your explanation.
Finally I downloaded binary file for Mac ( in .dmg) and it ran :-)

But I still couldn't compile CLAM applications after I installed CLAM.
I can see CLAM libraries in my /usr/local/lib.

To follow the instruction INSTALL in SMSTools.

"1. Install CLAM dependencies
Please refere to the INSTALL file in the CLAM (library) tarball.
2. Compile CLAM libraries from the tarball
Please refere to the INSTALL file in the CLAM (library) tarball.
3. Compile the CLAM application.
Change dir to the scons/ directory and issue
        $ scons"

I think I have already done (1) and (2) ( but from SVN not from tarball ).
however, there is no scons/ directory under SMSTools.
if I just ran "scons", it gave

yushen-hans-macbook:SMSTools yushen$ scons
scons: Reading SConscript files ...

scons: warning: Could not detect qt, using moc executable as a hint
(QTDIR=/opt/local)

It's okay if you don't reply since the binary file works.
But I just want to report that I am confused by the INSTALL instruction here.

Best regards,
Han, Yushen


On Mon, Mar 24, 2008 at 12:21 PM, Han, Yushen <yushen.han at gmail.com> wrote:
> Hi, Pau
>  Thank you for letting me know that the pkgconfig problem was a bug!
>
>  I was getting the source from a tarball instead of SVN.
>  Now I switched to SVN and am able to build CLAM, Annotato,
>  NetworkEditor, and SMSTools.
>
>  "sudo scons install" finally gave:
>
>  ...
>  Install file: "scons/libs/audioio/libclam_audioio.1.2.1.dylib" as
>  "/usr/local/lib/libclam_audioio.1.2.1.dylib"
>  Linking linker name /usr/local/lib/libclam_audioio.dylib to
>  /usr/local/lib/libclam_audioio.1.2.1.dylib
>  Install file: "scons/libs/audioio/clam_audioio.pc" as
>  "/usr/local/lib/pkgconfig/clam_audioio.pc"
>  generating /usr/local/lib/libclam_audioio.1.dylib with /sbin/ldconfig -n
>  scons: done building targets.
>
>
>  So far no executable is built.
>  According to http://iua-share.upf.es/wikis/clam/index.php/SMSToolsDetails
>  it seems that I need to compile either SMSTools GUI or SMSConsole.
>  However, I could not find the file SMSTools.cxx anywhere
>  ( there was a file QtSMSTools.cxx but it did not seem to be the right file. )
>
>  Can you please give me some hints to compile this SMSTools (with FLTK GUI)?
>  Which file should I compile? Is there any specification in compiling?
>  Thank you in advance!
>
>
>  Best regards,
>  Han, Yushen
>
>
>
>  On Mon, Mar 24, 2008 at 7:16 AM,
>  <clam-devel-request at llistes.projectes.lafarga.org> wrote:
>
>  >
>  >  Message: 4
>  >  Date: Mon, 24 Mar 2008 10:30:37 +0100
>  >  From: Pau Arum? <parumi at iua.upf.edu>
>  >  Subject: Re: [Clam-devel] CLAM installation on Mac OS X 10.5.2 -
>  >         "vorbisfile vorbisenc pkg-config file"
>  >  To: clam-devel at llistes.projectes.lafarga.org
>  >  Message-ID: <1206351037.6001.15.camel at macbook>
>  >  Content-Type: text/plain
>  >
>  >
>  >  On dl, 2008-03-24 at 01:54 -0400, Han, Yushen wrote:
>  >  > Hi, everyone
>  >  >
>  >  > I am new to clam and was trying to install CLAM onto my Mac (OS X
>  >  > 10.5.2) this evening.
>  >  >
>  >  > Following http://iua-share.upf.edu/wikis/clam/index.php/Devel/Mac_OSX_build
>  >  > , I installed dependencies required by CLAM with Macports successfully
>  >  > but could not build CLAM.
>  >  >
>  >  > When I ran "scons configure", it stopped at
>  >  >
>  >  > ############################################
>  >  > ### CLAM AUDIOIO DEPENDENCIES CHECKING   ###
>  >  > ############################################
>  >  > Checking for C header file sndfile.h... yes
>  >  > Checking for sf_open_fd() in C library sndfile... yes
>  >  > Checking that libsndfile sample program compiles...yes
>  >  > Checking that libsndfile sample program links...yes
>  >  > Checking that libsndfile sample program runs... yes
>  >  > Checking for vorbisfile vorbisenc pkg-config file... no
>  >  >
>  >  >  "scons" and "sudo scons install" stopped at the same place.
>  >  > I opened config.log file and it said
>  >  >
>  >  > ......
>  >  > scons: Configure: Checking for vorbisfile vorbisenc pkg-config file...
>  >  > PKG_CONFIG_PATH='' --cflags --libs vorbisfile vorbisenc
>  >  > sh: --cflags: command not found
>  >  > scons: Configure: no
>  >
>  >
>  >  Hi Han,
>  >
>  >  What I see in this log is a missing "pkg-config" command. Are you using
>  >  SVN sources (instead of a tarball)? this seems a bug fixed in commit
>  >  #11220 That is after the release.
>  >
>  >
>  >  It is not related with ladspa. Disabling it is probably not needed. You
>  >  might confirm this at the end.
>  >
>  >  Also, I have never tried to compile clam with OSX 10.5 (mine is 10.4.11)
>  >  nor we had other people's reports. So I'm interested to see how it
>  >  works.
>  >
>  >  Pau
>  >
>  >
>  >
>  >
>  >  > I think this is the problem but do not how to fix it. Could you please
>  >  > give me some suggestions? Thank you!
>  >  >
>  >  > Also, "INSTALL" said that I needed to "disable LADSPA support when
>  >  > building for Mac. " Does this have anything to do with the failure of
>  >  > configure? How could I disable LADSPA?  Any of your information will
>  >  > be appreciated!
>  >  >
>  >  > Best regards,
>  >  > Han, Yushen
>  >  >
>  >  > _______________________________________________
>  >  > Clam-devel mailing list
>  >  > Clam-devel at llistes.projectes.lafarga.org
>  >  > https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel
>  >
>  >
>  >
>  >
>  >  ------------------------------
>  >
>  >  _______________________________________________
>  >  Clam-devel mailing list
>  >  Clam-devel at llistes.projectes.lafarga.org
>  >  https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel
>  >
>  >
>  >  End of Clam-devel Digest, Vol 16, Issue 18
>  >  ******************************************
>  >
>




More information about the clam-devel mailing list