Print

Print


Hi Adrian,

You don't need libevents. It used by the new client if it is there but the 
built-in event package is usually better in that it uses much less CPU. If 
you uninstall it (presumably you can do this) then cmake will work just 
fine. I also think there is a cmake option that ignores libevent even if it 
is present. Lukasz should be able to chime in on that. As for the perl 
stuff. I hope that Wilko will have some comments.

Andy

-----Original Message----- 
From: Adrian Sevcenco
Sent: Wednesday, October 16, 2013 11:46 AM
To: [log in to unmask]
Subject: cmake 3.3.4 :: libevent and perl not found but installed

Hi! it seems that i have a problem configuring an xrootd 3.3.4 on an
Centos6 x86_64 (it is true that i dont know for what use libevent and
perl are needed by xrootd)

i have this:
adrian@issaf : build $ rpm -qa | grep libevent
libevent-1.4.13-4.el6.x86_64
libevent-doc-1.4.13-4.el6.noarch
libevent-debuginfo-1.4.13-4.el6.x86_64
libevent-devel-1.4.13-4.el6.x86_64
libevent-headers-1.4.13-4.el6.noarch

adrian@issaf : build $ rpm -qa | grep perl-libs
perl-libs-5.10.1-131.el6_4.x86_64

if i try to pass to cmake the information about libevent:
cmake -DLIBEVENT_INCLUDE_DIR=/usr/include -DLIBEVENT_LIB=/usr/lib64 ../

i get this:
-- Found LibEvent: /usr/lib64
CMake Error at
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:57 (MESSAGE):
   Could NOT find LibEventPthreads (missing: LIBEVENTPTHREADS_LIB
   LIBEVENTPTHREADS_INCLUDE_DIR)
Call Stack (most recent call first):
   cmake/FindLibEventPthreads.cmake:28 (find_package_handle_standard_args)
   cmake/XRootDFindLibs.cmake:64 (find_package)
   CMakeLists.txt:17 (include)

i have no EVENTPTHREADS packages in Centos 6.

the perl lib is found only if i give the library explicitly:
cmake -DPERL_INCLUDE_PATH=/usr/include
-DPERL_LIBRARY=/usr/lib64/perl5/CORE/libperl.so ../

-- Found Perl: /usr/bin/perl
-- Found PerlLibs: /usr/lib64/perl5/CORE/libperl.so

Thanks!
Adrian


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

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

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

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