Comments (3)
Hi archey and thanks for your message.
I'm not a Linux packaging guru, so may I ask you some questions to fulfill your need?
- Regarding the first two questions; I'm not confident about the location of shared libraries dependencies.
The initial problem is that medusa needs libraries to work (e.g.: boost, ogdf, qt5, soci, and so on). Some of them are not packaged.
Basically, I'm trying to get rid of these dependencies by linked them as a static libraries and using the project hunter (https://github.com/ruslo/hunter). But it's more tedious than I though since some libraries failed to compile/link as static libraries.
The easiest solution would be to package these dependencies as shared library, but I've no clue how to force Linux to use .so files provided by medusa (, to tell the true I'm not even sure it's possible). - I think pybind11 provides a solution to select the python version during the compilation, the thing is: which python version should be used by default? Is it possible to provide two different libraries for each version? I'll try to take a look.
- That's a good idea; at this time, the default module location is ., because it's easier to test module and debug medusa. I'll add an option to override this default value for packaged version. :)
from medusa.
@wisk in my opinion the external modules such as boost and ogdf and such its the pkgers responsability to get support for those. As in add them as a pkg or what not, we specifically had to pull in ogdf, but boost is a default library in most linux distributions. I think if you move it all to a static library setup, it might make it more difficult to pkg.
Python version, I used a sed line to just change the default to python2 as it finds python3 no problem.
sed -i 's|find_package(PythonLibs REQUIRED)|find_package(PythonLibs 2 REQUIRED)|' src/ui/python/CMakeLists.txt
from medusa.
To be FHS compliant most libraries will go into /usr/lib/ or /usr/lib/pkgname, and that is currently how my patch file works. It drops the libs and bins into the correct locations. I can provide it, if youd like
from medusa.
Related Issues (20)
- Pybind11 - unknown <unsigned int> in enumeration HOT 2
- Compilation Error on Ubuntu 16.04 with boost 1.58 and QT 5.5.1 HOT 4
- error: ‘format’ is not a member of ‘boost’ HOT 1
- dev or master dont build due to -Werror HOT 2
- Problem building Docker HOT 2
- Build fails on Ubuntu 16.10 HOT 1
- Please sanitize the build system HOT 7
- Error when running cmake: extracting cvpixelbuffer archive failed HOT 6
- Build broken due to changes in PEGTL HOT 2
- Loading executable into qMedusa works but then nothing happens HOT 10
- Properties defined at build-time do not seem to be inherited by "modules" included via medusa.cmake HOT 1
- Error when linking libmedusa to libOGDF HOT 1
- Hash mismatch HOT 4
- gameboy cpu is an extended 8080, not z80 HOT 2
- Simple instruction to novices? HOT 2
- Show seems to be removed from database after switching to anime HOT 2
- Project status? HOT 5
- Z80 support
- Where to find sqlite3 cmake configuration? HOT 2
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 medusa.