Comments (8)
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.
from ulfius.
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.
Did you have time to check the static libraries? I'd like to close this issue soon if possible.
from ulfius.
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.
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.
from ulfius.
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)
- [Issue] example_programs: build failed HOT 4
- [Issue] simple_example: build failed HOT 1
- ulfius_add_endpoint_by_val() url_prefix VS. url_format HOT 2
- HTTP GET with array as response body HOT 2
- simple_example as static build for managed server HOT 2
- undefined reference to `pointer_list_init' HOT 2
- How to setup https mode? HOT 4
- Sending file in response for Ulfius REST request
- Do we have any official Ulifius Yocto recipe? HOT 1
- How can I reopen a closed issue? HOT 4
- [Issue]../../src/libulfius.so: undefined reference to `[email protected]' HOT 1
- [Issue] A use after free bug in src/ulfius.c HOT 1
- [Issue]A double free bug in ulfius.c HOT 4
- [Issue]A use after free bug in src/ulfius.c HOT 1
- [Feature request] How to use libulfius to implement a secure, asynchronious and scalable REST API? HOT 3
- What is the best way to let libulfius interact with libpq? HOT 2
- uwsc can't connect to socket while wscat can HOT 2
- Ulfius failed to link microhttpd on mingw64 using CMake HOT 4
- Support for graceful shutdown HOT 2
- How to add swagger openAPI documentation for ulfius based webservices ? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ulfius.