You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Mike McGrath (JIRA)" <ji...@apache.org> on 2010/05/05 22:57:02 UTC

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

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


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.


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

Posted by "George Paul (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12865640#action_12865640 ] 

George Paul commented on TS-336:
--------------------------------

The patch '0001-TS336_exec_prefix_gp_diff1.patch' is checked into trunk. This should be backported to 2.0.x branch for a 2.0.1 release
-George

> 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: 0001-TS336_exec_prefix_gp_diff1.patch, 0001-TS336_gp_diff1.patch, TS-336-exec_prefix_fix.patch, 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.


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

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864558#action_12864558 ] 

Leif Hedstrom commented on TS-336:
----------------------------------

Just a thought, if you apply this patch, I believe you will have to run

  autoreconf -i 


to recreate the Makefile.in etc. files.

> 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.


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

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom resolved TS-336.
------------------------------

    Resolution: Fixed

Backported to 2.0.x.

> 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.0.1
>
>         Attachments: 0001-TS336_exec_prefix_gp_diff1.patch, 0001-TS336_gp_diff1.patch, TS-336-exec_prefix_fix.patch, 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.


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

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "George Paul (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Paul reassigned TS-336:
------------------------------

    Assignee: George Paul  (was: Leif Hedstrom)

> 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: George Paul
>             Fix For: 2.1.0
>
>         Attachments: 0001-TS336_gp_diff1.patch, 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.


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

Posted by "George Paul (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Paul updated TS-336:
---------------------------

    Attachment: 0001-TS336_gp_diff1.patch

Please try this patch '0001-TS336_gp_diff1.patch'.

 patch -p1 -i 0001-TS336_gp_diff1.patch

-George

> 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: George Paul
>             Fix For: 2.1.0
>
>         Attachments: 0001-TS336_gp_diff1.patch, 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.


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

Posted by "George Paul (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Paul updated TS-336:
---------------------------

    Attachment: 0001-TS336_exec_prefix_gp_diff1.patch

Mike,

I fixed a few more issues based on your patch 'TS-336-exec_prefix_fix.patch' . 

Can you try this new patch '0001-TS336_exec_prefix_gp_diff1.patch'.

thanks,

-George

> 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: 0001-TS336_exec_prefix_gp_diff1.patch, 0001-TS336_gp_diff1.patch, TS-336-exec_prefix_fix.patch, 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.


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

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Fix Version/s: 2.0.1
                       (was: 2.1.0)

Moving this to 2.0.1 for backporting to 2.0.x branch. Close this ticket when the [vote] has passed, and we've merged this back.

> 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.0.1
>
>         Attachments: 0001-TS336_exec_prefix_gp_diff1.patch, 0001-TS336_gp_diff1.patch, TS-336-exec_prefix_fix.patch, 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.


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

Posted by "George Paul (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864917#action_12864917 ] 

George Paul commented on TS-336:
--------------------------------

Egads, misread this thread. Oh well both patches are roughly the same. TS-336.patch is also good.
-G

> 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: 0001-TS336_gp_diff1.patch, 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.


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

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Fix Version/s: 2.1.0

> 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.


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

Posted by "Mike McGrath (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12865146#action_12865146 ] 

Mike McGrath commented on TS-336:
---------------------------------

I've actually been working with the 2.0.0 branch, I haven't taken a dive into the 2.0.x tree yet.  0001-TS336_exec_prefix_gp_diff1.patch doesn't cleanly apply to 2.0.0.  I'll try to give 2.0.1 a test but it probably won't be until a week or so from now.

> 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: 0001-TS336_exec_prefix_gp_diff1.patch, 0001-TS336_gp_diff1.patch, TS-336-exec_prefix_fix.patch, 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.


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

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on TS-336 started by Leif Hedstrom.

> 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.


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

Posted by "George Paul (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Paul reassigned TS-336:
------------------------------

    Assignee: Leif Hedstrom  (was: George Paul)

> 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: 0001-TS336_gp_diff1.patch, 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.


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

Posted by "Mike McGrath (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike McGrath updated TS-336:
----------------------------

    Attachment: TS-336-exec_prefix_fix.patch

FYI, I found a  few more places where bindir was being hard coded instead of using a macro.  This patch fixed the remaining problems I was having.


> 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: 0001-TS336_gp_diff1.patch, TS-336-exec_prefix_fix.patch, 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.


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

Posted by "George Paul (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12865238#action_12865238 ] 

George Paul commented on TS-336:
--------------------------------

Ok, the '0001-TS336_exec_prefix_gp_diff1.patch' patch applied cleanly to the 2.0.x branch as well as trunk and both of them worked.  I'll check into trunk for now.
-George

> 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: 0001-TS336_exec_prefix_gp_diff1.patch, 0001-TS336_gp_diff1.patch, TS-336-exec_prefix_fix.patch, 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.


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

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom reassigned TS-336:
--------------------------------

    Assignee: Leif Hedstrom

> 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
>
> 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.