Giter Club home page Giter Club logo

Comments (5)

mywave82 avatar mywave82 commented on August 29, 2024

What exactly is the problem you are trying to describe? The default path uses --datarootdir, which against defaults to using --prefix, so if you do not specify --prefix and/or --datarootdir, the default path will be
/usr/local/share/fonts/opentype/unifont

The is the expected autoconf default behaviour.

from opencubicplayer.

bkw777 avatar bkw777 commented on August 29, 2024

Since there are some default paths that are searched, that implies there is some intended effort to have the common case work out of the box. So I was just supplying the finding that this is the out of the box path on ubuntu.

Now that you say it's because of $PREFIX, I don't recall many other times where the destination prefix is more than the first default try for sources and dependencies, not the only try.

I haven't looked yet but I can't imagine that this is just the way autoconf works, since I feel like I must have noticed that sometime in the last 30 years. But you never know.

Would you mind a pr that adds searching /usr after searching prefix if they aren't the same?

from opencubicplayer.

mywave82 avatar mywave82 commented on August 29, 2024

I'm always open for PRs

from opencubicplayer.

bkw777 avatar bkw777 commented on August 29, 2024

I'm about to give up on figuring out how autotools expects one to handle a case like this "properly".

We want to be able to install to /usr/local, and then at run-time load something from /usr, and that thing does not happen to be an executable or a library, and so there is no provision for that, that I can see, other than what you're already doing which is supply a --with option.

I don't want to offer anything too hacky and there is a method to provide the path so that the program works fine at run-time, and this isn't exactly a critical piece of infrastructure utility software, so... guess I will shut up now! Maybe I'll submit a pr some time but might as well close this issue since I also might never and it's not really much of a problem anyway.

from opencubicplayer.

mywave82 avatar mywave82 commented on August 29, 2024

96286b7

Makes it easier to see what is going on atleast.

from opencubicplayer.

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.