You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by "Nuno Fernandes (JIRA)" <ji...@apache.org> on 2010/01/05 10:44:54 UTC

[jira] Resolved: (TS-83) DESTDIR not taken in account in make install

     [ https://issues.apache.org/jira/browse/TS-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nuno Fernandes resolved TS-83.
------------------------------

    Resolution: Fixed

I can confirm that the issue is resolved using those patches.

Best regards,
Nuno Fernandes

> 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
>         Attachments: 0003-TS-83_patch1.diff.patch
>
>
> 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.