emacs GNU Emacs 22.3.1 (i386-pc-solaris2.10, X toolkit) - Solaris

This is a discussion on emacs GNU Emacs 22.3.1 (i386-pc-solaris2.10, X toolkit) - Solaris ; I 've just finished compiling GNU emacs 22.3.1 on Solaris 10 (on an AMD64) with ./configure line: env CC="cc -m32" CFLAGS='-O2' ./configure --with-xpm --with-jpeg --with-tiff --with-gif --with-png where cc is the latest C Workshop 12 Solaris 10 compiler, but when ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: emacs GNU Emacs 22.3.1 (i386-pc-solaris2.10, X toolkit)

  1. emacs GNU Emacs 22.3.1 (i386-pc-solaris2.10, X toolkit)

    I 've just finished compiling GNU emacs 22.3.1 on Solaris 10 (on an
    AMD64) with ./configure line:

    env CC="cc -m32" CFLAGS='-O2' ./configure --with-xpm --with-jpeg
    --with-tiff --with-gif --with-png

    where cc is the latest C Workshop 12 Solaris 10 compiler, but when I run it
    % ./src/emacs

    Memory exhausted--use M-x save-some-buffers then exit and restart Emacs


    However, when I use the -nw option the text window emacs launches properly.


    Note that I was trying to build a 64-bit version of emacs

    env CC="cc -m64" CFLAGS='' ./configure --with-xpm --with-jpeg
    --with-tiff --with-gif --with-png

    but src/temacs was core dumping.

    Do I need to change anything in the configre line or in the setup of
    Solaris 10 ?

    Note that:
    [ src > locale
    LANG=en_US.UTF-8
    LC_CTYPE=en_US.UTF-8
    LC_NUMERIC=en_US.UTF-8
    LC_TIME=en_US.UTF-8
    LC_COLLATE=en_US.UTF-8
    LC_MONETARY=en_US.UTF-8
    LC_MESSAGES=en_US.UTF-8
    LC_ALL=en_US.UTF-8


    Any help or hint would be greatly appreciated.


    Michael

  2. Re: emacs GNU Emacs 22.3.1 (i386-pc-solaris2.10, X toolkit)

    On 2008-10-20 23:27:48 +0100, "Michael E. Thomadakis" said:

    > I 've just finished compiling GNU emacs 22.3.1 on Solaris 10 (on an
    > AMD64) with ./configure line:
    >
    > env CC="cc -m32" CFLAGS='-O2' ./configure --with-xpm --with-jpeg
    > --with-tiff --with-gif --with-png
    >
    > where cc is the latest C Workshop 12 Solaris 10 compiler, but when I run it
    > % ./src/emacs
    >
    > Memory exhausted--use M-x save-some-buffers then exit and restart Emacs


    FWIW I just built emacs 22.3 on OpenSolaris using Sun Studio 12 and the
    configure line:

    ./configure --with-x-toolkit=gtk --with-xft --with-gif=no

    It seems to work well enough, and scrollbars etc are drawn using the
    current GTK theme and stuff so it looks relatively "pretty".

    --
    Chris


  3. Re: emacs GNU Emacs 22.3.1 (i386-pc-solaris2.10, X toolkit)

    Chris,

    the OpenSolaris environment is way ahad the stock Solaris10 one in terms
    of modern graphical libraries. The GtK toolkit on Solaris10 is too old
    for this.

    The problem I am having is that something in emacs's startup logic
    requires it to retrieve large amounts of "stuff" off the running X11
    server and at certain point it goes into lengthy recursive calls where
    it runs out of stack space.

    I use Solaris10 at work for the support/security patches....

    But, I will see what --with-xft can do for me .... as I didn't use it.

    thanks for the reply

    Michael

    Chris Ridd wrote:
    > On 2008-10-20 23:27:48 +0100, "Michael E. Thomadakis"
    > said:
    >
    >> I 've just finished compiling GNU emacs 22.3.1 on Solaris 10 (on an
    >> AMD64) with ./configure line:
    >>
    >> env CC="cc -m32" CFLAGS='-O2' ./configure --with-xpm --with-jpeg
    >> --with-tiff --with-gif --with-png
    >>
    >> where cc is the latest C Workshop 12 Solaris 10 compiler, but when I
    >> run it
    >> % ./src/emacs
    >>
    >> Memory exhausted--use M-x save-some-buffers then exit and restart Emacs

    >
    > FWIW I just built emacs 22.3 on OpenSolaris using Sun Studio 12 and the
    > configure line:
    >
    > ./configure --with-x-toolkit=gtk --with-xft --with-gif=no
    >
    > It seems to work well enough, and scrollbars etc are drawn using the
    > current GTK theme and stuff so it looks relatively "pretty".
    >


  4. Re: emacs GNU Emacs 22.3.1 (i386-pc-solaris2.10, X toolkit)

    Finally I logged out and selected from the Languages menu C or
    en_US.ISO8859-1 and either selection worked .

    Now both GNU emacs 22.3.1 and 22.1.2 work as before.

    There must be something amiss in the UTF8 setup for Solaris10. I have
    patched my desktop to the latest

    Michael

    Michael E. Thomadakis wrote:
    > I 've just finished compiling GNU emacs 22.3.1 on Solaris 10 (on an
    > AMD64) with ./configure line:
    >
    > env CC="cc -m32" CFLAGS='-O2' ./configure --with-xpm --with-jpeg
    > --with-tiff --with-gif --with-png
    >
    > where cc is the latest C Workshop 12 Solaris 10 compiler, but when I run it
    > % ./src/emacs
    >
    > Memory exhausted--use M-x save-some-buffers then exit and restart Emacs
    >
    >
    > However, when I use the -nw option the text window emacs launches properly.
    >
    >
    > Note that I was trying to build a 64-bit version of emacs
    >
    > env CC="cc -m64" CFLAGS='' ./configure --with-xpm --with-jpeg
    > --with-tiff --with-gif --with-png
    >
    > but src/temacs was core dumping.
    >
    > Do I need to change anything in the configre line or in the setup of
    > Solaris 10 ?
    >
    > Note that:
    > [ src > locale
    > LANG=en_US.UTF-8
    > LC_CTYPE=en_US.UTF-8
    > LC_NUMERIC=en_US.UTF-8
    > LC_TIME=en_US.UTF-8
    > LC_COLLATE=en_US.UTF-8
    > LC_MONETARY=en_US.UTF-8
    > LC_MESSAGES=en_US.UTF-8
    > LC_ALL=en_US.UTF-8
    >
    >
    > Any help or hint would be greatly appreciated.
    >
    >
    > Michael


+ Reply to Thread