Ok, I'm just trying to install squeak on Ubuntu linux 9. when I do the make it seems to want to install sqUnixSoundPulseAudio although the readme says something about OSS being the unix deault and pulse audio an optional install? However on a base Ubuntu Linux 9 system when it attempts to compile sqUnixSoundPulseAudio.c it freaks and gives error: pulse/simple.h: No such file or directory and we are dead... So how do I configure it with either no sound? Or pick some other sound Or figure out how to get Sound pulse on Ubuntu to make the squeak make logic happy? -- =========================================================================== John M. McIntosh <[hidden email]> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com =========================================================================== |
On Friday 15 January 2010 02:46:14 pm John M McIntosh wrote: > when I do the make it seems to want to install sqUnixSoundPulseAudio > although the readme says something about OSS being the unix deault and > pulse audio an optional install? OSS is an obsolete API for sound clients. ALSA API replaced it and now with pulseaudio. However, these API support OSS clients for backward compatibility. Do you have libpulse0 (runtime) and libpulse-dev (headers) packages installed? Subbu |
Ok, I was missing the libpulse-dev now it dies on trying to compile sqUnixPseudoTTYPlugin.c error: pty undeclared On 2010-01-15, at 1:31 AM, K. K. Subramaniam wrote: > On Friday 15 January 2010 02:46:14 pm John M McIntosh wrote: >> when I do the make it seems to want to install sqUnixSoundPulseAudio >> although the readme says something about OSS being the unix deault and >> pulse audio an optional install? > OSS is an obsolete API for sound clients. ALSA API replaced it and now with > pulseaudio. However, these API support OSS clients for backward compatibility. > > Do you have libpulse0 (runtime) and libpulse-dev (headers) packages installed? > > Subbu -- =========================================================================== John M. McIntosh <[hidden email]> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com =========================================================================== |
In reply to this post by K. K. Subramaniam
Well a bit further, I manually deleted the PseudoTTYPlugin from the make file and plugin directory did sudo squeak install but when I invoke squeak I get could not find display driver vm-display-X11; either: check that /usr/local/lib/squeak/3.10-6/vm-display-X11.so exists, or use the '-plugins <path>' optoin to tell me where it is, or - remove DISPLAY from your environment I note that DISPLAY is :0.0 /usr/local/lib/squeak/3.10-6/vm-display-X11 no '.so' exists On 2010-01-15, at 1:31 AM, K. K. Subramaniam wrote: > On Friday 15 January 2010 02:46:14 pm John M McIntosh wrote: >> when I do the make it seems to want to install sqUnixSoundPulseAudio >> although the readme says something about OSS being the unix deault and >> pulse audio an optional install? > OSS is an obsolete API for sound clients. ALSA API replaced it and now with > pulseaudio. However, these API support OSS clients for backward compatibility. > > Do you have libpulse0 (runtime) and libpulse-dev (headers) packages installed? > > Subbu -- =========================================================================== John M. McIntosh <[hidden email]> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com =========================================================================== |
On 15.01.2010, at 11:14, John M McIntosh wrote: > > > Well a bit further, I manually deleted the PseudoTTYPlugin from the make file and plugin directory > did sudo squeak install > but when I invoke squeak I get > could not find display driver vm-display-X11; either: > check that /usr/local/lib/squeak/3.10-6/vm-display-X11.so exists, That message is incorrect, the .so extension is not necessary. > or > use the '-plugins <path>' optoin to tell me where it is, or > - remove DISPLAY from your environment > > I note that DISPLAY is :0.0 > /usr/local/lib/squeak/3.10-6/vm-display-X11 no '.so' exists Try ldd on that to see if it's missing some library. We've had this problem before but never got to the ground of it. You might try redoing the full build. - Bert - |
Er and how would I redo the full build? mmm this appears sane? No yes? johnmci@UbuntuLinux9Parallels:/usr/local/lib/squeak/3.10-6$ ldd vm-display-X11 Â Â Â linux-gate.so.1 =>Â (0x0045f000) Â Â Â libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00ca4000) Â Â Â libXext.so.6 => /usr/lib/libXext.so.6 (0x0043e000) Â Â Â libSM.so.6 => /usr/lib/libSM.so.6 (0x008c4000) Â Â Â libICE.so.6 => /usr/lib/libICE.so.6 (0x006a1000) Â Â Â libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x001be000) Â Â Â libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x0095e000) Â Â Â libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0x005c8000) Â Â Â libX11.so.6 => /usr/lib/libX11.so.6 (0x00cf8000) Â Â Â libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x001c2000) Â Â Â libXau.so.6 => /usr/lib/libXau.so.6 (0x0030f000) Â Â Â libuuid.so.1 => /lib/libuuid.so.1 (0x0050f000) Â Â Â /lib/ld-linux.so.2 (0x008d0000) Â Â Â libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00110000) Â Â Â libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00869000) On Fri, Jan 15, 2010 at 2:51 AM, Bert Freudenberg <[hidden email]> wrote:
-- =========================================================================== John M. McIntosh <[hidden email]> Corporate Smalltalk Consulting Ltd. Â http://www.smalltalkconsulting.com =========================================================================== |
On 15.01.2010, at 11:58, John McIntosh wrote: > Er and how would I redo the full build? "rm -r builddir" then start over ... > mmm this appears sane? No yes? Yes. You're doing a regular install right? No weird symlinks etc? Next step would be to enable debug info in the external prims file. IIRC just recompiling that solved it for me in one case. As I said, it's odd. - Bert - |
Yawn well it is 3 am here so I'll give up until the morning it was svn trunk then cd to unix directory and make. But apparently that doesn't work, too much magic involved or something On 1/15/10, Bert Freudenberg <[hidden email]> wrote: > > On 15.01.2010, at 11:58, John McIntosh wrote: >> Er and how would I redo the full build? > > "rm -r builddir" then start over ... > >> mmm this appears sane? No yes? > > Yes. > > You're doing a regular install right? No weird symlinks etc? Next step would > be to enable debug info in the external prims file. IIRC just recompiling > that solved it for me in one case. As I said, it's odd. > > - Bert - > > -- =========================================================================== John M. McIntosh <[hidden email]> Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com =========================================================================== |
On 15.01.2010, at 12:12, John McIntosh wrote: > > > Yawn well it is 3 am here so I'll give up until the morning it was > svn trunk then cd to unix directory and make. But apparently that > doesn't work, too much magic involved or something Err, I thought trunk was at 3.11 not 3.10-6? Are you mixing VMs? - Bert - |
In reply to this post by johnmci
On Friday 15 January 2010 03:44:19 pm John M McIntosh wrote: > but when I invoke squeak I get > could not find display driver vm-display-X11; either: > check that /usr/local/lib/squeak/3.10-6/vm-display-X11.so exists, or > use the '-plugins <path>' optoin to tell me where it is, or > - remove DISPLAY from your environment Which version are you using? It looks like the binary is picking up libraries from an old installation. You may want to test your build by running: $ ./squeak <image> directly from the bld/ directory. This script will pick up plugins from <plugin>/so.<plugin> (build area). It will print the plugin paths on the console so you can verify the locations. Subbu |
In reply to this post by K. K. Subramaniam
On 15/01/2010 09:31, K. K. Subramaniam wrote: > > On Friday 15 January 2010 02:46:14 pm John M McIntosh wrote: > >> when I do the make it seems to want to install sqUnixSoundPulseAudio >> although the readme says something about OSS being the unix deault and >> pulse audio an optional install? >> > OSS is an obsolete API for sound clients. ALSA API replaced it and now with > pulseaudio. However, these API support OSS clients for backward compatibility. > > OSS isn't obsolete for those of us on non-linux unix systems :P |
In reply to this post by Bert Freudenberg
Well I did according to HowToBuildFromSource.txt and doesn't the: >>>Err, I thought trunk was at 3.11 not 3.10-6? Are you mixing VMs? version number come from what ever the src has in the trunk via some vmmaker setup done in the past? first you need sudo apt-get install subversion sudo aptitude update sudo aptitude install build-essential sudo apt-get install xorg-dev " Install pulse audio stuff" sudo apt-get source pulseaudio "and other stuff?" Now do the simple thing: svn co http://squeakvm.org/svn/squeak/trunk squeak cd squeak/platforms/unix make sudo make install $ squeak could not find display driver vm-display-X11; either: - check that /usr/local/lib/squeak/3.10-6/vm-display-X11.so exists, or - use the '-plugins <path>' option to tell me where it is, or - remove DISPLAY from your environment. Aborted So this morning I did the more complex thing. 265 cd squeak-svn/ 266 ls 267 mkdir bld 268 cd bld 269 ../platforms/unix/config/configure 270 make 271 sudo make install 272 squeak **** same error **** ldd squeak linux-gate.so.1 => (0x009e4000) libutil.so.1 => /lib/tls/i686/cmov/libutil.so.1 (0x00b55000) libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x0012b000) libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x002b2000) libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0x00eba000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x0012f000) /lib/ld-linux.so.2 (0x00313000) ldd /usr/local/lib/squeak/3.10-6/vm-display-X11 linux-gate.so.1 => (0x009dc000) libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00bbf000) libXext.so.6 => /usr/lib/libXext.so.6 (0x002de000) libSM.so.6 => /usr/lib/libSM.so.6 (0x00687000) libICE.so.6 => /usr/lib/libICE.so.6 (0x00b34000) libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x001af000) libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x00cfc000) libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0x00fe0000) libX11.so.6 => /usr/lib/libX11.so.6 (0x0077e000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x002ee000) libXau.so.6 => /usr/lib/libXau.so.6 (0x00110000) libuuid.so.1 => /lib/libuuid.so.1 (0x00a3f000) /lib/ld-linux.so.2 (0x00e85000) libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00114000) libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00132000) On 2010-01-15, at 3:18 AM, Bert Freudenberg wrote: > > On 15.01.2010, at 12:12, John McIntosh wrote: >> >> >> Yawn well it is 3 am here so I'll give up until the morning it was >> svn trunk then cd to unix directory and make. But apparently that >> doesn't work, too much magic involved or something > > Err, I thought trunk was at 3.11 not 3.10-6? Are you mixing VMs? > > - Bert - > > -- =========================================================================== John M. McIntosh <[hidden email]> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com =========================================================================== |
In reply to this post by K. K. Subramaniam
Ok bld is the directory where -rwxr-xr-x 1 johnmci johnmci 2226348 2010-01-15 11:07 squeak /bld$ ./squeak could not find display driver vm-display-X11; either: - check that /usr/local/lib/squeak/3.10-6/vm-display-X11.so exists, or - use the '-plugins <path>' option to tell me where it is, or - remove DISPLAY from your environment. Aborted On 2010-01-15, at 3:42 AM, K. K. Subramaniam wrote: > On Friday 15 January 2010 03:44:19 pm John M McIntosh wrote: >> but when I invoke squeak I get >> could not find display driver vm-display-X11; either: >> check that /usr/local/lib/squeak/3.10-6/vm-display-X11.so exists, or >> use the '-plugins <path>' optoin to tell me where it is, or >> - remove DISPLAY from your environment > Which version are you using? It looks like the binary is picking up libraries > from an old installation. > > You may want to test your build by running: > $ ./squeak <image> > > directly from the bld/ directory. This script will pick up plugins from > <plugin>/so.<plugin> (build area). It will print the plugin paths on the > console so you can verify the locations. > > Subbu -- =========================================================================== John M. McIntosh <[hidden email]> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com =========================================================================== |
In reply to this post by johnmci
Am 15.01.2010 um 20:52 schrieb John M McIntosh: > > Well I did according to HowToBuildFromSource.txt > and doesn't the: >>>Err, I thought trunk was at 3.11 not 3.10-6? Are you mixing VMs? > version number come from what ever the src has in the trunk via some vmmaker setup done in the past? > > > first you need > > sudo apt-get install subversion > sudo aptitude update > sudo aptitude install build-essential > sudo apt-get install xorg-dev > " Install pulse audio stuff" > sudo apt-get source pulseaudio "and other stuff?" > > Now do the simple thing: > svn co http://squeakvm.org/svn/squeak/trunk squeak > cd squeak/platforms/unix > make > sudo make install > > $ squeak > could not find display driver vm-display-X11; either: > - check that /usr/local/lib/squeak/3.10-6/vm-display-X11.so exists, or > - use the '-plugins <path>' option to tell me where it is, or > - remove DISPLAY from your environment. > Aborted > > So this morning I did the more complex thing. > > 265 cd squeak-svn/ > 266 ls > 267 mkdir bld > 268 cd bld > 269 ../platforms/unix/config/configure > So you need the configure script located in ../platforms/unix/cmake/ Regards, Andreas > > |
Ah, yes ok, now it works. I see it has been updated on the squeakvm build unix page, but it is NOT updated in the build instructions doc. So if you follow the build instructions or the README it fails to work, clues to why are non-existant. On 2010-01-15, at 12:01 PM, Andreas Wacknitz wrote: >> 269 ../platforms/unix/config/configure >> > I think here is one mistake: Ian changed the UNIX build process to cmake some weeks ago. > So you need the configure script located in ../platforms/unix/cmake/ > > Regards, > Andreas >> >> > -- =========================================================================== John M. McIntosh <[hidden email]> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com =========================================================================== |
Just to note there may still be a problem with PulseAudio on Ubuntu 9.10. The PA plugin for Squeak uses PA's "simple" API and worked fine until 9.10. I made one unsuccessful attempt to get it working again earlier this month but will look into it again soon. On 15/01/2010 21:54, John M McIntosh wrote: > > Ah, yes ok, now it works. I see it has been updated on the squeakvm build unix page, but it is NOT updated in the build instructions doc. > > So if you follow the build instructions or the README it fails to work, clues to why are non-existant. > > > On 2010-01-15, at 12:01 PM, Andreas Wacknitz wrote: > >>> 269 ../platforms/unix/config/configure >>> >> I think here is one mistake: Ian changed the UNIX build process to cmake some weeks ago. >> So you need the configure script located in ../platforms/unix/cmake/ >> >> Regards, >> Andreas >>> >>> >> > > -- > =========================================================================== > John M. McIntosh <[hidden email]> Twitter: squeaker68882 > Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com > =========================================================================== > > > > |
In reply to this post by Douglas Brebner
On Saturday 16 January 2010 12:05:01 am Douglas Brebner wrote: > On 15/01/2010 09:31, K. K. Subramaniam wrote: > > On Friday 15 January 2010 02:46:14 pm John M McIntosh wrote: > >> when I do the make it seems to want to install sqUnixSoundPulseAudio > >> although the readme says something about OSS being the unix deault and > >> pulse audio an optional install? > > > > OSS is an obsolete API for sound clients. ALSA API replaced it and now > > with pulseaudio. However, these API support OSS clients for backward > > compatibility. > > OSS isn't obsolete for those of us on non-linux unix systems :P thread). Subbu |
On 16/01/2010 04:49, K. K. Subramaniam wrote: > On Saturday 16 January 2010 12:05:01 am Douglas Brebner wrote: > >> On 15/01/2010 09:31, K. K. Subramaniam wrote: >> >>> On Friday 15 January 2010 02:46:14 pm John M McIntosh wrote: >>> >>>> when I do the make it seems to want to install sqUnixSoundPulseAudio >>>> although the readme says something about OSS being the unix deault and >>>> pulse audio an optional install? >>>> >>> OSS is an obsolete API for sound clients. ALSA API replaced it and now >>> with pulseaudio. However, these API support OSS clients for backward >>> compatibility. >>> >> OSS isn't obsolete for those of us on non-linux unix systems :P >> > True. No offence intended. It is only obsolete on Linux (the topic of this > thread). > > No offence taken, I just like to do my bit to stem the tide of unix=linux thinking :) |
In reply to this post by K. K. Subramaniam
On Sat, 16 Jan 2010, K. K. Subramaniam wrote: > > On Saturday 16 January 2010 12:05:01 am Douglas Brebner wrote: >> On 15/01/2010 09:31, K. K. Subramaniam wrote: >>> On Friday 15 January 2010 02:46:14 pm John M McIntosh wrote: >>>> when I do the make it seems to want to install sqUnixSoundPulseAudio >>>> although the readme says something about OSS being the unix deault and >>>> pulse audio an optional install? >>> >>> OSS is an obsolete API for sound clients. ALSA API replaced it and now >>> with pulseaudio. However, these API support OSS clients for backward >>> compatibility. >> >> OSS isn't obsolete for those of us on non-linux unix systems :P > True. No offence intended. It is only obsolete on Linux (the topic of this > thread). OSS 3 is obsolete, but OSS 4 is not. Levente > > Subbu > |
Free forum by Nabble | Edit this page |