simonevallifuoco commented on issue #304:
URL: 
https://github.com/apache/logging-log4cxx/issues/304#issuecomment-1835779200

   Thank you @swebb2066 
   
   I am now trying to cross-compile log4cxx using CMake adding the correct 
variables for QNX and aarch64 in the main CMakeLists.txt file, but the cmake 
command stops with an error because it cannot find EXPAT library: 
   $ cmake ..
   -- The CXX compiler identification is QCC 8.3.0
   -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
   -- Checking for module 'apr-1'
   --   Found apr-1, version 1.6.5
   -- Found APR: apr-1  
   -- Checking for module 'apr-util-1'
   --   Found apr-util-1, version 1.6.1
   -- Found APR-Util: aprutil-1;ldap;lber  
   -- Looking for C++ include pthread.h
   -- Looking for C++ include pthread.h - not found
   -- Found Threads: TRUE  
   CMake Error at 
/usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
     Could NOT find EXPAT (missing: EXPAT_LIBRARY) (found version "2.4.7")
   Call Stack (most recent call first):
     /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 
(_FPHSA_FAILURE_MESSAGE)
     /usr/share/cmake-3.16/Modules/FindEXPAT.cmake:63 
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
     CMakeLists.txt:84 (find_package)
   
   
   -- Configuring incomplete, errors occurred!
   
   
   Anyone has idea why?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to