You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2010/05/05 23:21:03 UTC

[jira] Updated: (TS-336) make install improperly handling DESTDIR

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

Leif Hedstrom updated TS-336:
-----------------------------

    Attachment: TS-336.patch

Proposed fixed, test with a few --prefix= options, and with both

   gmake install

and

   gmake install DESTDIR=/some/other/path


Fwiw, it seems DESTDIR is automatically "appended" to these "automatic" install targets, that's why the DESTDIR gets duplicated.

> make install improperly handling DESTDIR
> ----------------------------------------
>
>                 Key: TS-336
>                 URL: https://issues.apache.org/jira/browse/TS-336
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 2.0.0
>         Environment: Fedora 12 and RHEL5.5+
>            Reporter: Mike McGrath
>            Assignee: Leif Hedstrom
>             Fix For: 2.1.0
>
>         Attachments: TS-336.patch
>
>
> When trying to do an install with the below options, the make install section is trying to install to /$destdir/$destdir/usr/share/trafficserver.  Some of that should either end up in --html-dir or just in $destdir/usr/share/trafficserver (IE: not /$destdir/$destdir/usr/share/trafficserver, the two destdirs are the problem)
> ./configure --program-prefix= \
>                 --prefix=/usr \
>                 --exec-prefix=/usr \
>                 --bindir=/usr/bin \
>                 --sbindir=/usr/sbin \
>                 --sysconfdir=/etc \
>                 --datadir=/usr/share \
>                 --includedir=/usr/include \
>                 --libdir=/usr/lib \
>                 --libexecdir=/usr/libexec \
>                 --localstatedir=/var \
>                 --sharedstatedir=/usr/com \
>                 --mandir=/usr/share/man \
>                 --infodir=/usr/share/info \
>                 --with-sqlite3=no \
>                 --with-libdb=yes \
>                 --with-user=$(whoami) \
>                 --with-group=$(whoami) \
>                 --htmldir=/usr/share
> make
> make install DESTDIR=/tmp/testbuild

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.