I just noticed that subsequently, I get the following error when I
try to run emerge liquidsoap and ocaml-lame fails. Compile remains
stuck at this error:
>>> Compiling source in
/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/work/ocaml-lame-0.3.1 ...
make -j3
make -C src all
make[1]: Entering directory
`/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/work/ocaml-lame-0.3.1/src'
make[2]: Entering directory
`/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/work/ocaml-lame-0.3.1/src'
making ._bcdi/lame.di from lame.mli
ocamlc.opt -c lame.mli
ocamlc.opt -c lame.ml
>> Fatal error: cannot open pervasives.cmi
Fatal error: exception Misc.Fatal_error
>> Fatal error: cannot open pervasives.cmi
Fatal error: exception Misc.Fatal_error
make[1]: *** [lame.cmi] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [lame.cmo] Error 2
making ._d/lame.d from lame.ml
make[2]: Leaving directory
`/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/work/ocaml-lame-0.3.1/src'
make[2]: Entering directory
`/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/work/ocaml-lame-0.3.1/src'
ocamlc.opt -c -cc "x86_64-pc-linux-gnu-gcc" -ccopt "-fPIC
-march=opteron -O2 -pipe -I/usr/include -Wall -DCAML_NAME_SPACE \
-DPIC -fPIC -I/usr/include \
-o lame_stubs.o " lame_stubs.c
ocamlc.opt -c lame.mli
>> Fatal error: cannot open pervasives.cmi
Fatal error: exception Misc.Fatal_error
make[2]: *** [lame.cmi] Error 2
make[2]: *** Waiting for unfinished jobs....
lame_stubs.c:25:24: fatal error: caml/alloc.h: No such file or
directory
compilation terminated.
make[2]: *** [lame_stubs.o] Error 2
make[2]: Leaving directory
`/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/work/ocaml-lame-0.3.1/src'
make[1]: *** [byte-code-library] Error 2
make[1]: Leaving directory
`/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/work/ocaml-lame-0.3.1/src'
make: *** [all] Error 2
* ERROR: dev-ml/ocaml-lame-0.3.1 failed (compile phase):
* emake failed
*
* If you need support, post the output of 'emerge --info
=dev-ml/ocaml-lame-0.3.1',
* the complete build log and the output of 'emerge -pqv
=dev-ml/ocaml-lame-0.3.1'.
* This ebuild is from an overlay named 'proaudio':
'/var/lib/layman/pro-audio/'
* The complete build log is located at
'/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/temp/build.log'.
* The ebuild environment file is located at
'/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/temp/environment'.
* S:
'/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/work/ocaml-lame-0.3.1'
On 05/30/12 13:40, Audiodef Online wrote:
Here are my initial comments:
Liquidsoap should be media-radio, not media-sound.
I had to run emerge liquidsoap repeatedly, as some ocaml packages
(I noticed mm) would not compile the first time, but did
subsequently. However, ocaml-lame simply fails eventually, with
the same error output (I've tried this on two different machines):
--------------------- error output start -----------------------
>>> Compiling source in
/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/work/ocaml-lame-0.3.1 ...
make -j3
make -C src all
make[1]: Entering directory
`/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/work/ocaml-lame-0.3.1/src'
make[2]: Entering directory
`/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/work/ocaml-lame-0.3.1/src'
making ._bcdi/lame.di from lame.mli
ocamlc.opt -c lame.mli
ocamlc.opt -c lame.ml
ocamlc.opt -c -cc "x86_64-pc-linux-gnu-gcc" -ccopt "-march=opteron
-O2 -pipe -I/usr/include -Wall -DCAML_NAME_SPACE \
-fPIC -I/usr/include \
-o lame_stubs.o " lame_stubs.c
ocamlc.opt -a -ccopt -Wl,-O1 -ccopt -Wl,--as-needed -ccopt
-L/usr/lib -ccopt -L-Wl,-O1 -ccopt -L-Wl,--as-needed -ccopt
-L/usr/lib \
lame_stubs.o -cclib -lmp3lame -cclib -lm -o
lame.cma lame.cmo
ocamlc.opt -i -intf lame_dynlink.mli.in > lame_dynlink.mli
2>/dev/null
making ._d/lame.d from lame.ml
ocamlc.opt -a lame_dynlink.mli lame_loader.ml -o lame_loader.cma
make[2]: Leaving directory
`/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/work/ocaml-lame-0.3.1/src'
make[2]: Entering directory
`/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/work/ocaml-lame-0.3.1/src'
x86_64-pc-linux-gnu-ar rcs liblame_stubs.a lame_stubs.o
ocamlmklib -L-Wl,-O1 -L-Wl,--as-needed -L/usr/lib \
-o lame_stubs lame_stubs.o -lmp3lame -lm \
lame_stubs.o: file not recognized: File truncated
collect2: ld returned 1 exit status
make[2]: *** [dlllame_stubs.so] Error 2
make[2]: Leaving directory
`/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/work/ocaml-lame-0.3.1/src'
make[1]: *** [byte-code-library] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory
`/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/work/ocaml-lame-0.3.1/src'
make: *** [all] Error 2
* ERROR: dev-ml/ocaml-lame-0.3.1 failed (compile phase):
* emake failed
*
* If you need support, post the output of 'emerge --info
=dev-ml/ocaml-lame-0.3.1',
* the complete build log and the output of 'emerge -pqv
=dev-ml/ocaml-lame-0.3.1'.
* This ebuild is from an overlay named 'proaudio':
'/var/lib/layman/pro-audio/'
* The complete build log is located at
'/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/temp/build.log'.
* The ebuild environment file is located at
'/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/temp/environment'.
* S:
'/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/work/ocaml-lame-0.3.1'
-----------------------error output end---------------------------
When I copy the tarball from /usr/portage/distfiles and compile it
manually, I get no errors.
So the ebuild for ocaml-lame is doing something that's tripping it
up...
I hope this helps. :-)
Damien
On 05/30/12 02:36, Emery Hemingway wrote:
A Liquidsoap ebuild is available through the proaudio overlay.
Intructions for using the overlay are here:
http://proaudio.tuxfamily.org/wiki/index.php?title=Usage
Assuming you have layman and it can do SVN, all you have to do is:
layman -a proaudio
layman -s proaudio
emerge -av liquidsoap
It hasn't been thoroughly tested, so please report any problems to me
on or off-list.
I did make a new initscript that manages stream scripts independently, so
you devs out there might consider replacing the current gentoo initscript
with it. http://paste.lugons.org/show/1580/
Emery
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users
--
My music: http://audiodef.com
Synthetronica: http://synthetronica.com
Male survivors of domestic violence: http://abusedmen.org
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users
--
My music: http://audiodef.com
Synthetronica: http://synthetronica.com
Male survivors of domestic violence: http://abusedmen.org
|
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users