Problems compiling mutt on HP-UX 10.20

Problems compiling mutt on HP-UX 10.20

Post by Hans Christian Fuga » Tue, 22 Aug 2000 04:00:00



I don't know exactly what's happening, so I'll quote the problem.
Configure goes well, make dies with this:

keymap.c:69: `KEY_END' undeclared here (not in a function)
keymap.c:69: initializer element for `KeyNames[10].value' is not
constant
keymap.c: In function `km_dokey':
keymap.c:356: warning: implicit declaration of function `timeout'
keymap.c: In function `km_keyname':
keymap.c:475: warning: implicit declaration of function `snprintf'
*** Error exit code 1

I am not sure, but I don't believe that GNU ncurses is installed, it's
whatever comes with HP-UX 10.20, I suspect that is the source of the
problem, but I don't know.  Has anyone had experience with mutt on
HP-UX?

Thanks,
Hans :)
--
What's that flashing?!

 
 
 

Problems compiling mutt on HP-UX 10.20

Post by Gary Johnso » Tue, 22 Aug 2000 04:00:00



Quote:> I am not sure, but I don't believe that GNU ncurses is installed, it's
> whatever comes with HP-UX 10.20, I suspect that is the source of the
> problem, but I don't know.  Has anyone had experience with mutt on
> HP-UX?

I've compiled a number of versions of mutt on HP-UX 10.20.  In the past,
I've been able to edit the configure file to get mutt to use HP-UX's
curses, but to get Mutt 1.2i to build, I had to first install slang.  I
think ncurses would work as well as slang--I just happened to choose
slang.

Gary

 
 
 

Problems compiling mutt on HP-UX 10.20

Post by Lothar Palti » Tue, 22 Aug 2000 04:00:00




Quote:> I've compiled a number of versions of mutt on HP-UX 10.20.  In the past,
> I've been able to edit the configure file to get mutt to use HP-UX's
> curses, but to get Mutt 1.2i to build, I had to first install slang.  I
> think ncurses would work as well as slang--I just happened to choose
> slang.

To compile mutt 1.2 without installing slang or ncurses, you should use
the HP color curses library. The standard curses library is totally
broken.

    $ diff configure.org configure
    1987c1987,1988
    < MUTTLIBS="$MUTTLIBS -lcurses"
    ---
    > CPPFLAGS="$CPPFLAGS -I/usr/include/curses_colr"
    > MUTTLIBS="$MUTTLIBS -lcur_colr"

This works, but unfortunately without colors. Didn't find the time to debug
it.

And I had to change a line in po/Makefile.in.in:

    $ diff po/Makefile.in.in.org po/Makefile.in.in
    84c84
    < all-yes: cat-id-tbl.c $(CATALOGS)
    ---
    > all-yes: cat-id-tbl.o $(CATALOGS)

--

 
 
 

1. compile problems on hp-ux 10.20

Hi.

I didn't find anything about this in the FAQ or in the OS-specific documentation, so here goes:

I`m trying to compile 8.12.0 on HP-UX 10.20 platform, and all binaries compile fine except the sendmail binary which
fails:

-------
[7] % make
        /bin/sh ./Build   all
Configuration: pfx=, os=HP-UX, rel=10.20, rbase=10, rroot=10.20, arch=9000-821, sfx=, variant=optimized
Making in /home/bjornd/apps/sendmail-8.12.0/obj.HP-UX.10.20.9000-821/sendmail
        rm -f sm_os.h
        ln -f -s ../../include/sm/os/sm_os_hp.h sm_os.h
        cc -Aa +O3 -I. -I../../include  -DNDBM -DNIS -DMAP_REGEX -D_HPUX_SOURCE -DV4FS    -c bf.c
cc: "bf.c", line 209: error 1711: Inconsistent parameter list declaration for "bfopen".
*** Error exit code 1

-------

Can anybody give me a tip here? Do I need to patch my compiler or what?

Thanks.

2. TDR results

3. Problems compiling 1.0pre2 on HP-UX 10.20

4. Adding Licenses in Novell 3.12

5. mutt on HP-UX 10.20?

6. Help choosing cdr

7. problms building mutt on HP-UX 10.20

8. How to get that anti-aliased look without anti-aliased edges?

9. mutt, hp-ux 10.20 and czech (not ISO) locales

10. a problem of mail in HP workstation with HP-UX 10.20

11. Compiling SASL under HP-UX 10.20?

12. Errors Compiling 4.05 on HP-UX 10.20

13. compiling sendmail 8.11 on hp-ux 10.20