On Sun, Oct 13, 2024 at 04:01:25PM +0000, Smith, Justin wrote: > Thank you! We are definitely closer now, but something is still not quite > right. With `make install SUBDIRS=...`, I still run into an error as it (I > think) tries to find these subdirectories a second time (this time within the > modules subdirectory). I get this error: > > ... > make[1]: Leaving directory '/home/jds/Desktop/gwyd/gwyddion-2.66/gwyddion' > Making install in modules > make[1]: Entering directory '/home/jds/Desktop/gwyd/gwyddion-2.66/modules' > Making install in m4 > /bin/bash: line 21: cd: m4: No such file or directory
Ah, OK, it does not work from the top-level directory because the directory structure is too deep and it breaks in further recursion. We probably need at least a configure option to disable the old plugin stuff. So, a few other possible straightforward (but crude) workarounds: (a) Just tell make to ignore errors, i.e. run make -k install. You need to pay attention if you are getting errors elsewhere because it will simply ignore all. (b) Edit the top-level Makefile.am and remove the python, perl, ruby and plugins subdirectories from SUBDIRS. I did not suggest this orginally because you need to run configure with --enable-maintainer-mode and it will complain about missing odd maintainer tools. But as long as you have the basics like automake and libtool, it should be able to re-generate the corresponding files in this case. (c) Run the installation in a subset of directories manually like for x in $SUBDIRS; do make -C $x install; done replacing $SUBDIRS with the list I gave (without quotes). Regards, Yeti _______________________________________________ Gwyddion-users mailing list Gwyddion-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gwyddion-users