autoconf
[Top][All Lists]
Advanced

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

Re: Error when using make distcheck


From: Peter Johansson
Subject: Re: Error when using make distcheck
Date: Wed, 20 Nov 2013 09:05:57 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130108 Thunderbird/10.0.12

On 11/20/2013 06:45 AM, jerome hamm wrote:
Hi,

I am trying to pack some software using udev rules, which therefore needs
to copy some files to /lib/udev/rules.d.
When I try and run make distcheck, at the step where it must  install the
files in /lib/udev/rules.d it hopelessly fails because of permission issues.

My rules (leeched from  the upower project) are the following:
<Makefile.am>
udevrules_DATA = \
95-evvgc.rules
<configure.ac>
# UDEV for device permission acces setting
AC_ARG_WITH([udevrulesdir],
             AS_HELP_STRING([--with-udevrulesdir=DIR], [Directory for udev
rules]),
             [],
             [with_udevrulesdir=$($PKG_CONFIG --variable=udevdir
udev)"/rules.d"])
AC_SUBST([udevrulesdir], [$with_udevrulesdir])

Someone in the #autotools channel told that it should try to copy the files
in a subfolder of the test folder (not the system root).
What I also don't understand is why it doesn't work when I try fakeroot
make distcheck ...
What am I doing wrong?

This sounds more like a question for the automake folks, but have you read this section in the Automake manual:

http://www.gnu.org/software/automake/manual/automake.html#Hard_002dCoded-Install-Paths

Cheers,
Peter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]