From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Tapani Tarvainen Newsgroups: gmane.emacs.help Subject: Re: How to compile Emacs 21.2 on HP-UX 11.XX? Date: 30 Jan 2003 09:10:34 +0200 Organization: University of Jyvaskyla, Finland Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1043910873 11623 80.91.224.249 (30 Jan 2003 07:14:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 30 Jan 2003 07:14:33 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18e8u7-00031D-00 for ; Thu, 30 Jan 2003 08:14:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18e8vA-0002fk-04 for gnu-help-gnu-emacs@m.gmane.org; Thu, 30 Jan 2003 02:15:36 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!uio.no!newsfeed.song.fi!newsfeed.kolumbus.fi!mordred.cc.jyu.fi!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-NNTP-Posting-Host: thorion.it.jyu.fi Original-X-Trace: mordred.cc.jyu.fi 1043910500 31486 130.234.160.129 (30 Jan 2003 07:08:20 GMT) Original-X-Complaints-To: newsmaster@cc.jyu.fi Original-NNTP-Posting-Date: Thu, 30 Jan 2003 07:08:20 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Xref: shelby.stanford.edu gnu.emacs.help:109565 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:6082 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6082 Milan Tichy 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