Coder Social home page Coder Social logo

DESTDIR is not respected about cli-visualizer HOT 5 CLOSED

dpayne avatar dpayne commented on July 23, 2024
DESTDIR is not respected

from cli-visualizer.

Comments (5)

blshkv avatar blshkv commented on July 23, 2024

You might also need to make sure that the directory exist because the next error I'm facing is the following:

cp /var/tmp/portage/media-sound/cli-visualizer-1.6/work/cli-visualizer-1.6/build/vis /var/tmp/portage/media-sound/cli-visualizer-1.6/image//bin/
cp: cannot create regular file '/var/tmp/portage/media-sound/cli-visualizer-1.6/image//bin/': Not a direct

from cli-visualizer.

blshkv avatar blshkv commented on July 23, 2024

Did you fix the bug or just ignored my request?

from cli-visualizer.

dpayne avatar dpayne commented on July 23, 2024

Sorry I'm not always responsive as I should be on github. To give you more detail, I don't really consider this to be a bug. A user can already specify PREFIX to whatever directory they want so I don't see the need for an additional variable. Additionally I'm not sure I like auto creating install directories. When the directory is ~/bin it might make sense but if it's something like /usr/bin/ that might be bad since the script could be creating the directory with wrong permissions.

from cli-visualizer.

blshkv avatar blshkv commented on July 23, 2024

Please read the link which I gave. You are confusing these two variables. In short, PREFIX is set to /usr in many distros (and /usr/local/ by default).

DESTDIR has a totally different meaning. It allows to install the entire tool in that directory, choot into it and run from. Its value is not set (empty) by default, however it is useful for many distro like Gentoo where they install tool in a sandbox environment first.

As for the bin folder, it goes along with DISTDIR. Gentoo compiles all tools in /var/tmp and fails to install all bins by default.

P.S. Disclaimer: I'm a Pentoo developer and wrote an ebuild. That should help other Gentoo users like this guys #83.

from cli-visualizer.

dpayne avatar dpayne commented on July 23, 2024

I am pretty unfamiliar with the gentoo build process and with GNU standards. When I originally created the install script, it was mostly meant for people building it themselves. I had assumed, incorrectly, that distros would build with distro specific scripts (e.g. deb package, or PKGBUILD). You appear to be very knowledgable on the subject, especially with Gentoo. If you want to improve the project, please feel free to make a PR.

from cli-visualizer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.