monome / serialosc

multi-device, bonjour-capable monome OSC server
http://monome.org/docs/serialosc/osc
Other
145 stars 31 forks source link

Segmentation fault on RPI Zero W - Raspberry Pi OS 20-08-20 #53

Closed nordseele closed 5 months ago

nordseele commented 3 years ago

Environment :

Device: Raspberry PI Zero W (Armv6) OS: Raspberry Pi OS 20-08-20 (same errors with the previous OS).

I tried to install Serialosc on a RPI Zero W following the instructions found on this page https://monome.org/docs/serialosc/raspbian/

Installing with the package fails so I tried to compile from source. Here are the details.

Install with the package:

Compiling from source:

Serialosc won't compile easily. ./waf returns a lot of warnings/errors. Here's the full output of ./waf -v

fb8fb18e09497794481795e7107ab1575d5fe725_2_1162x1000

Changing line 257 of serialosc/wscript to conf.env.append_unique("CFLAGS", ["-std=c99", "-Wall", "-Wno-error"]) Serialosc will compile but serialoscd is not found

Capture d’écran 2020-08-30 à 14 33 40

But after a reboot running serialoscd is working this time...

Capture d’écran 2020-08-30 à 14 36 32
artfwo commented 5 months ago

@nordseele i've updated the libuv subdmodule in v1.4.4, but it no longer uses gyp, so the current waf script to build gyp projects can no longer be used with it.

alternatively, you can use waf with system libuv (installing libuv1-dev on RPi should be sufficient) or use cmake to build serialosc with bundled libuv as described in the README.

i am going to close this issue for now, but please feel free to reopen if the problem persists.