Giter Site home page Giter Site logo

Comments (5)

dougxc avatar dougxc commented on September 12, 2024

Thanks for reporting. I've pushed an update to the README just now. Can you please confirm that the build succeeds if --enable-aot is omitted from the configure command.

from labs-openjdk-17.

chrisseaton avatar chrisseaton commented on September 12, 2024

I had to install Xcode (not just the command-line tools) and then I had to run sudo xcode-select --reset.

Then I got:

configure: Found potential Boot JDK using /usr/libexec/java_home -v 17
configure: Potential Boot JDK found at  did not contain bin/java; ignoring
checking for javac... /usr/bin/javac
checking for java... /usr/bin/java
configure: Found potential Boot JDK using java(c) in PATH
configure: Potential Boot JDK found at /usr is not a working JDK; ignoring
configure: Output from java -version was: The operation couldn’t be completed. Unable to locate a Java Runtime.
Please visit http://www.java.com for information on installing Java.
configure: Could not find a valid Boot JDK. OpenJDK distributions are available at http://jdk.java.net/.
configure: This might be fixed by explicitly setting --with-boot-jdk
configure: error: Cannot continue
/Users/chrisseaton/Documents/graalvm/labs-openjdk-17/build/.configure-support/generated-configure.sh: line 84: 5: Bad file descriptor
configure exiting with result code 1

So I installed Java 17 and did:

% export JAVA_HOME=~/Documents/graalvm/jdk-17.0.1.jdk/Contents/Home
% export PATH=$PATH:$JAVA_HOME/bin

And I got:

configure: xcodebuild output: objc[46673]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libauthinstall.dylib (0x1e4feab90) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x108b102c8). One of the two will be used. Which one is undefined.
configure: error: Failed to determine Xcode version.

from labs-openjdk-17.

dougxc avatar dougxc commented on September 12, 2024

Hmm, I don't hit those problems when building on my Mac. They look like general build problems that I assume you'd hit with https://github.com/openjdk/jdk17u.

from labs-openjdk-17.

chrisseaton avatar chrisseaton commented on September 12, 2024

Right - I'll try building the unmodified repo first.

from labs-openjdk-17.

lewurm avatar lewurm commented on September 12, 2024
configure: xcodebuild output: objc[46673]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libauthinstall.dylib (0x1e4feab90) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x108b102c8). One of the two will be used. Which one is undefined.
configure: error: Failed to determine Xcode version.

This is a problem when running xcodebuild -version on Apple Silicon. Fix from upstream:
openjdk/jdk@4b520f0

And has landed in all of our labsjdk forks by now.

from labs-openjdk-17.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.