nextcloud / client_theming

:computer: Nextcloud themed desktop client - Moved over to https://github.com/nextcloud/desktop
GNU General Public License v2.0
198 stars 87 forks source link

Errors / Dependencies installing for Linux (ubuntu 16.04) #25

Open antonyanimator opened 7 years ago

antonyanimator commented 7 years ago

When Running cmake -D OEM_THEME_DIR=pwd/../nextcloudtheme ../client Get the following:

-- Build of crashreporter disabled.
-- GIT_SHA1 e6d3a5a2521561330ccd9bf728ea8668cd39587a
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so (found suitable version "1.0.2g", minimum required is "1.0.0") 
-- Could NOT find INOTIFY (missing:  INOTIFY_LIBRARY_DIR) 
-- Could NOT find Sphinx (missing:  SPHINX_EXECUTABLE) 
-- Could NOT find PdfLatex (missing:  PDFLATEX_EXECUTABLE) 
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- Checking for module 'sqlite3'
--   No package 'sqlite3' found
CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
  Could NOT find SQLite3 (missing: SQLITE3_LIBRARIES SQLITE3_INCLUDE_DIRS)
  (Required is at least version "3.8.0")
Call Stack (most recent call first):
  /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindSQLite3.cmake:61 (find_package_handle_standard_args)
  CMakeLists.txt:158 (find_package)
Robsteranium commented 7 years ago

You need to sudo apt install libsqlite3-dev.

jcbrand commented 7 years ago

I managed to successfully run cmake after installing these dependencies (from my bash history):

 sudo aptitude install cmake
 sudo aptitude install openssl
 sudo aptitude install libssl-dev
 sudo aptitude install sqlite3
 sudo aptitude install sqlite3-dev
 sudo aptitude install libsqlite3-dev
 sudo aptitude install qt5-default
 sudo aptitude install libqt5webkit5-dev
 sudo aptitude install libqt5linguist
 sudo aptitude install qttools5-dev
 sudo aptitude install qttools5-dev-tools
 sudo aptitude install python-sphinx
 sudo aptitude install libinotifytools-dev
 sudo aptitude install texlive-latex-base
 sudo aptitude install libinotifytools-dev
 sudo aptitude install inotify-tools
 sudo aptitude install qt5keychain-dev

After that, I could run make && sudo make install

However, when I now try to run nextcloud, I get the following error:

nextcloud: error while loading shared libraries: libnextcloudsync.so.0: cannot open shared object file: No such file or directory

When I do a find for it, it returns:

~/dev/client_theming/build-linux$ find -name libnextcloudsync.so.0
./src/libsync/libnextcloudsync.so.0

Any help would be appreciated.

jcbrand commented 7 years ago

I decided to remove the linux-build dir and start again.

However, now I get -- Could NOT find INOTIFY (missing: INOTIFY_LIBRARY_DIR), even though I have inotify-tools and libinotifytools0-dev installed.

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 .deb builds for Ubuntu?

jesusangelm commented 7 years ago

same problem here on Xubuntu 16.04 LTS 64bits

when try to run nextcloud i get:

nextcloud: error while loading shared libraries: libnextcloudsync.so.0: cannot open shared object file: No such file or directory

furai commented 7 years ago

Hey, I'm getting as well error about missing libnextcloudsync.so.0. File exists but seems not be linked properly.

rafaelrpinto commented 7 years ago

According to this we just need to fix the LD_LIBRARY_PATH environment variable.

sudo nano /etc/environment

Add the following for ubuntu 64: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/x86_64-linux-gnu

Or this one for ubuntu 32: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/i386-linux-gnu

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.

bpb21 commented 7 years ago

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. Interestingly, I've had zero problems converting to and setting up the Nextcloud servers at home and work. So I'm with the project/movement, but cross-compiling for the desktop client is a nightmare!

-- Could NOT find INOTIFY (missing: INOTIFY_LIBRARY_DIR) -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- Found SQLite3: /usr/lib/x86_64-linux-gnu/libsqlite3.so (Required is at least version "3.8.0") CMake Warning (dev) at cmake/modules/CheckPrototypeDefinition.cmake:43 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

Quoted variables like "HAVE_ICONV_CONST" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): cmake/modules/FindIconv.cmake:55 (check_prototype_definition) csync/CMakeLists.txt:22 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.

-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)

