Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DESTDIR not fully implemented #67

Closed
dmacks opened this issue Apr 28, 2021 · 0 comments
Closed

DESTDIR not fully implemented #67

dmacks opened this issue Apr 28, 2021 · 0 comments

Comments

@dmacks
Copy link

dmacks commented Apr 28, 2021

Building v2021 on OS X 10.13:

./configure --prefix=/sw --with-texpath=/sw/etc/texmf.local/tex/latex/html 
make
make install DESTDIR=/sw/build.build/root-latex2html-2021-1

/sw is my ultimate runtime prefix, but /sw/build.build/root-latex2html-2021-1 is a staging directory that later gets copied to the live / filesystem. During make install:

Info: Installed /sw/build.build/root-latex2html-2021-1/sw/share/lib/latex2html/styles/norsk.perl
Info: Installed /sw/build.build/root-latex2html-2021-1/sw/share/lib/latex2html/styles/nynError: Could not create directory "/sw/etc/texmf.local/tex": Permission denied

Error: Cannot install LaTeX2HTML style files in /sw/etc/texmf.local/tex/latex/html
orsk.perl
Info: Installed /sw/build.build/root-latex2html-2021-1/sw/share/lib/latex2html/styles/polish.perl

and

Info: Installed /sw/build.build/root-latex2html-2021-1/sw/share/lib/latex2html/versions/utf8ru.pl

Note: trying to install LaTeX2HTML style files in TeX directory tree
     (/sw/etc/texmf.local/tex/latex/html)

In the "Info:" messages, I see that files are getting placed in the staging directory. However, the "Error:" and "Note:" indicate that some other actions are not respecting the DESTDIR and instead are trying (and obviously failing) to write to the live system on my build box.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant