Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Kea Kea
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 517
    • Issues 517
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 53
    • Merge requests 53
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source Projects
  • KeaKea
  • Issues
  • #911

Closed
Open
Created Sep 18, 2019 by Wlodzimierz Wencel@wlodekMaintainer

configure script unable to find log4cplus on openbsd

log4cplus installed from packages

openbsd65-64-1$ ls /usr/local/include/log4cplus/ 
appender.h              consoleappender.h       layout.h                nteventlogappender.h    thread
asyncappender.h         fileappender.h          log4judpappender.h      nullappender.h          tracelogger.h
boost                   fstreams.h              logger.h                socketappender.h        tstring.h
clogger.h               helpers                 loggingmacros.h         spi                     version.h
config                  hierarchy.h             loglevel.h              streams.h               win32consoleappender.h
config.hxx              hierarchylocker.h       mdc.h                   syslogappender.h        win32debugappender.h
configurator.h          internal                ndc.h                   tchar.h

but when I run configure:

./configure --with-gtest-source=/opt/googletest/ --with-log4cplus=/usr/local/include/log4cplus/
[..]
checking HMAC functions returning ints... yes
checking sys/filio.h usability... yes
checking sys/filio.h presence... yes
checking for sys/filio.h... yes
checking log4cplus/logger.h usability... no
checking log4cplus/logger.h presence... no
checking for log4cplus/logger.h... no
configure: error: Missing required header files.

and in config.log I see that ./configure is searching for log4cplus in /usr/local/include/log4cplus/include

configure:18853: checking log4cplus/logger.h usability
configure:18853: /usr/bin/clang -c -g -O2 -I/usr/local/include/log4cplus//include  -DOS_BSD conftest.cpp >&5
conftest.cpp:62:10: fatal error: 'log4cplus/logger.h' file not found

it should not append /include

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking