You are not logged in.
Have problem with building qgis from here using
makepkg -s
The output is
==> Making package: qgis 2.18.3-1 (Thu Feb 9 15:16:29 EET 2017) [12/113]
==> Checking runtime dependencies... [11/113]
==> Checking buildtime dependencies... [10/113]
==> Retrieving sources... [9/113]
-> Found qgis-2.18.3.tar.bz2 [8/113]
==> Validating source files with md5sums... [7/113]
qgis-2.18.3.tar.bz2 ... Passed [6/113]
==> Extracting sources... [5/113]
-> Extracting qgis-2.18.3.tar.bz2 with bsdtar [4/113]
==> Starting prepare()... [3/113]
==> Removing existing $pkgdir/ directory... [2/113]
==> Starting build()... [1/113]
-- QGIS version: 2.18.3 Las Palmas (21803) [0/113]
-- Could not find GRASS 6
-- Could not find GRASS 7
-- Found Proj: /usr/lib64/libproj.so
-- Found GEOS: /usr/lib/libgeos_c.so (3.5.0)
-- Found GDAL: /usr/lib/libgdal.so (2.1.1)
-- Found Expat: /lib64/libexpat.so
-- Found Spatialindex: /usr/lib64/libspatialindex.so
-- Found Qwt: /usr/lib64/libqwt.so (6.1.3)
-- Found Sqlite3: /usr/lib64/libsqlite3.so
-- Found PostgreSQL: /usr/lib/libpq.so
-- Found SpatiaLite: /usr/lib64/libspatialite.so
-- Qt WebKit support enabled
CMake Error at CMakeLists.txt:283 (MESSAGE):
Some Qt4 modules haven't been found!
Qt QTWEBKIT library not found.
-- Found Qt version: 4.8.7
-- Touch support disabled
-- Found QScintilla2: /usr/lib64/libqscintilla2.so (2.9.4)
CMake Warning at CMakeLists.txt:316 (FIND_PACKAGE):
By not providing "FindQJSON.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "QJSON", but
CMake did not find one.
Could not find a package configuration file provided by "QJSON" with any of
the following names:
QJSONConfig.cmake
qjson-config.cmake
Add the installation prefix of "QJSON" to CMAKE_PREFIX_PATH or set
"QJSON_DIR" to a directory containing one of the above files. If "QJSON"
provides a separate development package or SDK, be sure it has been
installed.
-- Found QCA: /usr/lib64/libqca.so (2.1.1)
-- Found QCA OpenSSL plugin
-- Pedantic compiler settings enabled
-- Found Python executable: /usr/bin/python2
-- Found Python version: 2.7.13
-- Found Python library: /usr/lib64/libpython2.7.so
-- Found PyQt4 version: 4.12
-- Found SIP version: 4.19
-- Found QScintilla2 PyQt module: 2.9.4
-- Found QwtPolar: /usr/lib64/libqwtpolar.so
-- Found GSL: -L/usr/lib -lgsl -lgslcblas -lm
-- Configuring incomplete, errors occurred!
See also "/home/deoxys/tmp/qgis/src/qgis-2.18.3/build/CMakeFiles/CMakeOutput.log".
See also "/home/deoxys/tmp/qgis/src/qgis-2.18.3/build/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().
Aborting...
----------------
Here is the error log:
Determining if the function openpty exists failed with the following output:
Change Dir: /home/deoxys/tmp/qgis/src/qgis-2.18.3/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_f55f4/fast"
/usr/bin/make -f CMakeFiles/cmTC_f55f4.dir/build.make CMakeFiles/cmTC_f55f4.dir/build
make[1]: Entering directory '/home/deoxys/tmp/qgis/src/qgis-2.18.3/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_f55f4.dir/CheckFunctionExists.c.o
/usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DCHECK_FUNCTION_EXISTS=openpty -o CMakeFiles/cmTC_f55f4.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.7/Modules/CheckFunctionExists.c
Linking C executable cmTC_f55f4
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f55f4.dir/link.txt --verbose=1
/usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DCHECK_FUNCTION_EXISTS=openpty -Wl,-O1,--sort-common,--as-needed,-z,relro CMakeFiles/cmTC_f55f4.dir/CheckFunctionExists.c.o -o cmTC_f55f4 -rdynamic
CMakeFiles/cmTC_f55f4.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text.startup+0xe): undefined reference to `openpty'
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_f55f4.dir/build.make:98: cmTC_f55f4] Error 1
make[1]: Leaving directory '/home/deoxys/tmp/qgis/src/qgis-2.18.3/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_f55f4/fast] Error 2
Determining if the Q_WS_WIN exist failed with the following output:
Change Dir: /home/deoxys/tmp/qgis/src/qgis-2.18.3/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_9bcdb/fast"
/usr/bin/make -f CMakeFiles/cmTC_9bcdb.dir/build.make CMakeFiles/cmTC_9bcdb.dir/build
make[1]: Entering directory '/home/deoxys/tmp/qgis/src/qgis-2.18.3/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_9bcdb.dir/CheckSymbolExists.cxx.o
/usr/bin/c++ -I/home/deoxys/tmp/qgis/src/qgis-2.18.3/build/CMakeFiles/CMakeTmp/util.h -I/usr/include/qt4 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DSPATIALITE_VERSION_GE_4_0_0 -DSPATIALITE_VERSION_G_4_1_1 -DSPATIALITE_HAS_INIT_EX -o CMakeFiles/cmTC_9bcdb.dir/CheckSymbolExists.cxx.o -c /home/deoxys/tmp/qgis/src/qgis-2.18.3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx
/home/deoxys/tmp/qgis/src/qgis-2.18.3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char**)’:
/home/deoxys/tmp/qgis/src/qgis-2.18.3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘Q_WS_WIN’ was not declared in this scope
return ((int*)(&Q_WS_WIN))[argc];
^~~~~~~~
make[1]: *** [CMakeFiles/cmTC_9bcdb.dir/build.make:66: CMakeFiles/cmTC_9bcdb.dir/CheckSymbolExists.cxx.o] Error 1
make[1]: Leaving directory '/home/deoxys/tmp/qgis/src/qgis-2.18.3/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_9bcdb/fast] Error 2
File /home/deoxys/tmp/qgis/src/qgis-2.18.3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:
/* */
#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: /home/deoxys/tmp/qgis/src/qgis-2.18.3/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_a2d73/fast"
/usr/bin/make -f CMakeFiles/cmTC_a2d73.dir/build.make CMakeFiles/cmTC_a2d73.dir/build
make[1]: Entering directory '/home/deoxys/tmp/qgis/src/qgis-2.18.3/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_a2d73.dir/CheckSymbolExists.cxx.o
/usr/bin/c++ -I/home/deoxys/tmp/qgis/src/qgis-2.18.3/build/CMakeFiles/CMakeTmp/util.h -I/usr/include/qt4 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DSPATIALITE_VERSION_GE_4_0_0 -DSPATIALITE_VERSION_G_4_1_1 -DSPATIALITE_HAS_INIT_EX -o CMakeFiles/cmTC_a2d73.dir/CheckSymbolExists.cxx.o -c /home/deoxys/tmp/qgis/src/qgis-2.18.3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx
/home/deoxys/tmp/qgis/src/qgis-2.18.3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char**)’:
/home/deoxys/tmp/qgis/src/qgis-2.18.3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘Q_WS_QWS’ was not declared in this scope
return ((int*)(&Q_WS_QWS))[argc];
^~~~~~~~
make[1]: *** [CMakeFiles/cmTC_a2d73.dir/build.make:66: CMakeFiles/cmTC_a2d73.dir/CheckSymbolExists.cxx.o] Error 1
make[1]: Leaving directory '/home/deoxys/tmp/qgis/src/qgis-2.18.3/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_a2d73/fast] Error 2
File /home/deoxys/tmp/qgis/src/qgis-2.18.3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:
/* */
#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: /home/deoxys/tmp/qgis/src/qgis-2.18.3/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_be001/fast"
/usr/bin/make -f CMakeFiles/cmTC_be001.dir/build.make CMakeFiles/cmTC_be001.dir/build
make[1]: Entering directory '/home/deoxys/tmp/qgis/src/qgis-2.18.3/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_be001.dir/CheckSymbolExists.cxx.o
/usr/bin/c++ -I/home/deoxys/tmp/qgis/src/qgis-2.18.3/build/CMakeFiles/CMakeTmp/util.h -I/usr/include/qt4 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DSPATIALITE_VERSION_GE_4_0_0 -DSPATIALITE_VERSION_G_4_1_1 -DSPATIALITE_HAS_INIT_EX -o CMakeFiles/cmTC_be001.dir/CheckSymbolExists.cxx.o -c /home/deoxys/tmp/qgis/src/qgis-2.18.3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx
/home/deoxys/tmp/qgis/src/qgis-2.18.3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char**)’:
/home/deoxys/tmp/qgis/src/qgis-2.18.3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘Q_WS_MAC’ was not declared in this scope
return ((int*)(&Q_WS_MAC))[argc];
^~~~~~~~
make[1]: *** [CMakeFiles/cmTC_be001.dir/build.make:66: CMakeFiles/cmTC_be001.dir/CheckSymbolExists.cxx.o] Error 1
make[1]: Leaving directory '/home/deoxys/tmp/qgis/src/qgis-2.18.3/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_be001/fast] Error 2
File /home/deoxys/tmp/qgis/src/qgis-2.18.3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:
/* */
#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
}
It tells me qtwebkit libraries not found. Why then they are not in the dependencies list? Should I install it to resolve this issue?
Last edited by deoxys (2017-02-10 14:01:21)
Offline
First step: read the comments on the AUR page.
Offline