HTCondor Project List Archives



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Condor-devel] some first attempts at building condor on macos with the new cmake order



OK, building condor with cmake for the first time. On a MacOS 10.6 machine.

Fresh git clone from about 4:30 today.

I run:

cmake -D_DEBUG:BOOL=TRUE -DCMAKE_INSTALL_PREFIX:PATH=${PWD}/release_dir -DPROPER:BOOL=OFF

to get as basic of a build as possible, to start out with - but build the 
externals, because my PCRE is kind of strange. 

The build chugs along for a bit, eventually blowing up in Globus. 
(For the interested reader, see the bottom of this message)

Now, I don't much care about Globus, so I repeat the cmake process, this time
with Globus turned off:
cmake -D_DEBUG:BOOL=TRUE -DCMAKE_INSTALL_PREFIX:PATH=${PWD}/release_dir -DPROPER:BOOL=OFF -DWITH_GLOBUS:BOOL=OFF

But it's not happy about that:
-- ***********************************************************
-- System(wireless41.cs.wisc.edu): DARWIN(10.4.0) Arch=X86_64 BitMode= BUILDID:
-- install prefix:/Users/epaulson/development/repository/condor/condor/release_dir
-- ********* BEGINNING CONFIGURATION *********
-- DEBUG: searching[2]:(ldap;lber) ... found[2]:(/System/Library/Frameworks/ldap.framework;/usr/lib/liblber.dylib)
-- ********* Configuring externals using [uw-externals] a.k.a NONPROPER *********
-- DEBUG: EXTERNAL_STAGE=/Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6
-- external skipped (boost)
-- external configured (KRB5_FOUND=/Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/lib/libkrb5.a;/Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/lib/libk5crypto.a;/Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/lib/libcom_err.a;/Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/lib/libkrb5support.a)
-- DEBUG: OPENSSL_CONVERT
-- external configured (OPENSSL_FOUND=/Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/lib/libssl.a;/Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/lib/libcrypto.a)
-- external configured (PCRE_FOUND=/Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/lib/libpcre.a)
-- external configured (GSOAP_FOUND=/Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/lib/libgsoapssl++.a)
-- external configured (CLASSADS_FOUND=classads)
-- external configured (ZLIB_FOUND=/Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/lib/libz.a)
-- DEBUG: searching[2]:(rt;idn) ... found[1]:(/opt/local/lib/libidn.dylib)
-- external configured (CURL_FOUND=/Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/lib/libcurl.a;/opt/local/lib/libidn.dylib)
-- external configured (HADOOP_FOUND=/Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/hdfs)
-- external skipped (postgresql)
-- external skipped (drmaa)
-- external skipped (coredumper)
-- external configured (unicoregahp)
-- external configured (EXPAT_FOUND=/Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/lib/libexpat.a)
-- external skipped (gcb)
-- external configured (LIBXML2_FOUND=/Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/lib/libxml2.a)
-- external skipped (libvirt)
-- external skipped (libdeltacloud)
-- external skipped (globus)
-- external skipped (blahp)
CMake Error at build/cmake/ExternalProjectPatched.cmake:837 (get_property):
  get_property could not find TARGET globus.  Perhaps it has not yet been
  created.
Call Stack (most recent call first):
  build/cmake/ExternalProjectPatched.cmake:984 (_ep_add_configure_command)
  externals/bundles/voms/1.9.10_4/CMakeLists.txt:30 (ExternalProject_Add)


...etc etc etc....
-- adding directory (/Users/epaulson/development/repository/condor/condor/src/nordugrid_gahp)
-- NOTE: *nordugrid* targets will not be built HAVE_EXT_GLOBUS= HAVE_LDAP_H=1
-- DEBUG: CONDOR_TESTS=test_log_reader;test_log_reader_state;test_log_writer;test_libcondorapi;condor_lease_manager_test;condor_lease_manager_tester;x_return-n.exe;x_dumpcore.exe;x_tightloop.exe;x_killppid.exe;lib_chirpio.exe;job_core_chirp_par.exe;x_read_joblog.exe;x_write_joblog.exe;x_write_joblog_events.exe;lib_eventlog_base.exe;job_core_bigenv.exe;lib_eventlog_build.exe;x_trapsig.exe;condor_test_auth;condor_unit_tests
-- Configuring incomplete, errors occurred!

OK, so the error is that VOMS depends on Globus, but apparently doesn't know
that. Rebuilding with -DWITH_VOMS:BOOL=NO gets me farther. 

