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

erros when compiling on Linux/X86 (Ubuntu) #476

Open
aslom opened this issue Aug 24, 2023 · 1 comment
Open

erros when compiling on Linux/X86 (Ubuntu) #476

aslom opened this issue Aug 24, 2023 · 1 comment

Comments

@aslom
Copy link

aslom commented Aug 24, 2023

What is version of Linux required to build? Saying "Clone this repository from github into a local machine (Linux/X86):" in README [1] is (almost) not working for Ubuntu - lot of errors not sure if they are important or not ...

make build
basename: missing operand
Try 'basename --help' for more information.
basename: missing operand
Try 'basename --help' for more information.
/bin/sh: 3: [[: not found
/Users/aslom/Documents/awsm/go/src/github.ibm.com/z-cloud-integration/flowlogs-pipeline/bin/golangci-lint-v1.53.3 run --enable goimports --enable gofmt --enable ineffassign --timeout 5m
GOARCH=amd64 go build -ldflags "-X 'main.BuildVersion=0.1.10-rc1-914d470-dirty' -X 'main.BuildDate=2023-08-24 18:36'" "./cmd/flowlogs-pipeline"
GOARCH=amd64 go build -ldflags "-X 'main.BuildVersion=0.1.10-rc1-914d470-dirty' -X 'main.BuildDate=2023-08-24 18:36'" "./cmd/confgenerator"
basename: missing operand
Try 'basename --help' for more information.
basename: missing operand
Try 'basename --help' for more information.
./hack/update-docs.sh: line 24: docker: command not found
make: *** [Makefile:122: docs] Error 127

I am using lima-vm and Ubuntu is default

uname -a
Linux lima-lima-x86 5.15.0-79-generic #86-Ubuntu SMP Mon Jul 10 16:07:21 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Ubuntu version

cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS"
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

[1] https://github.com/netobserv/flowlogs-pipeline/blob/main/README.md#build

@aslom
Copy link
Author

aslom commented Aug 24, 2023

@eranra

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

1 participant