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

Cant run cmake.... #303

Open
Cunoo opened this issue Dec 18, 2020 · 7 comments
Open

Cant run cmake.... #303

Cunoo opened this issue Dec 18, 2020 · 7 comments

Comments

@Cunoo
Copy link

Cunoo commented Dec 18, 2020

if i run Run install4cmake.sh to build NF in ubuntu 18.04 i got this:

Screenshot from 2020-12-19 00-41-29

@ketoo
Copy link
Owner

ketoo commented Dec 19, 2020

It works for me 1 min ago.

Please look up, should has an error more early as your OS didn't install something.

@ketoo
Copy link
Owner

ketoo commented Dec 19, 2020

I have tested with a pure new ubuntu 18.04 and the result shows install4cmake.sh it works. Did you ignore the tips that install4cmake.sh report to you?

Below are the examples for tips:
./install4cmake.sh: line 2: cmake: command not found
[ERROR] Please install cmake first.
[ubuntu] apt-get -y install cmake or [centos] yum -y install cmake or [mac] brew install cmake

./install4cmake.sh: line 9: unzip: command not found
[ERROR] Please install unzip first.
[ubuntu] sudo apt-get -y install curl zip unzip tar or [centos] yum -y install unzip or [mac] brew install unzip

[ERROR] Please install automake first.
[ubuntu] sudo apt-get -y install automake or [centos] yum -y install automake or [mac] brew install automake

[ERROR] Please install g++ first.
[Ubuntu] sudo apt-get -y install g++

@Cunoo
Copy link
Author

Cunoo commented Dec 19, 2020

no i dont, i installed all

@Cunoo
Copy link
Author

Cunoo commented Dec 19, 2020

<google/protobuf/port_def.inc>
this will be a problem but i dont know how to fix...

@ketoo
Copy link
Owner

ketoo commented Dec 20, 2020

Could you please run install4cmake.sh again and show more details about this issue? We could look up the output from the console to find more errors related to this issue.

@Cunoo
Copy link
Author

Cunoo commented Dec 20, 2020

Could you please run install4cmake.sh again and show more details about this issue? We could look up the output from the console to find more errors related to this issue.

Screenshot from 2020-12-20 23-36-24
Screenshot from 2020-12-20 23-36-33
Screenshot from 2020-12-20 23-36-39

@ketoo
Copy link
Owner

ketoo commented Dec 21, 2020

bash ./install4cmake.sh

Should be this one.

https://stackoverflow.com/questions/3411048/unexpected-operator-in-shell-programming

From your log, I know that you have installed the desktop version.

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