re: Installation problem

Charles Cazabon <[email protected]> Mon, 31 Jul 2023 07:42:13 -0600
Newsgroups gmane.mail.getmail.user
Message-ID <[email protected]>
Ron Guerin <[email protected]> wrote:
> I'm trying to install getmail-5.16 on Debian 12.  I followed the 
> instructions for using the AppImage since Debian no longer distributes
> Python2.

First off: sorry for delayed reply.

> The build step completes without complaint, but the install step throws 
> an error:
[...]
> creating 
> /tmp/.mount_pythonD2zssp/opt/python2.7/lib/python2.7/site-packages/getmailcore
> error: could not create 
> '/tmp/.mount_pythonD2zssp/opt/python2.7/lib/python2.7/site-packages/getmailcore': 
> Read-only file system

I'm not sure why, exactly, you're running into this problem.  I just did it
here and it worked correctly.

But you don't actually need to do any build/install step; it's just a
shortcut.

Unpack the getmail tar file wherever you want it to live, and edit the
included `getmail` script so that the first line is:

  #!/path/to/your/python2-appimage

You can edit the getmail_maildir and getmail_mbox similarly if you use those.

Then you can execute getmail from that directory, or symlink it into a
directory that's in your PATH.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon
GPL'ed software available at:               http://pyropus.ca/software/
-----------------------------------------------------------------------