Hello,

I'm trying to use OSOL 2008.11 to do some programming. The application I'm 
building is using ncurses, and the one available in IPS seems not to work.

First, the includes are in /usr/gnu/include which is not picked up by gcc ( 
only irritating), but after fixing that gcc still cannot find ncurses.h. And 
that is not so very strange as an 'ls -la' shows: 

andrnils at t61p /usr/gnu/include =0
$ ls -la
total 219
drwxr-xr-x 3 root bin     19 2009-01-02 10:35 .
drwxr-xr-x 6 root bin      6 2009-01-02 10:35 ..
-rw-r--r-- 1 root bin   6582 2009-01-02 10:35 cursesapp.h
-rw-r--r-- 1 root bin  27630 2009-01-02 10:35 cursesf.h
-rw-r--r-- 1 root bin  19486 2009-01-02 10:35 cursesm.h
-rw-r--r-- 1 root bin   8430 2009-01-02 10:35 cursesp.h
-rw-r--r-- 1 root bin  45070 2009-01-02 10:35 cursesw.h
-rw-r--r-- 1 root bin   7304 2009-01-02 10:35 cursslk.h
-rw-r--r-- 1 root bin   2891 2009-01-02 10:35 eti.h
-rw-r--r-- 1 root bin   8824 2009-01-02 10:35 etip.h
-rw-r--r-- 1 root bin  17190 2009-01-02 10:35 form.h
-rw-r--r-- 1 root bin  11865 2009-01-02 10:35 menu.h
drwxr-xr-x 2 root bin      3 2009-01-02 10:35 ncurses
-rw-r--r-- 1 root bin   3655 2009-01-02 10:35 ncurses_dll.h
lrwxrwxrwx 1 root root     8 2009-01-02 10:35 ncurses.h -> curses.h
-rw-r--r-- 1 root bin   3770 2009-01-02 10:35 panel.h
-rw-r--r-- 1 root bin   3476 2009-01-02 10:35 termcap.h
-rw-r--r-- 1 root bin  38103 2009-01-02 10:35 term.h
-rw-r--r-- 1 root bin   3005 2009-01-02 10:35 unctrl.h

ncurses.h is a symlink to curses.h, which does not exist. It does however exist 
in /usr/gnu/include/ncurses/. So perhaps ncurses/curses.h should be moved to 
./curses.h for this to work.

Best regards
Andreas
-- 
This message posted from opensolaris.org

Reply via email to