Skip to content
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

Can't seem to get OTP 25.0.4 to install with wx #312

Open
LukasKnuth opened this issue Jun 25, 2024 · 0 comments
Open

Can't seem to get OTP 25.0.4 to install with wx #312

LukasKnuth opened this issue Jun 25, 2024 · 0 comments

Comments

@LukasKnuth
Copy link

The following is my output from installing Erlang:

$ asdf install erlang 25.0.4
asdf_25.0.4 is not a kerl-managed Erlang/OTP installation
The asdf_25.0.4 build has been deleted
Extracting source code
Building Erlang/OTP 25.0.4 (asdf_25.0.4), please wait...
APPLICATIONS DISABLED (See: /Users/lukasknuth/.asdf/plugins/erlang/kerl-home/builds/asdf_25.0.4/otp_build_25.0.4.log)
 * jinterface     : Java compiler disabled by user
 * jinterface     : User gave --without-jinterface option
 * odbc           : User gave --without-odbc option

APPLICATIONS INFORMATION (See: /Users/lukasknuth/.asdf/plugins/erlang/kerl-home/builds/asdf_25.0.4/otp_build_25.0.4.log)
 * wx             : Can not link wx program are all developer packages installed?

Building docs...
Erlang/OTP 25.0.4 (asdf_25.0.4) has been successfully built
Cleaning up compilation products for 25.0.4
Cleaned up compilation products for 25.0.4 under /Users/lukasknuth/.asdf/plugins/erlang/kerl-home/builds

I have the following ENV variables setup:

export KERL_BUILD_DOCS=yes
export KERL_DOC_TARGETS=chunks
export KERL_INSTALL_HTMLDOCS=no
export KERL_INSTALL_MANPAGES=no
export KERL_CONFIGURE_OPTIONS="--without-javac --without-jinterface --without-odbc --enable-ex --disable-jit"

The ``-file has the following specific to wx:

=== Running configure in /Users/lukasknuth/.asdf/plugins/erlang/kerl-home/builds/asdf_25.0.4/otp_src_25.0.4/lib/wx ===
./configure 'CC=clang' '--without-javac' '--without-jinterface' '--without-odbc' '--disable-jit' '--enable-darwin-64bit' '--with-ssl=/opt/homebrew/opt/openssl@1.1' --disable-option-checking --cache-file=/dev/null --srcdir="/Users/lukasknuth/.asdf/plugins/erlang/kerl-home/builds/asdf_25.0.4/otp_src_25.0.4/lib/wx"
checking build system type... aarch64-apple-darwin23.5.0
checking host system type... aarch64-apple-darwin23.5.0
checking target system type... aarch64-apple-darwin23.5.0
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether clang accepts -g... yes
checking for clang option to enable C11 features... none needed
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking for ranlib... ranlib
checking how to run the C preprocessor... clang -E
configure: Building for darwin23.5.0
checking for mixed mingw-gcc and native VC++ environment... no
checking for mixed cygwin and native MinGW environment... no
checking if we mix cygwin with any native compiler... no
checking if we mix msys with another native compiler... no
checking if we mix WSL with another native compiler... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking size of void *... 8
checking Checking wxWidgets for min version:... -mmacosx-version-min=14
checking if compiler accepts -ObjC... yes
checking if we can add -fno-move-loop-invariants to CXXNOOPT (via CFLAGS)... no
checking if we can add -fno-var-tracking-assignments to CXXNOOPT (via CFLAGS)... no
checking for GL/gl.h... no
checking for OpenGL/gl.h... yes
checking for GL/glu.h... no
checking for OpenGL/glu.h... yes
checking for wx-config... /opt/homebrew/bin/wx-config
checking for wxWidgets version >= 3.0.2 (--unicode)... yes (version 3.2.5)
checking for wxWidgets static library... no
checking for wxwidgets webview... yes
checking for wx-config... (cached) /opt/homebrew/bin/wx-config
checking for wxWidgets version >= 3.0.2 (--unicode --debug=yes)... yes (version 3.2.5)
checking for wxWidgets static library... no
checking for debug build of wxWidgets... yes
checking for wx-config... (cached) /opt/homebrew/bin/wx-config
checking for wxWidgets version >= 3.0.2 (--unicode --debug=no)... yes (version 3.2.5)
checking for wxWidgets static library... no
checking for standard build of wxWidgets... yes
checking for wxwidgets 3.0 compatibility ... yes
checking for wxwidgets opengl support... yes
checking for GLintptr... yes
checking for GLintptrARB... yes
checking for GLchar... yes
checking for GLcharARB... yes
checking for GLhalfARB... yes
checking for GLint64EXT... yes
checking GLU Callbacks uses Tiger Style... no
checking if we can link wxwidgets programs... no
checking if we can add -Werror=return-type to CFLAGS (via CFLAGS)... yes
checking if we can add -Werror=return-type to CXXFLAGS (via CFLAGS)... yes
configure: creating aarch64-apple-darwin23.5.0/config.status
config.status: creating config.mk
config.status: creating c_src/Makefile
configure: WARNING: Can not link wx program are all developer packages installed?

Info:

  • Mac OS Sonomma 14.5 (23F79)
  • MacBook Pro 14-inch, 2021 - M2
  • asdf --version is v0.14.0
  • asdf plugin list --refs gives erlang master aaa3ee7
  • I have installed all libraries listed here via brew.

Let me know if there is more information you need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant