>>
>
> Could you check with the attached patch if it fixes oss compilation  
> for you
> without this hack ?

Unfortunately it did not. I got this:

checking linux/sound.h usability... no
checking linux/sound.h presence... no

And at the end:
    - OSS               : no

The patch did apply cleanly in the savonet/liquidsoap directory.
>>
>
> Ok. We had found the issue for this some times ago.
> I just made a big commit on trunk/ in order to fix this.
> Could you try with the latest SVN trunk if you can compile without  
> this hack ?
>
I just tried SVN revision 6591 and that seems to have fixed things.  
However I did need to run gmake with the LDFLAGS:

CFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" CPPFLAGS="-I/ 
usr/local/include" gmake

after that it compiled cleanly without having to make any symlinks to  
libraries or gmake.
>>
>
> Hmmm..
> So far, this part is assumed to be done by the user/administrator:
> # User ${user} and group ${group} are expected to exist.
> # They are defined in Makefile.defs, written by configure.
>
> However, since you are not the first to complain, I wonder whether  
> this could
> be done in a better way..
>

I think if there was some information in INSTALL that would be  
suitable. It just threw me off because I wasn't expecting that. The  
LDFLAGS on the command line was also a bit non-intuitive as I'm used  
to libraries being automatically discovered when running ./configure -- 
prefix=/usr/local. It's not a big deal though.

>>
> That is really strange.
> Using liquidsoap without utils.liq will be mush less usefull. A lot  
> of useful
> functions are defined there.. It would be good to debug and fix this  
> issue..
> Do you have more informations ?
The SVN releases seems to have fixed this issue as well.
>


One note. With ocaml-faac and ocaml-faad enabled in PACKAGES it would  
not compile cleanly. I don't particularly need regular AAC so that is  
ok for my purposes, but I thought I would report it:

gmake[3]: Entering directory `/root/downloads/liqsvn/savonet/ocaml- 
faad/src'
/usr/local/bin/ocamlc.opt -c -cc "gcc" -ccopt "-fPIC -I/usr/local/ 
include  -Wall -DCAML_NAME_SPACE \
                                 -DPIC -I/usr/local/include   \
                                     -o faad_stubs.o " faad_stubs.c
faad_stubs.c:43:19: error: mp4ff.h: No such file or directory
faad_stubs.c: In function 'ocaml_faad_init':
faad_stubs.c:78: warning: passing argument 4 of 'NeAACDecInit' from  
incompatible pointer type
faad_stubs.c: In function 'ocaml_faad_init2':
faad_stubs.c:95: warning: passing argument 4 of 'NeAACDecInit2' from  
incompatible pointer type
faad_stubs.c: At top level:
faad_stubs.c:150: error: expected specifier-qualifier-list before  
'mp4ff_t'
faad_stubs.c: In function 'finalize_mp4':
faad_stubs.c:165: error: 'mp4_t' has no member named 'ff'
faad_stubs.c:166: warning: implicit declaration of function  
'mp4ff_close'
faad_stubs.c:166: error: 'mp4_t' has no member named 'ff'
faad_stubs.c:167: error: 'mp4_t' has no member named 'read_cb'
faad_stubs.c:168: error: 'mp4_t' has no member named 'read_cb'
faad_stubs.c:169: error: 'mp4_t' has no member named 'write_cb'
faad_stubs.c:170: error: 'mp4_t' has no member named 'write_cb'
faad_stubs.c:171: error: 'mp4_t' has no member named 'seek_cb'
faad_stubs.c:172: error: 'mp4_t' has no member named 'seek_cb'
faad_stubs.c:173: error: 'mp4_t' has no member named 'trunc_cb'
faad_stubs.c:174: error: 'mp4_t' has no member named 'trunc_cb'
faad_stubs.c: In function 'read_cb':
faad_stubs.c:195: error: 'mp4_t' has no member named 'fd'
faad_stubs.c:196: error: 'mp4_t' has no member named 'fd'
faad_stubs.c:200: error: 'mp4_t' has no member named 'read_cb'
faad_stubs.c:210: warning: control reaches end of non-void function
faad_stubs.c: In function 'write_cb':
faad_stubs.c:216: error: 'mp4_t' has no member named 'fd'
faad_stubs.c:217: error: 'mp4_t' has no member named 'fd'
faad_stubs.c:220: warning: control reaches end of non-void function
faad_stubs.c: In function 'seek_cb':
faad_stubs.c:228: error: 'mp4_t' has no member named 'fd'
faad_stubs.c:229: error: 'mp4_t' has no member named 'fd'
faad_stubs.c:233: error: 'mp4_t' has no member named 'seek_cb'
faad_stubs.c:240: warning: control reaches end of non-void function
faad_stubs.c: In function 'ocaml_faad_mp4_open_read':
faad_stubs.c:255: error: 'mp4_t' has no member named 'fd'
faad_stubs.c:256: error: 'mp4_t' has no member named 'ff_cb'
faad_stubs.c:257: error: 'mp4_t' has no member named 'read_cb'
faad_stubs.c:258: error: 'mp4_t' has no member named 'read_cb'
faad_stubs.c:261: error: 'mp4_t' has no member named 'ff_cb'
faad_stubs.c:262: error: 'mp4_t' has no member named 'write_cb'
faad_stubs.c:263: error: 'mp4_t' has no member named 'write_cb'
faad_stubs.c:267: error: 'mp4_t' has no member named 'ff_cb'
faad_stubs.c:268: error: 'mp4_t' has no member named 'write_cb'
faad_stubs.c:272: error: 'mp4_t' has no member named 'ff_cb'
faad_stubs.c:273: error: 'mp4_t' has no member named 'seek_cb'
faad_stubs.c:274: error: 'mp4_t' has no member named 'seek_cb'
faad_stubs.c:278: error: 'mp4_t' has no member named 'ff_cb'
faad_stubs.c:279: error: 'mp4_t' has no member named 'seek_cb'
faad_stubs.c:283: error: 'mp4_t' has no member named 'ff_cb'
faad_stubs.c:284: error: 'mp4_t' has no member named 'trunc_cb'
faad_stubs.c:285: error: 'mp4_t' has no member named 'trunc_cb'
faad_stubs.c:289: error: 'mp4_t' has no member named 'ff_cb'
faad_stubs.c:290: error: 'mp4_t' has no member named 'trunc_cb'
faad_stubs.c:292: error: 'mp4_t' has no member named 'ff_cb'
faad_stubs.c:296: error: 'mp4_t' has no member named 'ff'
faad_stubs.c:296: warning: implicit declaration of function  
'mp4ff_open_read_metaonly'
faad_stubs.c:296: error: 'mp4_t' has no member named 'ff_cb'
faad_stubs.c:298: error: 'mp4_t' has no member named 'ff'
faad_stubs.c:298: warning: implicit declaration of function  
'mp4ff_open_read'
faad_stubs.c:298: error: 'mp4_t' has no member named 'ff_cb'
faad_stubs.c:300: error: 'mp4_t' has no member named 'ff'
faad_stubs.c: In function 'ocaml_faad_mp4_open_read_fd':
faad_stubs.c:314: error: 'mp4_t' has no member named 'fd'
faad_stubs.c:315: error: 'mp4_t' has no member named 'ff_cb'
faad_stubs.c:316: error: 'mp4_t' has no member named 'read_cb'
faad_stubs.c:317: error: 'mp4_t' has no member named 'ff_cb'
faad_stubs.c:318: error: 'mp4_t' has no member named 'write_cb'
faad_stubs.c:319: error: 'mp4_t' has no member named 'ff_cb'
faad_stubs.c:320: error: 'mp4_t' has no member named 'seek_cb'
faad_stubs.c:321: error: 'mp4_t' has no member named 'ff_cb'
faad_stubs.c:322: error: 'mp4_t' has no member named 'trunc_cb'
faad_stubs.c:323: error: 'mp4_t' has no member named 'ff_cb'
faad_stubs.c:327: error: 'mp4_t' has no member named 'ff'
faad_stubs.c:327: error: 'mp4_t' has no member named 'ff_cb'
faad_stubs.c:329: error: 'mp4_t' has no member named 'ff'
faad_stubs.c:329: error: 'mp4_t' has no member named 'ff_cb'
faad_stubs.c:331: error: 'mp4_t' has no member named 'ff'
faad_stubs.c: In function 'ocaml_faad_mp4_total_tracks':
faad_stubs.c:346: warning: implicit declaration of function  
'mp4ff_total_tracks'
faad_stubs.c:346: error: 'mp4_t' has no member named 'ff'
faad_stubs.c: In function 'ocaml_faad_mp4_find_aac_track':
faad_stubs.c:361: error: 'mp4_t' has no member named 'ff'
faad_stubs.c:367: warning: implicit declaration of function  
'mp4ff_get_decoder_config'
faad_stubs.c:367: error: 'mp4_t' has no member named 'ff'
faad_stubs.c: In function 'ocaml_faad_mp4_init':
faad_stubs.c:399: error: 'mp4_t' has no member named 'ff'
faad_stubs.c:400: warning: passing argument 4 of 'NeAACDecInit2' from  
incompatible pointer type
faad_stubs.c: In function 'ocaml_faad_mp4_num_samples':
faad_stubs.c:424: warning: implicit declaration of function  
'mp4ff_num_samples'
faad_stubs.c:424: error: 'mp4_t' has no member named 'ff'
faad_stubs.c: In function 'ocaml_faad_mp4_get_sample_duration':
faad_stubs.c:439: warning: implicit declaration of function  
'mp4ff_get_sample_duration'
faad_stubs.c:439: error: 'mp4_t' has no member named 'ff'
faad_stubs.c: In function 'ocaml_faad_mp4_get_sample_offset':
faad_stubs.c:454: warning: implicit declaration of function  
'mp4ff_get_sample_offset'
faad_stubs.c:454: error: 'mp4_t' has no member named 'ff'
faad_stubs.c: In function 'ocaml_faad_mp4_read_sample':
faad_stubs.c:472: warning: implicit declaration of function  
'mp4ff_read_sample'
faad_stubs.c:472: error: 'mp4_t' has no member named 'ff'
faad_stubs.c: In function 'ocaml_faad_mp4_decode':
faad_stubs.c:499: error: 'mp4_t' has no member named 'ff'
faad_stubs.c: In function 'ocaml_faad_mp4_metadata':
faad_stubs.c:533: warning: implicit declaration of function  
'mp4ff_meta_get_num_items'
faad_stubs.c:533: error: 'mp4_t' has no member named 'ff'
faad_stubs.c:543: warning: implicit declaration of function  
'mp4ff_meta_get_by_index'
faad_stubs.c:543: error: 'mp4_t' has no member named 'ff'
gmake[3]: *** [faad_stubs.o] Error 2
gmake[3]: Leaving directory `/root/downloads/liqsvn/savonet/ocaml-faad/ 
src'
gmake[2]: *** [byte-code-library] Error 2
gmake[2]: Leaving directory `/root/downloads/liqsvn/savonet/ocaml-faad/ 
src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/root/downloads/liqsvn/savonet/ocaml-faad'
gmake: *** [all] Error 1


Andrew




------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to