totalspectrum / flexprop

Simple GUI for Propeller development (both P1 and P2)
Other
38 stars 15 forks source link

Build fails with a bash error #71

Closed ghost closed 1 year ago

ghost commented 1 year ago
bash-5.1$ make install INSTALL=/tmp
if -test -f /tmp/Makefile; then echo "ERROR: Install directory contains a Makefile (possibly installing to original source)"; exit 1; fi
/bin/sh: line 1: -test: command not found
make: *** No rule to make target 'spin2cpp/version.h', needed by 'src/version.tcl'.  Stop.
bash-5.1$ bash --version
GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

What shell do you use for building this project?

totalspectrum commented 1 year ago

It looks like you've somehow introduced a typo into the Makefile -- the original does not have any - sign in front of the "test" command (on line 68 of the Makefile). Also note that the Makefile is calling /bin/sh, not /bin/bash. I've built the project successfully in a variety of environments (Debian 9, 10, and 11, Rasbian, Ubuntu 21, and MacOS X).