On 09.08.2014, at 08:39, Andreas Wacknitz <a.wackn...@gmx.de> wrote:
> > Am 09.08.2014 um 08:13 schrieb Andreas Wacknitz <a.wackn...@gmx.de>: > >> Hi Max, >> >> I had the same problems when I was building the VM for OpenSolaris. >> My simple solution was to change the generated build/config.h such that the >> #include won’t happen: >> Simply uncomment the line „#define HAVE_FEATURES_H 1“ > Upps, of course comment out this line :) Perfect! Thanks. > >> >> Regards, >> Andreas >> >> Am 09.08.2014 um 00:19 schrieb Max Leske <maxle...@gmail.com>: >> >>> Apparently stuff has changed since I last built a VM. Now I can’t get past >>> this annoying error: >>> >>> -- Generating done >>> -- Build files have been written to: >>> /Users/theseion/devel/git/pharo-vm/build >>> Scanning dependencies of target SqueakSSL >>> [ 1%] Building C object >>> SqueakSSL/CMakeFiles/SqueakSSL.dir/Users/theseion/devel/git/pharo-vm/src/plugins/SqueakSSL/SqueakSSL.c.o >>> In file included from >>> /Users/theseion/devel/git/pharo-vm/src/plugins/SqueakSSL/SqueakSSL.c:21: >>> In file included from >>> /Users/theseion/devel/git/pharo-vm/platforms/Cross/vm/sqVirtualMachine.h:24: >>> In file included from >>> /Users/theseion/devel/git/pharo-vm/platforms/Cross/vm/sqMemoryAccess.h:18: >>> In file included from /Users/theseion/devel/git/pharo-vm/build/config.h:141: >>> /Users/theseion/devel/git/pharo-vm/platforms/unix/vm/glibc.h:1:10: fatal >>> error: 'features.h' file not >>> found >>> #include <features.h> >>> ^ >>> 1 error generated. >>> make[2]: *** >>> [SqueakSSL/CMakeFiles/SqueakSSL.dir/Users/theseion/devel/git/pharo-vm/src/plugins/SqueakSSL/SqueakSSL.c.o] >>> Error 1 >>> make[1]: *** [SqueakSSL/CMakeFiles/SqueakSSL.dir/all] Error 2 >>> make: *** [all] Error 2 >>> >>> >>> I’ve done everything suggested by the readme on github and I’ve symlinked >>> /usr/include to >>> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk/usr/include >>> just in case, but no luck so far. >>> >>> Any ideas? >>> >>> Cheers, >>> Max >> >> > >