CMake Warning at shell_integration/CMakeLists.txt:11 (find_package): By not providing "FindKF5.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "KF5", but CMake did not find one.

Could not find a package configuration file provided by "KF5" (requested version 5.16) with any of the following names:

KF5Config.cmake
kf5-config.cmake

Add the installation prefix of "KF5" to CMAKE_PREFIX_PATH or set "KF5_DIR" to a directory containing one of the above files. If "KF5" provides a separate development package or SDK, be sure it has been installed.

Dolphin plugin disabled: KDE Frameworks 5.16 not found

Amourspirit commented 7 years ago

bpb21 any solution for this yet?

pasbec commented 7 years ago

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 checkinstall. So for the sake of completion I did:

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 /usr/share/ECM):

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 it seems that the default installation prefix /usr/local is not good for ubuntu 16.04. Furthermore the library-directory for sqlite3 was always wrong for me, too. Even if I could not find the exact reason for all this, it can be overwritten directly with parameters for cmake:

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 LD_LIBRARY_PATH at all.

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 (still inside the build-directory):

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 make install, I have created a debian package for the client instead. This can be done (still inside the build-directory) by something like:

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 dpkg

sudo dpkg -i "${ncc_name}_${ncc_version}-${ncc_release}_${ncc_arch}.deb"

Result:

