I'm trying to build Squeak-4.10.2.2614-src under Raspbian Wheezy on a model-B Pi, which is a lot more fun to say than I thought it would be. Ultimately I want to install it along side of the vm that comes with Raspbian so I can track vm development on the device without borking Scratch. It looks like for some reason the X11 bits aren't getting made, and I don't know why. I'm guessing it didn't find some dependency it was looking for and gave up on X11. The X window system is totally present and running happily fwiw.
I think I've followed the instructions in the README file to the letter, but I do make mistakes sometimes. Below is the output from the configuration script. I know that some of these things aren't absolutely needed, but X11 is kind of necessary for my purposes:)
Does anyone know how I might figure out what I'm doing wrong?
pi@raspberrypi ~/Desktop/Squeak-4.10.2.2614-src/bld $ ../unix/cmake/configure -- Configuring squeak 4.10.2-2614 for armv6l-unknown-linux-gnu -- Using source directory ../unix/src -- Using CFLAGS -O3 -DNDEBUG -I/usr/local/include -L/usr/local/lib -- Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY) -- FT2Plugin: freetype2 found -- SocketPlugin: libsocket not found -- SocketPlugin: /usr/lib/arm-linux-gnueabihf/libnsl.so !! B3DAcceleratorPlugin disabled -- CameraPlugin: /usr/include/linux/videodev2.h !! ClipboardExtendedPlugin disabled -- checking for module 'dbus-1' -- package 'dbus-1' not found !! DBusPlugin disabled -- SqueakFFIPrims: any-libffi -- checking for module 'libffi' -- package 'libffi' not found !! SqueakFFIPrims disabled !! HostWindowPlugin disabled -- MIDIPlugin: alsa/asoundlib.h not found -- MIDIPlugin: libasound not found !! MIDIPlugin disabled -- checking for module 'pangocairo' -- package 'pangocairo' not found -- RomePlugin: freetype2 found -- RomePlugin: cairo-ft.h not found !! RomePlugin disabled -- UUIDPlugin: uuid.h not found -- UUIDPlugin: sys/uuid.h not found -- UUIDPlugin: uuid/uuid.h not found -- UUIDPlugin: libuuid not found !! UUIDPlugin disabled -- checking for module 'pangocairo' -- package 'pangocairo' not found -- checking for module 'glib-2.0' -- package 'glib-2.0' not found !! UnicodePlugin disabled -- UnixOSProcessPlugin: /usr/lib/arm-linux-gnueabihf/libpthread.so -- WeDoPlugin: /usr/include/linux/hiddev.h !! XDisplayControlPlugin disabled !! vm-sound-MacOSX disabled !! vm-display-X11 disabled -- vm-sound-pulse: libpulse-simple not found !! vm-sound-pulse disabled -- vm-sound-Sun: sys/audioio.h not found -- vm-sound-Sun: sun/audioio.h not found -- vm-sound-Sun: /usr/include/stropts.h !! vm-sound-Sun disabled -- vm-sound-NAS: audio/audio.h not found -- vm-sound-NAS: libaudio not found !! vm-sound-NAS disabled -- vm-sound-ALSA: alsa/asoundlib.h not found -- vm-sound-ALSA: libasound not found !! vm-sound-ALSA disabled -- vm-display-fbdev: /usr/include/linux/fb.h -- vm-sound-OSS: alsa/asoundlib.h not found -- vm-sound-OSS: libasound not found !! vm-sound-OSS disabled !! vm-display-Quartz disabled CMake Warning (dev) at CMakeLists.txt:158 (ADD_SUBDIRECTORY): The source directory
/home/pi/Desktop/Squeak-4.10.2.2614-src/unix/npsqueak
does not contain a CMakeLists.txt file.
CMake does not support this case but it used to work accidentally and is being allowed for compatibility.
Policy CMP0014 is not set: Input directories must have CMakeLists.txt. Run "cmake --help-policy CMP0014" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done -- Generating done -- Build files have been written to: /home/pi/Desktop/Squeak-4.10.2.2614-src/bld pi@raspberrypi ~/Desktop/Squeak-4.10.2.2614-src/bld $
On 28/03/13 08:11, Casey Ransberger wrote:
I'm trying to build Squeak-4.10.2.2614-src under Raspbian Wheezy on a model-B Pi, which is a lot more fun to say than I thought it would be. Ultimately I want to install it along side of the vm that comes with Raspbian so I can track vm development on the device without borking Scratch. It looks like for some reason the X11 bits aren't getting made, and I don't know why. I'm guessing it didn't find some dependency it was looking for and gave up on X11. The X window system is totally present and running happily fwiw.
I think I've followed the instructions in the README file to the letter, but I do make mistakes sometimes. Below is the output from the configuration script. I know that some of these things aren't absolutely needed, but X11 is kind of necessary for my purposes:)
Does anyone know how I might figure out what I'm doing wrong?
pi@raspberrypi ~/Desktop/Squeak-4.10.2.2614-src/bld $ ../unix/cmake/configure -- Configuring squeak 4.10.2-2614 for armv6l-unknown-linux-gnu -- Using source directory ../unix/src -- Using CFLAGS -O3 -DNDEBUG -I/usr/local/include -L/usr/local/lib -- Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY) -- FT2Plugin: freetype2 found -- SocketPlugin: libsocket not found -- SocketPlugin: /usr/lib/arm-linux-gnueabihf/libnsl.so !! B3DAcceleratorPlugin disabled -- CameraPlugin: /usr/include/linux/videodev2.h !! ClipboardExtendedPlugin disabled -- checking for module 'dbus-1' -- package 'dbus-1' not found !! DBusPlugin disabled -- SqueakFFIPrims: any-libffi -- checking for module 'libffi' -- package 'libffi' not found !! SqueakFFIPrims disabled !! HostWindowPlugin disabled -- MIDIPlugin: alsa/asoundlib.h not found -- MIDIPlugin: libasound not found !! MIDIPlugin disabled -- checking for module 'pangocairo' -- package 'pangocairo' not found -- RomePlugin: freetype2 found -- RomePlugin: cairo-ft.h not found !! RomePlugin disabled -- UUIDPlugin: uuid.h not found -- UUIDPlugin: sys/uuid.h not found -- UUIDPlugin: uuid/uuid.h not found -- UUIDPlugin: libuuid not found !! UUIDPlugin disabled -- checking for module 'pangocairo' -- package 'pangocairo' not found -- checking for module 'glib-2.0' -- package 'glib-2.0' not found !! UnicodePlugin disabled -- UnixOSProcessPlugin: /usr/lib/arm-linux-gnueabihf/libpthread.so -- WeDoPlugin: /usr/include/linux/hiddev.h !! XDisplayControlPlugin disabled !! vm-sound-MacOSX disabled !! vm-display-X11 disabled -- vm-sound-pulse: libpulse-simple not found !! vm-sound-pulse disabled -- vm-sound-Sun: sys/audioio.h not found -- vm-sound-Sun: sun/audioio.h not found -- vm-sound-Sun: /usr/include/stropts.h !! vm-sound-Sun disabled -- vm-sound-NAS: audio/audio.h not found -- vm-sound-NAS: libaudio not found !! vm-sound-NAS disabled -- vm-sound-ALSA: alsa/asoundlib.h not found -- vm-sound-ALSA: libasound not found !! vm-sound-ALSA disabled -- vm-display-fbdev: /usr/include/linux/fb.h -- vm-sound-OSS: alsa/asoundlib.h not found -- vm-sound-OSS: libasound not found !! vm-sound-OSS disabled !! vm-display-Quartz disabled CMake Warning (dev) at CMakeLists.txt:158 (ADD_SUBDIRECTORY): The source directory
/home/pi/Desktop/Squeak-4.10.2.2614-src/unix/npsqueak
does not contain a CMakeLists.txt file.
CMake does not support this case but it used to work accidentally and is being allowed for compatibility.
Policy CMP0014 is not set: Input directories must have CMakeLists.txt. Run "cmake --help-policy CMP0014" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done -- Generating done -- Build files have been written to: /home/pi/Desktop/Squeak-4.10.2.2614-src/bld pi@raspberrypi ~/Desktop/Squeak-4.10.2.2614-src/bld $
Possibly dependencies problem. Have you done: $ sudo apt-get build-dep squeak-vm
No time atm to try it myself but I did a write-up for RPi/Scratch users here: http://www.doconnell.co.uk/deep-scratch.htm
-D
It looks like I need to add a package repo? Weird, given it's a part of the standard distro.
pi@raspberrypi ~/Desktop/Squeak-4.10.2.2614-src/bld $ sudo apt-get build-dep squeak-vm Reading package lists... Done Building dependency tree Reading state information... Done E: You must put some 'source' URIs in your sources.list
On Thu, Mar 28, 2013 at 1:21 AM, Derek O'Connell doc@doconnel.f9.co.ukwrote:
On 28/03/13 08:11, Casey Ransberger wrote:
I'm trying to build Squeak-4.10.2.2614-src under Raspbian Wheezy on a model-B Pi, which is a lot more fun to say than I thought it would be. Ultimately I want to install it along side of the vm that comes with Raspbian so I can track vm development on the device without borking Scratch. It looks like for some reason the X11 bits aren't getting made, and I don't know why. I'm guessing it didn't find some dependency it was looking for and gave up on X11. The X window system is totally present and running happily fwiw.
I think I've followed the instructions in the README file to the letter, but I do make mistakes sometimes. Below is the output from the configuration script. I know that some of these things aren't absolutely needed, but X11 is kind of necessary for my purposes:)
Does anyone know how I might figure out what I'm doing wrong?
pi@raspberrypi ~/Desktop/Squeak-4.10.2.2614-**src/bld $ ../unix/cmake/configure -- Configuring squeak 4.10.2-2614 for armv6l-unknown-linux-gnu -- Using source directory ../unix/src -- Using CFLAGS -O3 -DNDEBUG -I/usr/local/include -L/usr/local/lib -- Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY) -- FT2Plugin: freetype2 found -- SocketPlugin: libsocket not found -- SocketPlugin: /usr/lib/arm-linux-gnueabihf/**libnsl.so !! B3DAcceleratorPlugin disabled -- CameraPlugin: /usr/include/linux/videodev2.h !! ClipboardExtendedPlugin disabled -- checking for module 'dbus-1' -- package 'dbus-1' not found !! DBusPlugin disabled -- SqueakFFIPrims: any-libffi -- checking for module 'libffi' -- package 'libffi' not found !! SqueakFFIPrims disabled !! HostWindowPlugin disabled -- MIDIPlugin: alsa/asoundlib.h not found -- MIDIPlugin: libasound not found !! MIDIPlugin disabled -- checking for module 'pangocairo' -- package 'pangocairo' not found -- RomePlugin: freetype2 found -- RomePlugin: cairo-ft.h not found !! RomePlugin disabled -- UUIDPlugin: uuid.h not found -- UUIDPlugin: sys/uuid.h not found -- UUIDPlugin: uuid/uuid.h not found -- UUIDPlugin: libuuid not found !! UUIDPlugin disabled -- checking for module 'pangocairo' -- package 'pangocairo' not found -- checking for module 'glib-2.0' -- package 'glib-2.0' not found !! UnicodePlugin disabled -- UnixOSProcessPlugin: /usr/lib/arm-linux-gnueabihf/**libpthread.so -- WeDoPlugin: /usr/include/linux/hiddev.h !! XDisplayControlPlugin disabled !! vm-sound-MacOSX disabled !! vm-display-X11 disabled -- vm-sound-pulse: libpulse-simple not found !! vm-sound-pulse disabled -- vm-sound-Sun: sys/audioio.h not found -- vm-sound-Sun: sun/audioio.h not found -- vm-sound-Sun: /usr/include/stropts.h !! vm-sound-Sun disabled -- vm-sound-NAS: audio/audio.h not found -- vm-sound-NAS: libaudio not found !! vm-sound-NAS disabled -- vm-sound-ALSA: alsa/asoundlib.h not found -- vm-sound-ALSA: libasound not found !! vm-sound-ALSA disabled -- vm-display-fbdev: /usr/include/linux/fb.h -- vm-sound-OSS: alsa/asoundlib.h not found -- vm-sound-OSS: libasound not found !! vm-sound-OSS disabled !! vm-display-Quartz disabled CMake Warning (dev) at CMakeLists.txt:158 (ADD_SUBDIRECTORY): The source directory
/home/pi/Desktop/Squeak-4.10.**2.2614-src/unix/npsqueak
does not contain a CMakeLists.txt file.
CMake does not support this case but it used to work accidentally and is being allowed for compatibility.
Policy CMP0014 is not set: Input directories must have CMakeLists.txt. Run "cmake --help-policy CMP0014" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done -- Generating done -- Build files have been written to: /home/pi/Desktop/Squeak-4.10.**2.2614-src/bld pi@raspberrypi ~/Desktop/Squeak-4.10.2.2614-**src/bld $
Possibly dependencies problem. Have you done: $ sudo apt-get build-dep squeak-vm
No time atm to try it myself but I did a write-up for RPi/Scratch users here: http://www.doconnell.co.uk/**deep-scratch.htmhttp://www.doconnell.co.uk/deep-scratch.htm
-D
On 28/03/13 08:39, Casey Ransberger wrote:
It looks like I need to add a package repo? Weird, given it's a part of the standard distro.
pi@raspberrypi ~/Desktop/Squeak-4.10.2.2614-src/bld $ sudo apt-get build-dep squeak-vm Reading package lists... Done Building dependency tree Reading state information... Done E: You must put some 'source' URIs in your sources.list
Section 3.1 in my link has the info you need.
-D
On Thu, Mar 28, 2013 at 1:21 AM, Derek O'Connelldoc@doconnel.f9.co.ukwrote:
On 28/03/13 08:11, Casey Ransberger wrote:
I'm trying to build Squeak-4.10.2.2614-src under Raspbian Wheezy on a model-B Pi, which is a lot more fun to say than I thought it would be. Ultimately I want to install it along side of the vm that comes with Raspbian so I can track vm development on the device without borking Scratch. It looks like for some reason the X11 bits aren't getting made, and I don't know why. I'm guessing it didn't find some dependency it was looking for and gave up on X11. The X window system is totally present and running happily fwiw.
I think I've followed the instructions in the README file to the letter, but I do make mistakes sometimes. Below is the output from the configuration script. I know that some of these things aren't absolutely needed, but X11 is kind of necessary for my purposes:)
Does anyone know how I might figure out what I'm doing wrong?
pi@raspberrypi ~/Desktop/Squeak-4.10.2.2614-**src/bld $ ../unix/cmake/configure -- Configuring squeak 4.10.2-2614 for armv6l-unknown-linux-gnu -- Using source directory ../unix/src -- Using CFLAGS -O3 -DNDEBUG -I/usr/local/include -L/usr/local/lib -- Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY) -- FT2Plugin: freetype2 found -- SocketPlugin: libsocket not found -- SocketPlugin: /usr/lib/arm-linux-gnueabihf/**libnsl.so !! B3DAcceleratorPlugin disabled -- CameraPlugin: /usr/include/linux/videodev2.h !! ClipboardExtendedPlugin disabled -- checking for module 'dbus-1' -- package 'dbus-1' not found !! DBusPlugin disabled -- SqueakFFIPrims: any-libffi -- checking for module 'libffi' -- package 'libffi' not found !! SqueakFFIPrims disabled !! HostWindowPlugin disabled -- MIDIPlugin: alsa/asoundlib.h not found -- MIDIPlugin: libasound not found !! MIDIPlugin disabled -- checking for module 'pangocairo' -- package 'pangocairo' not found -- RomePlugin: freetype2 found -- RomePlugin: cairo-ft.h not found !! RomePlugin disabled -- UUIDPlugin: uuid.h not found -- UUIDPlugin: sys/uuid.h not found -- UUIDPlugin: uuid/uuid.h not found -- UUIDPlugin: libuuid not found !! UUIDPlugin disabled -- checking for module 'pangocairo' -- package 'pangocairo' not found -- checking for module 'glib-2.0' -- package 'glib-2.0' not found !! UnicodePlugin disabled -- UnixOSProcessPlugin: /usr/lib/arm-linux-gnueabihf/**libpthread.so -- WeDoPlugin: /usr/include/linux/hiddev.h !! XDisplayControlPlugin disabled !! vm-sound-MacOSX disabled !! vm-display-X11 disabled -- vm-sound-pulse: libpulse-simple not found !! vm-sound-pulse disabled -- vm-sound-Sun: sys/audioio.h not found -- vm-sound-Sun: sun/audioio.h not found -- vm-sound-Sun: /usr/include/stropts.h !! vm-sound-Sun disabled -- vm-sound-NAS: audio/audio.h not found -- vm-sound-NAS: libaudio not found !! vm-sound-NAS disabled -- vm-sound-ALSA: alsa/asoundlib.h not found -- vm-sound-ALSA: libasound not found !! vm-sound-ALSA disabled -- vm-display-fbdev: /usr/include/linux/fb.h -- vm-sound-OSS: alsa/asoundlib.h not found -- vm-sound-OSS: libasound not found !! vm-sound-OSS disabled !! vm-display-Quartz disabled CMake Warning (dev) at CMakeLists.txt:158 (ADD_SUBDIRECTORY): The source directory
/home/pi/Desktop/Squeak-4.10.**2.2614-src/unix/npsqueak does not contain a CMakeLists.txt file. CMake does not support this case but it used to work accidentally and
is being allowed for compatibility.
Policy CMP0014 is not set: Input directories must have CMakeLists.txt.
Run "cmake --help-policy CMP0014" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done -- Generating done -- Build files have been written to: /home/pi/Desktop/Squeak-4.10.**2.2614-src/bld pi@raspberrypi ~/Desktop/Squeak-4.10.2.2614-**src/bld $
Possibly dependencies problem. Have you done: $ sudo apt-get build-dep squeak-vm
No time atm to try it myself but I did a write-up for RPi/Scratch users here: http://www.doconnell.co.uk/**deep-scratch.htmhttp://www.doconnell.co.uk/deep-scratch.htm
-D
Ah, yes it does. I replied too hastily! Thanks for your help. Looks like I was missing 57.9mb worth of libthings-dev.
On Thu, Mar 28, 2013 at 1:44 AM, Derek O'Connell doc@doconnel.f9.co.ukwrote:
On 28/03/13 08:39, Casey Ransberger wrote:
It looks like I need to add a package repo? Weird, given it's a part of the standard distro.
pi@raspberrypi ~/Desktop/Squeak-4.10.2.2614-**src/bld $ sudo apt-get build-dep squeak-vm Reading package lists... Done Building dependency tree Reading state information... Done E: You must put some 'source' URIs in your sources.list
Section 3.1 in my link has the info you need.
-D
On 28/03/13 09:08, Casey Ransberger wrote:
Ah, yes it does. I replied too hastily! Thanks for your help. Looks like I was missing 57.9mb worth of libthings-dev.
Happy to help. Attaching pdf with better formatting than the web page in case any use to others.
-D
On Thu, Mar 28, 2013 at 1:44 AM, Derek O'Connell doc@doconnel.f9.co.ukwrote:
On 28/03/13 08:39, Casey Ransberger wrote:
It looks like I need to add a package repo? Weird, given it's a part of the standard distro.
pi@raspberrypi ~/Desktop/Squeak-4.10.2.2614-**src/bld $ sudo apt-get build-dep squeak-vm Reading package lists... Done Building dependency tree Reading state information... Done E: You must put some 'source' URIs in your sources.list
Section 3.1 in my link has the info you need.
-D
vm-dev@lists.squeakfoundation.org