Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Cannot compile on *buntu #117
Comments
|
Interesting. The CI build (travis-ci.org) uses Ubuntu. So Ubuntu should definitely work. The following script is used to build on Ubuntu: https://github.com/cloose/CuteMarkEd/blob/develop/.travis.yml As far as I remember you have to set the LD_LIBRARY_PATH, so that the system picks up your local libraries. |
|
Well - it works because the yml script installs the libraries :) |
|
I changed the app.pro so that the path to hunspell and discount is added to the library path. Now I get
and a few more. Are you sure that hunspell is not installed from the packaging on the system, and this is preferred in the lib path? |
|
There is definitively something going wrong... In app.pro, I removed the PKGCONFIG line for hunspell. Instead, I added the unix part
and I still get the unresolved externals mentioned above. Ok, no problem, use the install script (which doesn't make a difference. It would copy the file with the same unresolveds, but anyway...). cd 3rdparty/hunspell && make install - 'Nothing to be done for install'. Of course, the install target in the Makefile is empy. Ok ok, what about sudo apt-get install libhunspell-dev? - 'Selecting previously unselected package... installed'.
Holy towel - what has to be done to work with hunspell? |
|
|
|
If I remember right, -L is also used for dynamic linking, while -l is for static libs. It is a bit strange that there is this distinction between unix and windows at all. Shouldn't there be a big part with LIBS += hunspell etc... ? Then Qt should do the stuf for us. |
|
You should consider to disable some Qt modules via CONFIG -= ... I can't see so far any sense to support Sql stuff. |
|
Sorry but I don't think it will work. Not CuteMarkEd depends on QtSql but one of the Qt modules. If I remember correctly it was Qt WebKit that depends on QtSql. |
|
Ah ok. Yes, you're right, it is QWebKit. And it depends on QSensors. I assume, I'll find a reason for OpenGL too somewhere. Qt4 was somehow more modularized :/ |
cloose
added
the
bug
label
Apr 7, 2015
|
I expect the problems to big fixed since there were quite some changes to the build system. If not, I need more and especially newer information. |
Slesa commentedJan 17, 2014
One problem seems to be the line
but after commenting it out, I get
so I add the line
and finally I'll end up with
Ok, hoedown was not build, so I change the directory to it and call 'build' - only markdown left. I could install it, but I don't like to.
It should be possible to add the library path pointing to the 3rdpart directory of discount...
(When installing discount of the Ubuntu system, I get a lot of unresolved externals of hunspell)