-> Content / Output of `dpkg -c` (click to expand) ``` text ./ ./usr/ ./usr/lib/ ./usr/lib/x86_64-linux-gnu/ ./usr/lib/x86_64-linux-gnu/libnextclouddolphinpluginhelper.so ./usr/lib/x86_64-linux-gnu/nextcloud/ ./usr/lib/x86_64-linux-gnu/nextcloud/libocsync.so.2.2.4 ./usr/lib/x86_64-linux-gnu/qt5/ ./usr/lib/x86_64-linux-gnu/qt5/plugins/ ./usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/ ./usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/overlayicon/ ./usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/overlayicon/nextclouddolphinoverlayplugin.so ./usr/lib/x86_64-linux-gnu/qt5/plugins/nextclouddolphinactionplugin.so ./usr/lib/x86_64-linux-gnu/libnextcloudsync.so.2.2.4 ./usr/include/ ./usr/include/nextcloudsync/ ./usr/include/nextcloudsync/mirall/ ./usr/include/nextcloudsync/mirall/progressdispatcher.h ./usr/include/nextcloudsync/mirall/configfile.h ./usr/include/nextcloudsync/mirall/syncresult.h ./usr/include/nextcloudsync/mirall/networkjobs.h ./usr/include/nextcloudsync/mirall/syncfileitem.h ./usr/include/nextcloudsync/mirall/syncengine.h ./usr/include/nextcloudsync/mirall/syncjournaldb.h ./usr/include/nextcloudsync/mirall/account.h ./usr/include/nextcloudsync/creds/ ./usr/include/nextcloudsync/creds/abstractcredentials.h ./usr/include/nextcloudsync/creds/httpcredentials.h ./usr/bin/ ./usr/bin/nextcloudcmd ./usr/bin/nextcloud ./usr/share/ ./usr/share/nautilus-python/ ./usr/share/nautilus-python/extensions/ ./usr/share/nautilus-python/extensions/syncstate.py ./usr/share/kservices5/ ./usr/share/kservices5/nextclouddolphinactionplugin.desktop ./usr/share/doc/ ./usr/share/doc/nextcloud-client/ ./usr/share/doc/nextcloud-client/doc/ ./usr/share/doc/nextcloud-client/doc/Makefile ./usr/share/doc/nextcloud-client/doc/CMakeFiles/ ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-man.dir/ ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-man.dir/progress.make ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-man.dir/build.make ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-man.dir/DependInfo.cmake ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-man.dir/cmake_clean.cmake ./usr/share/doc/nextcloud-client/doc/CMakeFiles/progress.marks ./usr/share/doc/nextcloud-client/doc/CMakeFiles/CMakeDirectoryInformation.cmake ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-latex.dir/ ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-latex.dir/progress.make ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-latex.dir/build.make ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-latex.dir/DependInfo.cmake ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-latex.dir/cmake_clean.cmake ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-chm-sphinx.dir/ ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-chm-sphinx.dir/progress.make ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-chm-sphinx.dir/build.make ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-chm-sphinx.dir/DependInfo.cmake ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-chm-sphinx.dir/cmake_clean.cmake ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-chm.dir/ ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-chm.dir/progress.make ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-chm.dir/build.make ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-chm.dir/DependInfo.cmake ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-chm.dir/cmake_clean.cmake ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-html-org.dir/ ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-html-org.dir/progress.make ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-html-org.dir/build.make ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-html-org.dir/DependInfo.cmake ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-html-org.dir/cmake_clean.cmake ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc.dir/ ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc.dir/progress.make ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc.dir/build.make ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc.dir/DependInfo.cmake ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc.dir/cmake_clean.cmake ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-pdf.dir/ ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-pdf.dir/progress.make ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-pdf.dir/build.make ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-pdf.dir/DependInfo.cmake ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-pdf.dir/cmake_clean.cmake ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-html-com.dir/ ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-html-com.dir/progress.make ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-html-com.dir/build.make ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-html-com.dir/DependInfo.cmake ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-html-com.dir/cmake_clean.cmake ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-html.dir/ ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-html.dir/progress.make ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-html.dir/build.make ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-html.dir/DependInfo.cmake ./usr/share/doc/nextcloud-client/doc/CMakeFiles/doc-html.dir/cmake_clean.cmake ./usr/share/doc/nextcloud-client/doc/dev/ ./usr/share/doc/nextcloud-client/doc/dev/Makefile ./usr/share/doc/nextcloud-client/doc/dev/CMakeFiles/ ./usr/share/doc/nextcloud-client/doc/dev/CMakeFiles/progress.marks ./usr/share/doc/nextcloud-client/doc/dev/CMakeFiles/CMakeDirectoryInformation.cmake ./usr/share/doc/nextcloud-client/doc/dev/cmake_install.cmake ./usr/share/doc/nextcloud-client/doc/conf.py ./usr/share/doc/nextcloud-client/doc/cmake_install.cmake ./usr/share/icons/ ./usr/share/icons/hicolor/ ./usr/share/icons/hicolor/32x32/ ./usr/share/icons/hicolor/32x32/apps/ ./usr/share/icons/hicolor/32x32/apps/Nextcloud_sync.png ./usr/share/icons/hicolor/32x32/apps/Nextcloud_warn_shared.png ./usr/share/icons/hicolor/32x32/apps/Nextcloud_error.png ./usr/share/icons/hicolor/32x32/apps/Nextcloud_sync_shared.png ./usr/share/icons/hicolor/32x32/apps/Nextcloud_error_shared.png ./usr/share/icons/hicolor/32x32/apps/Nextcloud_ok.png ./usr/share/icons/hicolor/32x32/apps/Nextcloud_ok_shared.png ./usr/share/icons/hicolor/32x32/apps/Nextcloud_warn.png ./usr/share/icons/hicolor/32x32/apps/Nextcloud.png ./usr/share/icons/hicolor/256x256/ ./usr/share/icons/hicolor/256x256/apps/ ./usr/share/icons/hicolor/256x256/apps/Nextcloud_sync.png ./usr/share/icons/hicolor/256x256/apps/Nextcloud_warn_shared.png ./usr/share/icons/hicolor/256x256/apps/Nextcloud_error.png ./usr/share/icons/hicolor/256x256/apps/Nextcloud_sync_shared.png ./usr/share/icons/hicolor/256x256/apps/Nextcloud_error_shared.png ./usr/share/icons/hicolor/256x256/apps/Nextcloud_ok.png ./usr/share/icons/hicolor/256x256/apps/Nextcloud_ok_shared.png ./usr/share/icons/hicolor/256x256/apps/Nextcloud_warn.png ./usr/share/icons/hicolor/256x256/apps/Nextcloud.png ./usr/share/icons/hicolor/512x512/ ./usr/share/icons/hicolor/512x512/apps/ ./usr/share/icons/hicolor/512x512/apps/Nextcloud.png ./usr/share/icons/hicolor/64x64/ ./usr/share/icons/hicolor/64x64/apps/ ./usr/share/icons/hicolor/64x64/apps/Nextcloud_sync.png ./usr/share/icons/hicolor/64x64/apps/Nextcloud_warn_shared.png ./usr/share/icons/hicolor/64x64/apps/Nextcloud_error.png ./usr/share/icons/hicolor/64x64/apps/Nextcloud_sync_shared.png ./usr/share/icons/hicolor/64x64/apps/Nextcloud_error_shared.png ./usr/share/icons/hicolor/64x64/apps/Nextcloud_ok.png ./usr/share/icons/hicolor/64x64/apps/Nextcloud_ok_shared.png ./usr/share/icons/hicolor/64x64/apps/Nextcloud_warn.png ./usr/share/icons/hicolor/64x64/apps/Nextcloud.png ./usr/share/icons/hicolor/22x22/ ./usr/share/icons/hicolor/22x22/apps/ ./usr/share/icons/hicolor/22x22/apps/Nextcloud.png ./usr/share/icons/hicolor/72x72/ ./usr/share/icons/hicolor/72x72/apps/ ./usr/share/icons/hicolor/72x72/apps/Nextcloud_sync.png ./usr/share/icons/hicolor/72x72/apps/Nextcloud_warn_shared.png ./usr/share/icons/hicolor/72x72/apps/Nextcloud_error.png ./usr/share/icons/hicolor/72x72/apps/Nextcloud_sync_shared.png ./usr/share/icons/hicolor/72x72/apps/Nextcloud_error_shared.png ./usr/share/icons/hicolor/72x72/apps/Nextcloud_ok.png ./usr/share/icons/hicolor/72x72/apps/Nextcloud_ok_shared.png ./usr/share/icons/hicolor/72x72/apps/Nextcloud_warn.png ./usr/share/icons/hicolor/48x48/ ./usr/share/icons/hicolor/48x48/apps/ ./usr/share/icons/hicolor/48x48/apps/Nextcloud_sync.png ./usr/share/icons/hicolor/48x48/apps/Nextcloud_warn_shared.png ./usr/share/icons/hicolor/48x48/apps/Nextcloud_error.png ./usr/share/icons/hicolor/48x48/apps/Nextcloud_sync_shared.png ./usr/share/icons/hicolor/48x48/apps/Nextcloud_error_shared.png ./usr/share/icons/hicolor/48x48/apps/Nextcloud_ok.png ./usr/share/icons/hicolor/48x48/apps/Nextcloud_ok_shared.png ./usr/share/icons/hicolor/48x48/apps/Nextcloud_warn.png ./usr/share/icons/hicolor/48x48/apps/Nextcloud.png ./usr/share/icons/hicolor/16x16/ ./usr/share/icons/hicolor/16x16/apps/ ./usr/share/icons/hicolor/16x16/apps/Nextcloud_sync.png ./usr/share/icons/hicolor/16x16/apps/Nextcloud_warn_shared.png ./usr/share/icons/hicolor/16x16/apps/Nextcloud_error.png ./usr/share/icons/hicolor/16x16/apps/Nextcloud_sync_shared.png ./usr/share/icons/hicolor/16x16/apps/Nextcloud_error_shared.png ./usr/share/icons/hicolor/16x16/apps/Nextcloud_ok.png ./usr/share/icons/hicolor/16x16/apps/Nextcloud_ok_shared.png ./usr/share/icons/hicolor/16x16/apps/Nextcloud_warn.png ./usr/share/icons/hicolor/16x16/apps/Nextcloud.png ./usr/share/icons/hicolor/128x128/ ./usr/share/icons/hicolor/128x128/apps/ ./usr/share/icons/hicolor/128x128/apps/Nextcloud_sync.png ./usr/share/icons/hicolor/128x128/apps/Nextcloud_warn_shared.png ./usr/share/icons/hicolor/128x128/apps/Nextcloud_error.png ./usr/share/icons/hicolor/128x128/apps/Nextcloud_sync_shared.png ./usr/share/icons/hicolor/128x128/apps/Nextcloud_error_shared.png ./usr/share/icons/hicolor/128x128/apps/Nextcloud_ok.png ./usr/share/icons/hicolor/128x128/apps/Nextcloud_ok_shared.png ./usr/share/icons/hicolor/128x128/apps/Nextcloud_warn.png ./usr/share/icons/hicolor/128x128/apps/Nextcloud.png ./usr/share/applications/ ./usr/share/applications/nextcloud.desktop ./usr/share/nemo-python/ ./usr/share/nemo-python/extensions/ ./usr/share/nemo-python/extensions/syncstate.py ./usr/share/nextcloud/ ./usr/share/nextcloud/i18n/ ./usr/share/nextcloud/i18n/client_es.qm ./usr/share/nextcloud/i18n/client_de.qm ./usr/share/nextcloud/i18n/client_nl.qm ./usr/share/nextcloud/i18n/client_gl.qm ./usr/share/nextcloud/i18n/client_zh_TW.qm ./usr/share/nextcloud/i18n/client_fi.qm ./usr/share/nextcloud/i18n/client_pt_BR.qm ./usr/share/nextcloud/i18n/client_ja.qm ./usr/share/nextcloud/i18n/client_it.qm ./usr/share/nextcloud/i18n/client_sl.qm ./usr/share/nextcloud/i18n/client_ca.qm ./usr/share/nextcloud/i18n/client_sk.qm ./usr/share/nextcloud/i18n/client_sr.qm ./usr/share/nextcloud/i18n/client_sv.qm ./usr/share/nextcloud/i18n/client_zh_CN.qm ./usr/share/nextcloud/i18n/client_th.qm ./usr/share/nextcloud/i18n/client_en.qm ./usr/share/nextcloud/i18n/client_nb_NO.qm ./usr/share/nextcloud/i18n/client_cs.qm ./usr/share/nextcloud/i18n/client_uk.qm ./usr/share/nextcloud/i18n/client_TW.qm ./usr/share/nextcloud/i18n/client_es_AR.qm ./usr/share/nextcloud/i18n/client_et.qm ./usr/share/nextcloud/i18n/client_pl.qm ./usr/share/nextcloud/i18n/client_fa.qm ./usr/share/nextcloud/i18n/client_fr.qm ./usr/share/nextcloud/i18n/client_el.qm ./usr/share/nextcloud/i18n/client_ru.qm ./usr/share/nextcloud/i18n/client_tr.qm ./usr/share/nextcloud/i18n/client_eu.qm ./usr/share/nextcloud/i18n/client_pt.qm ./usr/share/nextcloud/i18n/client_hu.qm ./etc/ ./etc/Nextcloud/ ./etc/Nextcloud/sync-exclude.lst ```
-> Linked libraries: `ldd $(which nextcloud)` (click to expand) ``` text linux-vdso.so.1 => (0x00007ffe1f7d5000) libQt5WebKitWidgets.so.5 => /usr/lib/x86_64-linux-gnu/libQt5WebKitWidgets.so.5 (0x00007f0563be9000) libQt5DBus.so.5 => /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 (0x00007f0563b6b000) libQt5WebKit.so.5 => /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5 (0x00007f0561720000) libQt5Xml.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Xml.so.5 (0x00007f05616e4000) libnextcloudsync.so.0 => /usr/lib/x86_64-linux-gnu/libnextcloudsync.so.0 (0x00007f0561339000) libQt5Widgets.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x00007f0560cab000) libQt5Gui.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007f0560763000) libQt5Network.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Network.so.5 (0x00007f0560609000) libQt5Core.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007f0560132000) libocsync.so.0 => /usr/lib/x86_64-linux-gnu/nextcloud/libocsync.so.0 (0x00007f055ff11000) libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007f055facd000) libqt5keychain.so.0 => /usr/lib/x86_64-linux-gnu/libqt5keychain.so.0 (0x00007f055f8a9000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f055f527000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f055f21e000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f055f007000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f055ec3e000) libQt5PrintSupport.so.5 => /usr/lib/x86_64-linux-gnu/libQt5PrintSupport.so.5 (0x00007f055ebcb000) libQt5OpenGL.so.5 => /usr/lib/x86_64-linux-gnu/libQt5OpenGL.so.5 (0x00007f055eb70000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f055e953000) libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f055e707000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f055e4fe000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f055e2e4000) libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f055e0da000) libXcomposite.so.1 => /usr/lib/x86_64-linux-gnu/libXcomposite.so.1 (0x00007f055ded6000) libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007f055dc7d000) libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007f055da58000) libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f055d71d000) libxslt.so.1 => /usr/lib/x86_64-linux-gnu/libxslt.so.1 (0x00007f055d4e0000) libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2 (0x00007f055d126000) libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f055ce14000) libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f055cbc1000) libgstreamer-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0 (0x00007f055c897000) libgstapp-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstapp-1.0.so.0 (0x00007f055c688000) libgstbase-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0 (0x00007f055c424000) libgstpbutils-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstpbutils-1.0.so.0 (0x00007f055c1ef000) libgstvideo-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstvideo-1.0.so.0 (0x00007f055bf69000) libgstaudio-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstaudio-1.0.so.0 (0x00007f055bd0c000) libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f055ba37000) libicui18n.so.55 => /usr/lib/x86_64-linux-gnu/libicui18n.so.55 (0x00007f055b5d4000) libicuuc.so.55 => /usr/lib/x86_64-linux-gnu/libicuuc.so.55 (0x00007f055b240000) libQt5Quick.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 (0x00007f055ae70000) libQt5Qml.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 (0x00007f055aa43000) libQt5Sql.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Sql.so.5 (0x00007f055aa01000) libGL.so.1 => /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 (0x00007f055a790000) libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f055a531000) libproxy.so.1 => /usr/lib/x86_64-linux-gnu/libproxy.so.1 (0x00007f055a310000) libpcre16.so.3 => /usr/lib/x86_64-linux-gnu/libpcre16.so.3 (0x00007f055a0a9000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f0559ea5000) /lib64/ld-linux-x86-64.so.2 (0x0000557d20507000) libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f0559e1f000) libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f0559bfd000) liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f05599da000) libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f055976a000) libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f0559562000) libgmodule-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007f055935d000) libgsttag-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgsttag-1.0.so.0 (0x00007f0559122000) liborc-0.4.so.0 => /usr/lib/x86_64-linux-gnu/liborc-0.4.so.0 (0x00007f0558ea1000) libicudata.so.55 => /usr/lib/x86_64-linux-gnu/libicudata.so.55 (0x00007f05573ea000) libdouble-conversion.so.1 => /usr/lib/x86_64-linux-gnu/libdouble-conversion.so.1 (0x00007f05571d8000) libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f0556faf000) libxcb-dri3.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 (0x00007f0556dac000) libxcb-present.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-present.so.0 (0x00007f0556ba8000) libxcb-sync.so.1 => /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1 (0x00007f05569a1000) libxshmfence.so.1 => /usr/lib/x86_64-linux-gnu/libxshmfence.so.1 (0x00007f055679e000) libglapi.so.0 => /usr/lib/x86_64-linux-gnu/libglapi.so.0 (0x00007f055656f000) libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f055635d000) libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007f055615a000) libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f0555f53000) libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f0555d51000) libxcb-glx.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0 (0x00007f0555b38000) libxcb-dri2.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0 (0x00007f0555932000) libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007f055572c000) libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007f055551d000) libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f0555272000) libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f055504d000) libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f0554e2a000) libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f0554b49000) libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f0554945000) libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f055473e000) libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f055452a000) ```

