3.7-7 "final" VM for Unix

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

3.7-7 "final" VM for Unix

Ian Piumarta-3
Unix Hackers,

I am pleased (and relieved) to announce the "final" 3.7-7 VM for Unix.
This VM is very close to 3.7b-5 (which has been working well for many
people for some time) with the addition of several critical fixes.

Archives are in the usual place (http://squeak.hpl.hp.com/unix) for
sources and a few pre-compiled binaries:

   Darwin 7.8   PowerPC
   Mac OS X     PowerPC
   FreeBSD 4.10 i386
   NetBSD 1.6.1 i386
   OpenBSD 3.4  i386
   Solaris 2.9  i386
   Solaris 2.9  Sparc
   GNU/Linux    PowerPC
   GNU/Linux    i686

(.rpms and .debs will follow shortly.  Due to limited physical access
to machines I have only been able to test this release on Darwin-PPC,
MacOSX-PPC, and GNU/Linux-i686.)

If you prefer to fetch the sources from our Subversion repository:

   svn export http://squeak.hpl.hp.com/svn/squeak/tags/unix-3.7-7

(The repository source now includes everything needed to build the
Unix VM.  No more guessing which magical combination of image-side
stuff is needed to generate a working Interpreter and plugins.  FWIW,
the generated sources used in this release are those found in the
released "final" 3.7-5898-full image [following my usual rule] plus
[exceptionally] Ned's "2GB oop" patches, which are included in the
'unix/misc' directory of both the source archive and repository.)

Enjoy!

Ian


PS:  A small reminder.  Please send VM-related problems/bugs/fixes to
      the VM-Dev list (see discuss.squeakfoundation.org).  VM-related
      posts to the general-purpose squeak-dev list are not guaranteed
      to be seen, let alone acted upon, by the relevant people.

      If you're sending me Unix-specific VM fixes, please send *entire*
      modified files (not 'diffs', of any flavour) since I read and
      manually apply all patches, one line at a time, using ediff in
      Emacs.  Fixes should usually be sent to me directly (ian [point]
      piumarta [chez] squeakland [point] org) and not copied to any
      mailing list, *please*.  (Partly traffic, but mostly to keep my
      remaining 'uncompromised' email addresses out of
      publicly-archived lists.)  Thanks!

PPS: Here are the release notes (relative to the 3.6 stable release)
      for anyone interested...

VM:

   Netscape plugin understands "imageName" and "failureURL" attributes
   in <embed ...> tags.

   Less noise from dlopen() and friends when probing for plugins.

   Problems preventing more than one external plugin from loading in
   Mac OS X fixed.

   Obscure bug fixed that prevented socket options being set on some
   platforms.

   NPSqueak improvements and bug fixes from Bert Freudenberg and Jens
   Lincke.  New environment variable SQUEAK_USERDIR used to find plugin
   image; defaults to 'My Squeak'.  (NPS may not work for users of
   shells other than bash.  Contact Bert if you have problems.)

   Interpreter changes from Ned Konz that avoid image segment loading
   errors caused by oops >= 2GB.

VM drivers:

   Drag-and-drop support added to the X11 display driver.

   vm-sound-NAS driver explicitly depends on libaudio.

   New option '-glxdebug <n>' sets OpenGL debug message level for X11
display.

Plugins:

   Additional checks for external data in SocketPlugin.

   New OSProcessPlugin (including XDpyPlg and AioPlg).

Build:

   Optimisation flags default to '-O' if compiler not recognised.

   sqGnu.h asm() statements fixed for gcc-3.1 compatibility.

   Use of alloca() made more portable.

   SVN repository now includes contents of 'src' directory used to
   build Unix binaries.  No more endless searching for the right
   combination of obscure VMM version and image updates.

   Build instructions updated for SVN and recent organisational
   changes.

   'gnuify' inserts a #error into gnu-interp.c if it detects a problem
   (causing cpp to barf cleanly with a comprehensible error message,
   rather than leaving the compiler to spew hundreds of obscure error
   messages).

Documentation:

   URIs updated to reflect recent organisational changes.


Reply | Threaded
Open this post in threaded view
|

RE: 3.7-7 "final" VM for Unix

tblanchard
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Nifty, so I downloaded it, check the instructions for building, and  
take the easy way out by just typing "make".  I'm on Mac OS X 10.3.8

I get this:
gcc -g -O2 -O3 -mcpu=750 -funroll-loops -g -O2 -O3 -mcpu=750 -  
- -funroll-loops -DHAVE_CONFIG_H -  
- -I/Users/todd/Projects/Squeak-3.7-7/platforms/unix/bld -  
- -I/Users/todd/Projects/Squeak-3.7-7/platforms/unix/vm -  
- -I/Users/todd/Projects/Squeak-3.7-7/platforms/Cross/vm -  
- -I/Users/todd/Projects/Squeak-3.7-7/platforms/unix/bld -  
- -I/Users/todd/Projects/Squeak-3.7-7/platforms/unix/vm -  
- -I/Users/todd/Projects/Squeak-3.7-7/platforms/Cross/vm -  
- -I/Users/todd/Projects/Squeak-3.7-7/platforms/Cross/plugins/FilePlugin  
- -  
- -I/Users/todd/Projects/Squeak-3.7-7/platforms/Cross/plugins/
B3DAcceleratorPlugin -  
- -I/Users/todd/Projects/Squeak-3.7-7/platforms/unix/plugins/
B3DAcceleratorPlugin -I/usr/X11R6/include -c  
/Users/todd/Projects/Squeak-3.7-7/platforms/unix/vm-display-X11/
sqUnixX11.c  -fno-common -DPIC -DPIC -o sqUnixX11.o
In file included from  
/Users/todd/Projects/Squeak-3.7-7/platforms/unix/vm/SqDisplay.h:13,
                  from  
/Users/todd/Projects/Squeak-3.7-7/platforms/unix/vm-display-X11/
sqUnixX11.c:74:
/Users/todd/Projects/Squeak-3.7-7/platforms/unix/plugins/
B3DAcceleratorPlugin/sqUnixOpenGL.h:26:7: #error *** cannot find gl.h
make[2]: *** [sqUnixX11.lo] Error 1
make[1]: *** [vm-display-X11.la] Error 2
make: *** [all] Error 2

doing a little finding in the /System directory yields
[todd]/System/Library>find . -name gl.h
./Frameworks/AGL.framework/Versions/A/Headers/gl.h
./Frameworks/OpenGL.framework/Versions/A/Headers/gl.h

So, what special value/place in this wonderfully elaborate build system  
should we tweak to make this work out of the box for Mac users?


On Mar 19, 2005, at 4:45 PM, Ian Piumarta wrote:

> Unix Hackers,
>
> I am pleased (and relieved) to announce the "final" 3.7-7 VM for Unix.
> This VM is very close to 3.7b-5 (which has been working well for many
> people for some time) with the addition of several critical fixes.
>
> Archives are in the usual place (http://squeak.hpl.hp.com/unix) for
> sources and a few pre-compiled binaries:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCPQhlhullemWJdQ8RAlkXAJ9bkmmECn+z/nxLfiFW7+QQDNEynACgij4u
yhE/751u4YjKKrPtrLs7aOw=
=nKIO
-----END PGP SIGNATURE-----


Reply | Threaded
Open this post in threaded view
|

Re: 3.7-7 "final" VM for Unix

Ian Piumarta-4
In reply to this post by Ian Piumarta-3
> Nifty, so I downloaded it, check the instructions for building, and  
> take the easy way out by just typing "make".  I'm on Mac OS X 10.3.8
>
> /Users/todd/Projects/Squeak-3.7-7/platforms/unix/plugins/
> B3DAcceleratorPlugin/sqUnixOpenGL.h:26:7: #error *** cannot find gl.h
>
> So, what special value/place in this wonderfully elaborate build  
> system should we tweak to make this work out of the box for Mac users?

For auto-detection of X11 library and header locations to work, you (an  
anonymous, generic 'you') must have /usr/X11R6/bin (or equivalent) in  
your PATH and you must have a working 'xmkmf' in that location.  In  
other words: to build Squeak with X11 support your compilation  
environment must be capable of building X11 clients from source.  
(Sounds obvious when put like that, no?)

Otherwise you can bypass X11 auto-detection by running configure  
manually:

        mkdir bld
        .../config/configure --x-includes=/usr/X11R6/include  
--x-libraries=/usr/X11R6/lib
        make

(assuming the required X11 headers and libraries are installed).

If you get compilation errors after configuring with '--without-x'  
(including OpenGL-related errors on Mac OS X) then let me know, because  
you've found a real bug.

Cheers,
Ian

PS: I only saw the above email because of a broken imap server.  Send  
VM build problems to VM-Dev or to the maintainer of the affected VM.  
Thanks.


Reply | Threaded
Open this post in threaded view
|

Re: 3.7-7 "final" VM for Unix

goran.krampe
In reply to this post by Ian Piumarta-3
Hi Ian and all!

Great to hear that we now have a 3.7 release! I will build later today.
:)

Ian Piumarta <[hidden email]> wrote:
> released "final" 3.7-5898-full image [following my usual rule] plus

...but I assume you actually mean 5989? :) :)

