Hi There,

I am trying to install the Alsa library 1.0.9.
I am using LFS-6.1.1 and BLFS-6.1
I am using "More control and Package Management using package Users" to install
my packages, as pointed out in the LFS book in the beginning of chapter 6.

During the make install fase I get the following error:

 /usr/lib/pkgusr/install -c -m 644 pcm_ioplug.h /usr/include/alsa/pcm_ioplug.h
 /usr/lib/pkgusr/install -c -m 644 pcm_extplug.h /usr/include/alsa/pcm_extplug.h
make  install-data-hook
make[4]: Entering directory `/usr/src/packages/alsalib/alsa-lib-1.0.9/include'
test -d /usr/include/sys || mkdir -p /usr/include/sys
/usr/lib/pkgusr/install -c -m 644 sys.h /usr/include/sys/asoundlib.h
/usr/bin/install: cannot create regular file
`/usr/include/sys/asoundlib.h': Toegang geweigerd
make[4]: *** [install-data-hook] Fout 1
make[4]: Leaving directory `/usr/src/packages/alsalib/alsa-lib-1.0.9/include'
make[3]: *** [install-data-am] Fout 2
make[3]: Leaving directory `/usr/src/packages/alsalib/alsa-lib-1.0.9/include'
make[2]: Leaving directory `/usr/src/packages/alsalib/alsa-lib-1.0.9/include'
make[2]: *** [install-am] Fout 2
make[1]: Leaving directory `/usr/src/packages/alsalib/alsa-lib-1.0.9/include'
make[1]: *** [install-recursive] Fout 1
make: *** [install-recursive] Fout 1

So it complains it cant create asoundlib.h in /usr/include/sys.
This directory was owned by Glibc so I made it an install directory
according to the package management system documentation.
(this is a common problem)
Usually this works, but not this time though.

Sysklogd-1.4.1 seems to have an error that looks a lot like it.
Sysklogd-1.4.1 has /usr/bin/install hardwired in its Makefile. The solution in
the package management system documentation is to change:
"make install" to "make INSTALL=install install" so it will use the
install script
from the package management system.
This resulted in the same error with one diference. The first to lines of the
output above make usr of /usr/lib/pkgusr/install (the install script)
became install.
So it did not use the install script anymore.

I also checked the Makefile. But I cant find any problems there (that
is probably a lack
of experience)

The mailing lists do not seem to report about this problem so I hope I
can find some
help this way. So if anyone knows some documentation I should read or
can help in
some other way. That would be appreciated.

The configure and make fases do not give any errors. and I checked wheter I
used the exact commands as given by the BLFS book

Greetings Herman Gerritsen

PS. "Toegang geweigerd" is Dutch for "Acces denied"
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to