Print

Print


Follow-up Comment #2, bug #100735 (project xrootd):

zlib could be fixed easy [XROOTD_ZLIB_INCLUDE].

For ncurses:

src/XrdClient/XrdStageTool.cc:30:#include <term.h>
src/XrdClient/XrdCommandLine.cc:29:#include <term.h>

$ repoquery --list ncurses-devel | grep term.h
/usr/include/ncurses/term.h
/usr/include/ncursesw/term.h
/usr/include/term.h

It's on Fedora 18. Fedora 17/18 should become RHEL 7, which later on becomes
SLC7.

You are actually depends on ncurses, or at least terminfo. Yet do not provide
a way to pass pass NCURSES_INCLUDE_DIRS resulting in compilation failure as it
cannot locate term.h. 

<<XROOTD_ZLIB_INCLUDE

diff --git a/src/XrdApps.cmake b/src/XrdApps.cmake
index e175a4e..1410749 100644
--- a/src/XrdApps.cmake
+++ b/src/XrdApps.cmake
@@ -1,4 +1,4 @@
-
+include_directories( ${ZLIB_INCLUDE_DIRS} )
include( XRootDCommon )

#-------------------------------------------------------------------------------
diff --git a/src/XrdClient.cmake b/src/XrdClient.cmake
index 5bf54d5..fc65b90 100644
--- a/src/XrdClient.cmake
+++ b/src/XrdClient.cmake
@@ -1,4 +1,4 @@
-
+include_directories( ${ZLIB_INCLUDE_DIRS} )
include( XRootDCommon )

#-------------------------------------------------------------------------------

XROOTD_ZLIB_INCLUDE


    _______________________________________________________

Reply to this item at:

  <http://savannah.cern.ch/bugs/?100735>

_______________________________________________
  Message sent via/by LCG Savannah
  http://savannah.cern.ch/

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1