Unable to build from source #2392

Closed
opened 2025-11-02 04:34:38 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @ijsnow on GitHub (Oct 9, 2018).

Description

Running TAGS="bindata" make generate all as described in the README results in an error. I've got Go 1.11 installed if that makes a difference.

Originally created by @ijsnow on GitHub (Oct 9, 2018). <!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/NsatcWJ) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): fb3954f (master at time of posting) - Git version: 2.15.0 - Operating system: MacOS High Sierra 10.13.6 - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant - Log gist: https://gist.github.com/ijsnow/a780615ba1a9e5f26cc1fdd5cd046d57 ## Description Running `TAGS="bindata" make generate all` as described in the README results in an error. I've got Go 1.11 installed if that makes a difference.
GiteaMirror added the type/question label 2025-11-02 04:34:38 -06:00
Author
Owner

@adelowo commented on GitHub (Oct 9, 2018):

From the log, It seems you are trying to build from this import path github.com/go-gitea/gitea ?

go get -d -u -v code.gitea.io/gitea
then

cd $GOPATH/src/code.gitea.io/gitea and your make command should fix this

@adelowo commented on GitHub (Oct 9, 2018): From the log, It seems you are trying to build from this import path `github.com/go-gitea/gitea` ? `go get -d -u -v code.gitea.io/gitea` then `cd $GOPATH/src/code.gitea.io/gitea` and `your make command` should fix this
Author
Owner

@ijsnow commented on GitHub (Oct 9, 2018):

That seemed to work. Should the README tell you to clone it into $GOPATH/src/code.gitea.io/gitea instead of $GOPATH/src/github.com/go-gitea/gitea?

I know the code is hosted there too but I think most people will find these steps first on GitHub (like me) so there first assumption would be to clone it into $GOPATH/src/github.com/go-gitea/gitea.

@ijsnow commented on GitHub (Oct 9, 2018): That seemed to work. Should the README tell you to clone it into `$GOPATH/src/code.gitea.io/gitea` instead of `$GOPATH/src/github.com/go-gitea/gitea`? I know the code is hosted there too but I think most people will find these steps first on GitHub (like me) so there first assumption would be to clone it into `$GOPATH/src/github.com/go-gitea/gitea`.
Author
Owner

@techknowlogick commented on GitHub (Oct 9, 2018):

Here are instructions for dealing with source: https://docs.gitea.io/en-us/install-from-source/, also https://docs.gitea.io/en-us/hacking-on-gitea/

@techknowlogick commented on GitHub (Oct 9, 2018): Here are instructions for dealing with source: https://docs.gitea.io/en-us/install-from-source/, also https://docs.gitea.io/en-us/hacking-on-gitea/
Author
Owner

@kawing-chiu commented on GitHub (Feb 3, 2019):

The code.gitea.io site is just too slow to access from my location. Is there a way to build on github.com/go-gitea/gitea?

@kawing-chiu commented on GitHub (Feb 3, 2019): The `code.gitea.io` site is just too slow to access from my location. Is there a way to build on `github.com/go-gitea/gitea`?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2392