This is the mail archive of the guile@cygnus.com mailing list for the guile project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Jim> Dynamic modules should go in $(libdir)/guile, or Jim> $(libdir)/guile/$(GUILE_VERSION) if they're meant to be Jim> specific to a particular Guile release. Thanks, Sorry, I forgot about that configure option. Is it a good idea to add the libdir to the %load-path? Here's a small patch to do that. If dynamic linking is available this gives a default %load-path of: ("/usr/local/share/guile/site" "/usr/local/share/guile/1.3a" "/usr/local/share/guile" "/usr/local/lib/guile/1.3a" "/usr/local/lib/guile" ".") *** Makefile.in 1998/07/30 14:26:34 1.111 --- Makefile.in 1998/08/14 17:41:48 *************** *** 646,651 **** --- 646,653 ---- @echo "Generating libpath.h..." @rm -f libpath.tmp @echo '/* generated by Makefile */' > libpath.tmp + @echo '#define SCM_PKGDYNL_DIR "$(pkglibdir)"' >> libpath.tmp + @echo '#define SCM_LIBDYNL_DIR "$(pkglibdir)/$(VERSION)"'>>libpath.tmp @echo '#define SCM_PKGDATA_DIR "$(pkgdatadir)"' >> libpath.tmp @echo '#define SCM_LIBRARY_DIR "$(pkgdatadir)/$(VERSION)"'>>libpath.tmp @echo '#define SCM_SITE_DIR "$(pkgdatadir)/site"' >> libpath.tmp *** load.c 1998/06/22 09:23:01 1.20 --- load.c 1998/08/14 17:41:48 *************** *** 200,205 **** --- 200,209 ---- path = scm_listify (scm_makfrom0str (SCM_SITE_DIR), scm_makfrom0str (SCM_LIBRARY_DIR), scm_makfrom0str (SCM_PKGDATA_DIR), + #ifdef DYNAMIC_LINKING + scm_makfrom0str (SCM_LIBDYNL_DIR), + scm_makfrom0str (SCM_PKGDYNL_DIR), + #endif DYNAMIC_LINKING SCM_UNDEFINED); #endif /* SCM_LIBRARY_DIR */ Thanks, Clark