You were right. While making i've got these errors:
gmake[3]: Entering directory `/root/savonet/savonet/ocaml-portaudio/src'
ocamlc.opt -c -cc "gcc" -ccopt "-fPIC -I/usr/local/include -pthread
-I/usr/local/include/portaudio2 -Wall -DCAML_NAME_SPACE \
-DPIC -I/usr/local/include \
-o portaudio_stubs.o " portaudio_stubs.c
portaudio_stubs.c: In function 'cerr':
portaudio_stubs.c:79: error: 'paUnanticipatedHostError' undeclared (first
use in this function)
portaudio_stubs.c:79: error: (Each undeclared identifier is reported only
once
portaudio_stubs.c:79: error: for each function it appears in.)
portaudio_stubs.c: In function 'ocaml_pa_get_last_host_error_info':
portaudio_stubs.c:90: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
portaudio_stubs.c:90: error: 'info' undeclared (first use in this function)
portaudio_stubs.c:90: warning: implicit declaration of function
'Pa_GetLastHostErrorInfo'
portaudio_stubs.c: In function 'ocaml_pa_get_version':
portaudio_stubs.c:102: warning: implicit declaration of function
'Pa_GetVersion'
portaudio_stubs.c: In function 'ocaml_pa_get_version_text':
portaudio_stubs.c:107: warning: implicit declaration of function
'Pa_GetVersionText'
portaudio_stubs.c:107: warning: passing argument 1 of 'caml_copy_string'
makes pointer from integer without a cast
portaudio_stubs.c: In function 'ocaml_pa_get_host_api_count':
portaudio_stubs.c:131: warning: implicit declaration of function
'Pa_GetHostApiCount'
portaudio_stubs.c: In function 'ocaml_pa_get_default_host_api':
portaudio_stubs.c:136: warning: implicit declaration of function
'Pa_GetDefaultHostApi'
portaudio_stubs.c: In function 'ocaml_pa_get_host_api_info':
portaudio_stubs.c:143: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
portaudio_stubs.c:143: error: 'info' undeclared (first use in this function)
portaudio_stubs.c:143: warning: implicit declaration of function
'Pa_GetHostApiInfo'
portaudio_stubs.c: In function 'ocaml_pa_get_default_input_device':
portaudio_stubs.c:156: warning: implicit declaration of function
'Pa_GetDefaultInputDevice'
portaudio_stubs.c: In function 'ocaml_pa_get_default_output_device':
portaudio_stubs.c:161: warning: implicit declaration of function
'Pa_GetDefaultOutputDevice'
portaudio_stubs.c: In function 'ocaml_pa_get_device_count':
portaudio_stubs.c:166: warning: implicit declaration of function
'Pa_GetDeviceCount'
portaudio_stubs.c: In function 'ocaml_pa_get_device_info':
portaudio_stubs.c:177: error: 'PaDeviceInfo' has no member named 'hostApi'
portaudio_stubs.c:180: error: 'PaDeviceInfo' has no member named
'defaultLowInputLatency'
portaudio_stubs.c:181: error: 'PaDeviceInfo' has no member named
'defaultLowOutputLatency'
portaudio_stubs.c:182: error: 'PaDeviceInfo' has no member named
'defaultHighInputLatency'
portaudio_stubs.c:183: error: 'PaDeviceInfo' has no member named
'defaultHighOutputLatency'
portaudio_stubs.c:184: error: 'PaDeviceInfo' has no member named
'defaultSampleRate'
portaudio_stubs.c: In function 'alloc_ba_input':
portaudio_stubs.c:227: error: 'paNonInterleaved' undeclared (first use in
this function)
portaudio_stubs.c: In function 'alloc_ba_output':
portaudio_stubs.c:240: error: 'paNonInterleaved' undeclared (first use in
this function)
portaudio_stubs.c: At top level:
portaudio_stubs.c:254: warning: type defaults to 'int' in declaration of
'PaStreamCallbackTimeInfo'
portaudio_stubs.c:254: error: expected ';', ',' or ')' before '*' token
portaudio_stubs.c: In function 'fmt_val':
portaudio_stubs.c:293: error: 'paNonInterleaved' undeclared (first use in
this function)
portaudio_stubs.c:294: warning: control reaches end of non-void function
portaudio_stubs.c: At top level:
portaudio_stubs.c:297: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
portaudio_stubs.c: In function 'ocaml_pa_open_stream':
portaudio_stubs.c:337: error: 'PaStreamParameters' undeclared (first use in
this function)
portaudio_stubs.c:337: error: 'ip' undeclared (first use in this function)
portaudio_stubs.c:337: error: 'op' undeclared (first use in this function)
portaudio_stubs.c:337: warning: left-hand operand of comma expression has no
effect
portaudio_stubs.c:339: error: 'PaStreamCallback' undeclared (first use in
this function)
portaudio_stubs.c:339: error: 'callb' undeclared (first use in this
function)
portaudio_stubs.c:348: warning: implicit declaration of function 'sp_val'
portaudio_stubs.c:362: error: 'pa_callback' undeclared (first use in this
function)
portaudio_stubs.c:365: warning: passing argument 5 of 'Pa_OpenStream' makes
pointer from integer without a cast
portaudio_stubs.c:365: warning: passing argument 8 of 'Pa_OpenStream' makes
integer from pointer without a cast
portaudio_stubs.c:365: error: too few arguments to function 'Pa_OpenStream'
portaudio_stubs.c: In function 'ocaml_pa_open_default_stream':
portaudio_stubs.c:400: error: 'PaStreamCallback' undeclared (first use in
this function)
portaudio_stubs.c:400: error: 'callb' undeclared (first use in this
function)
portaudio_stubs.c:414: error: 'pa_callback' undeclared (first use in this
function)
portaudio_stubs.c:417: warning: passing argument 8 of 'Pa_OpenDefaultStream'
from incompatible pointer type
portaudio_stubs.c:417: error: too few arguments to function
'Pa_OpenDefaultStream'
portaudio_stubs.c: In function 'get_index':
portaudio_stubs.c:482: error: 'paNonInterleaved' undeclared (first use in
this function)
portaudio_stubs.c: In function 'get_buffer':
portaudio_stubs.c:515: error: 'paNonInterleaved' undeclared (first use in
this function)
portaudio_stubs.c:543: warning: control reaches end of non-void function
portaudio_stubs.c: In function 'get_read_buffer':
portaudio_stubs.c:568: error: 'paNonInterleaved' undeclared (first use in
this function)
portaudio_stubs.c: In function 'ocaml_pa_write_stream':
portaudio_stubs.c:621: warning: implicit declaration of function
'Pa_WriteStream'
portaudio_stubs.c: In function 'ocaml_pa_read_stream':
portaudio_stubs.c:643: warning: implicit declaration of function
'Pa_ReadStream'
portaudio_stubs.c: In function 'ocaml_pa_write_stream_ba':
portaudio_stubs.c:728: error: 'paNonInterleaved' undeclared (first use in
this function)
portaudio_stubs.c: In function 'ocaml_pa_read_stream_ba':
portaudio_stubs.c:754: error: 'paNonInterleaved' undeclared (first use in
this function)
gmake[3]: *** [portaudio_stubs.o] Error 2
gmake[3]: Leaving directory `/root/savonet/savonet/ocaml-portaudio/src'
gmake[2]: *** [byte-code-library] Error 2
gmake[2]: Leaving directory `/root/savonet/savonet/ocaml-portaudio/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/root/savonet/savonet/ocaml-portaudio'
gmake: *** [all] Error 1
After i saw this, i tried to exclude it from packages list (with hope
liquidsoap will install this way.)
But, after this he died on dssi package:
gmake[1]: Entering directory `/root/savonet/savonet/ocaml-dssi'
make -C src all
"OCamlMakefile", line 15: Need an operator
"OCamlMakefile", line 17: Need an operator
*(many same lines)*
"OCamlMakefile", line 107: Need an operator
"OCamlMakefile", line 111: Need an operator
Unknown modifier ' '
Unknown modifier ' '
"OCamlMakefile", line 123: Missing dependency operator
"OCamlMakefile", line 125: Need an operator
Unknown modifier ' '
"OCamlMakefile", line 126: Missing dependency operator
*(many same lines)*
"OCamlMakefile", line 497: Need an operator
Error expanding embedded variable.
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/root/savonet/savonet/ocaml-dssi'
gmake: *** [all] Error 1
Can you help me with it please?
--
Kind regards,
Alexander.
2011/5/10 Romain Beauxis <[email protected]>
> e 10 mai 2011 13:03, Alexander <[email protected]> a écrit :
> > Thanks, it configured properly now!
> > Sorry for disturbing you again, it seems i'm just unlucky :)
> > when i run "make" (doesn't matter under root or under normal user) it
> says:
> > for i in ; do make -C $i || exit 1; done
> >
> > tried to search troubles like this in google.. but it's hard because i
> don't
> > really know what to search here....
> > maybe i should install something else (smth like powershell, etc) ?
>
> I think with BSD systems you need to use gmake instead of make..
>
> > Thanks for your great support.
> >
> > 2011/5/10 Samuel Mimram <[email protected]>
> >>
> >> Hi,
> >>
> >> The issue has already been reported
> >> http://dev.sourcefabric.org/browse/LS-471 Did you run configure as
> root? If
> >> it is the case please run as normal user for now.
> >>
> >> ++
> >>
> >> Sam.
> >>
> >>
> >> 2011/5/10 Alexander <[email protected]>
> >>>
> >>> Hello again,
> >>> Big thanks for your support!
> >>> While configuring some libs were not found, solved the problem with
> >>> (found in google):
> >>> ./configure CFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib"
> >>> CPPFLAGS="-I/ usr/local/include"
> >>>
> >>> And when i was near to be happy, unfortunately i've got another
> problem:
> >>> while configuring liquidsoap it throws this error:
> >>> checking for pcre-ocaml... ./configure: cannot create /dev/null:
> >>> Operation not supported
> >>>
> >>> after i've got this error, i lose /dev/null file, seems strange...
> >>> i've mounted it back with "mknod /dev/null c 0 0 0:0" and restarted
> rc.d
> >>> but it didn't help.
> >>>
> >>> I've ocaml-pcre installed on server:
> >>> "ocamlfind query pcre" says "/usr/local/lib/ocaml/site-lib/pcre"
> >>> "whereis ocaml-pcre" says "ocaml-pcre: /usr/ports/devel/ocaml-pcre"
> >>> What i can do with it?
> >>>
> >>> liquidsoap 0.9.3 (from ports) configure, make & install scripts work
> was
> >>> clear.. :(
> >>>
> >>> 2011/5/10 Romain Beauxis <[email protected]>
> >>>>
> >>>> Le 8 mai 2011 17:29, Alexander <[email protected]> a écrit :
> >>>> > Hello,
> >>>>
> >>>> Hi!
> >>>>
> >>>> > we have current version of liquidsoap 0.9.3 under freebsd8 (amd64).
> As
> >>>> > i
> >>>> > understand, we can not dynamically create/drop mounts through telnet
> >>>> > on this
> >>>> > version.
> >>>>
> >>>> Nope :-)
> >>>> You need a recent hg source for that..
> >>>>
> >>>> > I tried this script:
> >>>> > http://savonet.sourceforge.net/doc-svn/dynamic_sources.html
> >>>> > But it threw error on the first line, while defining the array for
> >>>> > streams.
> >>>> >
> >>>> > So, we tried to build source from last development trunk, but i can
> >>>> > see this
> >>>> > error while i'm doing ./configure:
> >>>> > gnome-config: not found
> >>>> > configure: error: libasound2 not found
> >>>> >
> >>>> > i tried to find libasound2 for freebsd, but as i knew it's just only
> >>>> > for
> >>>> > linux.
> >>>> >
> >>>> > i tried to install these packages then:
> >>>> > /usr/ports/emulators/linux_base-f10
> >>>> >
> >>>> >
> http://www.freebsd.org/cgi/cvsweb.cgi/ports/audio/linux-f10-pulseaudio-libs/#dirlist
> >>>> >
> >>>> >
> >>>> > but it didn't help.
> >>>> > how we can solve the problem? is it possible to run last trunk on
> >>>> > freebsd?
> >>>>
> >>>> It should be possible! What you should do is edit PACKAGES and comment
> >>>> out everything you do not need, such as for instance ALSA (libasound).
> >>>>
> >>>> When compiling your own binary, I think it is a good practice to only
> >>>> enable what you really need so you save yourself some headache and
> >>>> also issues are somewhat easier to trackback..
> >>>>
> >>>> Romain
> >>>>
> >>>> >
> >>>> > --
> >>>> > Kind regards,
> >>>> > Alexander.
> >>>> >
> >>>> >
> >>>> >
> ------------------------------------------------------------------------------
> >>>> > WhatsUp Gold - Download Free Network Management Software
> >>>> > The most intuitive, comprehensive, and cost-effective network
> >>>> > management toolset available today. Delivers lowest initial
> >>>> > acquisition cost and overall TCO of any competing solution.
> >>>> > http://p.sf.net/sfu/whatsupgold-sd
> >>>> > _______________________________________________
> >>>> > Savonet-users mailing list
> >>>> > [email protected]
> >>>> > https://lists.sourceforge.net/lists/listinfo/savonet-users
> >>>> >
> >>>> >
> >>>
> >>>
> >>>
> >>> --
> >>> Kind regards,
> >>> Alexander.
> >>>
> >>>
> >>>
> ------------------------------------------------------------------------------
> >>> Achieve unprecedented app performance and reliability
> >>> What every C/C++ and Fortran developer should know.
> >>> Learn how Intel has extended the reach of its next-generation tools
> >>> to help boost performance applications - inlcuding clusters.
> >>> http://p.sf.net/sfu/intel-dev2devmay
> >>> _______________________________________________
> >>> Savonet-users mailing list
> >>> [email protected]
> >>> https://lists.sourceforge.net/lists/listinfo/savonet-users
> >>>
> >>
> >
> >
> >
> > --
> > Kind regards,
> > Alexander.
> >
> >
> ------------------------------------------------------------------------------
> > Achieve unprecedented app performance and reliability
> > What every C/C++ and Fortran developer should know.
> > Learn how Intel has extended the reach of its next-generation tools
> > to help boost performance applications - inlcuding clusters.
> > http://p.sf.net/sfu/intel-dev2devmay
> > _______________________________________________
> > Savonet-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/savonet-users
> >
> >
>
--
Kind regards,
Alexander.
Lead developer in FMHost team
Skype: true1964
Email: [email protected]
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users