Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
It still fails when I try to force install it. Any suggestions here? This is far outside my comfort zone. If there's another module I could be using, I'm happy to give that a try; we don't need to use any advanced RabbitMQ features, just send messages into it.OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -DVERSION=\"2.40014\" -DXS_VE +RSION=\"2.40014\" -fPIC "-I/home/perlbrew/perl5/perlbrew/perls/perl-5 +.26.2/lib/5.26.2/x86_64-linux/CORE" -DHAVE_S OCKET -DHAVE_POLL -DAMQ_PLATFORM='"Perl_linux_v5.26.2"' -DNAR_HAVE_OPE +NSSL amqp_mem.c cc -c -I. -Irabbitmq-include -Irabbitmq-c/include -Irabbitmq-include/ +unix -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/u +sr/local/include -D_LARGEFILE_SOURCE -D_FILE_ OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -DVERSION=\"2.40014\" -DXS_VE +RSION=\"2.40014\" -fPIC "-I/home/perlbrew/perl5/perlbrew/perls/perl-5 +.26.2/lib/5.26.2/x86_64-linux/CORE" -DHAVE_S OCKET -DHAVE_POLL -DAMQ_PLATFORM='"Perl_linux_v5.26.2"' -DNAR_HAVE_OPE +NSSL amqp_openssl.c amqp_openssl.c: In function ‘amqp_ssl_socket_open’: amqp_openssl.c:182:3: warning: passing argument 1 of ‘BIO_new’ discard +s ‘const’ qualifier from pointer target type [enabled by default] bio = BIO_new(amqp_openssl_bio()); ^ In file included from rabbitmq-include/amqp_openssl_bio.h:10:0, from amqp_openssl.c:15: /usr/include/openssl/bio.h:659:6: note: expected ‘struct BIO_METHOD *’ + but argument is of type ‘BIO_METHOD_PTR’ BIO *BIO_new(BIO_METHOD *type); ^ amqp_openssl.c: In function ‘amqp_ssl_socket_new’: amqp_openssl.c:339:3: warning: passing argument 1 of ‘SSL_CTX_new’ mak +es pointer from integer without a cast [enabled by default] self->ctx = SSL_CTX_new(TLS_client_method()); ^ In file included from amqp_openssl.c:31:0: /usr/include/openssl/ssl.h:2087:10: note: expected ‘const struct SSL_M +ETHOD *’ but argument is of type ‘int’ SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth); ^ amqp_openssl.c: In function ‘get_tls_version’: amqp_openssl.c:547:22: error: ‘TLS1_3_VERSION’ undeclared (first use i +n this function) *tls_version = TLS1_3_VERSION; ^ amqp_openssl.c:547:22: note: each undeclared identifier is reported on +ly once for each function it appears in make: *** [amqp_openssl.o] Error 1 -> FAIL Installing Net::AMQP::RabbitMQ failed. See /root/.cpanm/work/1 +751032905.481/build.log for details. Retry with --force to force inst +all it.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Can't build Net::AMQP::RabbitMQ
by ysth (Canon) on Jun 27, 2025 at 17:16 UTC | |
Re: Can't build Net::AMQP::RabbitMQ
by Fletch (Bishop) on Jun 27, 2025 at 17:59 UTC | |
Re: Can't build Net::AMQP::RabbitMQ
by Corion (Patriarch) on Jun 27, 2025 at 15:54 UTC | |
by Anonymous Monk on Jun 27, 2025 at 16:55 UTC | |
by Anonymous Monk on Jul 01, 2025 at 13:56 UTC | |
by NERDVANA (Priest) on Jun 27, 2025 at 16:50 UTC | |
by ikegami (Patriarch) on Jun 27, 2025 at 17:01 UTC | |
by NERDVANA (Priest) on Jun 27, 2025 at 19:25 UTC |