Closed ABAC95 closed 3 years ago
I have the same problem
I decided this way sudo apt install golang-go
but then the following problem appeared when doing make
sergei@sergei-dom:~/joplin2obsidian$ make
build version: v0.2.1-3-ga53ee6b
env CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags "-X main.Version=v0.2.1-3-ga53ee6b" -o dist/joplin2obsidian_darwin_amd64
env CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -ldflags "-X main.Version=v0.2.1-3-ga53ee6b" -o dist/joplin2obsidian_darwin_arm64
# net.bangnimang/joplin2obsidian
/usr/lib/go-1.13/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/usr/bin/ld: unknown parameter «-pagezero_size»
my operating system ubuntu Linux. 20/04
Hello, this would probably be a noob mistake that i'm making but i get the following error when compiling:
uniform@pop-os:~/Descargas/joplin2obsidian$ make build version: v0.2.1-3-ga53ee6b env CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags "-X main.Version=v0.2.1-3-ga53ee6b" -o dist/joplin2obsidian_darwin_amd64 env: «go»: The file or directory does not exist make: *** [makefile:6: core] Error 127
Hi @ABAC95 , it seems that the go command does not exist. did you follow the instructions( https://golang.org/doc/install ) to install the golang development environment?
I have the same problem
I decided this way sudo apt install golang-go
but then the following problem appeared when doing make
sergei@sergei-dom:~/joplin2obsidian$ make
build version: v0.2.1-3-ga53ee6b
env CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags "-X main.Version=v0.2.1-3-ga53ee6b" -o dist/joplin2obsidian_darwin_amd64 env CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -ldflags "-X main.Version=v0.2.1-3-ga53ee6b" -o dist/joplin2obsidian_darwin_arm64 # net.bangnimang/joplin2obsidian /usr/lib/go-1.13/pkg/tool/linux_amd64/link: running gcc failed: exit status 1 /usr/bin/ld: unknown parameter «-pagezero_size»
my operating system ubuntu Linux. 20/04
Hi @supotnitskiy , go-1.13 is too old to compile joplin2obsidian. please follow https://golang.org/doc/install to install the newest version golang development environment.
btw, don't forget to apt purge golang-go
first
Thanks ALL Converted
joplin2obsidian v0.2.1-4-g374579c
⠦ Extracting Metadata (24511/-, 14931 it/s)
⠋ Rebuilding Folders (313/-, 835500 it/s)
⠸ Rebuilding Articles (5884/-, 4328 it/s)
⠴ Saving Data (5882/-, 8 it/s)
Done!
The next step is to open /media/DISK4/obsidian_joplin/ as vault in Obsidian, Then you will see what you want to see.
root@sergei-dom:/home/sergei/joplin2obsidian/dist#
Hello, this would probably be a noob mistake that i'm making but i get the following error when compiling:
uniform@pop-os:~/Descargas/joplin2obsidian$ make build version: v0.2.1-3-ga53ee6b env CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags "-X main.Version=v0.2.1-3-ga53ee6b" -o dist/joplin2obsidian_darwin_amd64 env: «go»: The file or directory does not exist make: *** [makefile:6: core] Error 127