Opened 20 years ago

Closed 20 years ago

Last modified 19 years ago

#1418 closed defect (invalid)

xpm build fails on panther

Reported by: mattwhiteley@… Owned by: jkh@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

Steps to reproduce:

Check out darwinports from CVS ./configure && make && sudo make install

add /usr/X11R6/bin & /opt/local/bin to $PATH

port install aterm

Fails on xpm build:

---> Building xpm with target all Error: Target com.apple.build returned: shell command "cd "/Users/mattw/darwinports/dports/ x11/xpm/work/xpm-3.4k" && make all" returned error 2 Command output: ../lib/parse.c:305: warning: suggest parentheses around assignment used as truth value In file included from cxpm.c:78: ../lib/parse.c: In function `xpmParseData': ../lib/parse.c:696: warning: suggest explicit braces to avoid ambiguous `else' In file included from cxpm.c:79: ../lib/RdFToI.c: In function `OpenReadFile': ../lib/RdFToI.c:131: warning: unused variable `compressfile' In file included from cxpm.c:82: ../lib/Attrib.c: At top level: ../lib/Attrib.c:152: error: parse error before "XpmAttributes" ../lib/Attrib.c:152: warning: type defaults to int' in declaration of attributes' ../lib/Attrib.c:152: warning: data definition has no type or storage class ../lib/Attrib.c:153: error: parse error before '{' token ../lib/Attrib.c:180: error: parse error before "XpmAttributes" ../lib/Attrib.c:180: warning: type defaults to int' in declaration of attributes' ../lib/Attrib.c:180: warning: data definition has no type or storage class ../lib/Attrib.c:183: error: parse error before '{' token ../lib/Attrib.c:196: warning: type defaults to int' in declaration of ErrorStatus' ../lib/Attrib.c:198: error: request for member `colorTable' in something not a structure or union ../lib/Attrib.c:198: error: initializer element is not constant ../lib/Attrib.c:198: warning: data definition has no type or storage class ../lib/Attrib.c:201: error: parse error before "if" ../lib/Attrib.c:250: error: parse error before "XpmAttributes" ../lib/Attrib.c:250: warning: type defaults to int' in declaration of attributes' ../lib/Attrib.c:250: warning: data definition has no type or storage class ../lib/Attrib.c:251: error: parse error before '{' token cxpm.c:121: warning: return type defaults to `int' ../lib/Attrib.c:70: warning: `FreeOldColorTable' defined but not used make[1]: * [cxpm.o] Error 1 make: * [all] Error 2

Error: The following dependencies failed to build: xpm

I have looked in the mailing list and on #opendarwin (freenode.net) and did not find any relevant errors.

Change History (1)

comment:1 Changed 20 years ago by mattwhiteley@…

Resolution: invalid
Status: newclosed

Didn't have the X11 SDK installed. My mistake.

Note: See TracTickets for help on using tickets.