Giter Site home page Giter Site logo

Comments (8)

moritz avatar moritz commented on July 3, 2024

So what is a good choice?

from star.

JJ avatar JJ commented on July 3, 2024

Most people will have /usr/local, so I guess /usr/local/perl6 or /usr/local/rakudo can be considered "sensible". At any rate, also include instructions to add this to PATH in the documentation :-)

from star.

moritz avatar moritz commented on July 3, 2024

... except that many people don't have write access to /usr/local/, or anything below it.

from star.

JJ avatar JJ commented on July 3, 2024

... in which case they will use the --prefix option, which will also be
included in the explanation of the default configuration options :-)
Or else that self same documentation will say
Always use sudo make install
:-)

from star.

moritz avatar moritz commented on July 3, 2024

I don't understand how forcing the user to use --prefix when he doesn't have write access to a global directory is preferable to forcing the user to use --prefix when he wants to install to a global directory.

Especially since you can't run rakudo from a directory other than the build directory unless you do make install first. So it's especially important that you can do a make install under all circumstances after a build.

from star.

JJ avatar JJ commented on July 3, 2024

If there's no sensible default then the best thing is to not provide one
and just ask. Taking into account that it's not possible to move or change
it once Configure.pl has been run, I wouldn't say
wherever/I/downloaded/rakudo/install is a sensible default. Thus the bug
report/enhancement request.

from star.

pmichaud avatar pmichaud commented on July 3, 2024

I'm not sure that "no default" (require --prefix=) is more sensible than defaulting to "$PWD/install". I think having a canonical default is much better than requiring the user to figure out where a good install location choice.

I might be okay with a prompt or notice along the lines of "--prefix not supplied; building and installing to $PWD/install" when --prefix isn't specified, giving the user a chance to quickly abort and rerun Configure.pl if they want something different to happen.

Pm

from star.

JJ avatar JJ commented on July 3, 2024

@pmichaud that might, indeed, be a sensible default behavior.

from star.

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.