On macOS:
I tried to compile libipatcher with
./autogen.sh
Then I get this error:
libipatcher.cpp:17:10: fatal error: 'jssy.h' file not found #include "jssy.h"
^~~~~~~~
1 error generated.
make[1]: * [libipatcher_la-libipatcher.lo] Error 1
make: * [check-recursive] Error 1
And the developer has a jssy Xcode project where the jssy.h file is located.
How can I fix it?
jssy is in a submodule so you need to fetch it.
To do so, according to pull using git including submodule, either:
git clone --recursive https://github.com/tihmstar/libipatcher.git
or:
git submodule init; git submodule update
or use SourceTree.
Then you can attempt ./autogen.sh.
Related
git clone https://github.com/ZAKHAROV-Artem/burger-shop-react.git
fatal: could not create work tree dir 'burger-shop-react': No such file or directory
i want to clone and install a GitHub repository but get an error.
git clone https://github.com/bandprotocol/chain
cd chain && git checkout v2.3.0
make install
Result:
..\go\pkg\mod\github.com\rcrowley\go-metrics#v0.0.0-20200313005456-10cdbea86bc0\runtime.go:5:2: found packages pprof (elf.go) and proto (proto.go) in C:\Users\user\go\GO Language\src\runtime\pprof
make: *** [Makefile:24: install] Error 1
If i delete for example one file he takes the next two out of this folder.
Thanks for help and answers
Folks, am trying to run some go tests. Seems to be a failure with git configuration on the box?
Am running git version 1.8.3.1 before someone asks... go version 1.13.1
Builds pass for me locally on my mac and linux... but seem to fail in Jenkins
go test -v ./... -tags=unit
go: bitbucket.org/xxxxxxx/yyyyyyy#v1.0.82 requires
cloud.google.com/go/storage#v1.6.0 requires
cloud.google.com/go#v0.53.0 requires
cloud.google.com/go/bigquery#v1.3.0 requires
golang.org/x/exp#v0.0.0-20191030013958-a1ab85dbe136: invalid version: git fetch --unshallow -f https://go.googlesource.com/exp in /var/lib/jenkins/go/pkg/mod/cache/vcs/879ce674f4d9f0a3a3f207a6503e782bb2113f1a3d0c1f8049cc523b96d9aa9e: exit status 128:
fatal: git fetch-pack: expected shallow list
make[1]: *** [unit-test] Error 1
make[1]: Leaving directory `/var/lib/jenkins/workspace/xxxxxx/yyyyy'
make: *** [test] Error 2
Build step 'Execute shell' marked build as failure
[Slack Notifications] found #1 as previous completed, non-aborted build
[Slack Notifications] will send OnEveryFailureNotification because build matches and user preferences allow it
Finished: FAILURE
Solution was simple, bump up the version of git in GCP
when executing
go get -u github.com/hyperledger/fabric-ca/cmd/
from the fabric-ca guide, I get the following error:
# cd /home/pi/go/src/github.com/hyperledger/fabric-ca; git pull --ff-only
error: cannot open .git/FETCH_HEAD: Permission denied
package github.com/hyperledger/fabric-ca/cmd: exit status 1`
I tried git cloning and it downloaded everything from the fabric-ca repository, then I tried installing fabric-server and client by myself like this:
sudo make fabric-ca-server
this also produced the following error:
Building fabric-ca-server in bin directory ...
/bin/sh: 1: go: not found
Makefile:91: recipe for target 'bin/fabric-ca-server' failed
make: *** [bin/fabric-ca-server] Error 127
Looks like your GOPATH is set to /home/pi/go and appears that you do not have access to somewhere along the path to /home/pi/go/src/github.com/hyperledger/fabric-ca.
I'd check make sure that the user you are running go get with has R/W access to /home/pi/go/src
Trying to install Tortunnel, i have downloaded ;
http://www.thoughtcrime.org/software/tortunnel/tortunnel-0.3.tar.gz
extracted the file changed the directory am in to the extracted folder with terminal
cd tortunnel-0.3
and applied the
./configure
got to the step where i have to
make && make install
and then i got ;
./TorProxy.h:33:10: fatal error: 'boost/shared_ptr.hpp' file not found
#include <boost/shared_ptr.hpp>
^
1 error generated.
make: *** [TorProxy.o] Error 1
i made sure to install boost, and since i got brew on my mac it was simple;
brew install boost
without changing the the directory am in, i assumed it wont effect the boost installation.
then i ran the command;
make && make install
got the same error.
going over the files i made sure shared_ptr.hpp is present, and the file location is;
/usr/local/Cellar/boost/1.60.0_2/include/boost
the tortunnel-0.3 file location is ;
/Users/PK/Downloads
so is this error i am getting because the files locations as i assume ?, and how could i fix this ?