Send kea-dev mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/kea-dev
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of kea-dev digest..."


Today's Topics:

   1.  Build Kea 1.1.0 from source on CentOS 7 missing
      log4cplus/logger.h (Sallee, Jake)
   2. Re:  Build Kea 1.1.0 from source on CentOS 7 missing
      log4cplus/logger.h (Francis Dupont)


----------------------------------------------------------------------

Message: 1
Date: Tue, 8 Nov 2016 04:35:32 +0000
From: "Sallee, Jake" <[email protected]>
To: "[email protected]" <[email protected]>
Subject: [kea-dev] Build Kea 1.1.0 from source on CentOS 7 missing
        log4cplus/logger.h
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

I am trying to install Kea 1.1.0 on CentOS 7 using a MaraiDB galera cluster as 
the storage backend.

However Kea has a dependancy that is in conflict with MaraiDB galera 10.1.

maraidb-libs conflicts with MariaDB-server so I cannot use the prebuilt 
packages from epel7.

I checked and it seems that the maraidb-libs package was deprecated and its 
functionality merged into the MaraiDB-server package so it is no longer needed. 
 With that info if I should be able to build from source and be able to 
circumvent the deprecated dependency.

However building from source I am getting an error:

======================================
checking log4cplus/logger.h usability... no
checking log4cplus/logger.h presence... no
checking for log4cplus/logger.h... no
configure: error: Missing required header files.
======================================

I have already installed the log4cplus and log4cplus-devel packages (even 
rebooted for good measure) and the file logger.h is located at 
/usr/include/log4cplus/logger.h

see here:
=======================================
[root@DHCP01 kea-1.1.0]# rpm -qa | grep log4cplus
log4cplus-1.1.3-0.4.rc3.el7.x86_64
log4cplus-devel-1.1.3-0.4.rc3.el7.x86_64
=======================================

and here:
=======================================
[root@DHCP01 kea-1.1.0]# locate logger.h
/root/kea-1.1.0/src/lib/asiodns/logger.h
/root/kea-1.1.0/src/lib/log/logger.h
/usr/include/log4cplus/clogger.h
/usr/include/log4cplus/logger.h
/usr/include/log4cplus/tracelogger.h
/usr/include/log4cplus/spi/rootlogger.h
/usr/include/mysql/service_logger.h
=======================================

According to the configuration script (~line 17894) this should be a location 
the config script should be able to find the file in, but NOPE :(

I have tried to pass the switch --with-log4cplus=/usr (and other permutations) 
but it does not work.

log4cplus is listed as an optional component in the config script help but the 
configurator fails without it.

I would very much appreciate any guidance anyone may have on getting past this 
error.

Thank you for your time.

Jake Sallee
Godfather of Bandwidth
System Engineer
University of Mary Hardin-Baylor
WWW.UMHB.EDU

900 College St.
Belton, Texas
76513

Fone: 254-295-4658
Phax: 254-295-4221


------------------------------

Message: 2
Date: Tue, 08 Nov 2016 11:26:05 +0000
From: Francis Dupont <[email protected]>
To: "Sallee, Jake" <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: Re: [kea-dev] Build Kea 1.1.0 from source on CentOS 7 missing
        log4cplus/logger.h
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"

"Sallee, Jake" writes:
> However building from source I am getting an error:
> 
> ======================================
> checking log4cplus/logger.h usability... no
> checking log4cplus/logger.h presence... no
> checking for log4cplus/logger.h... no
> configure: error: Missing required header files.
> ======================================

=> this is a failure in the AC_CHECK_HEADERS macro

> I have already installed the log4cplus and log4cplus-devel packages (even reb
> ooted for good measure) and the file logger.h is located at /usr/include/log4
> cplus/logger.h

=> it can be from something not related, for instance a bad compilation
flag from a previous configure action. You should look at the config.log
file to understand exactly what happened.

> log4cplus is listed as an optional component in the config script help but th
> e configurator fails without it.

=> in fact log4cplus is not optional (only enable-xxx makes xxx optional
for sure). Perhaps the name should be more --with-log4cplus-path but
it is clarly a bit long and IMHO not an improvement....

Regards

Francis Dupont <[email protected]>


------------------------------

Subject: Digest Footer

_______________________________________________
kea-dev mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-dev

------------------------------

End of kea-dev Digest, Vol 32, Issue 3
**************************************

Reply via email to