Hello Nikolaos, Nikolaos Chatzikonstantinou <nchatz...@gmail.com> writes:
> I have the following project skeleton using Autotools and Guile: > <https://github.com/createyourpersonalaccount/autotools-guile-example>. That’s a nice idea! > I would appreciate any insights on this. If I can get this issue > fixed, and another issue with `make distcheck` (see > <https://github.com/createyourpersonalaccount/autotools-guile-example#issues>) Make distcheck looks to me like it actually installs myapp.scm, but it does not use the prefix for the moddir: /home/arne/.guix-profile/bin/mkdir: cannot create directory '/gnu/store/ylwk2vn18dkzkj0nxq2h4vjzhz17bm7c-guile-3.0.9/share/guile/site': Read-only file system make[2]: *** [Makefile:784: install-modDATA] Error 1 make[2]: Leaving directory '/home/arne/eigenes/Programme/autotools-guile-example/autotools-guile-example-0.1/_build/sub' make[1]: *** [Makefile:1200: install-am] Error 2 make[1]: Leaving directory '/home/arne/eigenes/Programme/autotools-guile-example/autotools-guile-example-0.1/_build/sub' make: *** [Makefile:1108: distcheck] Error 1 This looks like your aclocal.m4 does not take the PREFIX into account. When I just copy what I created in the conf project,¹ make distcheck works: moddir=$(datadir)/guile/site/$(GUILE_EFFECTIVE_VERSION) ccachedir=$(libdir)/guile/$(GUILE_EFFECTIVE_VERSION)/site-ccache # your version: # moddir = $(GUILE_SITE)/$(PACKAGE_NAME) # ccachedir = $(GUILE_SITE_CCACHE)/$(PACKAGE_NAME) ¹ https://hg.sr.ht/%7Earnebab/conf conf - Initialize modern autotools projects This isn’t as clean as your version, but it should point you into the direction of the needed changes to aclocal.m4 Best wishes, Arne -- Unpolitisch sein heißt politisch sein, ohne es zu merken. draketo.de
signature.asc
Description: PGP signature