Closed Bug 305917 Opened 19 years ago Closed 19 years ago

installation Makefiles doesn't honour the $(DESTDIR) setting

Categories

(Thunderbird :: Build Config, defect)

Other
Other
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 254557

People

(Reporter: luc, Assigned: mscott)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.9) Gecko/20050711 Firefox/1.0.5
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.9) Gecko/20050711 Firefox/1.0.5

Trying to create a binary package for thunderbird, I use the DESTIR variable to
prepend some custom path before the final absolute paths were the package will
be installed. This lead to an error (permission denied) because some Makefiles
do not honour this variable and try to install directly to the final place,
where I do not have write access at this packaging step.

Reproducible: Always

Steps to Reproduce:
1. configure using a --prefix=/forbidden/directory
2. make
3. make install DESTDIR=/authorized/directory

Actual Results:  
most componenents are installed as required in
/authorized/directory/forbidden/directory, but some of them (prefs.js) are
installed directly in /forbidden/directory, where the missing permissions lead
to an installation error which stops the "make install" command


Expected Results:  
everything should be installed under /authorized/directory, where the packaging
software could pick it up and create a binary package, for later installation.

a patch will follow soon
Attached patch patch for one Makefile.in β€” β€” Splinter Review
Related to/duplicate of bug 254557?
(In reply to comment #2)
> Related to/duplicate of bug 254557?

Yes !
Sorry, I didn't find it despit I did search bugzilla, perhaps because 254557 is
supposed to be reolved ?
Well,  it seems thunderbird 1.0.6 shipped without the fix.

*** This bug has been marked as a duplicate of 254557 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: