Opened 8 years ago

Closed 8 years ago

#50341 closed defect (worksforme)

Unable to Install CMake in El Capitan

Reported by: jonlederman@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: artbotterell (Art Botterell)
Port: cmake

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hi,

I am trying to install CMake using El Capitan. I am met with the following eeor:

sudo port install cmake
Password:
--->  Computing dependencies for cmake
--->  Configuring cmake
Error: org.macports.configure for port cmake returned: configure failure: command execution failed
Please see the log file for port cmake for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port cmake failed
Jons-MacBook-Pro-3:Desktop Jon$

I am attaching the main.log file to this ticket.

Attachments (5)

main.log (22.6 KB) - added by jonlederman@… 8 years ago.
main.log
CMakeError.log (24.1 KB) - added by artbotterell (Art Botterell) 8 years ago.
CMakeError.log
CMakeError.2.log (24.1 KB) - added by artbotterell (Art Botterell) 8 years ago.
main.2.log (111.4 KB) - added by artbotterell (Art Botterell) 8 years ago.
main.3.log (111.5 KB) - added by artbotterell (Art Botterell) 8 years ago.

Download all attachments as: .zip

Change History (26)

comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: cmake removed
Port: cmake added; make removed

The log says:

:info:configure CMake Error at Modules/FindGTK2.cmake:181 (file):
:info:configure   file STRINGS file
:info:configure   "/Library/Frameworks/GStreamer.framework/Headers/gtk/gtk/gtkversion.h"
:info:configure   cannot be read.

Please check if the file /Library/Frameworks/GStreamer.framework exists. If so, please remove it. Installing frameworks in /Library/Frameworks can interfere with MacPorts. See wiki:FAQ#libraryframeworks.

comment:2 Changed 8 years ago by jonlederman@…

Hi,

I did remove the gstreamer framework. I am still having issues installing cmake with macports. I am attaching the new log. Please advise.

Jon

Changed 8 years ago by jonlederman@…

Attachment: main.log added

main.log

comment:3 Changed 8 years ago by blekenbleu@…

Here is a work-around that allows cmake to install.

Background: MacBook Pro updated directly from Snow Leopard to El Capitan, then followed MacPorts migration instructions @ wiki:Migration

$ uname -a
Darwin macbook.mynet.net 15.2.0 Darwin Kernel Version 15.2.0: Fri Nov 13 19:56:56 PST 2015; root:xnu-3248.20.55~2/RELEASE_X86_64 x86_64
$ port version
Version: 2.3.4

Sure enough, /Library/Frameworks/Gtk.framework/Headers/gtk/gtk/ did not exist, but gtkversion.h exists in /Library/Frameworks/Gtk.framework/Headers/gtk/ .. so:

$ cd /Library/Frameworks/Gtk.framework/Headers/gtk/
$ ln -s . gtk
Last edited 8 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:4 Changed 8 years ago by jonlederman@…

HI,

This is just not working for me. Can someone tell me the proper way to install cmake with MacPorts. I am getting this in the log:

