Git Product home page Git Product logo

Comments (4)

nahumj avatar nahumj commented on August 9, 2024

The problem is that a git clone of avida doesn't clone the submodules needed by avida to compile. Run:
git submodule init
git submodule update

Then
./build_avida

from avida.

schmelling avatar schmelling commented on August 9, 2024

Hi,

I get the following error when running git submodule update

$ git submodule init

Submodule 'documentation' (https://github.com/devosoft/avida.wiki.git) registered for path 'documentation'
Submodule 'libs/apto' (git://programerror.com/apto.git) registered for path 'libs/apto'

$ git submodule update

Cloning into 'documentation'...
remote: Counting objects: 607, done.
remote: Total 607 (delta 0), reused 0 (delta 0), pack-reused 607
Receiving objects: 100% (607/607), 1.08 MiB | 1.33 MiB/s, done.
Resolving deltas: 100% (288/288), done.
Checking connectivity... done.
Submodule path 'documentation': checked out '50c9fb0973d9628e9b239e6abb7db827e1e6f9f8'
Cloning into 'libs/apto'...
fatal: unable to connect to programerror.com:
programerror.com[0: 173.230.148.102]: errno=Connection timed out

fatal: clone of 'git://programerror.com/apto.git' into submodule path 'libs/apto' failed

programerror.com seems up and running but the git://programerror.com/apto.git seems not to be working. Is there an easy work around via the original GitHub repo?

Cheers,
Nic

from avida.

ruppmatt avatar ruppmatt commented on August 9, 2024

Greetings-

I just did a fresh clone on my local machine and couldn't repeat the error. There is a version of the apto library (Avida's equivalent of the STL) hosted on github. If the problem persists, you can do the following:

In the avida directory edit the file .gitmodules to change the URL of the apto submodule to https://github.com/devosoft/apto.git (instead of its programerror URL)

Save and close the file. Then run the command "git submodule sync" followed by "git submodule update".

That should change the remote origin of the submodule from programerror to github.

[Make sure you have run "git submodule init" before running "git submodule sync".]

from avida.

schmelling avatar schmelling commented on August 9, 2024

thanks. worked for me.

from avida.

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.