On Sat, Oct 12, 2024 at 04:27:01PM +0000, Smith, Justin wrote:
> make[2]: Entering directory '/home/jds/Desktop/gwyd/gwyddion-2.66/python'
> make[2]: Nothing to be done for 'install-exec-am'.
>  /usr/bin/mkdir -p '/home/jds/miniconda3/envs/gwyd/lib/gwyddion/python/
> Gwyddion'
>  /usr/bin/install -c -m 644 Gwyddion/dump.py Gwyddion/__init__.py '/home/jds/
> miniconda3/envs/gwyd/lib/gwyddion/python/Gwyddion'
> ../py-compile: line 125: test: Inc: integer expression expected
> Byte-compiling python modules...
> dump.pyTraceback (most recent call last):
>   File "<string>", line 15, in <module>
> AttributeError: 'module' object has no attribute 'implementation'
> make[2]: *** [Makefile:469: install-GwyddionPYTHON] Error 1
> make[2]: Leaving directory '/home/jds/Desktop/gwyd/gwyddion-2.66/python'
> make[1]: *** [Makefile:562: install-am] Error 2
> make[1]: Leaving directory '/home/jds/Desktop/gwyd/gwyddion-2.66/python'
> make: *** [Makefile:631: install-recursive] Error 1
> 
> Could someone please help steer me in the right direction? Thanks!

The python subdirectory contains an ancient and somewhat misguided way
to write functions in Python using ‘plugins’. You do not need it for
pygwy. In fact, it should have been nuked from the orbit long time ago
if not for backward compatibility.

If pygwy (which is in modules/pygwy) works, I would just skip the old
stuff. Overriding SUBDIRS may be the easiest workaround, i.e.

make install SUBDIRS="m4 libgwyddion libprocess libdraw libgwydgets 
libgwymodule app gwyddion modules po pixmaps data utils thumbnailer devel-docs"

There can also be problems in pygwy itself, but at least it should get
there for start…

Regards,

Yeti



_______________________________________________
Gwyddion-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gwyddion-users

Reply via email to