routerkeygen / routerkeygenPC

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

Vesrion 1.0.0 can't be build in Ubuntu Linux #20

Closed GeorgeGkas-zz closed 8 years ago

GeorgeGkas-zz commented 8 years ago

I downloaded the latest release of the program (v1.0.0) and I would like to run the ./build_linux.sh file. But then I get the following error in my terminal:

Build type set to 'Release'
-- Version: 1.0.0
CMake Warning (dev) at CMakeLists.txt:44 (PROJECT):
  Policy CMP0048 is not set: project() command manages VERSION variables.
  Run "cmake --help-policy CMP0048" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The following variable(s) would be set to empty:

    PROJECT_VERSION
    PROJECT_VERSION_MAJOR
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at /usr/share/cmake-3.0/Modules/FindQt4.cmake:1316 (message):
  Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x
Call Stack (most recent call first):
  CMakeLists.txt:69 (FIND_PACKAGE)

-- Configuring incomplete, errors occurred!
See also "/home/georgegk/Downloads/routerkeygenPC-1.0.0/linux/CMakeFiles/CMakeOutput.log".
Could not create Makefiles

What is the problem?

pmoust commented 8 years ago

QT 4 is missing from your system (as mentioned in the build log).

Try:

sudo apt-get install libqt4-dev libqt4-core libqt4-gui

And then build.

pmoust commented 8 years ago

I am not a routerkeygen core maintainer. You 'll have way more chances in getting a response if you write in english.

To answer your question; You can rely on MAC address to gather some manufacturer info instead of just checking ESSID. For most mainstream vendors the MAC address ranges are known.

ruiaraujo commented 8 years ago

@GeorgeGkas English only

ruiaraujo commented 8 years ago

@GeorgeGkas also if you're trying to build, you should grab the mast branch.