AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
Expand all | Collapse all

Installing emacs in a peculiar environment

  • 1.  Installing emacs in a peculiar environment

    Posted Thu December 24, 2020 08:00 AM

    Hello, group!

    I'm doing a contract now in a peculiar environment (to put it mildly). It doesn't have emacs, or even nano installed on AIX 7.1, and lacks a lot of open source tools, which I came to rely on for decades.  I'm hurt the most by the absence of emacs.  Naturally I don't have root privileges, and can't use RPM, installp and such.

    So I took the path outlined in this post of 10 years ago, of installing in my local directory (~/opt/freeware/* in my case)

    https://help-gnu-emacs.gnu.narkive.com/Nne2MICO/installing-emacs-binaries-in-non-standard-location

    Which went more or less as described in that post, except that I had to find and locally install a few missing libraries.  Alas, emacs-nox 26.3 is still unhappy:

    1. I have libiconv.a, which doesn't contain libiconv.so.2, required by emacs-nox

    2. I have libintl.a, which doesn't contain libintl.so.9, required by emacs-nox

    3. libxml12.a has been linked with absolute path /opt/freeware/lib , to which I don't have access.

    I found the missing shared libraries on the net, but they were in the .I format, and I don't have the rights to run installp, so I'm stuck with 1. and 2.  As for 3, I guess that hardcoded linking of the emacs executable with the copy in my local directory will help, but I haven't tried that yet, and would be grateful for suggestions.

    Would the learned group please help?

    TIA,

    --Anatol

    P.S. I don't care about the latest and greatest emacs version - the one from 10 - 15 years ago would do just fine.



    ------------------------------
    Anatol
    ------------------------------


  • 2.  RE: Installing emacs in a peculiar environment

    Posted Fri December 25, 2020 12:26 AM

    UPDATE.  Item 1 from the original post is resolved: I found libiconv.so.2



    ------------------------------
    Anatol Zolotusky
    ------------------------------