hoehermann / purple-gowhatsapp

Pidgin/libpurple plugin for WhatsApp Web.
GNU General Public License v3.0
277 stars 34 forks source link

I can't build the library #112

Closed enskpl closed 2 years ago

enskpl commented 2 years ago
ubuntu@instance-1:~/Desktop/purple-gowhatsapp-whatsmeow/build$ cmake --build .
[ 14%] Built target purple-dummy
[ 19%] Updating go modules...
No such file or directory
make[2]: *** [src/go/CMakeFiles/purple-go-whatsapp.dir/build.make:82: ../src/go/go.mod] Error 1
make[2]: *** Deleting file '../src/go/go.mod'
make[1]: *** [CMakeFiles/Makefile2:116: src/go/CMakeFiles/purple-go-whatsapp.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

Any idea for this?

hoehermann commented 2 years ago

Is the go executable in your PATH? If you do not want to modify your PATH environment variable, you can specify the go executable in the cmake variable CMAKE_Go_COMPILER.

hoehermann commented 2 years ago

Closing due to lack of answer. If the problem persists, feel free to respond.

terminaldweller commented 10 months ago

i had the same issue building on debian bullseye with go 1.19 from backports. the go binary was not in path. adding it fixed the issue. cheers.