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

Can't Download/Install #39

Open
JohnAlexINL opened this issue Oct 6, 2022 · 1 comment
Open

Can't Download/Install #39

JohnAlexINL opened this issue Oct 6, 2022 · 1 comment

Comments

@JohnAlexINL
Copy link

Tried downloading as a ZIP file and it refuses to build, saying that it's not a valid repo and cannot find build:

root@MACHINE:/mnt/c/Users/USERNAME/Downloads/thdwb-master/zip/thdwb-master# make
fatal: not a git repository (or any parent up to mount point /mnt)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /mnt)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
# pkg-config --cflags  -- gl gl
pkg-config: exec: "pkg-config": executable file not found in $PATH
# github.com/go-gl/glfw/v3.3/glfw
cgo: exec gcc: exec: "gcc": executable file not found in $PATH
make: *** [Makefile:11: run] Error 2
root@MACHINE:/mnt/c/Users/USERNAME/Downloads/thdwb-master/zip/thdwb-master#

Made sure to grab a fresh install of make, pkg-config, and gcc, and it still refuses to build:

root@MACHINE:/mnt/c/Users/USERNAME/Downloads/thdwb-master/zip/thdwb-master# make
fatal: not a git repository (or any parent up to mount point /mnt)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /mnt)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
# github.com/go-gl/glfw/v3.3/glfw
In file included from ./glfw/src/internal.h:188,
                 from ./glfw/src/context.c:30,
                 from /root/go/pkg/mod/github.com/go-gl/glfw/v3.3/glfw@v0.0.0-20210410170116-ea3d685f79fb/c_glfw.go:4:
./glfw/src/x11_platform.h:33:10: fatal error: X11/Xlib.h: No such file or directory
   33 | #include <X11/Xlib.h>
      |          ^~~~~~~~~~~~
compilation terminated.
# pkg-config --cflags  -- gl gl
Package gl was not found in the pkg-config search path.
Perhaps you should add the directory containing `gl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gl' found
Package gl was not found in the pkg-config search path.
Perhaps you should add the directory containing `gl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gl' found
pkg-config: exit status 1
make: *** [Makefile:11: run] Error 2

Tried downloading using Git and GH.exe CLI and it fails to even download every single time:

PS C:\Users\USERNAME\Downloads\thdwb-master> gh.exe repo clone danfragoso/thdwb
Cloning into 'thdwb'...
remote: Enumerating objects: 2143, done.
remote: Counting objects: 100% (44/44), done.
remote: Compressing objects: 100% (20/20), done.
error: RPC failed; curl 56 OpenSSL SSL_read: Connection was reset, errno 10054
error: 3527 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
exit status 128
@ajzaff
Copy link
Contributor

ajzaff commented Oct 12, 2022

Starting from a zip file would not be supported out t
Of the box. The Makefile attempts to parse the git revision which is not present in the archive. Instead use git clone.

Install the official Git client to clone as that EXE seems broken.

If you are working in a virtualized environment you will want to do some Googling on how to forward the X session. Use search terms like "forward X11 session"

Good luck

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