Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compilation failed again #6

Closed
lmanchon opened this issue Mar 13, 2017 · 15 comments
Closed

compilation failed again #6

lmanchon opened this issue Mar 13, 2017 · 15 comments

Comments

@lmanchon
Copy link

git clone --recursive https://github.com/imgag/ngs-bits.git
cd ngs-bits/
make build_3rdparty
[ 99%] Building CXX object src/toolkit/CMakeFiles/bamtools_cmd.dir/bamtools_stats.cpp.o
[100%] Building CXX object src/toolkit/CMakeFiles/bamtools_cmd.dir/bamtools.cpp.o
Linking CXX executable ../../../bin/bamtools
make[3]: Leaving directory /save/ngs-bits/bamtools/build' [100%] Built target bamtools_cmd make[2]: Leaving directory /save/ngs-bits/bamtools/build'
make[1]: Leaving directory `/save/ngs-bits/bamtools/build'

make build_tools_release
rm -rf build-tools-Linux-Release;
mkdir -p build-tools-Linux-Release;
cd build-tools-Linux-Release;
qmake ../src/tools.pro "CONFIG-=debug" "CONFIG+=release" "DEFINES+=QT_NO_DEBUG_OUTPUT";
make;
qmake[1]: Entering directory /save/ngs-bits/build-tools-Linux-Release' qmake[1]: Nothing to be done for ../src/tools.pro'.
qmake[1]: Leaving directory /save/ngs-bits/build-tools-Linux-Release' make[1]: Entering directory /save/ngs-bits/build-tools-Linux-Release'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory `/save/ngs-bits/build-tools-Linux-Release'
make: *** [build_tools_release] Error 2

@imgag
Copy link
Collaborator

imgag commented Mar 13, 2017

Did you make sure that the qmake executable in the path is the one from the Qt5 package?

@lmanchon
Copy link
Author

qmake -v
GNU Make 3.82
Built for x86_64-unknown-linux-gnu (distributed make
load balancing by Grid Engine
)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

@imgag
Copy link
Collaborator

imgag commented Mar 13, 2017

can you please send me the output of type -a qmake please

@lmanchon
Copy link
Author

type -a qmake
qmake is /SGE/ogs/bin/linux-x64/qmake

@imgag
Copy link
Collaborator

imgag commented Mar 13, 2017

This is not qmake of the Qt5 package.
Please install Qt5 it not already installed and make sure the qmake of Qt5 is in the path before this one.

The output should look like that:

qmake --version
QMake version 3.0
Using Qt version 5.2.1 in /usr/lib/x86_64-linux-gnu

@lmanchon
Copy link
Author

sorry i'm not superadministrator on the cluster to install Qt5.

@imgag
Copy link
Collaborator

imgag commented Mar 13, 2017

If it's installed, you only need to modify your PATH variable.
If it's not installed, you could still install it into your home.

@lmanchon
Copy link
Author

ok, well
i'm going to install it in my local directory.
thank you --

why not to make a version compatible with standard qmake and not Qt5 ?

@marc-sturm
Copy link
Member

marc-sturm commented Mar 13, 2017 via email

@lmanchon
Copy link
Author

Qt5 is not free.
GNU Make is free.

lsb_release -a
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 6.5 (Final)
Release: 6.5
Codename: Final

@marc-sturm
Copy link
Member

marc-sturm commented Mar 13, 2017 via email

@lmanchon
Copy link
Author

ok, it seems to be not easy to find the Qt5 source to compil in my home directory.

@imgag
Copy link
Collaborator

imgag commented Mar 13, 2017

Installing Qt5 from sources is not easy and takes quite a while.

But perhaps you can install one of the binaries from here:
http://download.qt.io/archive/qt/5.4/5.4.2/

The folder also contains the source packages.

@lmanchon
Copy link
Author

ok thank you too much,
i'm going to do that.

@imgag
Copy link
Collaborator

imgag commented Apr 6, 2017

I guess the issue is resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants