Hello 2 all.
I having troubles installing the package libdrm, wich is needed for xorg 7.1
I'm usign Matthias S. Benkmann  More Control and Package Management  wrappers.
i,m getting ( what i thought  was a simple install error )
test - z "/include"|| mkdir -p -- "/include"
/bin/mkdir: cannot create directory `/include': Permission denied
make [2]*** [install-libdrmincludeHEADERS] Error 1
make [2] Leaving directory `/usr/src/libdrm/libdrm-2.0.1/libdrm
make: ***[install-recursive] Error 1
So it's trying to recreate  the include directory wich is not allowed.
I figured out that  make goes for the Makefile in /libdrm-2.0.1/libdrm directory
so i tried to edit this file, but i lack experience in makefiles lingo
( just learning ).
I searched for the string "libdrmincludeHEADERS", and came up with this line:
and found the test -z "$(libdrmincludedir)"|| $"(mkdir_p), i,m
geussing that this could be the line that wants to recrate the include
directory and doing some kind of recursive thing to install headers
files.

uninstall-info-am:
install-libdrmincludeHEADERS: $(libdrminclude_HEADERS)
@$(NORMAL_INSTALL)
test -z "$(libdrmincludedri)"|| $(mkdir_p) "#(DESTDIR)$(libdrmincludedri)"
 if test -f "$$p"; then d=; else d"="$(srcdir)/"; fi;
f=$am_strip_dir)
echo "$(libdrmincludeHEADERS_INSTALL) '$$d$$p'
'$(DESTDIR)$(libdrmincludedir)/$$f";
done

Anybody using control pakage management solved this problem allready,
if so i will love to know how you did it.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to