install with/out soundtouch lib, from HG
----------------------------------------

                 Key: LS-529
                 URL: http://dev.sourcefabric.org/browse/LS-529
             Project: Liquidsoap
          Issue Type: Bug
    Affects Versions: NEAR FUTURE
         Environment: Linux kiste 2.6.38-8-generic-pae #42-Ubuntu SMP Mon Apr 
11 05:17:09 UTC 2011 i686 i686 i386 GNU/Linux

            Reporter: peter
         Attachments: install.txt

Hi,

I tried to upgrade to hg repository

make stops when trying to make soundtouch,
even if I try to disable soundtouch at PACKAGES file.

configure seems to find and use soundtouch lib, even if it is disabled at 
PACKAGES file

OCAMLOPT -o liquidsoap
/usr/lib/ocaml/soundtouch/libsoundtouch_stubs.a(soundtouch_stubs.o): In 
function `ocaml_st_bpm_make':
(.text+0x5bf): undefined reference to `soundtouch::BPMDetect::BPMDetect(int, 
int)'
/usr/lib/ocaml/soundtouch/libsoundtouch_stubs.a(soundtouch_stubs.o): In 
function `ocaml_st_bpm_putsamples_ni':
(.text+0x745): undefined reference to 
`soundtouch::BPMDetect::inputSamples(float const*, int)'
/usr/lib/ocaml/soundtouch/libsoundtouch_stubs.a(soundtouch_stubs.o): In 
function `ocaml_st_bpm_get_bpm':
(.text+0x79c): undefined reference to `soundtouch::BPMDetect::getBpm()'
collect2: ld returned 1 exit status
File "caml_startup", line 1, characters 0-1:
Error: Error during linking
make[3]: *** [liquidsoap] Fehler 2
make[3]: Verlasse Verzeichnis 
'/home/peter/radio/savonet.hg/savonet/liquidsoap/src'
make[2]: *** [all-auto-ocaml-prog] Fehler 2
make[2]: Verlasse Verzeichnis 
'/home/peter/radio/savonet.hg/savonet/liquidsoap/src'
make[1]: *** [all-subdirs] Fehler 2
make[1]: Verlasse Verzeichnis '/home/peter/radio/savonet.hg/savonet/liquidsoap'
make: *** [all] Fehler 1

see attachment for full install log.


if I remove any installed ocaml-soundtouch package I get the following error:

CAMLP4O outputs/harbor_output.camlp4
CAMLP4O tools/server.camlp4
CAMLP4O tools/harbor.camlp4
OCAMLDEP
make[3]: Verlasse Verzeichnis 
'/home/peter/radio/savonet.hg/savonet/liquidsoap/src'
make[3]: Betrete Verzeichnis 
'/home/peter/radio/savonet.hg/savonet/liquidsoap/src'
OCAMLOPT -c tools/doc.ml
ocamlfind: Package `soundtouch' not found
make[3]: *** [tools/doc.cmx] Fehler 2
make[3]: Verlasse Verzeichnis 
'/home/peter/radio/savonet.hg/savonet/liquidsoap/src'
make[2]: *** [all-auto-ocaml-prog] Fehler 2
make[2]: Verlasse Verzeichnis 
'/home/peter/radio/savonet.hg/savonet/liquidsoap/src'
make[1]: *** [all-subdirs] Fehler 2
make[1]: Verlasse Verzeichnis '/home/peter/radio/savonet.hg/savonet/liquidsoap'
make: *** [all] Fehler 1

finally a workaround worked :  deinstall sound-touch / ./configure / install 
sound-touch / make



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://dev.sourcefabric.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Savonet-devl mailing list
Savonet-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-devl

Répondre à