Giter Club home page Giter Club logo

Comments (5)

antoninbas avatar antoninbas commented on July 19, 2024

Are you sure you ran git submodule update --init --recursive? It is at the very beginning of the README.

from p4factory.

ali64Mon avatar ali64Mon commented on July 19, 2024

Thanks. I ran the git command and it is fixed now.

from p4factory.

jjkim12 avatar jjkim12 commented on July 19, 2024

Hello,

I'm a newer both ubuntu and git utilities.
(I think something I missed)

I've same issue with you.
Could you share your " git submodule update --init --recursive " result.
My system information and excution log is these are....

root@ubuntu:/home/ubuntu/download/p4factory-master# uname -a
Linux ubuntu 4.2.0-42-generic #49~14.04.1-Ubuntu SMP Wed Jun 29 20:22:11 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

  1. unzip master

  2. cd p4factory-master

  3. git init

    initialized existing Git repository in /home/ubuntu/download/p4factory-master/.git/

  4. git submodule update --init --recursive

    ...nothing.... // I think this should show something package get...

  5. ./install_deps.sh

    package get...and install ....including thrift....

  6. ./autogen.sh

    ./autogen.sh: line 1: ./autogen.sh: No such file or directory
    ./autogen.sh: line 2: cd: submodules/bm/: No such file or directory
    ./autogen.sh: line 3: cd: submodules/p4-build/: No such file or directory
    ./autogen.sh: line 4: cd: submodules/p4ofagent: No such file or directory
    root@ubuntu:/home/ubuntu/download/p4factory-master#

from p4factory.

antoninbas avatar antoninbas commented on July 19, 2024

The repository has submodules and therefore you cannot use the "download .zip" option from Github. You have to clone the repository instead. For example: git clone https://github.com/p4lang/p4factory.git.
The .zip option will lose the information about the submodules.

from p4factory.

jjkim12 avatar jjkim12 commented on July 19, 2024

Thanks Antoninbas.

Just before I success autogen.sh and confiure.
It seems work fine.

from p4factory.

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.