Following on from my previous post, is there a way to build the latest stable Squeak-4.0.3.2022 from source on FreeBSD 8? (The ports version is still stuck below 4.) Configure: ../unix/cmake/configure --without-SUGAR --without-UUIDPlugin --prefix=/usr/local Make proceeds without any errors. However, trying to run squeak: SQUEAK_ENCODING=UTF-8 SQUEAK_PATHENC=UTF-8 SQUEAK_PLUGINS=/usr/local/lib/squeak/4.0.3-2202 + exec /usr/local/lib/squeak/4.0.3-2202/squeakvm seaside.image /usr/local/lib/squeak/4.0.3-2202/so.vm-display-X11: Undefined symbol "error" could not find display driver vm-display-X11; either: - check that /usr/local/lib/squeak/4.0.3-2202/vm-display-X11.so exists, or - use the '-plugins <path>' option to tell me where it is, or - remove DISPLAY from your environment. Abort trap (core dumped) It works perfectly with Squeak-3.11.3.2135 from source. Note that I'm not applying any of the patches that are in the FreeBSD port for Squeak. I hope someone can help! Thanks, Amir |
>>>>> "Amir" == Amir Ansari <[hidden email]> writes: Amir> I hope someone can help! Me too. I tried to build it a ways back, and got stuck. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[hidden email]> <URL:http://www.stonehenge.com/merlyn/> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussion |
In reply to this post by Amir Ansari
On Mon, Dec 06, 2010 at 08:04:06PM +0000, Amir Ansari wrote: > > Following on from my previous post, is there a way to build the latest stable Squeak-4.0.3.2022 from source on FreeBSD 8? (The ports version is still stuck below 4.) > > Configure: ../unix/cmake/configure --without-SUGAR --without-UUIDPlugin --prefix=/usr/local > > Make proceeds without any errors. However, trying to run squeak: > > SQUEAK_ENCODING=UTF-8 > SQUEAK_PATHENC=UTF-8 > SQUEAK_PLUGINS=/usr/local/lib/squeak/4.0.3-2202 > + exec /usr/local/lib/squeak/4.0.3-2202/squeakvm seaside.image > /usr/local/lib/squeak/4.0.3-2202/so.vm-display-X11: Undefined symbol "error" > could not find display driver vm-display-X11; either: > - check that /usr/local/lib/squeak/4.0.3-2202/vm-display-X11.so exists, or > - use the '-plugins <path>' option to tell me where it is, or > - remove DISPLAY from your environment. > Abort trap (core dumped) > > > It works perfectly with Squeak-3.11.3.2135 from source. Note that I'm not applying any of the patches that are in the FreeBSD port for Squeak. > > I hope someone can help! Amir, This may be a mismatch between VMMaker version (i.e. the generated sources) versus the platform support code (kept in Subversion). It may not be related to FreeBSD at all. Some time in the recent past we changed how error() is handled in the VM (look in interp.c and search for the defaultErrorProc()), so I suspect that the something is out of sync in the source that you are compiling. As a workaround, it is likely that if you just edit your platforms/unix/vm-display-X11/sqUnixX11.c and find the call to error(), and either comment it out or replace it with a your own local function called error() instead, you will end up with a working module. The ``Undefined symbol "error" '' message is legitimate, it means that the vm-display-X11 module (which is a dynamic libary) has a reference to the error() function (which is does), but the OS cannot find an error() function to link at runtime. I'm not sure if this helps any .... Dave |
Free forum by Nabble | Edit this page |