----- Original Message ----- > From: "Hima Jayaprakash" <[email protected]> > To: "Martin Preisler" <[email protected]> > Cc: [email protected] > Sent: Friday, March 4, 2016 7:09:38 AM > Subject: Re: [Open-scap] scap-workbench > > Thanks All. > > I tried installing from scap-workbench-0.8.11.tar.bz2. Unfortunately am > stuck with the errors while making: > > [ 1%] Built target docs > [ 3%] Building CXX object > CMakeFiles/scap-workbench.dir/src/TemporaryDir.cpp.o > In file included from /usr/include/qt4/QtCore/QString:1:0, > from > /root/workbench/scap-workbench-0.8.11/include/TemporaryDir.h:26, > from > /root/workbench/scap-workbench-0.8.11/src/TemporaryDir.cpp:22: > /usr/include/qt4/QtCore/qstring.h:45:26: fatal error: QtCore/qchar.h: No > such file or directory > #include <QtCore/qchar.h> > ^ > compilation terminated. > make[2]: *** [CMakeFiles/scap-workbench.dir/src/TemporaryDir.cpp.o] Error 1 > make[1]: *** [CMakeFiles/scap-workbench.dir/all] Error 2 > make: *** [all] Error 2
If you really want the 0.8 branch try 0.8.12, it has some fixes. I recommend the 1.1.x branch though. These are the commands to build openscap 1.2.x and scap-workbench 1.1.x. I dug these from a VM of Ubuntu 14.04 LTS, I know for a fact that these work on a fresh Ubuntu 14.04 LTS desktop for amd64. dependencies: # apt-get install build-essential cmake libqt4-dev git libxslt-dev # apt-get install libcurl4-openssl-dev libz-dev autoconf libtool # apt-get install libpcre3-dev asciidoctor build + installations: $ mkdir d $ cd d $ git clone https://github.com/OpenSCAP/openscap $ cd openscap/ $ git checkout maint-1.2 $ ./autogen.sh $ ./configure --prefix /usr --disable-python --disable-util-oscap-docker $ make -j 4 $ sudo make install $ cd .. $ git clone https://github.com/OpenSCAP/scap-workbench $ git checkout v1-1 $ cd scap-workbench/ $ mkdir build $ cd build/ $ cmake ../ $ make -j 4 $ sudo make install $ scap-workbench Hope this helps! -- Martin Preisler Identity Management and Platform Security | Red Hat, Inc. _______________________________________________ Open-scap-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/open-scap-list