I hope this is helpful.

Please correct me if there are any mistakes or necessary improvements.

Best, Pascal

rafaelrpinto commented 7 years ago

@pasbec

Your proposed cmake command fixed the problem on lubuntu 16.10.

Thanks!

enoch85 commented 7 years ago

Is this still an issue? Otherwise please close. Thanks!

LIyoai commented 7 years ago

Is this still an issue? Otherwise please close. Thanks!

yes on Debian Sid. Could NOT find INOTIFY (missing: INOTIFY_LIBRARY_DIR)

enoch85 commented 7 years ago

@LIyoai Have you tired the latest PPA? Debian is supported I think.

LIyoai commented 7 years ago

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. When I follow the instructions above and run cmake I get the error about inotify.

enoch85 commented 7 years ago

because it doesn't look to me like an official repo so I'm not using it.

It is the official repo for the Nextcloud client.

Check this out: https://github.com/nextcloud/client_theming#installing-on-debian

LIyoai commented 7 years ago

I see three Debian repos listed by Nextcloud.

https://nextcloud.com/install/#install-clients https://launchpad.net/~nextcloud-devs/+archive/ubuntu/client https://help.nextcloud.com/t/linux-packages-status/10216 http://repo.morph027.de/#nextcloud-server http://download.opensuse.org/repositories/home:/ivaradi//Debian_8.0/

How should a user know which one is maintained by Nextcloud?

But back on topic. How to solve Could NOT find INOTIFY (missing: INOTIFY_LIBRARY_DIR)

enoch85 commented 7 years ago

The repos that @ivaradi maintains is the official one and those which are from this repo.

@morph027 is also a member of Nextcloud and is one of the maintainers of the Nextcloud VM. So the listed ones are approved so to speak.

morph027 commented 7 years ago

Try to do my best ;)

LIyoai commented 7 years ago

Ok. Thanks.

enoch85 commented 7 years ago

Any status here? Could this be closed?