[kaffe] libtritonusalsa does not get installed
Matthias Pfisterer
Matthias.Pfisterer at web.de
Sun Jan 18 06:35:02 PST 2004
Dalibor Topic wrote:
> Hallo Matthias,
>
> Matthias Pfisterer wrote:
>
>> Hi,
>>
>> I noticed that with the CVS of kaffe (about 3 days old),
>> libtritonusalsa.so gets compiled and linked to
>> ./libraries/extensions/sound/alsa/.libs/libtritonusalsa.so
>> but not installed under /usr/local/kaffe.
>> I did the usual configure - make - make install
>> libtritonusesd get installed as
>> /usr/local/kaffe/jre/lib/i386/libtritonusesd.so.
>> I would expect libtritonus alsa in the same directory, but it isn't.
>> So I guess this is a bug in the configure/build system. I'm not
>> exactly good with all this auto* stuff, so can of of the experts
>> please have a look at it?
>
>
> Hm, that one sounds quite weird. Could you do a clean checkout from CVS,
> and try the whole procedure again? I've only recently added some code
> for detecting ALSA and ESounD from their respective CVS repositories, so
> now ALSA support doesn't work on my pre 1.0 debian box.
I suspect I found the reason for this phenomenon: configure test if the
version of the ALSA headers is >= 1.0.1. As I stil have 1.0.0rc2
installed, this test fails. The impression that libtritonusalsa gets
built, but not installed, may have come from the fact that binaries from
a previous build were laying around, but - obviously - no install action
was taken.
Then I thought I can do a quick hack and modified the version numbers in
/usr/include/alsa/version.h. Ok, now the headers are recognized, but
after a fresh checkout I hit other problems:
First the "no target all in po" that was reported recently. I edited the
top-level Makefile to remove po from SUBDIRS as suggested.
Now I get the following:
--
Making all in libraries/javalib
make[1]: Entering directory `/home/matthias/java/kaffe/libraries/javalib'
rm -rf lib
mkdir lib
/bin/sh ./rebuildLib @essential.files
Compiling classes from @essential.files using
/home/matthias/java/kaffe/kaffe/kaffe/kaffe-bin -verbosegc -mx 256M
at.dms.kjc.Main
[ start compilation in verbose mode ]
[ parsed gnu/classpath/Configuration.java in 486 ms ]
./rebuildLib: line 58: 15924 Segmentation fault $JAVAC $VERBOSE
$JAVAC_FLAGS -d $LIBDIR $CPATH ${1+"$@"}
make[1]: *** [lib/stamp] Error 139
make[1]: Leaving directory `/home/matthias/java/kaffe/libraries/javalib'
make: *** [all-recursive] Error 1
--
This is for ./configure without opions. If I say './configure
--without-alsa', the following happens:
--
make[1]: Entering directory `/home/matthias/java/kaffe/libraries/javalib'
rm -rf lib
mkdir lib
/bin/sh ./rebuildLib @essential.files
Compiling classes from @essential.files using
/home/matthias/java/kaffe/kaffe/kaffe/kaffe-bin -verbosegc -mx 256M
at.dms.kjc.Main
[ start compilation in verbose mode ]
[ parsed gnu/classpath/Configuration.java in 471 ms ]
--
...and it hangs, hogging the CPU. It is interruptible with ctrl-C.
Any ideas?
Matthias
--
Matthias Pfisterer <mailto:Matthias.Pfisterer at web.de>
Reuchlinstrasse 28 phone ++49-711-62 87 12
D-70176 Stuttgart (in Deutschland 0711-62 87 12)
GERMANY
Work like you don't need the money.
Love like you've never been hurt.
Dance like nobody is watching.
Java Sound Resources (examples, FAQ, applications):
http://www.jsresources.org/
Tritonus, the open source implementation of the Java Sound API:
http://www.tritonus.org/
--------------------------------------------------------------
More information about the kaffe
mailing list