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

cannot install qvina-w #2

Open
white-heron opened this issue Nov 9, 2023 · 1 comment
Open

cannot install qvina-w #2

white-heron opened this issue Nov 9, 2023 · 1 comment

Comments

@white-heron
Copy link

hello !
i followed the instructions to install Qvina-W from https://qvina.github.io/compilingQvina-w.html using WSL
however when i type ''make'' it doesn't proceed and this message appears :

ln -sf g++ -print-file-name=libstdc++.a
rm -f dependencies_tmp dependencies_tmp.bak
touch dependencies_tmp
makedepend -f dependencies_tmp -Y -I src/lib src/lib/.cpp src/tests/.cpp src/design/.cpp src/main/.cpp src/split/.cpp src/tune/.cpp
/bin/sh: 1: makedepend: not found
make: *** [Makefile:71: depend] Error 127

i have boost 1.83 installed and changed the first 2 lines of makefile to the path to Boost and the Boost version
and also tried not changing anything , and it didn't work.

any help is appreciated

@aalhossary
Copy link
Contributor

makedepend is almost obsolete now.
There are some solutions:

  1. on Ubuntu you can write
sudo apt-get install xutils-dev
  1. Most modern compilers provide a flag (often -M) that uses the compiler's own source parser to generate a list of dependencies

===============

The rest of my answer is generated using Google AI-powered search for "makedepend alternatives". Please let me know if any of them works:

There are a few alternatives to makedepend

  • One is to use the compiler's own source parser to generate a list of dependencies. This can be done by using the -M flag with most compilers.
  • Another alternative is to use a tool called "gcc-makedepend". This tool is a wrapper around the gcc compiler that will generate a list of dependencies for a given source file
  • Finally, you can also use a tool called "makedepend2". This tool is a more modern version of makedepend that is more accurate and efficient.

Here are some of the advantages of using the compiler's own source parser to generate dependencies:
It is more accurate because it uses the same parser that the compiler will use to compile the source file.
It is more efficient because it does not need to scan the entire source file to find dependencies.
It is more compatible because it can generate dependencies for any compiler.

Here are some of the advantages of using gcc-makedepend:
It is a wrapper around the gcc compiler so it is easy to use.
It is more accurate than makedepend because it uses the gcc compiler's source parser.
It is more efficient than makedepend because it does not need to scan the entire source file to find dependencies.

Here are some of the advantages of using makedepend2:
It is a more modern version of makedepend that is more accurate and efficient.
It is compatible with makedepend so you can easily switch from makedepend to makedepend2.
It is easy to use because it has a similar syntax to makedepend.

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