I thought I'd check up on my plug-ins.
On trying to load HTMR_20-_20Squeak_20Central.003.pr I get GZip ReadStream Error. Looks like I need a plug in, but which one(s)?
On trying to run a movie with the Movie Player Morph I get MessageNotUnderstood: fileHandle. I'm not sure what this relates to. Any ideas?
On trying to load an mpeg, I get a primitive has failed. I guess I need a plug-in. Is the source for an mpeg plug-in for *nix out there?
Smalltalk listLoadedModules #('SoundPlugin 17 May 2001 (i)' 'ZipPlugin 17 May 2001 (i)' 'LargeIntegers v1.2 17 May 2001 (i)' 'UnixOSProcessPlugin 6 May 2001 (e)' 'BitBltPlugin 17 May 2001 (i)' 'B2DPlugin 17 May 2001 (i)' 'SecurityPlugin 17 May 2001 (i)' 'FilePlugin 17 May 2001 (i)' 'MiscPrimitivePlugin 17 May 2001 (i)')
Of course, this can't be regarded as definitive. My home directory also has AsynchFilePlugin.so StarSqueakPlugin.so
Squeak3.1alpha, change set #4173
SuSE Linux 6.4.
Cheers
John
John Hinsley wrote:
I thought I'd check up on my plug-ins.
On trying to load HTMR_20-_20Squeak_20Central.003.pr I get GZip ReadStream Error. Looks like I need a plug in, but which one(s)?
On trying to run a movie with the Movie Player Morph I get MessageNotUnderstood: fileHandle. I'm not sure what this relates to. Any ideas?
On trying to load an mpeg, I get a primitive has failed. I guess I need a plug-in. Is the source for an mpeg plug-in for *nix out there?
Smalltalk listLoadedModules #('SoundPlugin 17 May 2001 (i)' 'ZipPlugin 17 May 2001 (i)' 'LargeIntegers v1.2 17 May 2001 (i)' 'UnixOSProcessPlugin 6 May 2001 (e)' 'BitBltPlugin 17 May 2001 (i)' 'B2DPlugin 17 May 2001 (i)' 'SecurityPlugin 17 May 2001 (i)' 'FilePlugin 17 May 2001 (i)' 'MiscPrimitivePlugin 17 May 2001 (i)')
Of course, this can't be regarded as definitive. My home directory also has AsynchFilePlugin.so StarSqueakPlugin.so
Squeak3.1alpha, change set #4173
SuSE Linux 6.4.
I'm not that well into the *nix stuff but here is some hints. Lex Spoon wrote:
I've updated my Unix VM patches page. Most notably there is now a link to a "Squeak-lex.tgz" file, which includes the complete build tree I personally use. This should be easier than downloading all the individual patches, applying them, generating new interp.c's etc from Squeak, and downloading whatever plugins you want--each step is easy but it sure adds up! The file includes Mpeg3Plugin and UnixProcessPlugin. It does not include any OpenGL stuff, because I didn't manage to hunt that down....
http://www.cc.gatech.edu/~lex/squeak/
and
On Sun, 1 Jul 2001, Lex Spoon wrote:
It does not include any OpenGL stuff, because I didn't manage to hunt that down....
I posted the first version a while ago:
http://swiki.gsug.org/sqfixes/1575.html
but I have attached a slightly newer one. There are minor changes to the VM, see the NOTES file (and please let me know if I forgot something).
Browse around and the B3DPlugin stuff should be there somewhere...
Hope this helps.
Karl
Karl Ramberg wrote:
I'm not that well into the *nix stuff but here is some hints. Lex Spoon wrote:
I've updated my Unix VM patches page. Most notably there is now a link to a "Squeak-lex.tgz" file, which includes the complete build tree I personally use. This should be easier than downloading all the individual patches, applying them, generating new interp.c's etc from Squeak, and downloading whatever plugins you want--each step is easy but it sure adds up! The file includes Mpeg3Plugin and UnixProcessPlugin. It does not include any OpenGL stuff, because I didn't manage to hunt that down....
http://www.cc.gatech.edu/~lex/squeak/
and
On Sun, 1 Jul 2001, Lex Spoon wrote:
It does not include any OpenGL stuff, because I didn't manage to hunt that down....
I posted the first version a while ago:
http://swiki.gsug.org/sqfixes/1575.html
Thanks Karl
I've now got all of Lex's stuff. Problem is that Linux and Lex's Makefile don't get on very well! This doesn't seem to have anything to do with the mpeg stuff......
So I do my normal trick of stuffing everything into one directory and run:
gcc --shared -o Mpeg3Plugin.so Mpeg3Plugin.c -DHAVE_CONFIG_H
and stuff the resulting .so file in my home directory.
Now on popping open any of the MPEG Morphs and trying to get it to work on an mpeg I get: "error: a primitive has failed". It's as though Squeal can't recognise the plugin.
Any ideas, folks?
Cheers
John
I've now got all of Lex's stuff. Problem is that Linux and Lex's Makefile don't get on very well! This doesn't seem to have anything to do with the mpeg stuff......
So I do my normal trick of stuffing everything into one directory and run:
gcc --shared -o Mpeg3Plugin.so Mpeg3Plugin.c -DHAVE_CONFIG_H
and stuff the resulting .so file in my home directory.
The compilation steps are described in BUILD.UnixSqueak, but in short, you can do:
mkdir build cd build ../src/unix/configure --prefix=$HOME make install
This will install the vm in $HOME/bin and the plugins in $HOME/lib/squeak/, which it sounds like you will be happy with. Another common choice is --prefix=/usr/local .
Is this what you tried? If so, what happened? If not, please try it :)
Now on popping open any of the MPEG Morphs and trying to get it to work on an mpeg I get: "error: a primitive has failed". It's as though Squeal can't recognise the plugin.
Yes, that does seem to be the problem. The .so file either needs to be in the current directory, or in the path Squeak is compiled to look in, or in LD_LIBRARY_PATH.
But frankly, managing all these files by hand is a pain. It's probably best to give the automatic tools another try.
Lex Spoon
Lex Spoon wrote:
The compilation steps are described in BUILD.UnixSqueak, but in short, you can do:
mkdir build cd build ../src/unix/configure --prefix=$HOME make install
This will install the vm in $HOME/bin and the plugins in $HOME/lib/squeak/, which it sounds like you will be happy with. Another common choice is --prefix=/usr/local .
Is this what you tried? If so, what happened? If not, please try it :)
Thanks Lex, it worked this time (after I'd re-run inisqueak). I think I was getting errors before because I'd uncompressed your stuff into my old source directory and was trying to run everything from there: looks like some stuff simply wasn't being found. Silly me! Doing it your way, everything built just fine.
So, now I can run mpegs in Squeak. I still can't get that pesky HTMR_20-_20Squeak_20Central.003.pr to load -- the one at Squeakland -- (error: a primitive has failed) -- has anyone managed to get that to work outside a Mac?
Thanks again
Cheers
John
squeak-dev@lists.squeakfoundation.org