That's all for now.

-Erik

 ============
Globus build problems.

[ 12%] Completed 'gt4'
cd /Users/epaulson/development/repository/condor/condor/externals/bundles/globus/5.0.1-p1 && "/Applications/CMake 2.8-3.app/Contents/bin/cmake" -E make_directory /Users/epaulson/development/repository/condor/condor/externals/bundles/globus/5.0.1-p1/CMakeFiles
cd /Users/epaulson/development/repository/condor/condor/externals/bundles/globus/5.0.1-p1 && "/Applications/CMake 2.8-3.app/Contents/bin/cmake" -E touch /Users/epaulson/development/repository/condor/condor/externals/bundles/globus/5.0.1-p1/CMakeFiles/gt4-complete
cd /Users/epaulson/development/repository/condor/condor/externals/bundles/globus/5.0.1-p1 && "/Applications/CMake 2.8-3.app/Contents/bin/cmake" -E touch /Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/opt/globus-4.0.8/src/gt4-stamp/gt4-done
"/Applications/CMake 2.8-3.app/Contents/bin/cmake" -E cmake_progress_report /Users/epaulson/development/repository/condor/condor/CMakeFiles  57
[ 13%] Built target gt4
make -f externals/bundles/globus/5.0.1-p1/CMakeFiles/globus.dir/build.make externals/bundles/globus/5.0.1-p1/CMakeFiles/globus.dir/depend
cd /Users/epaulson/development/repository/condor/condor && "/Applications/CMake 2.8-3.app/Contents/bin/cmake" -E cmake_depends "Unix Makefiles" /Users/epaulson/development/repository/condor/condor /Users/epaulson/development/repository/condor/condor/externals/bundles/globus/5.0.1-p1 /Users/epaulson/development/repository/condor/condor /Users/epaulson/development/repository/condor/condor/externals/bundles/globus/5.0.1-p1 /Users/epaulson/development/repository/condor/condor/externals/bundles/globus/5.0.1-p1/CMakeFiles/globus.dir/DependInfo.cmake --color=
Scanning dependencies of target globus
make -f externals/bundles/globus/5.0.1-p1/CMakeFiles/globus.dir/build.make externals/bundles/globus/5.0.1-p1/CMakeFiles/globus.dir/build
"/Applications/CMake 2.8-3.app/Contents/bin/cmake" -E cmake_progress_report /Users/epaulson/development/repository/condor/condor/CMakeFiles 
[ 13%] Creating directories for 'globus'
cd /Users/epaulson/development/repository/condor/condor/externals/bundles/globus/5.0.1-p1 && "/Applications/CMake 2.8-3.app/Contents/bin/cmake" -E make_directory /Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/opt/globus-5.0.1/src/globus
cd /Users/epaulson/development/repository/condor/condor/externals/bundles/globus/5.0.1-p1 && "/Applications/CMake 2.8-3.app/Contents/bin/cmake" -E make_directory /Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/opt/globus-5.0.1/src/globus
cd /Users/epaulson/development/repository/condor/condor/externals/bundles/globus/5.0.1-p1 && "/Applications/CMake 2.8-3.app/Contents/bin/cmake" -E make_directory /Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6
cd /Users/epaulson/development/repository/condor/condor/externals/bundles/globus/5.0.1-p1 && "/Applications/CMake 2.8-3.app/Contents/bin/cmake" -E make_directory /Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/opt/globus-5.0.1/tmp
cd /Users/epaulson/development/repository/condor/condor/externals/bundles/globus/5.0.1-p1 && "/Applications/CMake 2.8-3.app/Contents/bin/cmake" -E make_directory /Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/opt/globus-5.0.1/src/globus-stamp
cd /Users/epaulson/development/repository/condor/condor/externals/bundles/globus/5.0.1-p1 && "/Applications/CMake 2.8-3.app/Contents/bin/cmake" -E make_directory /Users/epaulson/development/repository/condor/condor/externals/stage/download/condor_7.5.6
cd /Users/epaulson/development/repository/condor/condor/externals/bundles/globus/5.0.1-p1 && "/Applications/CMake 2.8-3.app/Contents/bin/cmake" -E touch /Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/opt/globus-5.0.1/src/globus-stamp/globus-mkdir
"/Applications/CMake 2.8-3.app/Contents/bin/cmake" -E cmake_progress_report /Users/epaulson/development/repository/condor/condor/CMakeFiles 
[ 13%] Performing download step for 'globus'
cd /Users/epaulson/development/repository/condor/condor/externals/stage/download/condor_7.5.6 && wget -N http://parrot.cs.wisc.edu/externals/globus-5.0.1.tar.gz && /Applications/CMake\ 2.8-3.app/Contents/bin/cmake -P /Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/opt/globus-5.0.1/src/globus-stamp/extract-globus.cmake
--2011-02-04 16:58:44--  http://parrot.cs.wisc.edu/externals/globus-5.0.1.tar.gz
Resolving parrot.cs.wisc.edu (parrot.cs.wisc.edu)... 128.105.121.59
Connecting to parrot.cs.wisc.edu (parrot.cs.wisc.edu)|128.105.121.59|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 79008285 (75M) [application/x-gzip]
Saving to: “globus-5.0.1.tar.gz”

