Hello,

I'm attempting to compile 4.0.6 on Solaris 10 but ./configure only gets
as far as this:

[ snip ]

checking term.h presence... yes
configure: WARNING: term.h: present but cannot be compiled
configure: WARNING: term.h:     check for missing prerequisite headers?
configure: WARNING: term.h: see the Autoconf documentation
configure: WARNING: term.h:     section "Present But Cannot Be Compiled"
configure: WARNING: term.h: proceeding with the preprocessor's result
configure: WARNING: term.h: in the future, the compiler will take
precedence
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to [email protected] ##
configure: WARNING:     ## ------------------------------------ ##
checking for term.h... yes
checking ncurses/curses.h usability... no
checking ncurses/curses.h presence... no
checking for ncurses/curses.h... no
checking ncurses/term.h usability... yes
checking ncurses/term.h presence... yes
checking for ncurses/term.h... yes
checking for library containing tigetstr... -lcurses
checking for tgetstr... yes
checking for readline... configure: error: need installed readline-devel
package

I do have a readline package installed:

# pkginfo -l SMCreadl
   PKGINST:  SMCreadl
      NAME:  readline
  CATEGORY:  application
      ARCH:  sparc
   VERSION:  5.2
   BASEDIR:  /usr/local
    VENDOR:  Lionel Cons et al
    PSTAMP:  Steve Christensen
  INSTDATE:  Feb 09 2010 11:12
     EMAIL:  [email protected]
    STATUS:  completely installed
     FILES:       72 installed pathnames
                   6 shared pathnames
                   9 directories
                   2 executables
               12393 blocks used (approx)

And there are header files there:

# pkgchk -l SMCreadl | grep ^Pathname | grep '\.h$'
Pathname: /usr/local/include/readline/chardefs.h
Pathname: /usr/local/include/readline/history.h
Pathname: /usr/local/include/readline/keymaps.h
Pathname: /usr/local/include/readline/readline.h
Pathname: /usr/local/include/readline/rlconf.h
Pathname: /usr/local/include/readline/rlstdc.h
Pathname: /usr/local/include/readline/rltypedefs.h
Pathname: /usr/local/include/readline/tilde.h

So it would seem it's a path issue perhaps.

I've tried a few things based on output from ./configure --help but so
far nothing has worked.

I know it must be possible as sunfreeware.com has a fresh package for
4.0.6 available.

The reason I need to compile is to test a patch.

Thanks!

Curtis


Reply via email to