Git Product home page Git Product logo

Comments (9)

rvanlaar avatar rvanlaar commented on September 16, 2024 1

Thank you for your patience. I tried it again. V8.5.12 is buildable.

from pharos.

sei-eschwartz avatar sei-eschwartz commented on September 16, 2024

This appears to be the actual error:

/home/roland/projects/scummvm-director/tools/Ghidra/pharos/scripts/swipl-devel/packages/ssl/crypto4pl.c: In function ‘get_padding’:
/home/roland/projects/scummvm-director/tools/Ghidra/pharos/scripts/swipl-devel/packages/ssl/crypto4pl.c:851:69: error: ‘RSA_SSLV23_PADDING’ undeclared (first use in this function); did you mean ‘RSA_X931_PADDING’?
  851 |     else if ( a == ATOM_sslv23  && mode == RSA_MODE )    *padding = RSA_SSLV23_PADDING;
      |                                                                     ^~~~~~~~~~~~~~~~~~
      |                                                                     RSA_X931_PADDING

What distribution are you using? Are you able to compile swipl from the master branch? https://github.com/SWI-Prolog/swipl-devel

It seems like you have a very new version of openssl and SWI prolog's ssl package is using a removed padding method.

from pharos.

sei-eschwartz avatar sei-eschwartz commented on September 16, 2024

Just noticed Ubuntu 22.04 in the title

from pharos.

sei-eschwartz avatar sei-eschwartz commented on September 16, 2024

You can try a newer version of SWI: sei-eschwartz@471f67c

from pharos.

rvanlaar avatar rvanlaar commented on September 16, 2024

I tried to use the newer version. It has the same problem.

$ git clone --recursive -b V8.5.12 --depth 1 https://github.com/swi-prolog/swipl-devel
$ cd swipl-devel
$ mkdir build
$ cd build
$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DINSTALL_DOCUMENTATION=off ..
$ make

The problem is the same.

Indeed ubuntu 22.04.

$ openssl version
OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)

from pharos.

sei-eschwartz avatar sei-eschwartz commented on September 16, 2024

I just tried this and it worked for me. Are you sure you have commit 5da003d0940ad997500e623b1d9f7c1eba30555c checked out? If you do, please include a full log of the build.

from pharos.

rvanlaar avatar rvanlaar commented on September 16, 2024

I can't find commit: 5da003d0940ad997500e623b1d9f7c1eba30555c which repo should it be in?

I did a build of swipl-devel with -b V8.5.12

from pharos.

sei-eschwartz avatar sei-eschwartz commented on September 16, 2024

5da003d0940ad997500e623b1d9f7c1eba30555c is V8.5.12. Please verify which commit you actually have checked out.

from pharos.

sei-eschwartz avatar sei-eschwartz commented on September 16, 2024

Cool. I'm testing pharos with SWI 8.5.12, but assuming that works (it should), then we'll just update the recommended versions of SWI

from pharos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.