Jons-MacBook-Pro-3:Desktop Jon$ sudo more  /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/main.log
version:1
:debug:main epoch: in tree: 0 installed: 0
:debug:main curl 7.46.0_0 exists in the ports tree
:debug:main curl 7.46.0_0 +ssl is the latest installed
:debug:main curl 7.46.0_0 +ssl is active
:debug:main Merging existing variants '+ssl' into variants
:debug:main new fully merged portvariants: ssl +
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/curl
:debug:main OS darwin/15.2.0 (Mac OS X 10.11) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main universal variant already exists, so not adding the default one
:debug:main Executing variant ssl provides ssl
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! curl 7.46.0_0 >= curl 7.46.0_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main zlib 1.2.8_0 exists in the ports tree
:debug:main zlib 1.2.8_0  is the latest installed
:debug:main zlib 1.2.8_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants:
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/zlib
:debug:main OS darwin/15.2.0 (Mac OS X 10.11) arch i386
:debug:main Sourcing PortGroup xcodeversion 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/xcodeversion-1.0.tcl
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! zlib 1.2.8_0 >= zlib 1.2.8_0
:debug:main epoch: in tree: 1 installed: 1
:debug:main openssl 1.0.2e_0 exists in the ports tree
:debug:main openssl 1.0.2e_0  is the latest installed
:debug:main openssl 1.0.2e_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants:
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/openssl
:debug:main OS darwin/15.2.0 (Mac OS X 10.11) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! openssl 1.0.2e_0 >= openssl 1.0.2e_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main curl-ca-bundle 7.46.0_0 exists in the ports tree
:debug:main curl-ca-bundle 7.46.0_0  is the latest installed
:debug:main curl-ca-bundle 7.46.0_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants:
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/curl
:debug:main OS darwin/15.2.0 (Mac OS X 10.11) arch i386
:debug:main universal_variant is false, so not adding the default universal variant
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! curl-ca-bundle 7.46.0_0 >= curl-ca-bundle 7.46.0_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main expat 2.1.0_0 exists in the ports tree
:debug:main expat 2.1.0_0  is the latest installed
:debug:main expat 2.1.0_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants:
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/expat
:debug:main OS darwin/15.2.0 (Mac OS X 10.11) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! expat 2.1.0_0 >= expat 2.1.0_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main bzip2 1.0.6_0 exists in the ports tree
:debug:main bzip2 1.0.6_0  is the latest installed
:debug:main bzip2 1.0.6_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants:
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/bzip2
:debug:main OS darwin/15.2.0 (Mac OS X 10.11) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! bzip2 1.0.6_0 >= bzip2 1.0.6_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main libarchive 3.1.2_1 exists in the ports tree
:debug:main libarchive 3.1.2_1  is the latest installed
:debug:main libarchive 3.1.2_1  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants:
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/libarchive
:debug:main OS darwin/15.2.0 (Mac OS X 10.11) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! libarchive 3.1.2_1 >= libarchive 3.1.2_1
:debug:main epoch: in tree: 0 installed: 0
:debug:main libxml2 2.9.2_2 exists in the ports tree
:debug:main libxml2 2.9.2_2  is the latest installed
:debug:main libxml2 2.9.2_2  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants:
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/libxml2
:debug:main OS darwin/15.2.0 (Mac OS X 10.11) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! libxml2 2.9.2_2 >= libxml2 2.9.2_2
:debug:main epoch: in tree: 0 installed: 0
:debug:main libiconv 1.14_0 exists in the ports tree
:debug:main libiconv 1.14_0  is the latest installed
:debug:main libiconv 1.14_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants:
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/libiconv
:debug:main OS darwin/15.2.0 (Mac OS X 10.11) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! libiconv 1.14_0 >= libiconv 1.14_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main xz 5.2.2_0 exists in the ports tree
:debug:main xz 5.2.2_0  is the latest installed
:debug:main xz 5.2.2_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants:
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/xz
:debug:main OS darwin/15.2.0 (Mac OS X 10.11) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! xz 5.2.2_0 >= xz 5.2.2_0
:debug:main epoch: in tree: 2 installed: 2
:debug:main gettext 0.19.7_0 exists in the ports tree
:debug:main gettext 0.19.7_0  is the latest installed
:debug:main gettext 0.19.7_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants:
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/gettext
:debug:main OS darwin/15.2.0 (Mac OS X 10.11) arch i386
:debug:main Sourcing PortGroup compiler_blacklist_versions 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main compiler clang 700.1.81 not blacklisted because it doesn't match {clang < 211.10.1}
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! gettext 0.19.7_0 >= gettext 0.19.7_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main ncurses 6.0_0 exists in the ports tree
:debug:main ncurses 6.0_0  is the latest installed
:debug:main ncurses 6.0_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants:
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/ncurses
:debug:main OS darwin/15.2.0 (Mac OS X 10.11) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! ncurses 6.0_0 >= ncurses 6.0_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main lzo2 2.09_0 exists in the ports tree
:debug:main lzo2 2.09_0  is the latest installed
:debug:main lzo2 2.09_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants:
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/lzo2
:debug:main OS darwin/15.2.0 (Mac OS X 10.11) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! lzo2 2.09_0 >= lzo2 2.09_0
:msg:main --->  Computing dependencies for cmake:info:main .:debug:main Checking for conflicts against cmake
:debug:main Searching for dependency: cmake-devel
:debug:main Didn't find receipt, going to depspec regex for: cmake-devel
:debug:main Searching for dependency: curl
:debug:main Found Dependency: receipt exists for curl
:debug:main Searching for dependency: expat
:debug:main Found Dependency: receipt exists for expat
:debug:main Searching for dependency: zlib
:debug:main Found Dependency: receipt exists for zlib
:debug:main Searching for dependency: bzip2
:debug:main Found Dependency: receipt exists for bzip2
:debug:main Searching for dependency: libarchive
:debug:main Found Dependency: receipt exists for libarchive
:debug:main Searching for dependency: ncurses
:debug:main Found Dependency: receipt exists for ncurses
:msg:main
:debug:main Executing org.macports.main (cmake)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Skipping completed org.macports.archivefetch (cmake)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (cmake)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (cmake)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (cmake)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (cmake)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Sat Jan 16 20:21:22 EST 2016
:notice:configure --->  Configuring cmake
:debug:configure Using compiler 'Xcode Clang'
:debug:configure Executing org.macports.configure (cmake)
:debug:configure Environment:
CC='/usr/bin/clang'
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/.CC_PRINT_OPTIONS'
CFLAGS='-pipe -Os -arch x86_64'
CMAKE_INCLUDE_PATH='/opt/local/include/ncurses'
CMAKE_LIBRARY_PATH='/opt/local/lib'
CMAKE_OSX_DEPLOYMENT_TARGET='10.11'
CMAKE_OSX_SYSROOT='/'
CMAKE_PREFIX_PATH='/opt/local'
CPATH='/opt/local/include'
CPPFLAGS='-I/opt/local/include'
CXX='/usr/bin/clang++'
CXXFLAGS='-pipe -Os -arch x86_64 -stdlib=libc++'
F77FLAGS='-m64'
F90FLAGS='-pipe -Os -m64'
FCFLAGS='-pipe -Os -m64'
FFLAGS='-pipe -Os'
INSTALL='/usr/bin/install -c'
LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.11'
OBJC='/usr/bin/clang'
OBJCFLAGS='-pipe -Os -arch x86_64'
OBJCXX='/usr/bin/clang++'
OBJCXXFLAGS='-pipe -Os -arch x86_64 -stdlib=libc++'
:debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.4.1" && ./configure --prefix=/opt/local --docdir=share/doc/cmake --parallel=8 --init=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.4.1/macports.cmake --system-libs --no-system-jsoncpp --no-qt-gui'
:debug:configure Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.4.1" && ./configure --prefix=/opt/local --docdir=share/doc/cmake --parallel=8 --init=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.4.1/macports.cmake --system-libs --no-system-jsoncpp --no-qt-gui
:info:configure ---------------------------------------------
:info:configure CMake 3.4.1, Copyright 2000-2015 Kitware, Inc.
:info:configure C compiler on this system is: /usr/bin/clang -pipe -Os -arch x86_64
:info:configure C++ compiler on this system is: /usr/bin/clang++ -pipe -Os -arch x86_64 -stdlib=libc++
:info:configure Makefile processor on this system is: make
:info:configure /usr/bin/clang++ is GNU compiler
:info:configure /usr/bin/clang++ has setenv
:info:configure /usr/bin/clang++ has unsetenv
:info:configure /usr/bin/clang++ does not have environ in stdlib.h
:info:configure /usr/bin/clang++ has stl wstring
:info:configure /usr/bin/clang++ does not have struct stat with st_mtim member
:info:configure ---------------------------------------------
:info:configure make: `cmake' is up to date.
:info:configure loading initial cache file /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.4.1/Bootstrap.cmk/InitialCacheFlags.cmake
:info:configure -- Using system-installed BZIP2
:info:configure -- Using system-installed CURL
:info:configure -- Using system-installed EXPAT
:info:configure -- Using system-installed FORM
:info:configure -- Using system-installed LIBARCHIVE
:info:configure -- Using system-installed LIBLZMA
:info:configure -- Using system-installed ZLIB
:info:configure sh: /bin/ps: Operation not permitted
:info:configure CMake Error at Modules/FindGTK2.cmake:181 (file):
:info:configure   file STRINGS file
:info:configure   "/Library/Frameworks/GStreamer.framework/Headers/gtk/gtk/gtkversion.h"
:info:configure   cannot be read.
:info:configure Call Stack (most recent call first):
:info:configure   Modules/FindGTK2.cmake:817 (_GTK2_GET_VERSION)
:info:configure   Tests/CMakeLists.txt:1376 (find_package)
:info:configure
:info:configure
:info:configure -- Configuring incomplete, errors occurred!
:info:configure See also "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.4.1/CMakeFiles/CMakeOutput.log".
:info:configure See also "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.4.1/CMakeFiles/CMakeError.log".
:info:configure ---------------------------------------------
:info:configure Error when bootstrapping CMake:
:info:configure Problem while running initial CMake
:info:configure ---------------------------------------------
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.4.1" && ./configure --prefix=/opt/local --docdir=share/doc/cmake --parallel=8 --init=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.4.1/macports.cmake --system-libs --no-system-jsoncpp --no-qt-gui
:info:configure Exit code: 11
:error:configure org.macports.configure for port cmake returned: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
    while executing
"portconfigure::configure_main org.macports.configure"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:configure Warning: targets not executed for cmake: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:configure Please see the log file for port cmake for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/main.log
Last edited 8 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:5 Changed 8 years ago by jonlederman@…

Hi,

I have tried removing the frameworks mentioned as well as the workaround and it is still not installing. The latest log file is attached. Does anyone have any ideas? I need to get this working.

-Jon

comment:6 Changed 8 years ago by neverpanic (Clemens Lang)

Having a Gtk.framework in /Library/Frameworks is just as unsupported as a GStreamer.framework. Unfortunately the main.log doesn't explain why CMake searches for the Gtk header in this place. Please attach /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.4.1/CMakeFiles/CMakeError.log, it main contain further info.

Also, if you haven't already, do a clean and re-try:

sudo port clean cmake
sudo port install cmake

comment:7 Changed 8 years ago by artbotterell (Art Botterell)

Cmake build also fails for me. Tail of /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.4.1/CMakeFiles/CMakeError.log gives me:

ake -f CMakeFiles/cmTC_435bf.dir/build.make CMakeFiles/cmTC_435bf.dir/build
Building CXX object CMakeFiles/cmTC_435bf.dir/CheckSymbolExists.cxx.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++    -I/opt/local/include  -pipe -Os -arch x86_64 -stdlib=libc++   -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.11   -o CMakeFiles/cmTC_435bf.dir/CheckSymbolExists.cxx.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.4.1/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.4.1/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: use of undeclared identifier 'Q_WS_QWS'
  return ((int*)(&Q_WS_QWS))[argc];
                  ^
1 error generated.
make[1]: *** [CMakeFiles/cmTC_435bf.dir/CheckSymbolExists.cxx.o] Error 1
make: *** [cmTC_435bf/fast] Error 2

File /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.4.1/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:
/* */
#include <QtCore/qglobal.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef Q_WS_QWS
  return ((int*)(&Q_WS_QWS))[argc];
#else
  (void)argc;
  return 0;
#endif
}

comment:8 Changed 8 years ago by neverpanic (Clemens Lang)

That looks like a check that is expected to fail, since Q_WS_QWS is a define and should never be defined on OS X. Please attach the complete CMakeError.log.

Changed 8 years ago by artbotterell (Art Botterell)

Attachment: CMakeError.log added

CMakeError.log

Changed 8 years ago by artbotterell (Art Botterell)

Attachment: CMakeError.2.log added

comment:9 in reply to:  8 Changed 8 years ago by artbotterell (Art Botterell)

Replying to cal@…:

That looks like a check that is expected to fail, since Q_WS_QWS is a define and should never be defined on OS X. Please attach the complete CMakeError.log.

Attached: CMakeError.log

comment:10 Changed 8 years ago by neverpanic (Clemens Lang)

Nothing in that file seems particularly odd. How exactly does your CMake installation fail? Can you attach the main.log as well?

Changed 8 years ago by artbotterell (Art Botterell)

Attachment: main.2.log added

comment:11 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: art@… added

Do you have anything else in /Library/Frameworks? If so, please remove it. Do you have /usr/bin/pkg-config? If so, remove it.

comment:12 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Jon, the new log you pasted was not a clean attempt so information from a previous attempt may have been inadvertently remembered. Please sudo port clean cmake, then try again. If it fails again, attach (not paste) the new complete main.log file.

comment:13 in reply to:  12 Changed 8 years ago by artbotterell (Art Botterell)

Replying to ryandesign@…:

Jon, the new log you pasted was not a clean attempt so information from a previous attempt may have been inadvertently remembered. Please sudo port clean cmake, then try again. If it fails again, attach (not paste) the new complete main.log file.

Actually, this is Art, the past few posts have been mine. Just to avoid confusion.

comment:14 in reply to:  11 Changed 8 years ago by artbotterell (Art Botterell)

Replying to ryandesign@…:

Do you have anything else in /Library/Frameworks? If so, please remove it. Do you have /usr/bin/pkg-config? If so, remove it.

Yes, there's a bunch of stuff in /Library/Frameworks. Must I remove it all? Won't that clobber other apps? As for /usr/bin/pkg-config, that doesn't appear on my Mac.

  • Art

Changed 8 years ago by artbotterell (Art Botterell)

Attachment: main.3.log added

comment:15 in reply to:  12 Changed 8 years ago by artbotterell (Art Botterell)

Replying to ryandesign@…:

Jon, the new log you pasted was not a clean attempt so information from a previous attempt may have been inadvertently remembered. Please sudo port clean cmake, then try again. If it fails again, attach (not paste) the new complete main.log file.

Yup, did the clean then retried the make but no joy. Please see main.3.log, above.

Last edited 8 years ago by artbotterell (Art Botterell) (previous) (diff)

comment:16 Changed 8 years ago by neverpanic (Clemens Lang)

In this case the log indicates you might have a Gtk.framework in /Library/Frameworks that may cause problems.

comment:17 in reply to:  16 Changed 8 years ago by artbotterell (Art Botterell)

Replying to cal@…:

In this case the log indicates you might have a Gtk.framework in /Library/Frameworks that may cause problems.

Deleted /Library/Frameworks/Gtk.framework, cleaned cmake and tried install again... and it ran to completion and then rejoined a previously interrupted 'update outdated'. Thanks!

comment:18 Changed 8 years ago by neverpanic (Clemens Lang)

Glad you could solve the issue. Now we just need the original reporter to confirm whether this has solved his issue, or this was in fact a different problem.

comment:19 in reply to:  18 Changed 8 years ago by artbotterell (Art Botterell)

Replying to cal@…:

Glad you could solve the issue. Now we just need the original reporter to confirm whether this has solved his issue, or this was in fact a different problem.

Indeed, apologies for hijacking the thread. Jon, back over to you!

comment:20 Changed 8 years ago by jonlederman@…

Hi All,

This fixed the problem for me:

sudo port clean make sudo port install make

Thanks.

-Jon

comment:21 Changed 8 years ago by neverpanic (Clemens Lang)

Resolution: worksforme
Status: newclosed

Great!

Note: See TracTickets for help on using tickets.