Hi!
I am trying to build the VM, according to the instruction given on https://github.com/pharo-project/pharo-vm However, I get an error: eloper/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk' /Users/alexandrebergel/Desktop/VM_TMP/pharo-vm/src/plugins/JPEGReaderPlugin/JPEGReaderPlugin.c:10:10: fatal error: 'math.h' file not found #include <math.h> Where this math.h is supposed to be? Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. |
read the instructions :)
|
> read the instructions :)
> > https://github.com/pharo-project/pharo-vm/blob/spur64/README-Win32.md I use OS X, why should I read the windows instructions? I read the instructions given on https://github.com/pharo-project/pharo-vm for OS X Are there more instructions somewhere? Alexandre > >> On 26 Feb 2016, at 11:24, Alexandre Bergel <[hidden email]> wrote: >> >> Hi! >> >> I am trying to build the VM, according to the instruction given on https://github.com/pharo-project/pharo-vm >> However, I get an error: >> >> eloper/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk' >> /Users/alexandrebergel/Desktop/VM_TMP/pharo-vm/src/plugins/JPEGReaderPlugin/JPEGReaderPlugin.c:10:10: fatal error: 'math.h' file not found >> #include <math.h> >> >> Where this math.h is supposed to be? >> >> Cheers, >> Alexandre >> >> -- >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >> Alexandre Bergel http://www.bergel.eu >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >> >> >> >> > -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. |
ouch! this is a known problem in windows so when I read math.h I assumed it was on it… I should have read the full message before sending you to read ;) those kind of errors happen usually because MacOSX10.6.sdk is not there… did you check it? which xcode version and gcc version are you using? Esteban
|
> ouch!
> this is a known problem in windows so when I read math.h I assumed it was on it… I should have read the full message before sending you to read ;) > > those kind of errors happen usually because MacOSX10.6.sdk is not there… did you check it? > which xcode version and gcc version are you using? Oops, I have just installed the SDK. No more error of math.h But I have another due to libgcrypt:-( Here is the trace of the build.sh -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= checking for _FILE_OFFSET_BITS value needed for large files... no checking for ld used by GCC... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking for shared library run path origin... done checking for libssl... no checking for libgcrypt... no configure: error: cannot find OpenSSL or Libgcrypt, try --with-libssl-prefix=PATH or --with-libgcrypt-prefix=PATH make[2]: *** [thirdParty/libssh2/src/libssh2-stamp/libssh2-configure] Error 1 make[1]: *** [thirdParty/libssh2/CMakeFiles/libssh2.dir/all] Error 2 make: *** [all] Error 2 ~/Desktop/VM_TMP/pharo-vm/build> brew install OpenSSL Warning: openssl-1.0.2a-1 already installed ~/Desktop/VM_TMP/pharo-vm/build> brew install Libgcrypt ==> Downloading ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.6.3.tar.bz2 Already downloaded: /Library/Caches/Homebrew/libgcrypt-1.6.3.tar.bz2 ==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/libgcrypt/1.6. ==> make ==> make check Please report to http://bugs.gnupg.org ====================================== make[2]: *** [check-TESTS] Error 1 make[1]: *** [check-am] Error 2 make: *** [check-recursive] Error 1 READ THIS: https://git.io/brew-troubleshooting ~/Desktop/VM_TMP/pharo-vm/build> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ~/Desktop/VM_TMP/pharo-vm/build> gcc --version Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/c++/4.2.1 Apple LLVM version 7.0.2 (clang-700.1.81) Target: x86_64-apple-darwin15.2.0 Thread model: posix ~/Desktop/VM_TMP/pharo-vm/build> No idea what’s going on… Help :-) Alexandre > > Esteban > > >> >> Alexandre >> >>> >>>> On 26 Feb 2016, at 11:24, Alexandre Bergel <[hidden email]> wrote: >>>> >>>> Hi! >>>> >>>> I am trying to build the VM, according to the instruction given on https://github.com/pharo-project/pharo-vm >>>> However, I get an error: >>>> >>>> eloper/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk' >>>> /Users/alexandrebergel/Desktop/VM_TMP/pharo-vm/src/plugins/JPEGReaderPlugin/JPEGReaderPlugin.c:10:10: fatal error: 'math.h' file not found >>>> #include <math.h> >>>> >>>> Where this math.h is supposed to be? >>>> >>>> Cheers, >>>> Alexandre >>>> >>>> -- >>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >>>> Alexandre Bergel http://www.bergel.eu >>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >>>> >>>> >>>> >>>> >>> >> >> -- >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >> Alexandre Bergel http://www.bergel.eu >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. |
Free forum by Nabble | Edit this page |