Gabriel Oprea

Problem building alsa-utils

Discussion created by Gabriel Oprea on Mar 21, 2012
Latest reply on Mar 21, 2012 by Gabriel Oprea

Hi,

I can't build alsa-utils. I've managed to build alsa-lib in ltib but I'm getting an error when I'm trying to build alsa-utils:

 

 

 

 

lucid@ubuntu:~/ltib$ ./ltib -m scbuild -p alsa-utils.spec

Processing: alsa-utils
========================
Build path taken because: directory build, build key set, no prebuilt rpm,

rpmbuild --dbpath /home/lucid/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /home/lucid/ltib/rpm' --define '_prefix /usr' --define '_tmppath /home/lucid/ltib/tmp' --define '_rpmdir /home/lucid/ltib/rpm/RPMS' --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit /home/lucid/ltib/dist/lfs-5.1/alsa-utils/alsa-utils.spec
Building target platforms: arm
Building for target arm
Executing(%build): /bin/sh -e /home/lucid/ltib/tmp/rpm-tmp.49584
+ umask 022
+ cd /home/lucid/ltib/rpm/BUILD
+ cd alsa-utils-1.0.11rc2
+ [ -n ]
+ [ arm = m68knommu ]
+ eval ./configure --prefix=/usr --host=arm-linux --build=i686-pc-linux-gnu -C
+ ./configure --prefix=/usr --host=arm-linux --build=i686-pc-linux-gnu -C
configure: loading cache config.cache
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-linux-strip... arm-linux-strip
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for style of include used by make... GNU
checking for arm-linux-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... arm-unknown-linux-gnu
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... yes
checking for shared library run path origin... done
checking whether NLS is requested... yes
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for cross-compiler... gcc
checking for arm-linux-gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ALSA CFLAGS...
checking for ALSA LDFLAGS... -lasound -lm -ldl -lpthread
checking for libasound headers version >= 1.0.9... found.
checking for snd_ctl_open in -lasound... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for initscr in -lncurses... no
checking for initscr in -lcurses... no
configure: error: this packages requires a curses library
error: Bad exit status from /home/lucid/ltib/tmp/rpm-tmp.49584 (%build)

 

Can any one help me?

Outcomes