all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#28345: 25.2.1: package-install-file and dynamic modules
@ 2017-09-04 12:26 Peking Duck
  2017-09-24 11:08 ` Philipp Stephani
  2021-07-04 14:44 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 6+ messages in thread
From: Peking Duck @ 2017-09-04 12:26 UTC (permalink / raw)
  To: 28345

[-- Attachment #1: Type: text/plain, Size: 932 bytes --]

Hi,

I wrote a dynamic module and am trying to use package.el to install it. I
followed the instructions in the Emacs Lisp Manual and created a tar
archive. This tar archive contains:

sqlite3-api-0.1/
sqlite3-api-0.1/sqlite3-api-pkg.el
sqlite3-api-0.1/sqlite3-api.so

I then evaluated

(package-install-file "~/src/emacs-sqlite3-api/sqlite3-api-0.1.tar")

and it gave me an error:

(error "sqlite3-api.so:0:0: error: scan-error: (Containing expression ends
prematurely 47501 47502)\
")

From the backtrace, it's  autoload-generate-file-autoloads in autoload.el
that caused it. Seems to me Emacs was trying to parse the .so looking for
autoloads?

It's on Linux (CentOS7). Interestingly I tried this on macOS later and this
time it worked perfectly.

Is package.el ready for dynamic modules yet?

One more thing related to dynamic modules: seems to me unload-feature
doesn't support dynamic modules yet. Will this be fixed?

Thanks

[-- Attachment #2: Type: text/html, Size: 1308 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-07-05 13:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-04 12:26 bug#28345: 25.2.1: package-install-file and dynamic modules Peking Duck
2017-09-24 11:08 ` Philipp Stephani
2017-09-24 23:12   ` John Wiegley
2021-07-04 14:44 ` Lars Ingebrigtsen
2021-07-04 16:27   ` Eli Zaretskii
2021-07-05 13:05     ` Lars Ingebrigtsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.