Am Samstag, 24. November 2001 22:26 schrieben Sie:
> On Sat, Nov 24, 2001 at 02:14:59PM +0100, Peter Kirk wrote:
> > Am Samstag, 24. November 2001 13:27 schrieben Sie:
> > > On Tue, Nov 20, 2001 at 03:55:07PM -0600, Steven Feil wrote:
> > > > I am having problems compiling the the utils and oss sections of
> > > > alas-0.9.0beta9.  Whenever I try to run ./configure for the utils or
> > > > oss sections, I always get the following message...
> > > >
> > > > checking for libasound headers version >= 0.9.0... not present.
> > > > configure: error: Sufficiently new version of libasound not found.
> > >
> > > You probably installed libasound to /usr/local. I guess the link
> > > /usr/local/include/alsa/asoundef.h points to ../sound/asoundef.h
> > > which doesn't exist. Change it to point to the real place.
> >
> > If I find asoundef.h on my system, I find it at two places:
> > /usr/include/alsa/asoundef.h
>
> That's probably the link to the following:
> > /usr/include/sound/asoundef.h
>
> Or are those two files real files? Perhaps you send the output of
> this command:
>
>   ls -l /usr/include/sound/asoundef.h /usr/local/include/alsa/asoundef.h
>
The file in sound is real, the one in alsa is a link to it. Your command up 
there is wrong (the local),
after fixing the command it says:
lrwxrwxrwx    1 root     root           19 Nov 23 23:21 
/usr/include/alsa/asoundef.h -> ../sound/asoundef.h
-rw-r--r--    1 root     root        10439 Nov 23 23:18 
/usr/include/sound/asoundef.h

> And you might want to check the contents of the file
> /usr/include/alsa/version.h
#define SND_LIB_MAJOR           0 /**< major number of library version */
#define SND_LIB_MINOR           9 /**< minor number of library version */
#define SND_LIB_SUBMINOR        0 /**< subminor number of library version */
/** library version */
#define SND_LIB_VERSION         ((SND_LIB_MAJOR<<16)|\
                                 (SND_LIB_MINOR<<8)|\
                                  SND_LIB_SUBMINOR)
/** library version (string) */
#define SND_LIB_VERSION_STR     "0.9.0beta9"

notch:/usr/include/alsa #
> This is what the configure-script of alsa-utils checks to see if
> you have an appropriately new version of alsa-lib installed. Be
> careful! It might be you have multiple alsa-lib versions
> installed. You say not in /usr/local, but perhaps in some very
> unusual place? If you yourself never did that, it's unlikely
> though.
No, I did not put anything anywhere, plus, I cant find anything with "alsa" 
in the name whitch I cant explain on my entire hd.
>
> There are other reasons why configure might fail. Are the
> libraries installed in /usr/lib or somewhere else? 
rpm -ql alsa-lib gives me:
--------snip
/usr/lib/libasound.la
/usr/lib/libasound.so
/usr/lib/libasound.so.2
/usr/lib/libasound.so.2.0.0
--------unsnip

>Have you run
> ldconfig? If not do so and try again. Everytime you install a
> library, you would have to run ldconfig with the path to the
> library in /etc/ld.so.conf. Not having run ldconfig is likely the
> problem.
>
> I can remember this problem. I had it, too, but I can't remember
> the exact solution to it...
>
> > I do not have the folder /usr/local/include/alsa , so your commands fail
> > to work... Do you still know the answer to my problem ? Please let me
> > know !
> >
> > >   rm /usr/local/include/alsa/asoundef.h
> > >   ln -s /usr/include/sound/asoundef.h
> > > /usr/local/include/alsa/asoundef.h
> > >
> > > That should fix the problem.
> >
> > No :(
>
> Ok, if ldconfig doesn't solve it, ask again. :o)
here I am...

And, by the way:

I do not get the configure error you told me, I just get this
---snip
make: *** No rule to make target `aoss.in', needed by `aoss'.  Stop.
---unsnip

when I type make. ./configure runs fine.
Since you seem to think the problem is somewhere in configure, I post that 
now too...:
notch:/home/pwk/downloads/alsa/alsa-0.9_devel/alsa-oss-0.9.0beta9 # 
./configure
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ranlib... ranlib
checking for ld used by GCC... /usr/i486-suse-linux/bin/ld
checking if the linker (/usr/i486-suse-linux/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/i486-suse-linux/bin/ld) is GNU ld... yes
checking whether the linker (/usr/i486-suse-linux/bin/ld) supports shared 
libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/i486-suse-linux/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking for ALSA CFLAGS...
checking for ALSA LDFLAGS...  -lasound -lm -ldl
checking for libasound headers version >= 0.9.0... found.
checking for snd_seq_create_event in -lasound... yes
updating cache ./config.cache
creating ./config.status
creating Makefile


Thanks in advance
Peter
-- 
Food for thought is no substitute for the real thing.
                -- Walt Kelly, "Putluck Pogo"

_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to