Git Product home page Git Product logo

Comments (13)

MarcJHuber avatar MarcJHuber commented on July 30, 2024

Hi,

that just indicates that the corresponding development environment isn't installed (e.g. libpam0g-dev, libc-ares-dev, ...). That's not actually an error, it just shows that some of the optional features aren't available on your system, due to missing development headers and libraries.

Cheers,

Marc

from event-driven-servers.

serhdan avatar serhdan commented on July 30, 2024

Hello Marc, So there is no dependency which is missing?
Because I also get an error during the make:

make

make: *** No rule to make target '.git/index', needed by 'misc/version.h'. Stop.

from event-driven-servers.

serhdan avatar serhdan commented on July 30, 2024

and make install error also:
make[1]: *** [GNUmakefile:24: install] Error 2
make: *** [GNUmakefile:34: install] Error 1

from event-driven-servers.

MarcJHuber avatar MarcJHuber commented on July 30, 2024

Hi,

that "no rule to make target '.git/index'" error is unusual as it would indicate that .git/index doesn't exist. Does it?

Cheers,

Marc

from event-driven-servers.

serhdan avatar serhdan commented on July 30, 2024

I cloned the repository and uploaded to my server.
Errors are the same:

make

make: *** No rule to make target '.git/index', needed by 'misc/version.h'. Stop.

make install:
make[1]: Entering directory '/home/user/event-driven-servers-master/mavis'
make[2]: Entering directory '/home/user/event-driven-servers-master/mavis/perl'
make[2]: Nothing to be done for 'install'.
make[2]: Leaving directory '/home/user/event-driven-servers-master/mavis/perl'
make[2]: Entering directory '/home/user/event-driven-servers-master/mavis'
make[2]: *** /home/user/event-driven-servers-master/build/linux-5.4.0-122-generic-x86_64/mavis: No such file or directory. Stop.
make[2]: Leaving directory '/home/user/event-driven-servers-master/mavis'
make[1]: *** [GNUmakefile:24: install] Error 2
make[1]: Leaving directory '/home/user/event-driven-servers-master/mavis'
make: *** [GNUmakefile:34: install] Error 1

when i compile it from: https://www.pro-bono-publico.de/projects/archive/, it is working fine

from event-driven-servers.

MarcJHuber avatar MarcJHuber commented on July 30, 2024

Hi,

please double-check that you've uploaded .git/index to your server, too.

Cheers,

Marc

from event-driven-servers.

serhdan avatar serhdan commented on July 30, 2024

I am looking at the github and there is no .git folder
event-driven-servers

from event-driven-servers.

MarcJHuber avatar MarcJHuber commented on July 30, 2024

Hi,

the ".git" directory is generated by the "git" command itself. You're not using that one for cloning but something different? That's currently not a sanctioned work-flow.

Give me a couple of minutes, I'll check out whether a missing .git directory can be worked-around by the "configure" script.

I'm pretty sure right now that any resulting builds will lack the "git rev-parse HEAD" hash version number and will be unsupported due to this.

Cheers,

Marc

from event-driven-servers.

serhdan avatar serhdan commented on July 30, 2024

Thank you for the clarification, I will also try to pull it via git command directly from my linux server.

from event-driven-servers.

MarcJHuber avatar MarcJHuber commented on July 30, 2024

Hi,

f8f6e9e

should fix the issue of the .git directory not being available.

Cheers,

Marc

from event-driven-servers.

serhdan avatar serhdan commented on July 30, 2024

Hello again, that part is solved, thank you very much.
Another problem appears when I run "make":
event-driven-servers-master/misc/io_dns_revmap.c:17:10: fatal error: 'ares_nameser.h' file not found
#include <ares_nameser.h>

I have installed already libc-ares-dev and libc-ares2 , i can even see it when i run "./configure":
Development files were found for: LIB-ARES, LIB-CRYPT, LIB-PAM, LIB-PCRE2, LIB-SSL, LIB-SSL_CRYPTO, LIB-ZLIB

this my content of /usr/include:
/usr/include/ares_version.h
/usr/include/ares_rules.h
/usr/include/ares.h
/usr/include/ares_dns.h
/usr/include/ares_build.h

from event-driven-servers.

MarcJHuber avatar MarcJHuber commented on July 30, 2024

Hi,

thanks, according to https://c-ares.org/changelog.html the "ares_nameser.h" header was private until 1.18.0. I'll commit a fix shortly.

Cheers,

Marc

from event-driven-servers.

serhdan avatar serhdan commented on July 30, 2024

Ignore my last message, I have solved it.
Ubuntu 20.04 comes with ares 1.15 , I have manually installed 1.18 and the compilation worked without errors.

Thank you very much for your great support.

from event-driven-servers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.