[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Troubles installing GNUstep on NetBSD
From: |
dgesbert |
Subject: |
Re: Troubles installing GNUstep on NetBSD |
Date: |
Fri, 22 Apr 2005 13:22:55 -0300 |
Hi Peter,
Le 22 avr. 05, à 06:14, comrade@obverse.com.au a écrit :
Hi Denis
Sorry about the late reply; I've returned from a long vacation and have
just started catching up with the mail backlog ;)
not really late, thanks for replying! I tried to follow your
instructions but there is probably something wrong in my
configuration...
thank you very much, I did used ./configure --disable-gsnd in
gnustep-gui and the installation did complete successfully :)
For now I will try to use it "as is", but for the future I will be
very
pleased if there is a way to enable sound.
I've been looking at this on and off since gsnd was committed. I've now
had a successful compile on NetBSD, but since I've got new hardware I
can't actually enable the audio device on my box to test it :(
This is what I did on NetBSD/i386 2.0.2:
1. Installed portaudio-18.1nb1 from pkgsrc
I already did
2. Modified the gsnd GNUmakefile to add a line
gnustep_sndd_OBJC_FILES = gsnd.m
This line was already in
and remove (by commenting out) the ifeq block containing
gnustep_sndd_C_FILES that adds the C files from the included copy of
portaudio. A patch is attached.
OK done!
3. Ran gmake in the gsnd directory, then gmake install
freeb# gmake
test -d ./shared_obj/portaudio/pa_common || \
mkdir -p ./shared_obj/portaudio/pa_common ; \
test -d ./shared_obj/portaudio/pa_unix_oss || \
mkdir -p ./shared_obj/portaudio/pa_unix_oss ;
Making all for tool gnustep_sndd...
Linking tool gnustep_sndd ...
./shared_obj/gsnd.o(.text+0x9de): In function `paCallback':
: undefined reference to `Pa_CloseStream'
./shared_obj/gsnd.o(.text+0x9ea): In function `paCallback':
: undefined reference to `Pa_Terminate'
./shared_obj/gsnd.o(.text+0xa1d): In function `paCallback':
: undefined reference to `Pa_GetErrorText'
./shared_obj/gsnd.o(.text+0xa3a): In function `paCallback':
: undefined reference to `Pa_GetErrorText'
./shared_obj/gsnd.o(.text+0x1a19): In function `_i_SoundServer__play':
: undefined reference to `Pa_Initialize'
./shared_obj/gsnd.o(.text+0x1a2a): In function `_i_SoundServer__play':
: undefined reference to `Pa_GetErrorText'
./shared_obj/gsnd.o(.text+0x1a6a): In function `_i_SoundServer__play':
: undefined reference to `Pa_OpenDefaultStream'
./shared_obj/gsnd.o(.text+0x1a7a): In function `_i_SoundServer__play':
: undefined reference to `Pa_GetErrorText'
./shared_obj/gsnd.o(.text+0x1a97): In function `_i_SoundServer__play':
: undefined reference to `Pa_StartStream'
./shared_obj/gsnd.o(.text+0x1aa7): In function `_i_SoundServer__play':
: undefined reference to `Pa_GetErrorText'
./shared_obj/gsnd.o(.text+0x1ac2): In function `_i_SoundServer__play':
: undefined reference to `Pa_Sleep'
gmake[1]: *** [shared_obj/gnustep_sndd] Error 1
gmake: *** [gnustep_sndd.all.tool.variables] Error 2
4. Run the tool :)
Can you do this and tell me whether something like GNUmail that
generates
sounds, works?
Regards
Denis
I think portaudio may be a useful third-party prerequisite library that
is searched for by configure, and that GUI only conditionally builds
gsnd if portaudio is present. Thoughts?
Regards
Peter