Replies: 6 comments
-
Thank you for your interest in the project. In the "What happened?" section, the OS version is mentioned as 22.04, but in the "steps to reproduce" section, it says 24.04. 22.04 is correct? I usually build the bigquery-emulator on a VM (ubuntu 22.04) in GCP and have never encountered any issues. The build process I follow is as follows:
Given the error mentions a missing header file, it seems there might be an issue with the clang installation? FYI: this is install steps and log. |
Beta Was this translation helpful? Give feedback.
-
@totem3 - Thank you for taking the time to answer my question, and for compiling such detailed instructions! I tried to use a VM on GCP, and I think it was working, the VM that I had was just really slow, so I think it was just taking to long to compile the zeta library. I noticed that the default image in GCP is debian-12-bookworm. I'm using Ubuntu 22.04, I wonder if there is a different between them. I followed your instructions and I was not able to get it running on my personal machine. This could just be that my machine does not have the necessary packages to be able to compile correctly. What I did next was to boot a VM on my machine. For this VM I used the ISO Ubuntu 22.04.3 - Server Image. Downloaded from here https://ubuntu.com/download/server With that installed, then I followed your steps here and from the gist:
Install packages
Install go 1.20.5
Clone bigquery repo
Compile project
I was not able to get it running. For me the project just stopped at this line in your gist Here is the log when I try to run go install
|
Beta Was this translation helpful? Give feedback.
-
@j-antunes so you may find the binary in |
Beta Was this translation helpful? Give feedback.
-
@totem3
Should I have other stuff inside this folder? When i try to run it I now get this error:
|
Beta Was this translation helpful? Give feedback.
-
@totem3 nvm I figure out what you meant. The file is located in What I did was And it works! Thanks for all your help! Do you think this gist should be added to the docs or readme? I think it would be valuable to others. |
Beta Was this translation helpful? Give feedback.
-
I'm glad to hear it worked out. I have fixed the gist. Thank you for getting in touch. And thank you for the suggestion. To help others, I will transfer this issue to a discussion and keep it there for reference. |
Beta Was this translation helpful? Give feedback.
-
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: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
Beta Was this translation helpful? Give feedback.
All reactions