Giter Club home page Giter Club logo

Comments (9)

tulsidas avatar tulsidas commented on August 28, 2024 1

@keldonin FYI I just tried building today (a fresh clone) and it worked ok

from pkcs11-tools.

keldonin avatar keldonin commented on August 28, 2024 1

@keldonin FYI I just tried building today (a fresh clone) and it worked ok

As of release 2.6.0 I intend to ship binaries. There are already RPMs available, Debian packages to come later. You could try to deploy the RPM using alien on Ubuntu.

from pkcs11-tools.

keldonin avatar keldonin commented on August 28, 2024

Hi @tulsidas, I also encountered this issue on FreeBSD, when using recent versions of GCC. It seems to be caused by:

  • flex that generates C code from lexer files, where the order of includes has string.h being included before stdlib.h
  • gnulib that creates replacement header files, that implies this ordering
  • probably some other compiler-related cause that I haven't identified yet.

I could make it work by using clang as the compiler on my platform. Can you give it a try?

# I haven't checked, I would expect the package name to be clang, please verify how it's labelled
sudo apt-get install clang

./bootstrap.sh
./configure CC=clang
make

from pkcs11-tools.

tulsidas avatar tulsidas commented on August 28, 2024

@keldonin that worked! thanks for the quick response 👍🏼

from pkcs11-tools.

keldonin avatar keldonin commented on August 28, 2024

@tulsidas you welcome. There is nevertheless an underlying issue that we must address.

from pkcs11-tools.

tulsidas avatar tulsidas commented on August 28, 2024

feel free to contact me if you need to try out something on Linux

from pkcs11-tools.

keldonin avatar keldonin commented on August 28, 2024

Out of curiosity, what is the linux distribution you run? Is it just plain Debian?

from pkcs11-tools.

tulsidas avatar tulsidas commented on August 28, 2024

Yes, Debian testing thou

$ cat /etc/os-release

PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

from pkcs11-tools.

keldonin avatar keldonin commented on August 28, 2024

Hi @tulsidas, thanks for the information. I see this version will be released by June 10th. I'll give it a try - on a side note, the project compiles like a charm on the current Debian release (11).

from pkcs11-tools.

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.