Re: Cscope installation on HP-UX 11.0

From: Mart Rentmeester (martr_at_wn5.nospamplease.nl)
Date: 02/09/04

  • Next message: frogw/wings: "Re: SCRIPTING QUESTION"
    Date: Mon, 9 Feb 2004 22:30:44 +0000 (UTC)
    
    

    thom@sybase.com (Thom Wielski) writes:

    >Thanks. I've installed gcc, ncurses, as well as bison and flex
    >required by gcc.

    >I ran the configure script with these options, as recommended by the
    >INSTALL file:
    > # ./configure CFLAGS=-Ae CURSES_LIBS=-lHcurses
    >

    ..... stuff deleted .....

    >I then run configure without any options. It completes. Next, run
    >make:

    ..... stuff deleted .....

    >I'm not sure what to make of this bison error. Does it look like a
    >bug?

    No - the latter behaviour is not a bug: you need to use GNU make;
    not /usr/bin/make that comes with HP-UX.

    It's possible to build cscope with both HP's ansi c compiler and
    gcc; and you can use either ncurses or the HP supplied curses.

    To use HP's ansi c compiler: CC = /opt/ansic/bin/cc
                                    CFLAGS = -O +DD32

    To use gcc: CC = gcc
                                    CFLAGS = -O

    To use HP's curses: LIBS = -lcurses

    To use ncurses: configure with the --with-ncurses=
                                    option.

    Good luck!

    Mart


  • Next message: frogw/wings: "Re: SCRIPTING QUESTION"

    Relevant Pages