-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors during bjam init #3
Comments
I don't quite know where to look for, but maybe simple checklist would help. Nothing could go wrong with that |
I tried both setting it from Xcode prefs as well as using sudo xcode-select --switch on command line. If i manually modify darwin.jam to select the root to be /Applications/Xcode.app/... instead of the default /Developer then it actually will pick up the iphone-7.0 as valid macosx-version. BUT if i do that obviously it fails when it gets to the simulator and osx parts of the build. Any other pointers or suggestions? |
Just some more infos about my env: godexsoft@abyss: |
Hi, I have identical output for all these commands
and paths like this for simulator SDK
What does your |
It looks exactly as it should based on boost.sh:
I also have exactly the same output for everything on both my laptop and my office iMac. Surprisingly it worked on iMac w/o any trouble. Any ideas? I thought maybe it had to do with case sensitivity of the filesystem but both setups are default - case insensitive. Any more ideas/pointers? |
Привет. That's the only thing I could suggest. I've seen some old scripts used to uninstall older Xcode versions, but those don't seem to help much. I wish I could help more. |
i have got the same error on my Mac. The reason was very simple - I already had boost installed in usr/local and there was another user-config.jam in my home directory (/Users/...) |
Hi. Trying to build boost using the script for two days straight.
My configuration is Xcode 5.0.2 from appstore on macosx 10.8.5. Here is what i think is the important bit:
/Users/godexsoft/Development/libs/boost-xcode5-iosx/src/boost_1_54_0/tools/build/v2/build/feature.jam:493: in validate-value-string from module feature
error: "iphone-7.0" is not a known value of feature
error: legal values:
/Users/godexsoft/Development/libs/boost-xcode5-iosx/src/boost_1_54_0/tools/build/v2/build/feature.jam:363: in expand-subfeatures-aux from module feature
/Users/godexsoft/Development/libs/boost-xcode5-iosx/src/boost_1_54_0/tools/build/v2/build/feature.jam:424: in feature.expand-subfeatures from module feature
/Users/godexsoft/Development/libs/boost-xcode5-iosx/src/boost_1_54_0/tools/build/v2/build/build-request.jam:20: in apply-to-property-set from module build-request
(builtin):-1: in sequence.transform from module sequence
/Users/godexsoft/Development/libs/boost-xcode5-iosx/src/boost_1_54_0/tools/build/v2/build/build-request.jam:32: in build-request.expand-no-defaults from module build-request
/Users/godexsoft/Development/libs/boost-xcode5-iosx/src/boost_1_54_0/tools/build/v2/build-system.jam:594: in load from module build-system
/Users/godexsoft/Development/libs/boost-xcode5-iosx/src/boost_1_54_0/tools/build/v2/kernel/modules.jam:289: in import from module modules
/Users/godexsoft/Development/libs/boost-xcode5-iosx/src/boost_1_54_0/tools/build/v2/kernel/bootstrap.jam:139: in boost-build from module
/Users/godexsoft/Development/libs/boost-xcode5-iosx/src/boost_1_54_0/boost-build.jam:17: in module scope from module
/Users/godexsoft/Development/libs/boost-xcode5-iosx/src/boost_1_54_0/tools/build/v2/build/feature.jam:493: in validate-value-string from module feature
error: "iphone-7.0" is not a known value of feature
error: legal values:
/Users/godexsoft/Development/libs/boost-xcode5-iosx/src/boost_1_54_0/tools/build/v2/build/feature.jam:363: in expand-subfeatures-aux from module feature
/Users/godexsoft/Development/libs/boost-xcode5-iosx/src/boost_1_54_0/tools/build/v2/build/feature.jam:424: in feature.expand-subfeatures from module feature
/Users/godexsoft/Development/libs/boost-xcode5-iosx/src/boost_1_54_0/tools/build/v2/build/build-request.jam:20: in apply-to-property-set from module build-request
(builtin):-1: in sequence.transform from module sequence
/Users/godexsoft/Development/libs/boost-xcode5-iosx/src/boost_1_54_0/tools/build/v2/build/build-request.jam:32: in build-request.expand-no-defaults from module build-request
/Users/godexsoft/Development/libs/boost-xcode5-iosx/src/boost_1_54_0/tools/build/v2/build-system.jam:594: in load from module build-system
/Users/godexsoft/Development/libs/boost-xcode5-iosx/src/boost_1_54_0/tools/build/v2/kernel/modules.jam:289: in import from module modules
/Users/godexsoft/Development/libs/boost-xcode5-iosx/src/boost_1_54_0/tools/build/v2/kernel/bootstrap.jam:139: in boost-build from module
/Users/godexsoft/Development/libs/boost-xcode5-iosx/src/boost_1_54_0/boost-build.jam:17: in module scope from module
As you can see bjam does not detect iphone sdk at all. Also i tried to add echo logs to darwin.jam in order to see what's going on. It selects the default root which is /Developer. I even tried to link my /Application/Xcode.app/... stuff into /Developer so that it hopefully will pick it up but no luck at all.
I found a prebuilt version which seems to work but the problem is i need a custom one built with gnu stdlib and gnu c++ 98 in order to make it work with my project which has a lot of legacy libs which wont work with c++11 on clang and it's way too much pain to make that stuff compile (the project is literally huge).
Please let me know if you got any ideas. Thanks!
The text was updated successfully, but these errors were encountered: