DESTDIR not taken in account in make install
--------------------------------------------
Key: TS-83
URL: https://issues.apache.org/jira/browse/TS-83
Project: Traffic Server
Issue Type: Bug
Components: Build
Environment: Mandriva Linux 2010 (x86), Centos 5.0 (x86 and x86_64)
Reporter: Nuno Fernandes
Priority: Minor
When trying to make install with DESTDIR parameter, it's not taken in account
for the creating of the log dir.
Installing with unprivileged user:
/usr/bin/make install
DESTDIR=/home/npf/work/TrafficServer/BUILDROOT/trafficserver-889823-1.i686
I get the following error:
............
libtool: install: /usr/bin/install -c sac
/home/npf/work/TrafficServer/BUILDROOT/trafficserver-889823-1.i686/usr/bin/sac
libtool: install: /usr/bin/install -c cust_log_fmt_cnvrt
/home/npf/work/TrafficServer/BUILDROOT/trafficserver-889823-1.i686/usr/bin/cust_log_fmt_cnvrt
test -z "/usr/bin" || /bin/mkdir -p
"/home/npf/work/TrafficServer/BUILDROOT/trafficserver-889823-1.i686/usr/bin"
/usr/bin/install -c example_alarm_bin.sh example_prep.sh
'/home/npf/work/TrafficServer/BUILDROOT/trafficserver-889823-1.i686/usr/bin'
/usr/bin/install -c -d -o nobody -g nobody /var/trafficserver
/var/log/trafficserver
/usr/bin/install: cannot change owner and permissions of `/var/trafficserver':
No such file or directory
/usr/bin/install: cannot change owner and permissions of
`/var/log/trafficserver': No such file or directory
make[3]: *** [install-exec-local] Error 1
make[3]: Leaving directory
`/home/npf/work/TrafficServer/BUILD/trafficserver-889823/proxy'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory
`/home/npf/work/TrafficServer/BUILD/trafficserver-889823/proxy'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
`/home/npf/work/TrafficServer/BUILD/trafficserver-889823/proxy'
make: *** [install-recursive] Error 1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.