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

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



> Forgot to mention you can always just nix globus from the build process unless it is a requirement.  
> 
> cmake -DWITH_GLOBUS:BOOL=FALSE . 

Thank you much;  I nixed globus and am well on my way to completing the
build.

> > I've pushed updates for proper builds w/globus to also check
> > /usr/local/globus/include/globus (silly gentoo locs), in the 7.8 and
> > master branches upstream
> > 

I actually manually installed globus in /usr/local/globus since Gentoo
didn't have an ebuild for it (which kinda surprised me);  You might not
see it installed there anywhere else.

'Appreciate the help.

On Wed, May 09, 2012 at 10:33:34PM -0400, Tim St Clair wrote:
> Forgot to mention you can always just nix globus from the build process unless it is a requirement.  
> 
> cmake -DWITH_GLOBUS:BOOL=FALSE . 
> 
> Cheers,
> Tim
> 
> ----- Original Message -----
> > From: "Tim St Clair" <tstclair@xxxxxxxxxx>
> > To: "Condor-Users Mail List" <condor-users@xxxxxxxxxxx>
> > Sent: Wednesday, May 9, 2012 9:27:35 PM
> > Subject: Re: [Condor-users] cmake can't find globus headers
> > 
> > I've pushed updates for proper builds w/globus to also check
> > /usr/local/globus/include/globus (silly gentoo locs), in the 7.8 and
> > master branches upstream
> > 
> > To obtain:
> > 
> > # clone uw repo to build latest source.
> > git clone http://condor-git.cs.wisc.edu/repos/condor.git
> > 
> > # obtain latest stable series code
> > git checkout -b V7_8-branch origin/V7_8-branch
> > 
> > cmake . && make
> > 
> > Also FYI, run export on *FLAGS prior to running cmake and they should
> > be absorbed.
> > 
> > e.g. - export CPPFLAGS='-I/usr/local/globus/include/globus' ...
> > 
> > Cheers,
> > Tim
> > 
> > 
> > ----- Original Message -----
> > > From: moate@xxxxxxxxx
> > > To: condor-users@xxxxxxxxxxx
> > > Sent: Wednesday, May 9, 2012 7:56:36 PM
> > > Subject: [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
> > > _______________________________________________
> > > Condor-users mailing list
> > > To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx
> > > with a
> > > subject: Unsubscribe
> > > You can also unsubscribe by visiting
> > > https://lists.cs.wisc.edu/mailman/listinfo/condor-users
> > > 
> > > The archives can be found at:
> > > https://lists.cs.wisc.edu/archive/condor-users/
> > > 
> > _______________________________________________
> > Condor-users mailing list
> > To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx
> > with a
> > subject: Unsubscribe
> > You can also unsubscribe by visiting
> > https://lists.cs.wisc.edu/mailman/listinfo/condor-users
> > 
> > The archives can be found at:
> > https://lists.cs.wisc.edu/archive/condor-users/
> > 
> _______________________________________________
> Condor-users mailing list
> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
> 
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/condor-users/