Giter Site home page Giter Site logo

Can't locate object method "swig_ways_mask_get" via package "pqos::pqos_l3ca" at /usr/local/lib64/perl5/pqos.pm line 33. about intel-cmt-cat HOT 8 CLOSED

davidlt avatar davidlt commented on August 15, 2024
Can't locate object method "swig_ways_mask_get" via package "pqos::pqos_l3ca" at /usr/local/lib64/perl5/pqos.pm line 33.

from intel-cmt-cat.

Comments (8)

tkanteck avatar tkanteck commented on August 15, 2024

Thanks for reporting the issue. We'll have a look into it shortly.

from intel-cmt-cat.

tkanteck avatar tkanteck commented on August 15, 2024

We have tried to reproduce the problem with the commit above on our Fedora systems but we failed. Tested configs:

  • Fedora 16, SWIG 2.0.4, PERL 5.14.3
  • Fedora 21, SWIG 3.0.7, PERL 5.18.4
    As we don't have access to CentOS 7.2 at the moment, extensive logs from compiling Perl interface and script execution could be useful. Could you clean the installation, build (capture logs), run (capture logs) and send the logs please?

from intel-cmt-cat.

davidlt avatar davidlt commented on August 15, 2024

I will try to reproduce it with clean and up to date CentOS 7.2 vagrant box.

from intel-cmt-cat.

davidlt avatar davidlt commented on August 15, 2024

Here is full content of perl directory after building + logs: http://davidlt.web.cern.ch/davidlt/vault/perl-intel-cmt-cat.tar.gz

612K    perl-intel-cmt-cat.tar.gz

build.log contains output from makefile which executed swig.

from intel-cmt-cat.

wandralx avatar wandralx commented on August 15, 2024

First of all, thank you for providing us with full content of perl directory (not just logs), it was really useful!

It seems that the problem is that SWIG 2.x does not support C features used in libpqos code (nested anonymous union in pqos_l3ca).
I haven’t spotted that earlier as we use SWIG 3.x for development and testing.

Now that I know what the problem is, I have reproduced the issue on an older configuration (Fedora 16, SWIG 2.0.4, PERL 5.14.3)

Right now I am looking for workaround for that problem.

from intel-cmt-cat.

tkanteck avatar tkanteck commented on August 15, 2024

Hi David,
Could you verify the above commit fixes problem on your system?
Thanks,
Tomasz

from intel-cmt-cat.

davidlt avatar davidlt commented on August 15, 2024

I can confirm that it now works on CentOS 7.2.1511 + SWIG 2.0.10

from intel-cmt-cat.

tkanteck avatar tkanteck commented on August 15, 2024

Thanks for verifying David. I am closing the issue.

from intel-cmt-cat.

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.