You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "timcoleman (via GitHub)" <gi...@apache.org> on 2023/02/02 22:03:53 UTC

[GitHub] [logging-log4cxx] timcoleman opened a new issue, #189: ODBC dependency causes problems when building on a different system

timcoleman opened a new issue, #189:
URL: https://github.com/apache/logging-log4cxx/issues/189

   log4cxx/src/main/include/CMakeLists.txt contains a pkg-config check for ODBC, and if it is available, then the ODBC appender will be compiled and log4cxx will depend on the ODBC shared library.
   
   If the log4cxx library is compiled on a system that has libodbc, but then used on a separate system that does not have libodbc, then it will fail to load. 
   
   Basically, I'm looking for a flag that can be used to disable the ODBC appender from the cmake command line.


-- 
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: notifications-unsubscribe@logging.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [logging-log4cxx] rm5248 closed issue #189: Need a cmake flag to bypass the ODBC appender build

Posted by "rm5248 (via GitHub)" <gi...@apache.org>.
rm5248 closed issue #189: Need a cmake flag to bypass the ODBC appender build
URL: https://github.com/apache/logging-log4cxx/issues/189


-- 
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: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [logging-log4cxx] rm5248 commented on issue #189: Need a cmake flag to bypass the ODBC appender build

Posted by "rm5248 (via GitHub)" <gi...@apache.org>.
rm5248 commented on issue #189:
URL: https://github.com/apache/logging-log4cxx/issues/189#issuecomment-1416872623

   The following behavior should be sufficient to fix this:
   
   - ODBC and SMTP  are opt-in when configuring(both OFF by default).  If you want them and they are unavailable, an appropriate error will be output.  This seems like the most sane way of handling it.
   - The only other possible library that I can think of is boost, but that is only needed if the compiler not capable of C++17.


-- 
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: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [logging-log4cxx] thesamesam commented on issue #189: Need a cmake flag to bypass the ODBC appender build

Posted by "thesamesam (via GitHub)" <gi...@apache.org>.
thesamesam commented on issue #189:
URL: https://github.com/apache/logging-log4cxx/issues/189#issuecomment-1416850142

   Same for esmtp (and any other libraries which are found-then-used-automatically, https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Automagic_dependencies). Thanks!


-- 
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: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [logging-log4cxx] rm5248 commented on issue #189: Need a cmake flag to bypass the ODBC appender build

Posted by "rm5248 (via GitHub)" <gi...@apache.org>.
rm5248 commented on issue #189:
URL: https://github.com/apache/logging-log4cxx/issues/189#issuecomment-1420043637

   fixed in #191 


-- 
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: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org