PharoVM - Build issues on CentOS6.5
I am trying to build a new PharoVM So, I took the master branch and as I have a 3.0 vm that works on my box, I commented out the +vm in get newImage.sh. So, I get the new image and code loads in there. Then I get this: external plugin UnixOSProcessPlugin generated as UnixOSProcessPlugin 7 November 2014 10:14:53 am + cd /extradisk/philippeback/workspace/PharoVM2/pharo-vm/scripts/.. + /extradisk/philippeback/workspace/PharoVM2/pharo-vm/scripts/extract-commit-info.sh + cd /extradisk/philippeback/workspace/PharoVM2/pharo-vm/scripts/../build + bash ./build.sh -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done Configuring thirdparty package: libssh2 Downloading http://files.pharo.org/vm/src/lib/libssh2-1.4.3.tar.gz CMake Error at CMakeLists.txt:25 (add_dependencies): add_dependencies Adding dependency to non-existent target: /extradisk/philippeback/workspace/PharoVM2/pharo-vm/build/..//results/libssh2.so.1.0.1 Configuring thirdparty package: libgit2 Downloading http://files.pharo.org/vm/src/lib/v0.21.1.tar.gz CMake Error at CMakeLists.txt:32 (add_dependencies): add_dependencies Adding dependency to non-existent target: /extradisk/philippeback/workspace/PharoVM2/pharo-vm/build/..//results/libgit2.so.0.21.0 Configuring thirdparty package: libsdl2 Downloading http://files.pharo.org/vm/src/lib/SDL2-2.0.3.tar.gz CMake Error at CMakeLists.txt:39 (add_dependencies): add_dependencies Adding dependency to non-existent target: /extradisk/philippeback/workspace/PharoVM2/pharo-vm/build/..//results/libSDL2-2.0.so.0.2.1 Adding internal plugin: ADPCMCodecPlugin Adding internal plugin: AsynchFilePlugin Adding internal plugin: B2D Looks like something changed in way CMake gets generated. Any idea why it fails? I had a look at https://travis-ci.org/pharo-project/pharo-vm to see how things are normally going on. TIA Phil
I removed the thirdparty things for libs like ssl sdl etc. Now, things are building. What to do to get these externals to work? â Phil
2014-11-07 10:40 GMT+01:00 phil@highoctane.be <phil@highoctane.be>:
I removed the thirdparty things for libs like ssl sdl etc. Now, things are building.
What to do to get these externals to work? â Phil
more recent cmake version ? https://www.mail-archive.com/pharo-dev@lists.pharo.org/msg20781.html
[philippeback@CENTOSDEV frontend]$ cmake --version cmake version 2.6-patch 4 Maybe. I did a yum upgrade cmake and now have â$ cmake --version cmake version 2.8.12.2 Will try that out. Thx.
Le 7 nov. 2014 à 10:40, phil@highoctane.be a écrit :
I removed the thirdparty things for libs like ssl sdl etc. Now, things are building.
What to do to get these externals to work?
stupid question but did you try to install libssl, libsdl and co on your cent OS (using yum or whatever)?
No need as dependencies get loaded and built by the VM build process. Works now, it was the CMake version bump that was needed. Thx all for the help. (Can't we get a CentOS build slave???) Phil On Fri, Nov 7, 2014 at 10:55 AM, Christophe Demarey < Christophe.Demarey@inria.fr> wrote:
Le 7 nov. 2014 à 10:40, phil@highoctane.be a écrit :
I removed the thirdparty things for libs like ssl sdl etc. Now, things are building.
What to do to get these externals to work?
stupid question but did you try to install libssl, libsdl and co on your cent OS (using yum or whatever)?
for now, you do not need those dependencies. Iâm preparing the vm for use libgit2 with monticello (not ready yet) and to render UI using sdl2 through OSWindow (also not ready yet). In the future you will need them to improve your pharo experience, but for now you can safely skip it. nothing changed in the way cmake files are built, but previous versions didnât have third party libraries for unix (now we have them). if cmake is failing to download the libraries, it can happen because some versions/distributions of cmake does not allow ssl downloads⦠no idea how to help there, maybe an updated cmake helps, maybe not. but cmake tries always to download first from http://files.pharo.org/vm/src/lib <http://files.pharo.org/vm/src/lib> if it does not find it, maybe one interesting change is to add a previous check in some local repository (to do a simple copy instead a download). I can do that, but it will take some time, as always :) Esteban
On 07 Nov 2014, at 11:10, phil@highoctane.be wrote:
No need as dependencies get loaded and built by the VM build process.
Works now, it was the CMake version bump that was needed.
Thx all for the help. (Can't we get a CentOS build slave???)
Phil
On Fri, Nov 7, 2014 at 10:55 AM, Christophe Demarey <Christophe.Demarey@inria.fr <mailto:Christophe.Demarey@inria.fr>> wrote:
Le 7 nov. 2014 à 10:40, phil@highoctane.be <mailto:phil@highoctane.be> a écrit :
I removed the thirdparty things for libs like ssl sdl etc. Now, things are building.
What to do to get these externals to work?
stupid question but did you try to install libssl, libsdl and co on your cent OS (using yum or whatever)?
Ok, understood. Now, if someone puts a CentOS 6.5 slave somewhere I can put the Jenkins job on it and bootstrap (as I do have a working CentOS VM to generate the sources). Phil On Fri, Nov 7, 2014 at 11:52 AM, Esteban Lorenzano <estebanlm@gmail.com> wrote:
for now, you do not need those dependencies. Iâm preparing the vm for use libgit2 with monticello (not ready yet) and to render UI using sdl2 through OSWindow (also not ready yet). In the future you will need them to improve your pharo experience, but for now you can safely skip it.
nothing changed in the way cmake files are built, but previous versions didnât have third party libraries for unix (now we have them). if cmake is failing to download the libraries, it can happen because some versions/distributions of cmake does not allow ssl downloads⦠no idea how to help there, maybe an updated cmake helps, maybe not. but cmake tries always to download first from *http://files.pharo.org/vm/src/lib <http://files.pharo.org/vm/src/lib> *if it does not find it, maybe one interesting change is to add a previous check in some local repository (to do a simple copy instead a download). I can do that, but it will take some time, as always :)
Esteban
On 07 Nov 2014, at 11:10, phil@highoctane.be wrote:
No need as dependencies get loaded and built by the VM build process.
Works now, it was the CMake version bump that was needed.
Thx all for the help. (Can't we get a CentOS build slave???)
Phil
On Fri, Nov 7, 2014 at 10:55 AM, Christophe Demarey < Christophe.Demarey@inria.fr> wrote:
Le 7 nov. 2014 à 10:40, phil@highoctane.be a écrit :
I removed the thirdparty things for libs like ssl sdl etc. Now, things are building.
What to do to get these externals to work?
stupid question but did you try to install libssl, libsdl and co on your cent OS (using yum or whatever)?
participants (4)
-
Christophe Demarey -
Esteban Lorenzano -
Nicolai Hess -
phil@highoctane.be