Re: Help with an Autotools/Guile project skeleton
"Dr. Arne Babenhauserheide" <[email protected]>
| Newsgroups | gmane.lisp.guile.user |
|---|---|
| Message-ID | <[email protected]> |
Hello Nikolaos, Nikolaos Chatzikonstantinou <[email protected]> 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
(application/pgp-signature, 1.1 KB)
-----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFiEE801qEjXQSQPNItXAE++NRSQDw+sFAmfefJ4QHGFybmVfYmFi QHdlYi5kZQAKCRAT741FJAPD60UMEACIYr6n0d2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