Re: [chuck-users] chuck-users Digest, Vol 47, Issue 28
Thanks Stefan,
Finally got it to work
I deleted the chuck file out of /usr/bin
Unpacked the chuck installer package, copied it to my applications.
Then used this handy site (
http://wiki.cs.princeton.edu/index.php/ChucK/OSX_Install_and_Run) to install
it again to my /usr/bin
Now runs fine.
Thanks guys for all the tips,
Can't wait to get my head stuck in the Chuck code!
2009/6/27
Send chuck-users mailing list submissions to chuck-users@lists.cs.princeton.edu
To subscribe or unsubscribe via the World Wide Web, visit https://lists.cs.princeton.edu/mailman/listinfo/chuck-users or, via email, send a message with subject or body 'help' to chuck-users-request@lists.cs.princeton.edu
You can reach the person managing the list at chuck-users-owner@lists.cs.princeton.edu
When replying, please edit your Subject line so it is more specific than "Re: Contents of chuck-users digest..."
Today's Topics:
1. Re: chuck-users Digest, Vol 47, Issue 26 (Stefan Blixt) 2. Re: chuck-users Digest, Vol 47, Issue 26 (Kassen)
---------- Forwarded message ---------- From: Stefan Blixt
To: ChucK Users Mailing List Date: Sat, 27 Jun 2009 18:53:59 +0200 Subject: Re: [chuck-users] chuck-users Digest, Vol 47, Issue 26 I usually leav Chuck where it is (currently in /Applications/chuck-1.2.1.2-exe/bin), and add that to my path, like this: Hailstone:~ stefanblixt$ echo $PATH /Applications/chuck-1.2.1.2-exe/bin:/Library/Frameworks/Python.framework/Versions/Current/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:. Hailstone:~ stefanblixt$ which chuck /Applications/chuck-1.2.1.2-exe/bin/chuck Hailstone:~ stefanblixt$ chuck [chuck]: no input files... (try --help) Hailstone:~ stefanblixt$
Maybe chuck is confused if you put it in /usr/bin, and tries to locate some file using a relative path or something? A long shot...
/Stefan
2009/6/27 gary hiebner
Hi Kas, Thanks. No offense taken. From my email it did sound like I didn't understand the Terminal. I should have added that in.
I'll try install the chuck app. Again. I have installed on my new Macbook. I know when I had it on my G5 I used to get the 'no input message'
Regards, Gary
2009/6/27
Send chuck-users mailing list submissions to chuck-users@lists.cs.princeton.edu
To subscribe or unsubscribe via the World Wide Web, visit https://lists.cs.princeton.edu/mailman/listinfo/chuck-users or, via email, send a message with subject or body 'help' to chuck-users-request@lists.cs.princeton.edu
You can reach the person managing the list at chuck-users-owner@lists.cs.princeton.edu
When replying, please edit your Subject line so it is more specific than "Re: Contents of chuck-users digest..."
Today's Topics:
1. Re: chuck-users Digest, Vol 47, Issue 24 (Kassen) 2. Re: chuck-users Digest, Vol 47, Issue 24 (Cody Loyd) 3. Re: Trying to get start with Chuck on MAC - USING TERMINAL (Hans Aberg)
---------- Forwarded message ---------- From: Kassen
To: ChucK Users Mailing List Date: Sat, 27 Jun 2009 16:02:25 +0200 Subject: Re: [chuck-users] chuck-users Digest, Vol 47, Issue 24 gary hiebner; I have an understanding of the Terminal. So that is not my problem.
Ah, I see. I hope I didn't offend you by going back to the very basics. There are after all many people who never laid eye on a terminal or prompt before encountering ChucK.
It just goes to another prompt, so I don't know if it is working correctly in the Terminal
eg I get this:
matchbox$ chuck matchbox$
OW.... that's quite odd, I've never seen or heard of that. The one thing I can think of is that the program might not be marked as a executable or that the file somehow got corrupted. I'm reaching here, to be honest I'm out of ideas on what might be wrong here.
Hoping others have better solutions, Kas.
---------- Forwarded message ---------- From: Cody Loyd
To: ChucK Users Mailing List Date: Sat, 27 Jun 2009 09:31:07 -0500 Subject: Re: [chuck-users] chuck-users Digest, Vol 47, Issue 24 have you tried using /usr/bin/chuck (or wherever it is installed) instead of just 'chuck'? gary hiebner;
I have an understanding of the Terminal. So that is not my problem.
Ah, I see. I hope I didn't offend you by going back to the very basics. There are after all many people who never laid eye on a terminal or
before encountering ChucK.
It just goes to another prompt, so I don't know if it is working
correctly
in the Terminal eg I get this: matchbox$ chuck matchbox$
OW.... that's quite odd, I've never seen or heard of that. The one
can think of is that the program might not be marked as a executable or
2009/6/27 Kassen
: prompt thing I that the file somehow got corrupted. I'm reaching here, to be honest I'm out of ideas on what might be wrong here.
Hoping others have better solutions, Kas.
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
---------- Forwarded message ---------- From: Hans Aberg
To: gary hiebner Date: Sat, 27 Jun 2009 17:58:28 +0200 Subject: Re: [chuck-users] Trying to get start with Chuck on MAC - USING TERMINAL Fine! Hans
On 27 Jun 2009, at 15:21, gary hiebner wrote:
Don't worry I found it in the chuck installer package under examples and basic. Busy running some of the chuck files now. really fun. Starting t see the potential of the aplication.
On Sat, Jun 27, 2009 at 3:04 PM, gary hiebner
wrote: I dont hav the miniaudicle documentations. I went to the website. But can't seem to find it. Can you send me a link to the documentatin so that I can test it out? Thanks in advance,
Gary
On Sat, Jun 27, 2009 at 2:37 PM, Hans Aberg
wrote: On 27 Jun 2009, at 06:05, gary hiebner wrote:
I am new to Chuck. I saw Ge's video on the Apple website and am very
interested in getting into Chuck as an audio tool for live performance. I seem to be having a problem getting it to run. I have tried going through the start up manual as it says, but keep getting the same error.
I have added chuck to my usr/bin/
When I check through the /usr/bin I can see chuck there, so it has been added successfully.
Then I type the >chuck in Terminal
I don't get the [chuck]: no input files.... message
If you installed the miniAudicle documentation in the folder /Applications/, then you can run an example by chuck /Applications/miniAudicle\ documentation/examples/basic/foo.ck (If you type it, you can <tab> to get file name completions.)
Hans
-- Gary Hiebner SoundBase Productions cell: 082 877 6239 www.soundbase.co.za
This message contains privileged and confidential information intended only for the person or legal entity to which it is addressed. Any review, re-transmission, copy or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient, is prohibited. If you received this message in error, please delete the material from any computer. Although all outgoing messages are scanned using Anti-virus Software, we can not accept responsibility for any harm or damage attributable to the distribution of electronic mail from our servers.
-- Gary Hiebner SoundBase Productions cell: 082 877 6239 www.soundbase.co.za
This message contains privileged and confidential information intended only for the person or legal entity to which it is addressed. Any review, re-transmission, copy or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient, is prohibited. If you received this message in error, please delete the material from any computer. Although all outgoing messages are scanned using Anti-virus Software, we can not accept responsibility for any harm or damage attributable to the distribution of electronic mail from our servers.
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
-- Gary Hiebner SoundBase Productions cell: 082 877 6239 www.soundbase.co.za
This message contains privileged and confidential information intended only for the person or legal entity to which it is addressed. Any review, re-transmission, copy or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient, is prohibited. If you received this message in error, please delete the material from any computer. Although all outgoing messages are scanned using Anti-virus Software, we can not accept responsibility for any harm or damage attributable to the distribution of electronic mail from our servers.
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
-- Release me, insect, or I will destroy the Cosmos!
---------- Forwarded message ---------- From: Kassen
To: ChucK Users Mailing List Date: Sat, 27 Jun 2009 19:13:51 +0200 Subject: Re: [chuck-users] chuck-users Digest, Vol 47, Issue 26 Stefan; Maybe chuck is confused if you put it in /usr/bin, and tries to locate some
file using a relative path or something? A long shot...
As far as I know the executable contains everything needed aside from your .ck files (it even includes some short samples in the executable itself). Of course it is linked to your system for audio, HID, etc, but it's location shouldn't matter. If you don't like touching /usr/bin/ or /windows/system32/ you can keep it in some dr of your own choice with no adverse effect.
Yours, Kas.
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
-- Gary Hiebner SoundBase Productions cell: 082 877 6239 www.soundbase.co.za This message contains privileged and confidential information intended only for the person or legal entity to which it is addressed. Any review, re-transmission, copy or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient, is prohibited. If you received this message in error, please delete the material from any computer. Although all outgoing messages are scanned using Anti-virus Software, we can not accept responsibility for any harm or damage attributable to the distribution of electronic mail from our servers.
gary; Finally got it to work
I deleted the chuck file out of /usr/bin
Unpacked the chuck installer package, copied it to my applications.
Odd, it seems that /usr/bin/ plays a bit of a different role on OSX than it does in Linux. I started to suspect that already a few days ago when a friend let me poke around on her MacBook and I noticed dirs like that were completely invisible from the graphical shell. I made a mental note of this as I think I naïvely recommended to a few people that they just copy chuck to /usr/bin/ on their Mac, I better stop doing that. I would think that there must be a better better way of notifying the user of the issue than simply ignoring the command even if I can see the reasoning for demanding things like chuck be in a aplication folder (on Linux one does need to make a mental note of what one dumped into /usr/bin/ when one manually installs things there). At any rate, it's good that things work now. Kas.
OSX has the ability (inherited from NextStep I think) to treat whole
directories as applications, so you can click the directory icon and have
its application start. E.g. in the Applications folder I see Safari in
Finder, but if I open a terminal and cd there I see a directory called
Safari.app, containing an application structure. I thought this was only a
gui thing, but maybe there is some deeper connection with resources and
stuff even to simple executables like the chuck program. I find this
unlikely though - especially since the chuck executable does not have this
kind of .app structure.
Stefan
2009/6/28 Kassen
gary;
Finally got it to work
I deleted the chuck file out of /usr/bin
Unpacked the chuck installer package, copied it to my applications.
Odd, it seems that /usr/bin/ plays a bit of a different role on OSX than it does in Linux. I started to suspect that already a few days ago when a friend let me poke around on her MacBook and I noticed dirs like that were completely invisible from the graphical shell.
I made a mental note of this as I think I naïvely recommended to a few people that they just copy chuck to /usr/bin/ on their Mac, I better stop doing that. I would think that there must be a better better way of notifying the user of the issue than simply ignoring the command even if I can see the reasoning for demanding things like chuck be in a aplication folder (on Linux one does need to make a mental note of what one dumped into /usr/bin/ when one manually installs things there).
At any rate, it's good that things work now.
Kas.
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
-- Release me, insect, or I will destroy the Cosmos!
On 28 Jun 2009, at 02:13, Stefan Blixt wrote:
OSX has the ability (inherited from NextStep I think) to treat whole directories as applications, so you can click the directory icon and have its application start. E.g. in the Applications folder I see Safari in Finder, but if I open a terminal and cd there I see a directory called Safari.app, containing an application structure. I thought this was only a gui thing, but maybe there is some deeper connection with resources and stuff even to simple executables like the chuck program. I find this unlikely though - especially since the chuck executable does not have this kind of .app structure.
It is only a GUI thing, plus Mac OS X system components implemented on top of the underlying UNIX/Mach structure, at least in 10.5 and later. The Application bundle contains an ordinary program which the Finder launches, with an argument that perhaps is used to identify it for AppleEvents and such. Try repeating in Terminal /Applications/Calculator.app/Contents/MacOS/Calculator & You get several copies of the Calculator program running. Hans
On 28 Jun 2009, at 01:02, Kassen wrote:
Finally got it to work
I deleted the chuck file out of /usr/bin
Unpacked the chuck installer package, copied it to my applications.
Odd, it seems that /usr/bin/ plays a bit of a different role on OSX than it does in Linux.
There is no functional difference. In fact, I have mine in /usr/local/ bin/: $ which chuck /usr/local/bin/chuck This is the recommended place for user installed components; /usr/bin/ is reserved for UNIX system components. The drawback is that one has to set PATH (say in .profile for Terminal and .bashrc for X11 xterm or in the environment.plist file). See <http://www.rubicode.com/Software/RCEnvironment/
This program is useful too, to set file name extensions and more: http://www.rubicode.com/Software/RCDefaultApp/
I started to suspect that already a few days ago when a friend let me poke around on her MacBook and I noticed dirs like that were completely invisible from the graphical shell.
The Finder, wich is just another UNIX program, hides it away. I have added /usr/ to my file list. Go to the Finder menu Go -> Go to Folder and type /usr/. Alternatively, go to Terminal and type 'open /usr/'. Applications are directory bundles which contain an ordinary UNIX program. If you want to have more than one Calculator in the Finder GUI, try repeat in Terminal: /Applications/Calculator.app/Contents/MacOS/Calculator & When a UNIX program of an Application is started from the Finder, it gets a startup argumenr. Perhaps it is used to identify it it when sending AppleEvents, or something. One can see this values by 'ps -x' in Terminal. Hans
participants (4)
-
gary hiebner
-
Hans Aberg
-
Kassen
-
Stefan Blixt