pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

devel/py-curses won't compile



 Hi

 I'm having some problems getting devel/py-curses to compile. I am trying to 
install offlineimap and this is one of its dependencies. 

 I am not sure what the problem is and wondered if someone here might be able 
to help?

 Here is the compiler error:



 cc -DNDEBUG -O2 -DHAVE_DB_185_H -I/usr/include -I/usr/pkg/include -O2 
-I/usr/include -I/usr/pkg/include/python2.6 -I/usr/pkg/include -I/usr/include 
-I/usr/pkg/include/python2.6 -I/usr/pkg/include -fPIC -DHAVE_NCURSES_H 
-I/usr/include -I/usr/pkg/include/python2.6 -c Modules/_curses_panel.c -o 
build/temp.netbsd-5.0.2-i386-2.6/Modules/_curses_panel.o
 Modules/_curses_panel.c:17:19: error: panel.h: No such file or directory
 Modules/_curses_panel.c:53: error: expected specifier-qualifier-list before 
'PANEL'
 Modules/_curses_panel.c:130: error: expected ')' before '*' token
 Modules/_curses_panel.c: In function 'PyCursesPanel_bottom_panel':
 Modules/_curses_panel.c:164: error: 'PyCursesPanelObject' has no member named 
'pan'
 Modules/_curses_panel.c: In function 'PyCursesPanel_hide_panel':
 Modules/_curses_panel.c:165: error: 'PyCursesPanelObject' has no member named 
'pan'
 Modules/_curses_panel.c: In function 'PyCursesPanel_show_panel':
 Modules/_curses_panel.c:166: error: 'PyCursesPanelObject' has no member named 
'pan'
 Modules/_curses_panel.c: In function 'PyCursesPanel_top_panel':
 Modules/_curses_panel.c:167: error: 'PyCursesPanelObject' has no member named 
'pan'
 Modules/_curses_panel.c: In function 'PyCursesPanel_panel_hidden':
 Modules/_curses_panel.c:168: error: 'PyCursesPanelObject' has no member named 
'pan'
 Modules/_curses_panel.c: In function 'PyCursesPanel_move_panel':
 Modules/_curses_panel.c:169: error: 'PyCursesPanelObject' has no member named 
'pan'
 Modules/_curses_panel.c: At top level:
 Modules/_curses_panel.c:174: error: expected ')' before '*' token
 Modules/_curses_panel.c: In function 'PyCursesPanel_Dealloc':
 Modules/_curses_panel.c:193: error: 'PyCursesPanelObject' has no member named 
'pan'
 Modules/_curses_panel.c:194: error: 'PyCursesPanelObject' has no member named 
'wo'
 Modules/_curses_panel.c:194: error: 'PyCursesPanelObject' has no member named 
'wo'
 Modules/_curses_panel.c:194: error: 'PyCursesPanelObject' has no member named 
'wo'
 Modules/_curses_panel.c: In function 'PyCursesPanel_above':
 Modules/_curses_panel.c:204: error: 'PANEL' undeclared (first use in this 
function)
 Modules/_curses_panel.c:204: error: (Each undeclared identifier is reported 
only once
 Modules/_curses_panel.c:204: error: for each function it appears in.)
 Modules/_curses_panel.c:204: error: 'pan' undeclared (first use in this 
function)
 Modules/_curses_panel.c:207: error: 'PyCursesPanelObject' has no member named 
'pan'
 Modules/_curses_panel.c:214: warning: assignment makes pointer from integer 
without a cast
 Modules/_curses_panel.c: In function 'PyCursesPanel_below':
 Modules/_curses_panel.c:229: error: 'PANEL' undeclared (first use in this 
function)
 Modules/_curses_panel.c:229: error: 'pan' undeclared (first use in this 
function)
 Modules/_curses_panel.c:232: error: 'PyCursesPanelObject' has no member named 
'pan'
 Modules/_curses_panel.c:239: warning: assignment makes pointer from integer 
without a cast
 Modules/_curses_panel.c: In function 'PyCursesPanel_window':
 Modules/_curses_panel.c:252: error: 'PyCursesPanelObject' has no member named 
'wo'
 Modules/_curses_panel.c:253: error: 'PyCursesPanelObject' has no member named 
'wo'
 Modules/_curses_panel.c: In function 'PyCursesPanel_replace_panel':
 Modules/_curses_panel.c:271: error: 'PyCursesPanelObject' has no member named 
'pan'
 Modules/_curses_panel.c:271: warning: assignment makes pointer from integer 
without a cast
 Modules/_curses_panel.c:278: error: 'PyCursesPanelObject' has no member named 
'pan'
 Modules/_curses_panel.c:283: error: 'PyCursesPanelObject' has no member named 
'wo'
 Modules/_curses_panel.c:283: error: 'PyCursesPanelObject' has no member named 
'wo'
 Modules/_curses_panel.c:283: error: 'PyCursesPanelObject' has no member named 
'wo'
 Modules/_curses_panel.c:284: error: 'PyCursesPanelObject' has no member named 
'wo'
 Modules/_curses_panel.c:285: error: 'PyCursesPanelObject' has no member named 
'wo'
 Modules/_curses_panel.c: In function 'PyCursesPanel_set_panel_userptr':
 Modules/_curses_panel.c:294: error: 'PyCursesPanelObject' has no member named 
'pan'
 Modules/_curses_panel.c: In function 'PyCursesPanel_userptr':
 Modules/_curses_panel.c:303: error: 'PyCursesPanelObject' has no member named 
'pan'
 Modules/_curses_panel.c: In function 'PyCurses_bottom_panel':
 Modules/_curses_panel.c:365: error: 'PANEL' undeclared (first use in this 
function)
 Modules/_curses_panel.c:365: error: 'pan' undeclared (first use in this 
function)
 Modules/_curses_panel.c:377: warning: assignment makes pointer from integer 
without a cast
 Modules/_curses_panel.c: In function 'PyCurses_new_panel':
 Modules/_curses_panel.c:391: error: 'PANEL' undeclared (first use in this 
function)
 Modules/_curses_panel.c:391: error: 'pan' undeclared (first use in this 
function)
 Modules/_curses_panel.c: In function 'PyCurses_top_panel':
 Modules/_curses_panel.c:411: error: 'PANEL' undeclared (first use in this 
function)
 Modules/_curses_panel.c:411: error: 'pan' undeclared (first use in this 
function)
 Modules/_curses_panel.c:423: warning: assignment makes pointer from integer 
without a cast
 error: command 'cc' failed with exit status 1
 *** Error code 1

-- 
    GPG KEY: BFBB010E (2010-02-25)
    FINGERPRINT: 15BC 52C1 0AEE 1B1E 7E7B 7022 F261 F627 BFBB 010E 

Attachment: pgpPZKBoXesJv.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index