Hello community!!!
I would like to know what are the minimum and necessary dependence to install Choqok on Salix OS Mate x86_64.
Thanks in advance!!!
[Solved] How to install Choqok on Salix OS Mate x86_64?
- icaroperseo
- Donor
- Posts: 67
- Joined: 19. Nov 2014, 01:12
- Contact:
[Solved] How to install Choqok on Salix OS Mate x86_64?
Last edited by icaroperseo on 23. Jan 2015, 13:53, edited 1 time in total.
Re: How to install Choqok on Salix OS Mate x86_64
Did you try to install it and something went wrong?
- icaroperseo
- Donor
- Posts: 67
- Joined: 19. Nov 2014, 01:12
- Contact:
Re: How to install Choqok on Salix OS Mate x86_64
Thanks gapan!gapan wrote:Did you try to install it and something went wrong?
Mmmm... Yes, firts I installed: kde-baseapps, kde-l10n-es, kde-runtime (I have my doubts about this last dependency), then I tried install choqok and I got this error:
Code: Select all
Determining if the Q_WS_WIN exist failed with the following output:
Change Dir: /usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec2079831484/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec2079831484.dir/build.make CMakeFiles/cmTryCompileExec2079831484.dir/build
gmake[1]: se ingresa al directorio `/usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec2079831484.dir/CheckSymbolExists.c.o
/usr/bin/cc -O2 -fPIC -I/usr/lib64/qt/include -o CMakeFiles/cmTryCompileExec2079831484.dir/CheckSymbolExists.c.o -c /usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: En la función ‘main’:
/usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘Q_WS_WIN’ no se declaró aquí (primer uso en esta función)
return ((int*)(&Q_WS_WIN))[argc];
^
/usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: nota: cada identificador sin declarar se reporta sólo una vez para cada función en el que aparece
gmake[1]: se sale del directorio `/usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp'
gmake[1]: *** [CMakeFiles/cmTryCompileExec2079831484.dir/CheckSymbolExists.c.o] Error 1
gmake: *** [cmTryCompileExec2079831484/fast] Error 2
File /usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <QtCore/qglobal.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef Q_WS_WIN
return ((int*)(&Q_WS_WIN))[argc];
#else
(void)argc;
return 0;
#endif
}
Determining if the Q_WS_QWS exist failed with the following output:
Change Dir: /usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec4129086041/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec4129086041.dir/build.make CMakeFiles/cmTryCompileExec4129086041.dir/build
gmake[1]: se ingresa al directorio `/usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec4129086041.dir/CheckSymbolExists.c.o
/usr/bin/cc -O2 -fPIC -I/usr/lib64/qt/include -o CMakeFiles/cmTryCompileExec4129086041.dir/CheckSymbolExists.c.o -c /usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: En la función ‘main’:
/usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘Q_WS_QWS’ no se declaró aquí (primer uso en esta función)
return ((int*)(&Q_WS_QWS))[argc];
^
/usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: nota: cada identificador sin declarar se reporta sólo una vez para cada función en el que aparece
gmake[1]: se sale del directorio `/usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp'
gmake[1]: *** [CMakeFiles/cmTryCompileExec4129086041.dir/CheckSymbolExists.c.o] Error 1
gmake: *** [cmTryCompileExec4129086041/fast] Error 2
File /usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <QtCore/qglobal.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef Q_WS_QWS
return ((int*)(&Q_WS_QWS))[argc];
#else
(void)argc;
return 0;
#endif
}
Determining if the Q_WS_MAC exist failed with the following output:
Change Dir: /usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec3059902273/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec3059902273.dir/build.make CMakeFiles/cmTryCompileExec3059902273.dir/build
gmake[1]: se ingresa al directorio `/usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec3059902273.dir/CheckSymbolExists.c.o
/usr/bin/cc -O2 -fPIC -I/usr/lib64/qt/include -o CMakeFiles/cmTryCompileExec3059902273.dir/CheckSymbolExists.c.o -c /usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: En la función ‘main’:
/usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘Q_WS_MAC’ no se declaró aquí (primer uso en esta función)
return ((int*)(&Q_WS_MAC))[argc];
^
/usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: nota: cada identificador sin declarar se reporta sólo una vez para cada función en el que aparece
gmake[1]: se sale del directorio `/usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp'
gmake[1]: *** [CMakeFiles/cmTryCompileExec3059902273.dir/CheckSymbolExists.c.o] Error 1
gmake: *** [cmTryCompileExec3059902273/fast] Error 2
File /usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <QtCore/qglobal.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef Q_WS_MAC
return ((int*)(&Q_WS_MAC))[argc];
#else
(void)argc;
return 0;
#endif
}
Determining if the pthread_create exist failed with the following output:
Change Dir: /usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec3171767019/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec3171767019.dir/build.make CMakeFiles/cmTryCompileExec3171767019.dir/build
gmake[1]: se ingresa al directorio `/usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec3171767019.dir/CheckSymbolExists.c.o
/usr/bin/cc -O2 -fPIC -o CMakeFiles/cmTryCompileExec3171767019.dir/CheckSymbolExists.c.o -c /usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTryCompileExec3171767019
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3171767019.dir/link.txt --verbose=1
/usr/bin/cc -O2 -fPIC CMakeFiles/cmTryCompileExec3171767019.dir/CheckSymbolExists.c.o -o cmTryCompileExec3171767019 -rdynamic
CMakeFiles/cmTryCompileExec3171767019.dir/CheckSymbolExists.c.o: En la función `main':
CheckSymbolExists.c:(.text.startup+0x3): referencia a `pthread_create' sin definir
collect2: error: ld devolvió el estado de salida 1
gmake[1]: se sale del directorio `/usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp'
gmake[1]: *** [cmTryCompileExec3171767019] Error 1
gmake: *** [cmTryCompileExec3171767019/fast] Error 2
File /usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef pthread_create
return ((int*)(&pthread_create))[argc];
#else
(void)argc;
return 0;
#endif
}
Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec3245916922/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec3245916922.dir/build.make CMakeFiles/cmTryCompileExec3245916922.dir/build
gmake[1]: se ingresa al directorio `/usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec3245916922.dir/CheckFunctionExists.c.o
/usr/bin/cc -O2 -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTryCompileExec3245916922.dir/CheckFunctionExists.c.o -c /usr/share/cmake-2.8/Modules/CheckFunctionExists.c
Linking C executable cmTryCompileExec3245916922
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3245916922.dir/link.txt --verbose=1
/usr/bin/cc -O2 -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTryCompileExec3245916922.dir/CheckFunctionExists.c.o -o cmTryCompileExec3245916922 -rdynamic -lpthreads
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: no se puede encontrar -lpthreads
collect2: error: ld devolvió el estado de salida 1
gmake[1]: se sale del directorio `/usr/src/slapt-src/network/choqok/choqok-1.4/build/CMakeFiles/CMakeTmp'
gmake[1]: *** [cmTryCompileExec3245916922] Error 1
gmake: *** [cmTryCompileExec3245916922/fast] Error 2
Re: How to install Choqok on Salix OS Mate x86_64
OK, I just tried installing it on a fresh Xfce Basic installation and before installing choqok I had to
After that choqok built and installed fine. I suggest you remove the extra kde packages because they could require ever more dependencies for any optional kde features.
I'm going to alter the dependency database to include those packages for choqok.
Code: Select all
sudo spi -i cmake kdelibs automoc4 qjson linuxdoc-tools
I'm going to alter the dependency database to include those packages for choqok.
- icaroperseo
- Donor
- Posts: 67
- Joined: 19. Nov 2014, 01:12
- Contact:
Re: How to install Choqok on Salix OS Mate x86_64
Thanks again gapan, works like a charm!!!gapan wrote:OK, I just tried installing it on a fresh Xfce Basic installation and before installing choqok I had toAfter that choqok built and installed fine. I suggest you remove the extra kde packages because they could require ever more dependencies for any optional kde features.Code: Select all
sudo spi -i cmake kdelibs automoc4 qjson linuxdoc-tools
I'm going to alter the dependency database to include those packages for choqok.
Just an observation...
Before following the procedure previously described, I did a test on a virtual machine (Salix OS Mate x86_64) rather than done directly on my work computer and I discovered that Choqok closes unexpectedly trying to create the token from Twitter (that is when trying to launch the web browser to enter the username and password). I execute the application from the terminal to obtain a description of the error same as I include below:
Code: Select all
Choqok 1.4
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QSystemTrayIcon::setVisible: No Icon set
QSystemTrayIcon::setVisible: No Icon set
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
kbuildsycoca4 running...
kbuildsycoca4(1244) KBuildSycoca::checkTimestamps: checking file timestamps
kbuildsycoca4(1244) KBuildSycoca::checkTimestamps: timestamps check ok
kbuildsycoca4(1244) kdemain: Emitting notifyDatabaseChanged ()
choqok(1232): Couldn't start kglobalaccel from kglobalaccel.desktop: "Could not find service 'kglobalaccel.desktop'."
perseo[~]$ choqok(1232): Couldn't start knotify from knotify4.desktop: "Could not find service 'knotify4.desktop'."
choqok(1232)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "The name org.kde.knotify was not provided by any .service files"
choqok(1232)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 1 offers for "choqok_imstatus"
choqok(1232)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "choqok_quickfilter"
choqok(1232)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "choqok_untiny"
choqok(1232)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "choqok_imagepreview"
choqok(1232)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "choqok_filter"
choqok(1232)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 1 offers for "choqok_nowlistening"
choqok(1232)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "choqok_videopreview"
choqok(1232)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 1 offers for "choqok_betternotify"
choqok(1232)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "choqok_searchaction"
choqok(1232): No language dictionaries for the language : "es"
choqok(1232)/kdeui (Wallet): Couldn't start kwalletd: "Could not find service 'kwalletd.desktop'."
choqok(1232)/kdeui (Wallet): Couldn't start kwalletd: "Could not find service 'kwalletd.desktop'."
choqok(1232)/kdeui (Wallet): Couldn't start kwalletd: "Could not find service 'kwalletd.desktop'."
choqok(1232)/kdeui (Wallet): Couldn't start kwalletd: "Could not find service 'kwalletd.desktop'."
choqok(1232)/kdeui (Wallet): Couldn't start kwalletd: "Could not find service 'kwalletd.desktop'."
choqok(1232)/kdeui (Wallet): Couldn't start kwalletd: "Could not find service 'kwalletd.desktop'."
choqok(1232)/kdeui (Wallet): Couldn't start kwalletd: "Could not find service 'kwalletd.desktop'."
choqok(1232)/kdeui (Wallet): Couldn't start kwalletd: "Could not find service 'kwalletd.desktop'."
choqok(1232)/kdeui (Wallet): Couldn't start kwalletd: "Could not find service 'kwalletd.desktop'."
choqok(1232)/kdeui (Wallet): Couldn't start kwalletd: "Could not find service 'kwalletd.desktop'."
choqok(1232)/kdeui (Wallet): Couldn't start kwalletd: "Could not find service 'kwalletd.desktop'."
choqok(1232)/kdeui (Wallet): Couldn't start kwalletd: "Could not find service 'kwalletd.desktop'."
choqok(1232)/kdeui (Wallet): Couldn't start kwalletd: "Could not find service 'kwalletd.desktop'."
choqok(1232)/kdeui (Wallet): Couldn't start kwalletd: "Could not find service 'kwalletd.desktop'."
choqok(1232)/kdeui (Wallet): Couldn't start kwalletd: "Could not find service 'kwalletd.desktop'."
choqok(1232)/kdeui (Wallet): Couldn't start kwalletd: "Could not find service 'kwalletd.desktop'."
choqok(1232)/kdeui (Wallet): Couldn't start kwalletd: "Could not find service 'kwalletd.desktop'."
choqok(1232)/kdeui (Wallet): Couldn't start kwalletd: "Could not find service 'kwalletd.desktop'."
HMAC(SHA1) is not supported!
KCrash: Application 'choqok' crashing...
KCrash: Attempting to start from kdeinit
sock_file=/home/user/.kde/socket-darkstar/kdeinit4__0
Could not find '' executable.
KCrash: Attempting to start directly
KCrash failed to exec(), errno = 2
With this in mind, I installed Choqok in my work computer which it has applied this patch and the application worked correctly. I'm not an expert so I can not say for sure if this has been due to the above. I expound this situation with the intention to help the project and you determine what is best for the same.
Thank you...
Regards