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

[Condor-users] cmake can't find globus headers



Hello,

   I'm having issues building condor from source on my gentoo x86 32-bit
platform. After running 'cmake .' from the source directory and then
'make', I get this:

[  7%] Building CXX object src/condor_utils/CMakeFiles/utils.dir/condor_event.cpp.o
In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/include/g++-v4/ext/hash_map:60:0,
                 from /usr/src/condor-7.6.7/src/classad/classad/classad_stl.h:30,
                 from /usr/src/condor-7.6.7/src/classad/classad/classad.h:28,
                 from /usr/src/condor-7.6.7/src/classad/classad/classad_distribution.h:25,
                 from /usr/src/condor-7.6.7/src/condor_utils/compat_classad.h:27,
                 from /usr/src/condor-7.6.7/src/condor_includes/condor_classad.h:31,
                 from /usr/src/condor-7.6.7/src/condor_includes/condor_config.h:25,
                 from /usr/src/condor-7.6.7/src/condor_includes/util_lib_proto.h:25,
                 from /usr/src/condor-7.6.7/src/condor_includes/condor_string.h:24,
                 from /usr/src/condor-7.6.7/src/condor_utils/condor_event.cpp:26:
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/include/g++-v4/backward/backward_warning.h:28:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
In file included from /usr/src/condor-7.6.7/src/condor_includes/condor_environ.h:24:0,
                 from /usr/src/condor-7.6.7/src/condor_utils/condor_event.cpp:36:
/usr/src/condor-7.6.7/src/condor_includes/condor_auth_x509.h:32:31: fatal error: globus_gss_assist.h: No such file or directory
compilation terminated.
make[2]: *** [src/condor_utils/CMakeFiles/utils.dir/condor_event.cpp.o] Error 1
make[2]: Leaving directory `/usr/src/condor-7.6.7'
make[1]: *** [src/condor_utils/CMakeFiles/utils.dir/all] Error 2
make[1]: Leaving directory `/usr/src/condor-7.6.7'
make: *** [all] Error 2
make: Leaving directory `/usr/src/condor-7.6.7'


   It looks like cmake doesn't know where to find my header files.
I installed globus (and then reran 'cmake .') in the /usr/local/globus
directory.  The headers, including globus_gss_assist.h, are in the
/usr/local/globus/include/globus/ directory.  The libraries are in
/usr/local/globus/lib directory.


'cmake . 2>&1 | grep globus' gives this:

-- Could not find libs(globus_gssapi_error;globus_xio;globus_io;globus_rsl)
-- Could not find libs(globus_gass_transfer;globus_gram_client;globus_gram_protocol)
-- Could not find libs(globus_ftp_client;globus_ftp_control)


I tried telling 'make' directly where the headers were:

make CPPFLAGS='-I/usr/local/globus/include/globus'
make CXXFLAGS='-I/usr/local/globus/include/globus'
make CFLAGS='-I/usr/local/globus/include/globus'


The results were the same.  Is there a cmake file out there for finding
the globus libs/headers?  Is there any way for me to tell cmake on the
command line where to find them?  Thanks,

-Aaron Moate