I’ve installed the binary synchrorep in /usr/bin in my Makefile, (I see it when debuging the build) but when installed, snap tell me :
/snap/synchrorep/9/command-synchrorep.wrapper: 2: exec: synchrorep: not found
Here is my apps tag in snapcraft.yml :
Any chance you can paste the entire yaml so we can debug?
the install target in the Makefile.in of this code uses hardcoded paths all over the place instead of respecting the
$DESTDIR variable, snapcraft sets DESTDIR to make sure that autotools code installs all bits and pieces in the proper places for being bundled in a snap.
with the current setup a build (with or without snapcraft) will simply install everything into /usr of the build machine instead of $SNAPCRAFT_PART_INSTALL (which $DESTDIR normally points to for a snap build) …
I’ve tried to make a :
cp synchrorep $DESTDIR/synchrorep
and I’ve got no files in the /snap/synchrorep directories.