pdobsan / pynauty

Isomorphism testing and automorphisms of graphs
Other
55 stars 9 forks source link

[regression in 1.1.0] Build fails: cd: nauty27r3: No such file or director #25

Closed yurivict closed 2 years ago

yurivict commented 2 years ago
===>  Building for py38-pynauty-1.1.0
running build
running build_py
running egg_info
writing pynauty.egg-info/PKG-INFO
writing dependency_links to pynauty.egg-info/dependency_links.txt
writing top-level names to pynauty.egg-info/top_level.txt
reading manifest file 'pynauty.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*' under directory 'src/nauty27r1'
warning: no previously-included files matching '__pycache__/*' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.a' found anywhere in distribution
warning: no previously-included files matching '*.o' found anywhere in distribution
adding license file 'COPYING'
writing manifest file 'pynauty.egg-info/SOURCES.txt'
running build_ext
make nauty-objects
make[1]: Entering directory '/disk-samsung/freebsd-ports/math/py-pynauty/work-py38/pynauty-1.1.0'
make -C src -f Makefile.nauty nauty-objects
make[2]: Entering directory '/disk-samsung/freebsd-ports/math/py-pynauty/work-py38/pynauty-1.1.0/src'
cd nauty27r3; ./configure CFLAGS='-O4 -fPIC'
cd: nauty27r3: No such file or directory
/bin/sh: ./configure: not found
make[2]: *** [Makefile.nauty:15: nauty27r3/config.log] Error 127
make[2]: Leaving directory '/disk-samsung/freebsd-ports/math/py-pynauty/work-py38/pynauty-1.1.0/src'
make[1]: *** [Makefile:60: nauty-objects] Error 2
make[1]: Leaving directory '/disk-samsung/freebsd-ports/math/py-pynauty/work-py38/pynauty-1.1.0'
error: command 'make' failed with exit status 2

1.0.2 didn't have such problem.

I already have Nauty installed. Why doesn't it use it?

OS: FreeBSD 13

pdobsan commented 2 years ago

Oops, nauty's source was accidentally left out from the source package uploaded to PyPi. Users who used wheels or the github release were not affected.

That was corrected and a new version of pynauty (1.1.1) has been uploaded.

I already have Nauty installed. Why doesn't it use it?

Because your "Nauty" was not compiled and linked against the binary components of this version of pynauty.