Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing issue #16

Open
ZSenZhang opened this issue Jul 23, 2020 · 1 comment
Open

Installing issue #16

ZSenZhang opened this issue Jul 23, 2020 · 1 comment

Comments

@ZSenZhang
Copy link

Hi there, I am trying to install this tool on my server which is Ubuntu 18.04.2 LTS. However, I just got

src/_pyipmeta_ipmeta.c:78:50: error: ‘IPMETA_DS_NONE’ undeclared (first use in this function); did you mean ‘IPMETA_DS_MAX’?
     if ((dsid = ipmeta_ds_name_to_id(dsname)) == IPMETA_DS_NONE) {
                                                  ^~~~~~~~~~~~~~
                                                  IPMETA_DS_MAX
src/_pyipmeta_ipmeta.c:215:7: error: too few arguments to function ‘ipmeta_lookup’
   if (ipmeta_lookup(self->ipm, pyaddrstr, 0, self->recordset) < 0) {
       ^~~~~~~~~~~~~
In file included from src/_pyipmeta_provider.h:27:0,
                 from src/_pyipmeta_ipmeta.c:23:

Basically these two errors and some warnings. I was wondering if I did something wrong? I have strictly followed the instruction to install python-setuptools, python-dev and libmeta.
Could anyone give me some suggestions?
Thanks!

@alistairking
Copy link
Member

This looks like you might have an older version of libipmeta installed.
I would suggest either installing the latest version of libipmeta (https://github.com/CAIDA/libipmeta/releases/tag/v3.0.0) and then trying again with the latest version of pyipmeta.

Alternatively, you could trying installing this from apt:

curl https://pkg.caida.org/os/ubuntu/boostrap.sh | bash
sudo apt install python-pyipmeta

which should make the install process much easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants