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

Re: permission denied error



On 02/12/2014 12:33 AM, Roelof Wobben wrote:
> 
> test -z "" || rm -f
>  /bin/mkdir -p '/usr/unused'
> /bin/mkdir: cannot make directory ‘/usr/unused’. Permission denied.
> make[1]: *** [clean-noinstLTLIBRARIES] Error 1
> 
> The test part looks like this :
> 
> # noinst_ always builds a static library
> if ENABLE_TESTS
>   noinst_testlib_LTLIBRARIES = libregress.la libgimarshallingtests.la
>   libregress_la_LDFLAGS = -rpath '/usr/unused'
>   libgimarshallingtests_la_LDFLAGS = -rpath '/usr/unused'
> endif
> 
> also changing the rpath to another directory gives this error.

I'd expect to see the use of the DESTDIR variable somewhere there.


Reply to: