[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /usr/include/bits/local_lim.h:36: linux/limits.h: Permission denied (SOLVED, please read!)



("Permission denied" from #include <limits.h>, because that tries to
include <linux/limits.h> which winds up coming from
/usr/local/include/linux with wrong permissions.)
Manuel Bilderbeek <manuel@msxnet.org> writes:
> /usr/local/include/linux:
> this directory was created by the lm-sensors package (as far as I
> know) and did not have the right permissions!

I'm not quite sure I believe that; the machine I have that uses
lm-sensors doesn't have that directory.  What does 'dpkg -S
/usr/local/include/linux' have?  Is the directory an actual directory
or a symlink to your kernel source tree?

> Is this a package bug? Or is it my own fault? (Maybe I shouldn't have
> installed the lm-sensors stuff as root? (How else then? ;-))

Using kernel-package and following the directions in
/usr/share/doc/lm-sensors-source/README.Debian; you don't need root
proper (though you do need fakeroot to build packages) until you're
getting around to installing packages.  How did you do it?

-- 
David Maze         dmaze@debian.org      http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell


-- 
To UNSUBSCRIBE, email to debian-testing-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: