Re: deviceatlas compiler error

2022-06-03 Thread David CARLIER
My pleasure Amol,

So for the remaining "failures", if this is those you mention

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

They are normal and expected since you re using gcc 4.8 and being on an
unix system.

I would suggest however typing this cmake command instead
cmake -DCMAKE_INSTALL_PREFIX=/opt/deviceatlas -DCMAKE_BUILD_TYPE=Release

then when you ll type make, normally the api should compile.

Kindest regards.

On Fri, 3 Jun 2022 at 16:58, Amol Arote  wrote:

>   Thank you sir , For Prompt Reply
>
> I install Some dependancies on CentOS 7.6 as per your last update
> libcurl-devel , libzip-devel
> But Seen Some failed Test Below , So let us know what Further Changes to
> be done
> OR can Ignore these Failed Test
>
>
>
>
> ---
> Error while compiling
>
> ---
>
>
> [root@test 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
> -- Found CURL: /usr/lib64/libcurl.so (found version "7.29.0")
> -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.7")
> -- Performing Test HAVE_BUILTIN__BOOL
> -- Performing Test HAVE_BUILTIN__BOOL - Success
> -- Found OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so (found
> version "1.0.2k")
> -- Found OpenSSL MD5
> -- Performing Test HAS_CURLSSLSET
> -- Performing Test HAS_CURLSSLSET - Failed
> -- Found ZIP: /usr/lib64/libzip.so
> -- 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
>
>
>
> Regards,
>
>
>
> Amol Arote
>
> Senior IT Manager
>
>
>
> *Mobile*: 9773868585 | 8097988585
>
> *Phone:*  (022) 61934700 Ext 444
>
> *Email:* amol.ar...@naaptol.com
>
> *Web:* *https://www.naaptol.com *
>
>
>
>
> On Fri, Jun 3, 2022 at 12:25 PM David CARLIER  wrote:
>
>> 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  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)
>> >

Re: deviceatlas compiler error

2022-06-03 Thread Amol Arote
  Thank you sir , For Prompt Reply

I install Some dependancies on CentOS 7.6 as per your last update
libcurl-devel , libzip-devel
But Seen Some failed Test Below , So let us know what Further Changes to be
done
OR can Ignore these Failed Test



---
Error while compiling
---


[root@test 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
-- Found CURL: /usr/lib64/libcurl.so (found version "7.29.0")
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.7")
-- Performing Test HAVE_BUILTIN__BOOL
-- Performing Test HAVE_BUILTIN__BOOL - Success
-- Found OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so (found
version "1.0.2k")
-- Found OpenSSL MD5
-- Performing Test HAS_CURLSSLSET
-- Performing Test HAS_CURLSSLSET - Failed
-- Found ZIP: /usr/lib64/libzip.so
-- 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



Regards,



Amol Arote

Senior IT Manager



*Mobile*: 9773868585 | 8097988585

*Phone:*  (022) 61934700 Ext 444

*Email:* amol.ar...@naaptol.com

*Web:* *https://www.naaptol.com *




On Fri, Jun 3, 2022 at 12:25 PM David CARLIER  wrote:

> 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  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/

Re: deviceatlas compiler error

2022-06-02 Thread David CARLIER
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  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 *
> >
> > --
> >



Re: deviceatlas compiler error

2022-06-02 Thread Willy Tarreau
Hello Amol,

On Fri, Jun 03, 2022 at 11:09:07AM +0530, Amol Arote wrote:
> We are trying to upgrade deviceatlas for HAProxy version 2.4.2-553dee3, but
> while compiling deviceatlas its showing some error.
> Below are the versions and steps which we perform for the same.

Thanks for the report. Adding David who's the maintainer as I don't know
if he watches the list often.

Amol, please be aware that 235 fixes among which 21 rated as "major"
were applied to the 2.4 branch after your version, as such you're urged
to stop using it and to update it. But that shouldn't be related to your
DA build issue.

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 *
> 
> -- 
> 



deviceatlas compiler error

2022-06-02 Thread Amol Arote
Dear Team,

We are trying to upgrade deviceatlas for HAProxy version 2.4.2-553dee3, but
while compiling deviceatlas its showing some error.
Below are the versions and steps which we perform for the same.

---
*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 *

--