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

[HTCondor-users] Building from source on Ubuntu 14.04

Just in case this is of use to anybody, building HTCondor (I used 8.0.7 specifically) from source on Ubuntu 14.04 requires a modification to the file build/cmake/CondorConfigure.cmake, otherwise the executable for the condor_shadow will fail to link. The change is just:

*** 862,867 ****
--- 862,871 ----
  			set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--no-as-needed")
+ 		if ( "${SYSTEM_NAME}" STREQUAL "Ubuntu-14.04")
+ 			set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--no-as-needed")
+ 		endif()
  		# Link RedHat 5 binaries with both hash styles (GNU and SYSV)
  		# so that binaries are usable on old distros such as SUSE Linux Enterprise Server 10
  		if ( ${SYSTEM_NAME} MATCHES "rhel5" )

Hope that helps,