100%[==========================================================================================================================================>] 79,008,285  10.2M/s   in 7.4s    

2011-02-04 16:58:51 (10.2 MB/s) - “globus-5.0.1.tar.gz” saved [79008285/79008285]

-- extracting...
     src='/Users/epaulson/development/repository/condor/condor/externals/stage/download/condor_7.5.6/globus-5.0.1.tar.gz'
     dst='/Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/opt/globus-5.0.1/src/globus'
-- extracting... [tar|zip] args=xfz
-- extracting... [analysis]
-- extracting... done
cd /Users/epaulson/development/repository/condor/condor/externals/stage/download/condor_7.5.6 && "/Applications/CMake 2.8-3.app/Contents/bin/cmake" -E touch /Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/opt/globus-5.0.1/src/globus-stamp/globus-download
"/Applications/CMake 2.8-3.app/Contents/bin/cmake" -E cmake_progress_report /Users/epaulson/development/repository/condor/condor/CMakeFiles 
[ 13%] Performing patch step for 'globus'
cd /Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/opt/globus-5.0.1/src/globus && patch -i /Users/epaulson/development/repository/condor/condor/externals/bundles/globus/5.0.1-p1/xio-plugins.patch -p0 && patch -i /Users/epaulson/development/repository/condor/condor/externals/bundles/globus/5.0.1-p1/rfc_proxy.patch -p0 && cd gt5.0.1-all-source-installer/source-trees/xio/src/builtins && mkdir -p gsi popen && sed -e 's/globus_xio_gsi.h/globus_xio_gsi_driver.h/' ../../drivers/gsi/globus_i_xio_gsi.h >gsi/globus_i_xio_gsi.h && cp ../../drivers/gsi/globus_xio_gsi.c gsi/globus_xio_gsi_driver.c && cp ../../drivers/gsi/globus_xio_gsi.h gsi/globus_xio_gsi_driver.h && cp ../../drivers/popen/source/*.h popen && cp ../../drivers/popen/source/*.c popen && sed -e 's/tcp/gsi/g' tcp/Makefile.am >gsi/Makefile.am && sed -e 's/tcp/gsi/g' tcp/Makefile.in >gsi/Makefile.in && sed -e 's/tcp/popen/g' tcp/Makefile.am >popen/Makefile.am && sed -e 's/tcp/popen/g' tcp/Makefile.in >popen/Makefile.in && cd ../../../../source-trees-thr/xio/src/builtins && mkdir -p gsi popen && cd gsi && ln -f -s ../../../../../source-trees/xio/src/builtins/gsi/Makefile.am . && ln -f -s ../../../../../source-trees/xio/src/builtins/gsi/Makefile.in . && ln -f -s ../../../../../source-trees/xio/src/builtins/gsi/globus_i_xio_gsi.h . && ln -f -s ../../../../../source-trees/xio/src/builtins/gsi/globus_xio_gsi_driver.c . && ln -f -s ../../../../../source-trees/xio/src/builtins/gsi/globus_xio_gsi_driver.h . && cd ../popen && ln -f -s ../../../../../source-trees/xio/src/builtins/popen/Makefile.am . && ln -f -s ../../../../../source-trees/xio/src/builtins/popen/Makefile.in . && ln -f -s ../../../../../source-trees/xio/src/builtins/popen/globus_xio_popen_driver.c . && ln -f -s ../../../../../source-trees/xio/src/builtins/popen/globus_xio_popen_driver.h . && cd ../../../../../../ && patch -i /Users/epaulson/development/repository/condor/condor/externals/bundles/globus/5.0.1-p1/xio-plugins-2.patch -p0
patching file gt5.0.1-all-source-installer/source-trees/xio/src/configure
patching file gt5.0.1-all-source-installer/source-trees/xio/src/pkgdata/pkg_data_src.gpt.in
patching file gt5.0.1-all-source-installer/source-trees/gsi/proxy/proxy_core/source/library/globus_gsi_proxy_handle.c
patching file gt5.0.1-all-source-installer/source-trees/xio/drivers/gsi/globus_xio_gsi.c
patching file gt5.0.1-all-source-installer/source-trees/xio/drivers/popen/source/globus_xio_popen_driver.c
cd /Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/opt/globus-5.0.1/src/globus && "/Applications/CMake 2.8-3.app/Contents/bin/cmake" -E touch /Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/opt/globus-5.0.1/src/globus-stamp/globus-patch
"/Applications/CMake 2.8-3.app/Contents/bin/cmake" -E cmake_progress_report /Users/epaulson/development/repository/condor/condor/CMakeFiles 
[ 13%] No update step for 'globus'
cd /Users/epaulson/development/repository/condor/condor/externals/bundles/globus/5.0.1-p1 && "/Applications/CMake 2.8-3.app/Contents/bin/cmake" -E touch /Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/opt/globus-5.0.1/src/globus-stamp/globus-update
"/Applications/CMake 2.8-3.app/Contents/bin/cmake" -E cmake_progress_report /Users/epaulson/development/repository/condor/condor/CMakeFiles 
[ 13%] Performing configure step for 'globus'
cd /Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/opt/globus-5.0.1/src/globus && cd gt5.0.1-all-source-installer && CFLAGS=-I/Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/include && export CFLAGS && LDFLAGS=-L/Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/lib && export LDFLAGS && OPENSSL_CFLAGS=-I/Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/include && export OPENSSL_CFLAGS && OPENSSL_LDFLAGS=-L/Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/lib && export OPENSSL_LDFLAGS && OPENSSL_LIBS='-lssl -lcrypto' && export OPENSSL_LIBS && OPENSSL_LDFLAGS='-L/Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/lib -Wl,-search_paths_first' && export OPENSSL_LDFLAGS && LT_MULTI_MODULE=1 && export LT_MULTI_MODULE && ./configure --prefix=/Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6 --with-flavor=gcc64dbgpthr && make gpt gssapi_error globus-resource-management-sdk
checking build system type... i686-apple-darwin10.4.0
configure: WARNING: XML::Parser not found, but is required for GRAM
configure: creating ./config.status
config.status: creating Makefile
cd gpt && OBJECT_MODE=32 ./build_gpt
build_gpt ====> installing GPT into /Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6
build_gpt ====> building /Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/opt/globus-5.0.1/src/globus/gt5.0.1-all-source-installer/gpt/support/Compress-Zlib-1.21
build_gpt ====> building /Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/opt/globus-5.0.1/src/globus/gt5.0.1-all-source-installer/gpt/support/IO-Zlib-1.01
build_gpt ====> building /Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/opt/globus-5.0.1/src/globus/gt5.0.1-all-source-installer/gpt/support/makepatch-2.00a
build_gpt ====> building /Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/opt/globus-5.0.1/src/globus/gt5.0.1-all-source-installer/gpt/support/Archive-Tar-0.22
build_gpt ====> building /Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/opt/globus-5.0.1/src/globus/gt5.0.1-all-source-installer/gpt/support/PodParser-1.18
build_gpt ====> building /Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/opt/globus-5.0.1/src/globus/gt5.0.1-all-source-installer/gpt/support/Digest-MD5-2.20
build_gpt ====> building /Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/opt/globus-5.0.1/src/globus/gt5.0.1-all-source-installer/gpt/packaging_tools
/Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/sbin/gpt-build   -srcdir=source-trees/core/source gcc64dbgpthr
/Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/etc/gpt/globus_core-src.tar.gz could not be untarred:32512
Died at /Users/epaulson/development/repository/condor/condor/externals/stage/root/condor_7.5.6/lib/perl/Grid/GPT/PkgMngmt/ExpandSource.pm line 42.
make[3]: *** [globus_core-compile] Error 127
make[2]: *** [externals/stage/root/condor_7.5.6/opt/globus-5.0.1/src/globus-stamp/globus-configure] Error 2
make[1]: *** [externals/bundles/globus/5.0.1-p1/CMakeFiles/globus.dir/all] Error 2
make: *** [all] Error 2