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

install error #171

Open
wuqian2021 opened this issue Oct 21, 2021 · 1 comment
Open

install error #171

wuqian2021 opened this issue Oct 21, 2021 · 1 comment

Comments

@wuqian2021
Copy link

curl https://syncd.cc/install.sh | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 794 100 794 0 0 1902 0 --:--:-- --:--:-- --:--:-- 1899
Cloning into '/root/.syncd-repo'...
remote: Enumerating objects: 3859, done.
remote: Counting objects: 100% (86/86), done.
remote: Compressing objects: 100% (85/85), done.
remote: Total 3859 (delta 54), reused 2 (delta 1), pack-reused 3773
Receiving objects: 100% (3859/3859), 12.97 MiB | 16.81 MiB/s, done.
Resolving deltas: 100% (1627/1627), done.
clean start >>>
rm -fr ./output
rm -f syncd_bin

clean complete
build syncd start >>>
GOPROXY=https://goproxy.io go mod tidy
github.com/dreamans/syncd imports
github.com/gin-gonic/gin imports
github.com/gin-gonic/gin/binding imports
github.com/ugorji/go/codec: ambiguous import: found package github.com/ugorji/go/codec in multiple modules:
github.com/ugorji/go v1.1.4 (/root/go/pkg/mod/github.com/ugorji/[email protected]/codec)
github.com/ugorji/go/codec v0.0.0-20190204201341-e444a5086c43 (/root/go/pkg/mod/github.com/ugorji/go/[email protected])
make: *** [build] Error 1
cp: cannot stat ‘/root/.syncd-repo/output’: No such file or directory

Installing Syncd Path: /usr/local/syncd/syncd-deploy
Install complete.

@xiashiyu888
Copy link

git clone https://github.com/dreamans/syncd.git
cd syncd
rm -rf go.mod
go mod init syncd
make
mv output/ ../syncd-deploy
cd ../syncd-deploy
mysql -u root -p --default-character-set=utf8mb4 < ./resource/sql/syncd_v2.0.0.sql
./bin/syncd

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