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 build vrouter.ko module #90

Open
ronakdborad opened this issue Jun 27, 2016 · 4 comments
Open

Cannot build vrouter.ko module #90

ronakdborad opened this issue Jun 27, 2016 · 4 comments

Comments

@ronakdborad
Copy link

Hello everyone,

I am trying to install vrouter.ko module as follows:

[root@dut6210 contrail-vrouter-master]# repo init -u git@github.com:Juniper/contrail-vnc -m vrouter-manifest.xml
[root@dut6210 contrail-vrouter-master]# repo sync
[root@dut6210 contrail-vrouter-master]# scons vrouter

scons: *** No SConstruct file found.
File "/usr/lib/scons/SCons/Script/Main.py", line 834, in _main
[root@dut6210 contrail-vrouter-master]#

Can anyone please help me this.

Thanks

@wkevils
Copy link

wkevils commented Jul 22, 2016

I had tried
git clone https://github.com/Juniper/contrail-vrouter.git
and then
I had tried:
$git clone https://github.com/Juniper/contrail-vrouter.git
and then:
scons vrouter
And then got the same error:
scons: *** No SConstruct file found.

File "/usr/lib/scons/SCons/Script/Main.py", line 920, in _main

What can be the reason?
I used git clone
since "repo init" failed:
...
...
repo init -u git@github.com:Juniper/contrail-vnc -m vrouter-manifest.xml
gpg: keyring /root/.repoconfig/gnupg/secring.gpg' created gpg: keyring/root/.repoconfig/gnupg/pubring.gpg' created
gpg: /root/.repoconfig/gnupg/trustdb.gpg: trustdb created
gpg: key 920F5C65: public key "Repo Maintainer repo@android.kernel.org" imported
gpg: key 692B382C: public key "Conley Owens cco3@android.com" imported
gpg: Total number processed: 2
gpg: imported: 2 (RSA: 1)

Get https://gerrit.googlesource.com/git-repo/clone.bundle
Get https://gerrit.googlesource.com/git-repo
Get git@github.com:Juniper/contrail-vnc

ssh: connect to host github.com port 22: Connection timed out
ssh: connect to host github.com port 22: Connection timed out
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
ssh: connect to host github.com port 22: Connection timed out
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
^Caborted by user
...
...

@ronakdborad
Copy link
Author

You need to use repo tool to fetch the repositories from github:

Try these:
curl "http://php.webtutor.pl/en/wp-content/uploads/2011/09/repo" > ~/bin/repo
chmod a+x /bin/repo
PATH=
/bin:$PATH

and then use repo init in the working directory.
It will work. Make sure to provide keys in your github account. Also make sure you have global user name and email id set on your server.

you will need to change manifest.xml file to build the kernel module.

replace the file content by following:

This will work.

@wkevils
Copy link

wkevils commented Aug 7, 2016

Thanks, ronakdborad

Also make sure you have global user name and email id set on your server.

What do you mean by that ? I assume it is not the email and username which are set in/root/.gitconfig ?

The Second thing is:

You said:
"you will need to change manifest.xml file to build the kernel module.

replace the file content by following:

This will work."

But after "by following" there is an empty paragraph

Regards.
Kevin

@dpaks
Copy link

dpaks commented Jun 25, 2018

Still facing this issue in Release 5.0. Can someone help me out?

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

3 participants