* How to compile Emacs 21.2 on HP-UX 11.XX?
@ 2003-01-10 9:56 Milan Tichy
0 siblings, 0 replies; 3+ messages in thread
From: Milan Tichy @ 2003-01-10 9:56 UTC (permalink / raw)
Hi,
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
No matter if I use gcc or other options I always get similar error msg:
cc -c -Wp,-H200000 -D_BSD -Demacs -DHAVE_CONFIG_H -DUSE_MOTIF -I.
-I/home/tichy/archive/tmp/emacs/emacs-21.2/src -Wp,-H200000 -D_BSD
-I/usr/include/X11R6 -I/usr/include/X11R5 -I/usr/include/Motif1.2
-I/usr/contrib/X11R6/include -I/usr/contrib/X11R5/include -Ae +DA2.0
strftime.c
cc: "strftime.c", line 77: error 1000: Unexpected symbol: "mbstate_zero".
cc: "strftime.c", line 610: error 1000: Unexpected symbol: "mbstate".
cc: "strftime.c", line 610: error 1588: "mbstate" undefined.
cc: "strftime.c", line 610: error 1588: "mbstate_zero" undefined.
gmake[1]: *** [strftime.o] Error 1
gmake[1]: Leaving directory `/archive/tichy/tmp/emacs/emacs-21.2/src'
gmake: *** [src] Error 2
I would prefer use HP ANSI C compiler. Can anybody help please?
Regards, MT
-------------------------------------------------------------------------
Ing. Milan Tichy e-mail: tichy@utia.cas.cz
Department of Signal Processing
Institute of Information Theory and Automation
Czech Academy of Sciences, Prague, Czech Republic
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to compile Emacs 21.2 on HP-UX 11.XX?
[not found] <mailman.138.1042192579.21513.help-gnu-emacs@gnu.org>
@ 2003-01-30 7:10 ` Tapani Tarvainen
2003-02-20 22:30 ` chris
0 siblings, 1 reply; 3+ messages in thread
From: Tapani Tarvainen @ 2003-01-30 7:10 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to compile Emacs 21.2 on HP-UX 11.XX?
2003-01-30 7:10 ` Tapani Tarvainen
@ 2003-02-20 22:30 ` chris
0 siblings, 0 replies; 3+ messages in thread
From: chris @ 2003-02-20 22:30 UTC (permalink / raw)
had same problem with emacs 21.2 on HP 11.11, removed it, installed
21.2.92 instead, and everything's good now. thanks.
Tapani Tarvainen <tt+gn20030130T090220@it.jyu.fi> wrote in message news:<n6fzrb8651.fsf@it.jyu.fi>...
> 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).
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-02-20 22:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-10 9:56 How to compile Emacs 21.2 on HP-UX 11.XX? Milan Tichy
[not found] <mailman.138.1042192579.21513.help-gnu-emacs@gnu.org>
2003-01-30 7:10 ` Tapani Tarvainen
2003-02-20 22:30 ` chris
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).