routerkeygen / routerkeygenPC

Qt Port for Linux, Mac OSX and Windows
GNU General Public License v3.0
288 stars 89 forks source link

libqt4-core/gui #37

Open DoctorD90 opened 7 years ago

DoctorD90 commented 7 years ago

Im from kali 2017.01 (based on strech debian more or less). During apt-stage for package installation, it cant locate libqt4-core and libqt4-gui. Instead, I installed libqtcore4 and libqtgui4. During installation of .deb file it gives this;

dpkg -i routerkeygen-Linux-x86_64.deb Selecting previously unselected package routerkeygen. (Reading database ... 332009 files and directories currently installed.) Preparing to unpack routerkeygen-Linux-x86_64.deb ... Unpacking routerkeygen (1.1.0) ... dpkg: dependency problems prevent configuration of routerkeygen: routerkeygen depends on libqt4-gui (>= 4.6); however: Package libqt4-gui is not installed.

dpkg: error processing package routerkeygen (--install): dependency problems - leaving unconfigured Processing triggers for gnome-menus (3.13.3-9) ... Processing triggers for desktop-file-utils (0.23-1) ... Processing triggers for mime-support (3.60) ... Errors were encountered while processing: routerkeygen

In any case, I can find out it in application menu. I dont open a new issue, because maybe this is correlated to new libqt package, but application automatically refresh networks, and I can stop it to copy (manually) the data. Only the keys hold on until I click on a new network.

DoctorD90 commented 7 years ago

I have noticed that INSTALL and README and commands in build_linux.sh are not al the same. Here I used these in the end and now all works (except auto refresh of networks, still unstoppable):

$ apt-get install cmake build-essential qt5-default libssl-dev qtscript5-dev libnm-gtk-dev qttools5-dev qttools5-dev-tools ... $ cc -v Using built-in specs. COLLECT_GCC=cc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 6.3.0-12' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 6.3.0 20170406 (Debian 6.3.0-12) $ cmake --version cmake version 3.7.2 CMake suite maintained and supported by Kitware (kitware.com/cmake). $ qmake -v QMake version 3.0 Using Qt version 5.7.1 in /usr/lib/x86_64-linux-gnu $ cmake -DCMAKE_BUILD_TYPE=Release -DQT_QMAKE_EXECUTABLE="$(which qmake)" ... $ make ... $ cpack -G DEB ...

And I get the bin file in bin folder, and deb package in main folder. I dont installed rpm and lintian because Im from debian, so I dont need it. I hope this would be helpfull in updating INSTALL, README and build_linux.sh file to sync information in them ;)