help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to compile Emacs 21.2 on HP-UX 11.XX?


From: Tapani Tarvainen
Subject: Re: How to compile Emacs 21.2 on HP-UX 11.XX?
Date: 30 Jan 2003 09:10:34 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Milan Tichy <tichy@utia.cas.cz> writes:

> I have problems compiling Emacs 21.2 on HP 9000/785 (HP-UX 11.11).
> 
> I tryed to compile using these options
> 
> CC=cc CFLAGS="-Ae +DA2.0" ./configure --prefix=/usr/sw/gnu/emacs-21.2
> --without-gcc --with-x-toolkit=motif --with-xpm --with-jpeg --with-tiff
> --with-gif --with-png --with-x --without-xim

> I would prefer use HP ANSI C compiler. Can anybody help please?

This worked for me:

PATH=/opt/gmake/bin:/usr/bin
LDFLAGS='-L/usr/contrib/X11R6/lib -L/opt/Xaw3d/lib -L/opt/jpeg/lib'\
' -L/opt/libpng/lib -L/opt/zlib/lib -L/opt/tiff/lib -L/opt/xpm/lib'\
' -L/opt/libungif/lib'\
 CPPFLAGS='-D_INCLUDE__STDC_A1_SOURCE -I/usr/contrib/X11R6/include'\
' -I/opt/Xaw3d/include -I/opt/jpeg/include -I/opt/libpng/include'\
' -I/opt/zlib/include -I/opt/tiff/include -I/opt/xpm/include'\
' -I/opt/libungif/include'\
 CFLAGS=+O2 ./configure --prefix=/opt/emacs-21.2 --without-xim
make

Adjust paths to match your system.

However, 21.2 does not work well under HP-UX 11.11: it tends to
freeze when doing auto-save. The problem has been fixed 21.2.92
(http://alpha.gnu.org/gnu/emacs/pretest/emacs-21.2.92.tar.gz),
and it does not occur in 21.1, so I'd suggest you try either
of those (or possibly a later version).

-- 
Tapani Tarvainen


reply via email to

[Prev in Thread] Current Thread [Next in Thread]