Installing Adobe Alchemy: “bash: alc-on: command not found” Error
Posted by Dennis on Mar 26, 2009 in Flash, Uncategorized • 5 commentsI’m currently trying to get started with Adobe Alchemy. I’ve downloaded the SDK and Cygwin. I’ve followed all the steps from the getting started documentation: http://labs.adobe.com/wiki/index.php/Alchemy:Documentation:Getting_Started. When trying to execute this command:
alc-on; which gcc
I get this error
bash: alc-on: command not found
The problem here is that the .bashrc file is not executed when the Cygwin bash shell launches. The .bashrc file should be in the $HOME directory. To find out where that directory is, this command should be issued:
echo $HOME
The following line should be added to /cygwin/etc/profile text file:
. "$HOME/.bashrc"
After this the “alc-on; which gcc” should work.

At what place do we need to append this line in the profile text file. I added in the end and it’s still not working.
Hi,
Thanks for the information,just found this post my technorati news feed section! I was searching for this since past 3 months and i am glad to see it here. Thanking you much
Martin
Nice tutorial. i tried to setup the Alchemy at my system
i have windows 7, i read your tutorial and everything is setuped without an error but when i reopen the cygwin i got the following errors.
1. :No Such file or directorylchemy-setup
2. bash: alc-on: command not found.
i already tried to troubleshoot and invest around two days, but no help.. can you please suggest me how can i setuped the alchemy. i am so excited to convert one of my C Lib into swc.
Please help.
One more thing. i have installed cygwin for all users, not only for me.
while setting the alchemy i am struck at the step where we are required to type the command”ln -s llvm-stub llvm-stub.exe”. a message is getting displayed “failed to link to llvm-stub.exe :file exists” ..i hav ebeen trying to remove it 4 so long..plz help me out..
Hi. I had the same problem and the reason was that I had colons in the paths
For sample I had the line
source /cygdrive/d:/Devel/Flex/Alchemy/alchemy-setup
And it didn’t work until I removed the colon, correct way is the folowing:
source /cygdrive/d/Devel/Flex/Alchemy/alchemy-setup
Hope it helps someone