[darcs-devel] [issue326] compiling from source

Christian Maeder bugs at darcs.net
Tue Oct 31 08:40:15 PST 2006


New submission from Christian Maeder <maeder at tzi.de>:

Hi,

I've tried to compile darcs-1.0.9rc1 from sources.

./configure

indicated the following problem:

checking term.h usability... no
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 bugs at darcs.net ##
configure: WARNING:     ## ----------------------------- ##
checking for term.h... yes

After gmake I got the errors below. I'm working under PC-Solaris (SunOS
 5.10 Generic_118855-19 i86pc i386 i86pc) with gcc_4.0.3 und ghc-6.6.
I've attached the term.h file.

Cheers Christian

ghc  -cpp  -package QuickCheck -package mtl -package parsec -package
html -package unix -O -funbox-strict-fields  -Wall -Werror -I.
-DHAVE_CURSES -DHAVE_CURL -c External.hs

In file included from /tmp/ghc7655_0/ghc7655_0.hc:6:0:

/usr/include/term.h:1034:0:  error: syntax error before 'bool'

/usr/include/term.h:1060:0:  error: syntax error before 'SGTTY'

/usr/include/term.h:1081:0:  error: syntax error before 'sgr_mode'

/usr/include/term.h:1082:0:  error: syntax error before 'sgr_faked'

/usr/include/term.h:1092:0:
     error: syntax error before 'funckeystarter'

/usr/include/term.h:1094:0:
     error: syntax error before '_fl_rawmode'

/usr/include/term.h:1101:0:
     error: syntax error before '_input_queue'

/usr/include/term.h:1108:0:  error: syntax error before '*' token

/usr/include/term.h:1111:0:
     error: syntax error before 'bit_vector'

/usr/include/term.h:1115:0:
     error: syntax error before 'check_turn_off'

/usr/include/term.h:1116:0:
     error: syntax error before 'non_faked_mode'

/usr/include/term.h:1117:0:  error: syntax error before '_cur_pair'

/usr/include/term.h:1118:0:  error: syntax error before '*' token

/usr/include/term.h:1120:0:  error: syntax error before '}' token

/usr/include/term.h:1207:0:  error: syntax error before 'int'

/usr/include/term.h:1207:0:
     error: 'vidputs' declared as function returning a function

/usr/include/term.h:1207:0:  error: syntax error before ')' token
gmake: *** [External.o] Error 1

----------
files: term.h
messages: 1160
nosy: EricKow, droundy, maeder, tommy
status: unread
title: compiling from source

____________________________________
Darcs issue tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue326>
____________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: term.h
Type: text/x-chdr
Size: 54041 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20061031/6ea1b5d3/term.h


More information about the darcs-devel mailing list