Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

8 years ago by BlairH

To say I am flustered is an understatement.

I have two books on Impact and both basically say the same thing. Navigate to the tools directory with terminal and type ./bake.sh. I do that and I get nothing. The error message that I get is bad: interpreter: no such file or directory.

Question #1 Do you need to modify your bake.sh to match where your files are on your iMac? My files are in my MAMP directory?

Do you have to have MAMP running to get PHP to run?

Is there a better program out there to bake the files?

Any help at all is appreciated.

Thanks,

Blair,

8 years ago by Joncom

Might be helpful if you posted all of the contents of the terminal starting from the line ./bake.sh.

Also, I wonder if the script is able to find PHP. If you type php --version on the command line, does it return a version, or say "not found"?

If PHP is not found, you may need to edit "bake.sh" and point it to where it can find the PHP executable.

8 years ago by BlairH

I am still having issues. PHP is running. See below for print-out

Blairs-iMac:tools blairhe$ ls
bake.bat bake.php bake.sh jsmin.php
Blairs-iMac:tools blairhe$ php --version
PHP 5.5.29 (cli) (built: Sep 9 2015 00:26:40)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
Blairs-iMac:tools blairhe$ ./bake.sh
-bash: ./bake.sh: /bin/bash^M: bad interpreter: No such file or directory

Thanks, for your help. you seem to be the only one still active on this board.
Blair,
Blairs-iMac:tools blairhe$

8 years ago by stahlmanDesign

Hi, this is a common problem on Mac. I posted about it here and I've come back to my own post a few times cause I forget why it is happening. Basically, change the line endings of bake.sh to Linux instead of Windows.

8 years ago by BlairH

Thank you - that did the trick.

working as expected now.
Page 1 of 1
« first « previous next › last »