[Vm-dev] Build pharo vm on ubuntu 16.04 64 bits ?

Javier Pimás elpochodelagente at gmail.com
Sat Mar 4 18:47:09 UTC 2017


No, I didn't. Got through a bit more by doing this

cd /usr/include/openssl
ln -s /usr/include/x86_64-linux-gnu/openssl/opensslconf.h opensslconf.h

at that point it passed a bit more but also required

cd /lib/i386-linux-gnu/
sudo ln -s libssl.so.1.0.0 libssl.so

now libgit also has problems with libcurl
/usr/include/curl/curlrules.h:142:3: error: size of array
‘__curl_rule_01__’ is negative

left it there for now

On squeak.stack.spur side:

got around the first problem by doing

cd /lib/i386-linux-gnu/
sudo ln -s libuuid.so.1 libuuid.so

then I also had to do

sudo apt install mesa-common-dev

to install opengl header files. Now I get this error:

gcc -m32 -g -O2 -DNDEBUG -DDEBUGVM=0 -msse2 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DCOGMTVM=0 -DITIMER_HEARTBEAT=1 -DLSB_FIRST=1 -Wall
-Wno-unknown-pragmas -g -O2 -DNDEBUG -DDEBUGVM=0 -msse2 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DCOGMTVM=0 -DITIMER_HEARTBEAT=1 -DLSB_FIRST=1
-I/opensmalltalk-vm/build.linux32x86/squeak.cog.spur/build.itimerheartbeat
-I/opensmalltalk-vm/build.linux32x86/squeak.cog.spur/build.itimerheartbeat
-I/opensmalltalk-vm/platforms/unix/vm
-I/opensmalltalk-vm/platforms/Cross/vm -I/opensmalltalk-vm/spursrc/vm
-INONE -DHAVE_CONFIG_H
-I/opensmalltalk-vm/build.linux32x86/squeak.cog.spur/build.itimerheartbeat
-I/opensmalltalk-vm/build.linux32x86/squeak.cog.spur/build.itimerheartbeat
-I/opensmalltalk-vm/platforms/unix/vm
-I/opensmalltalk-vm/platforms/Cross/vm -I/opensmalltalk-vm/spursrc/vm
-I/opensmalltalk-vm/platforms/Cross/plugins/B3DAcceleratorPlugin
-I/opensmalltalk-vm/platforms/unix/plugins/B3DAcceleratorPlugin -c
/opensmalltalk-vm/platforms/Cross/plugins/B3DAcceleratorPlugin/sqOpenGLRenderer.c
 -fPIC -DPIC -DPIC -o sqOpenGLRenderer.o
In file included from
/opensmalltalk-vm/platforms/Cross/plugins/B3DAcceleratorPlugin/sqOpenGLRenderer.c:30:0:
/opensmalltalk-vm/platforms/Cross/plugins/B3DAcceleratorPlugin/sqOpenGLRenderer.h:13:16:
error: redefinition of 'struct glRenderer'
 typedef struct glRenderer {
                ^
In file included from
/opensmalltalk-vm/platforms/Cross/plugins/B3DAcceleratorPlugin/sqOpenGLRenderer.h:9:0,
                 from
/opensmalltalk-vm/platforms/Cross/plugins/B3DAcceleratorPlugin/sqOpenGLRenderer.c:30:
/opensmalltalk-vm/platforms/unix/plugins/B3DAcceleratorPlugin/sqUnixOpenGL.h:6:16:
note: originally defined here
 typedef struct glRenderer
                ^
In file included from
/opensmalltalk-vm/platforms/Cross/plugins/B3DAcceleratorPlugin/sqOpenGLRenderer.c:30:0:
/opensmalltalk-vm/platforms/Cross/plugins/B3DAcceleratorPlugin/sqOpenGLRenderer.h:16:3:
error: conflicting types for 'glRenderer'
 } glRenderer;
   ^
In file included from
/opensmalltalk-vm/platforms/Cross/plugins/B3DAcceleratorPlugin/sqOpenGLRenderer.h:9:0,
                 from
/opensmalltalk-vm/platforms/Cross/plugins/B3DAcceleratorPlugin/sqOpenGLRenderer.c:30:
/opensmalltalk-vm/platforms/unix/plugins/B3DAcceleratorPlugin/sqUnixOpenGL.h:13:3:
note: previous declaration of 'glRenderer' was here
 } glRenderer;
   ^
Makefile:183: fallo en las instrucciones para el objetivo
'sqOpenGLRenderer.lo'
make[1]: *** [sqOpenGLRenderer.lo] Error 1
Makefile:531: fallo en las instrucciones para el objetivo
'B3DAcceleratorPlugin.la'
make: *** [B3DAcceleratorPlugin.la] Error 2


On Sat, Mar 4, 2017 at 4:45 AM, Holger Freyther <holger at freyther.de> wrote:

>
>
> > On 3 Mar 2017, at 17:15, Javier Pimás <elpochodelagente at gmail.com>
> wrote:
> >
> > Here goes build.linux32x86/third-party/libssh2-1.7.0/config.log
> >
>
>
> configure:14252: gcc -o conftest -m32  -m32 conftest.c  -lssl -lcrypto >&5
> In file included from /usr/include/openssl/ssl.h:146:0,
>                  from conftest.c:25:
> /usr/include/openssl/e_os2.h:56:33: fatal error: openssl/opensslconf.h:
> No such file or directory
> compilation terminated.
>
> Do you have it? /usr/include/i386-linux-gnu/openssl/opensslconf.h?
>
> holger




-- 
Javier Pimás
Ciudad de Buenos Aires
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20170304/dbbdb250/attachment.html>


More information about the Vm-dev mailing list