regards, Göran

PS. Could we write some of this information down somewhere more
permanently? (Göran the parrot)

Reply | Threaded
Open this post in threaded view
|

Re: 3.7-7 "final" VM for Unix

Bert Freudenberg-3
In reply to this post by Ian Piumarta-3
Am 21.03.2005 um 08:19 schrieb mds:

> Dear Ian,
>
> On 21 Mar 2005, at 02:32, Ian Piumarta wrote:
>
>> Problem 1:
>>
>> Can you confirm that you are getting a compilation error after
>> 'configure --without-x'?
>
> Yes, an ld error (that's "el-dee" for the sans serif prone like
> myself, writing this in Mail.app!). Output is as follows:
>
> gcc -g -O2 -O3 -mcpu=750 -funroll-loops -o squeak disabledPlugins.o
> version.o -framework CoreFoundation  vm/vm.a
> ADPCMCodecPlugin/ADPCMCodecPlugin.a
> AsynchFilePlugin/AsynchFilePlugin.a
> B3DAcceleratorPlugin/B3DAcceleratorPlugin.a Squeak3D/Squeak3D.a
> BMPReadWriterPlugin/BMPReadWriterPlugin.a B2DPlugin/B2DPlugin.a
> BitBltPlugin/BitBltPlugin.a DSAPrims/DSAPrims.a ZipPlugin/ZipPlugin.a
> DropPlugin/DropPlugin.a SqueakFFIPrims/SqueakFFIPrims.a
> FFTPlugin/FFTPlugin.a FileCopyPlugin/FileCopyPlugin.a
> FilePlugin/FilePlugin.a FloatArrayPlugin/FloatArrayPlugin.a
> GeniePlugin/GeniePlugin.a
> JPEGReadWriter2Plugin/JPEGReadWriter2Plugin.a
> JPEGReaderPlugin/JPEGReaderPlugin.a
> JoystickTabletPlugin/JoystickTabletPlugin.a Klatt/Klatt.a
> LargeIntegers/LargeIntegers.a MIDIPlugin/MIDIPlugin.a
> Matrix2x3Plugin/Matrix2x3Plugin.a
> MiscPrimitivePlugin/MiscPrimitivePlugin.a Mpeg3Plugin/Mpeg3Plugin.a
> RePlugin/RePlugin.a SecurityPlugin/SecurityPlugin.a
> SerialPlugin/SerialPlugin.a SocketPlugin/SocketPlugin.a
> SoundCodecPrims/SoundCodecPrims.a
> SoundGenerationPlugin/SoundGenerationPlugin.a
> SoundPlugin/SoundPlugin.a StarSqueakPlugin/StarSqueakPlugin.a
> SurfacePlugin/SurfacePlugin.a -lm vm/vm.a
> ld: Undefined symbols:
> _glBegin
> _glBindTexture

