-
Notifications
You must be signed in to change notification settings - Fork 87
Errors / Dependencies installing for Linux (ubuntu 16.04) #25
Comments
You need to |
I managed to successfully run
After that, I could run However, when I now try to run
When I do a
Any help would be appreciated. |
I decided to remove the However, now I get I see in some ownCloud threads that the version of QT5 might be an issue... has anyone been able to compile the nextcloud client on ubuntu 16.04 (which is what I'm using)? On a related note, is there some kind of timeline/roadmap for getting |
same problem here on Xubuntu 16.04 LTS 64bits when try to run nextcloud i get:
|
Hey, I'm getting as well error about missing libnextcloudsync.so.0. File exists but seems not be linked properly. |
According to this we just need to fix the LD_LIBRARY_PATH environment variable.
Add the following for ubuntu 64: Or this one for ubuntu 32: After a reboot nexcloud works. My desktop icon is broken but I think it's just a matter of downloading an image and changing the .desktop file manually. |
I'm trying to follow these instructions but not coming up with any luck. OS is lxle (16.04.1) and I'm getting some of the same errors. Nextcloud client is just begging for one of those "snaps" I've been hearing so much about. In the meantime, ownCloud client installs and works from repos, so I'm sticking with that. -- Could NOT find INOTIFY (missing: INOTIFY_LIBRARY_DIR) Quoted variables like "HAVE_ICONV_CONST" will no longer be dereferenced -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) CMake Warning at shell_integration/CMakeLists.txt:11 (find_package): Could not find a package configuration file provided by "KF5" (requested
Add the installation prefix of "KF5" to CMAKE_PREFIX_PATH or set "KF5_DIR" Dolphin plugin disabled: KDE Frameworks 5.16 not found |
bpb21 any solution for this yet? |
Dear Nextcloud-community, I just want to share how I got the nextcloud-client compiled correctly in kubuntu 16.04: For dependencies and build-tools, most of the necessary packages were already posted by @jcbrand. I could not find two of the above mentioned ones and added sudo apt-get install checkinstall cmake openssl libssl-dev sqlite3 libsqlite3-dev qt5-default libqt5webkit5-dev qttools5-dev qttools5-dev-tools python-sphinx libinotifytools-dev texlive-latex-base libinotifytools-dev inotify-tools qt5keychain-dev Now in case of kubuntu, as far as I understood, there is a plugin for dolphin which requires KDE Framework 5's (KF5) core add-on kio. For everyone who uses kubuntu and not ubuntu, the following should hopefully resolve the corresponding dependencies in that regard (it installs stuff in sudo apt-get install extra-cmake-modules kio-dev The git repository of the nextcloud-client may be cloned (into a temporary folder) together with initializing its submodules by issuing something like: git clone --recursive https://github.com/nextcloud/client_theming nextcloud-client
cd nextcloud-client A build directory may then be helpful, of course: mkdir build-linux
cd build-linux For the configuration with cmake -D_SQLITE3_LIBDIR=/usr/lib -DCMAKE_INSTALL_PREFIX=/usr -DOEM_THEME_DIR=$(pwd)/../nextcloudtheme ../client Maybe it is enough to use only: cmake -DCMAKE_INSTALL_PREFIX=/usr -DOEM_THEME_DIR=$(pwd)/../nextcloudtheme ../client This may (in case of kubuntu) still throw lots of deprecation warnings and one warning about mixed relative and absolute paths. But it does not seem to be critical ones. Anyway, it is no more necessary to touch Another problem is that the icon name in the nextcloud.desktop file is case sensitive and wrongly specified without a capital letter (given that the icon .png-file has a capital letter). This can be fixed with the help of sed -i 's/Icon=nextcloud/Icon=Nextcloud/g' src/gui/nextcloud.desktop
sed -i 's/Icon\[\(.*\)\]=nextcloud/Icon\[\1\]=Nextcloud/g' src/gui/nextcloud.desktop As I personally hate echo 'Nexcloud desktop synchronization client' > description-pak
ncc_maintainer="$USER"
ncc_name='nextcloud-client'
ncc_version=$(git tag | tail -1 | sed 's/^[^0-9]*//g')
ncc_arch='amd64'
ncc_release=$(date +%Y%m%d)
ncc_license='MIT'
ncc_source='https://github.com/nextcloud/client_theming'
sudo checkinstall -y -D --install=no --maintainer="$ncc_maintainer" --pkgname="$ncc_name" --pkgversion="$ncc_version" --arch="$ncc_arch" --pkgrelease="$ncc_release" --pkglicense="$ncc_license" --pkgsource="$ncc_source" --provides="$ncc_name" --exclude='/home' make install The package can then be installed (and uninstalled later) with sudo dpkg -i "${ncc_name}_${ncc_version}-${ncc_release}_${ncc_arch}.deb" Result:
dpkg -c (click to expand) |
Your proposed cmake command fixed the problem on lubuntu 16.10. Thanks! |
Is this still an issue? Otherwise please close. Thanks! |
yes on Debian Sid. |
@LIyoai Have you tired the latest PPA? Debian is supported I think. |
You mean https://launchpad.net/~nextcloud-devs/+archive/ubuntu/client? No, because it doesn't look to me like an official repo so I'm not using it. Second it is for Ubuntu not Debian. You shouldn't use Ubuntu repos in Debian or the other way arround. I want/need to build it from sources unless there are official Debian builds available. |
It is the official repo for the Nextcloud client. Check this out: https://github.com/nextcloud/client_theming#installing-on-debian |
I see three Debian repos listed by Nextcloud. https://nextcloud.com/install/#install-clients How should a user know which one is maintained by Nextcloud? But back on topic. How to solve |
Try to do my best ;) |
Ok. Thanks. |
Any status here? Could this be closed? |
When Running
cmake -D OEM_THEME_DIR=
pwd/../nextcloudtheme ../client
Get the following:
The text was updated successfully, but these errors were encountered: