-
tozhuhello all, I’m develop a database appliance base on smartos, so I needs to compile it from source code according to the guide, but I hit error that run : git submodule update —init deps/illumos-libavl under illumos-extra/mdb_v8
-
tozhupastebin.com/fcKDbqVX here is the error, why it failed?
-
tozhuI can download the source manually, but it will broken when run: gmake world
-
rmustaccIt failed because you cannot connect to github.com. I would start by verifying you can ping and reach that host from your build zone.
-
tozhurmustacc: Thank you very much, I can run the “git submodule update -init deps/illumos-libavl” under illumos-extra/mdb_v8
-
tozhuand get sucess
-
tozhuon the build zone
-
tozhuBTW, how to set a ENV in Makefile before the git submodule command be executed, eg: ALL_PROXY=socks5://IP:PORT
-
tozhubest wishes
-
danmcdYou can set it on the `git submodule` execution. e.g.
-
danmcdALL_PROXY=socks5://IP:PORT git submodule....
-
danmcdSince Make just invokes sh or its many variants.