You must not build the B3DAcceleratorPlugin internally - this is the
one that requires OpenGL (obviously).

- Bert -


Reply | Threaded
Open this post in threaded view
|

Re: 3.7-7 "final" VM for Unix

Bert Freudenberg-3
In reply to this post by goran.krampe

Am 21.03.2005 um 14:52 schrieb Hugo Garcia:

> um... newbie here. I found 3.6 at the un*x download site. Whre do I
> find 2.7. I only see the beta RPM's.

The unix site moved, but most links are not updated, yet:

        http://squeak.hpl.hp.com/unix/

There are no 3.7 RPMs as of now, but they should arrive shortly.

- Bert -


Reply | Threaded
Open this post in threaded view
|

Re: 3.7-7 "final" VM for Unix

Bruce O'Neel
In reply to this post by Ian Piumarta-3
Hi,

Thanks, I've just updated box1.squeakfoundation.org with
all of these new VMs and built new packages.

cheers

bruce

Ian Piumarta <[hidden email]> wrote:

> Date: Sat, 19 Mar 2005 16:45:46 -0800
> From: Ian Piumarta <[hidden email]>
> Subject: 3.7-7 "final" VM for Unix
> To: The general-purpose Squeak developers list <[hidden email]>
> Cc: [hidden email]
> mailing-list: contact [hidden email]; run by ezmlm
> content-length: 4015
>
> Unix Hackers,
>
> I am pleased (and relieved) to announce the "final" 3.7-7 VM for Unix.
> This VM is very close to 3.7b-5 (which has been working well for many
> people for some time) with the addition of several critical fixes.
>
> Archives are in the usual place (http://squeak.hpl.hp.com/unix) for
> sources and a few pre-compiled binaries:
>
>    Darwin 7.8   PowerPC
>    Mac OS X     PowerPC
>    FreeBSD 4.10 i386
>    NetBSD 1.6.1 i386
>    OpenBSD 3.4  i386
>    Solaris 2.9  i386
>    Solaris 2.9  Sparc
>    GNU/Linux    PowerPC
>    GNU/Linux    i686
>
> (.rpms and .debs will follow shortly.  Due to limited physical access
> to machines I have only been able to test this release on Darwin-PPC,
> MacOSX-PPC, and GNU/Linux-i686.)
>
> If you prefer to fetch the sources from our Subversion repository:
>
>    svn export http://squeak.hpl.hp.com/svn/squeak/tags/unix-3.7-7
>
> (The repository source now includes everything needed to build the
> Unix VM.  No more guessing which magical combination of image-side
> stuff is needed to generate a working Interpreter and plugins.  FWIW,
> the generated sources used in this release are those found in the
> released "final" 3.7-5898-full image [following my usual rule] plus
> [exceptionally] Ned's "2GB oop" patches, which are included in the
> 'unix/misc' directory of both the source archive and repository.)
>
> Enjoy!
>
> Ian
>
>
> PS:  A small reminder.  Please send VM-related problems/bugs/fixes to
>       the VM-Dev list (see discuss.squeakfoundation.org).  VM-related
>       posts to the general-purpose squeak-dev list are not guaranteed
>       to be seen, let alone acted upon, by the relevant people.
>
>       If you're sending me Unix-specific VM fixes, please send *entire*
>       modified files (not 'diffs', of any flavour) since I read and
>       manually apply all patches, one line at a time, using ediff in
>       Emacs.  Fixes should usually be sent to me directly (ian [point]
>       piumarta [chez] squeakland [point] org) and not copied to any
>       mailing list, *please*.  (Partly traffic, but mostly to keep my
>       remaining 'uncompromised' email addresses out of
>       publicly-archived lists.)  Thanks!
>
> PPS: Here are the release notes (relative to the 3.6 stable release)
>       for anyone interested...
>
> VM:
>
>    Netscape plugin understands "imageName" and "failureURL" attributes
>    in <embed ...> tags.
>
>    Less noise from dlopen() and friends when probing for plugins.
>
>    Problems preventing more than one external plugin from loading in
>    Mac OS X fixed.
>
>    Obscure bug fixed that prevented socket options being set on some
>    platforms.
>
>    NPSqueak improvements and bug fixes from Bert Freudenberg and Jens
>    Lincke.  New environment variable SQUEAK_USERDIR used to find plugin
>    image; defaults to 'My Squeak'.  (NPS may not work for users of
>    shells other than bash.  Contact Bert if you have problems.)
>
>    Interpreter changes from Ned Konz that avoid image segment loading
>    errors caused by oops >= 2GB.
>
> VM drivers:
>
>    Drag-and-drop support added to the X11 display driver.
>
>    vm-sound-NAS driver explicitly depends on libaudio.
>
>    New option '-glxdebug <n>' sets OpenGL debug message level for X11
> display.
>
> Plugins:
>
>    Additional checks for external data in SocketPlugin.
>
>    New OSProcessPlugin (including XDpyPlg and AioPlg).
>
> Build:
>
>    Optimisation flags default to '-O' if compiler not recognised.
>
>    sqGnu.h asm() statements fixed for gcc-3.1 compatibility.
>
>    Use of alloca() made more portable.
>
>    SVN repository now includes contents of 'src' directory used to
>    build Unix binaries.  No more endless searching for the right
>    combination of obscure VMM version and image updates.
>
>    Build instructions updated for SVN and recent organisational
>    changes.
>
>    'gnuify' inserts a #error into gnu-interp.c if it detects a problem
>    (causing cpp to barf cleanly with a comprehensible error message,
>    rather than leaving the compiler to spew hundreds of obscure error
>    messages).
>
> Documentation:
>
>    URIs updated to reflect recent organisational changes.