Skip to content

Missing "multilog.h" When Installing #8

@mbsherma

Description

@mbsherma

Hi all; I'm trying to install psrdada-python (Linux Ubuntu 18.04 and Python 3.10.9 in a conda environment), but am getting the error that the file "multilog.h" is missing. It's imported on line 772 in ringbuffer.c. Is this a static library that has to be installed first, and if so where can I find the latest release?

Below are the commands I've run and the output (changed the paths to 'cwd'). Thanks in advance!

>git clone https://github.com/TRASAL/psrdada-python.git
>cd psrdada-python
>pip install -f requirements.txt
>make && make test && make install

python setup.py build_ext --inplace
Compiling psrdada/ringbuffer.pyx because it changed.
Compiling psrdada/reader.pyx because it changed.
Compiling psrdada/writer.pyx because it changed.
[1/3] Cythonizing psrdada/reader.pyx
/cwd/miniconda/envs/casa310nsfrb/lib/python3.10/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /home/ubuntu/proj/dsa110-shell/psrdada-python/psrdada/reader.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)
[2/3] Cythonizing psrdada/ringbuffer.pyx
/cwd/miniconda/envs/casa310nsfrb/lib/python3.10/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /home/ubuntu/proj/dsa110-shell/psrdada-python/psrdada/ringbuffer.pxd
  tree = Parsing.p_module(s, pxd, full_module_name)
[3/3] Cythonizing psrdada/writer.pyx
/cwd/miniconda/envs/casa310nsfrb/lib/python3.10/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /home/ubuntu/proj/dsa110-shell/psrdada-python/psrdada/writer.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)
/cwd/miniconda/envs/casa310nsfrb/lib/python3.10/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_suite'
  warnings.warn(msg)
running build_ext
building 'psrdada.ringbuffer' extension
creating build/temp.linux-x86_64-cpython-310/psrdada
gcc -pthread -B /cwd/casa310nsfrb/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /cwd/miniconda/envs/casa310nsfrb/include -fPIC -O2 -isystem /cwd/miniconda/envs/casa310nsfrb/include -fPIC -I/cwd/miniconda/envs/casa310nsfrb/include/python3.10 -c psrdada/ringbuffer.c -o build/temp.linux-x86_64-cpython-310/psrdada/ringbuffer.o
psrdada/ringbuffer.c:772:10: fatal error: multilog.h: No such file or directory
 #include "multilog.h"
          ^~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/gcc' failed with exit code 1
Makefile:2: recipe for target 'all' failed
make: *** [all] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions