Skip to content

How to install and run this project locally on my computer? #285

@j-antunes

Description

@j-antunes

What happened?

I found this project and was interested in trying it out for another project. I was able to get the docker container up and running and doing GET and POST request to the docker container works without any issue.

However, I found a bug with uploading csv files, and wanted to run the project locally to fix it. However, when I followed the README and ran this cmd: go install ./cmd/bigquery-emulator I got the following error:

❯ go install ./cmd/bigquery-emulator

# github.com/goccy/go-zetasql/internal/ccall/go-absl/time/go_internal/cctz/time_zone
In file included from bind.cc:97:
In file included from ../../go/pkg/mod/github.com/goccy/go-zetasql@v0.5.4/internal/ccall/absl/time/internal/cctz/include/cctz/time_zone.h:23:
In file included from /usr/lib/llvm-14/bin/../include/c++/v1/chrono:697:
In file included from /usr/lib/llvm-14/bin/../include/c++/v1/__chrono/calendar.h:13:
In file included from /usr/lib/llvm-14/bin/../include/c++/v1/__chrono/duration.h:14:
In file included from /usr/lib/llvm-14/bin/../include/c++/v1/limits:105:
In file included from /usr/lib/llvm-14/bin/../include/c++/v1/type_traits:420:
/usr/lib/llvm-14/bin/../include/c++/v1/cstddef:44:15: fatal error: 'stddef.h' file not found

What are the necessary libraries or steps that I need to do, to be able to successfully install and run the project locally? Thanks!

OS: Ubuntu 22.04

What did you expect to happen?

Be able to install the project and run it on my laptop, without needing a docker container

How can we reproduce it (as minimally and precisely as possible)?

Get a fresh install of Ubuntu 22.04, and try to install this project following the readme

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions