Giter VIP home page Giter VIP logo

Comments (8)

babelouest avatar babelouest commented on May 18, 2024

Hello,

To install ulfius without root access, simply change the PREFIX variable during install, example, to install in /tmp/lib directory:

$ make PREFIX=/tmp install

I've added a static archive build, check the INSTALL.md file for more instructions, let m know if it works fine. I don't need .a archives so I've ran some basic tests but there may be problems left.

from ulfius.

openhacker avatar openhacker commented on May 18, 2024

from ulfius.

babelouest avatar babelouest commented on May 18, 2024

That's right, the ldconfig fail if you're not root but I haven't find a proper command yet, ldconfig -r $(PREFIX) doesn't work all the time and I had too much issues about that.
I'll add a warning in the documentation.

from ulfius.

babelouest avatar babelouest commented on May 18, 2024

Did you have time to check the static libraries? I'd like to close this issue soon if possible.

from ulfius.

openhacker avatar openhacker commented on May 18, 2024

yder and orcania does not have static libraries, and with the LPGL I'm not using static libraries.

But I definitely want to install as non-root.

${PREFIX}/{lib,include} are not being made if they don't exist.
If you use -ldconfig, you'll harmless fail (instead of:
/sbin/ldconfig
/sbin/ldconfig.real: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
Makefile:51: recipe for target 'install' failed
make[1]: *** [install] Error 1

Also, you aren't versioning the soname -- do you want to break up the VERSION to major/minor (so soname is -soname=libuifius.so.${MAJOR}

from ulfius.

babelouest avatar babelouest commented on May 18, 2024

I've added static build for yder and orcania, but I'm not sure about the -ldconfig option, where to put it in the build process. My knowledge is not that deep, sorry.

Can you propose a patch that will fit your needs? It would be better for me to understand.

from ulfius.

openhacker avatar openhacker commented on May 18, 2024

from ulfius.

babelouest avatar babelouest commented on May 18, 2024

I remember about the hyphen now, I used it a while ago and forgot about it. Now orcania, yder and ulfius have a safe ldconfig in the install process in their Makefile.

Thanks for the tip.

from ulfius.

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.