Hi Amole and thanks for your report.

The C api 2.4.0 version is a major upgrade which comes with additional
dependencies.
Indeed as mentioned by your report

...
> > -- Could NOT find CURL (missing:  CURL_LIBRARY CURL_INCLUDE_DIR)
...
> > -- Could NOT find ZIP
...

Here a sample of the README.Unix.html doc page

#### RedHat/CentOS ####
CentOS < 8 version
Note: the libzip-devel system package is obsolete, thus the libzip-last-devel
ought to be used instead. A third party repository might need to be enabled.
```shell
% sudo dnf install gcc (or clang) pcre-devel cmake zlib-devel
libzip-last-devel \
  libcurl-devel
```
CentOS >= 8 version
```shell
% sudo dnf install gcc (or clang) pcre-devel cmake zlib-devel libzip-devel \
  libcurl-devel
```

If you have any further question, please let me know.

Kindest regards.

On Fri, 3 Jun 2022 at 07:21, Willy Tarreau <w...@1wt.eu> wrote:
>
> Hello Amol,
>
> On Fri, Jun 03, 2022 at 11:09:07AM +0530, Amol Arote wrote:
>
> David, please find the rest of the report below.
>
> Thanks!
> Willy
>
> > -----------------------------------------------------------------------------------
> > *Versions*
> > -----------------------------------------------------------------------------------
> > HAProxy version 2.4.2-553dee3 2021/07/07
> > cmake version 2.8.12.2
> > CentOS Linux release 7.6.1810 (Core)
> > deviceatlas-enterprise-c-2.4.0.zip
> > -----------------------------------------------------------------------------------
> > *deviceatlas compile steps*
> > -----------------------------------------------------------------------------------
> > # yum install cmake
> > # unzip deviceatlas-enterprise-c-2.4.0.zip
> > # mv deviceatlas-enterprise-c-2.4.0  deviceatlas
> > # cd /opt/deviceatlas/Src/
> > # cmake . -DCMAKE_INSTALL_PREFIX=/opt/deviceatlas
> > # make
> > -----------------------------------------------------------------------------------
> > *Error while compiling woth command *
> > * # cmake . -DCMAKE_INSTALL_PREFIX=/opt/deviceatlas   *
> > -----------------------------------------------------------------------------------
> > [root@tt Src]## cmake . -DCMAKE_INSTALL_PREFIX=/opt/deviceatlas
> > -- The C compiler identification is GNU 4.8.5
> > -- The CXX compiler identification is GNU 4.8.5
> > -- Check for working C compiler: /usr/bin/cc
> > -- Check for working C compiler: /usr/bin/cc -- works
> > -- Detecting C compiler ABI info
> > -- Detecting C compiler ABI info - done
> > -- Check for working CXX compiler: /usr/bin/c++
> > -- Check for working CXX compiler: /usr/bin/c++ -- works
> > -- Detecting CXX compiler ABI info
> > -- Detecting CXX compiler ABI info - done
> > -- Found PCRE: /usr/include
> > -- Could NOT find CURL (missing:  CURL_LIBRARY CURL_INCLUDE_DIR)
> > -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.7")
> > -- Performing Test HAVE_BUILTIN__BOOL
> > -- Performing Test HAVE_BUILTIN__BOOL - Success
> > -- Could NOT find ZIP
> > -- Performing Test HAS_STD_ATOMICS
> > -- Performing Test HAS_STD_ATOMICS - Failed
> > -- Performing Test HAS_BUILTINS_ATOMICS
> > -- Performing Test HAS_BUILTINS_ATOMICS - Success
> > -- Performing Test HAS_ATTR_COLD
> > -- Performing Test HAS_ATTR_COLD - Success
> > -- Performing Test HAS_ATTR_ALLOC
> > -- Performing Test HAS_ATTR_ALLOC - Failed
> > -- Performing Test HAS_WIN32_ATOMICS
> > -- Performing Test HAS_WIN32_ATOMICS - Failed
> > -- Performing Test HAS_WIN32_ATTR_ALLOC
> > -- Performing Test HAS_WIN32_ATTR_ALLOC - Failed
> > -- Performing Test HAS_WIN32_UNUSED
> > -- Performing Test HAS_WIN32_UNUSED - Failed
> > --  version
> > -- Configuring done
> > -- Generating done
> > -- Build files have been written to: /opt/deviceatlas/Src
> > [root@tt Src]#  #
> >
> > Request you to please guide us on above matter
> >
> >
> > --
> >
> > Regards,
> >
> >
> >
> > Amol Arote
> >
> > Senior IT Manager
> >
> >
> >
> > *Mobile*: 9773868585 | 8097988585
> >
> > *Phone:*  (022) 61934700 Ext 444
> >
> > *Email:* amol.ar...@naaptol.com
> >
> > *Web:* *https://www.naaptol.com <https://www.naaptol.com>*
> >
> > --
> >

Reply via email to