Luis A Lastras lastrasl at
Fri Nov 13 11:37:36 PST 2009

Well, uninstalled, clean both transfig and xpm, installed transfig and
still xpm does not compile...

DEBUG: Executing org.macports.destroot (transfig)
DEBUG: Assembled command: 'cd
 && /usr/bin/make install
installing in ./fig2dev...
rm -f fig2dev.o
/usr/bin/gcc-4.0 -c -Os -Wall -Wpointer-arith -no-cpp-precomp   -I..
-I/opt/local/include    -D__i386__ -D__DARWIN__
-DUSE_XPM -I/opt/local/include -I/usr/X11R6/include/X11    fig2dev.c
In file included from fig2dev.c:29:
object.h:20:17: error: xpm.h: No such file or directory
In file included from fig2dev.c:29:
object.h:158: error: syntax error before 'XpmImage'
object.h:158: warning: no semicolon at end of struct or union
object.h:168: error: syntax error before '}' token
object.h:169: warning: type defaults to 'int' in declaration of 'F_pic'
object.h:169: warning: data definition has no type or storage class
fig2dev.c:375: warning: return type defaults to 'int'
make[1]: *** [fig2dev.o] Error 1

Luis A Lastras
Research Staff Member, Memory Systems Department
22-144 IBM TJ Watson Research Center
Yorktown Heights, NY, 10598
(914) 945 3613, T/L 862 3613

  From:       Joshua Root <jmr at>                                                                                                 
  To:         Luis A Lastras/Watson/IBM at IBMUS                                                                                                
  Cc:         Ryan Schmidt <ryandesign at>, macports-users at                                                    
  Date:       11/13/2009 01:43 PM                                                                                                            
  Subject:    Re: transfig/fig2dev                                                                                                           

On 2009-11-14 04:57, Luis A Lastras wrote:
> Ryan/Josh:
> I did a port selfupdate, uninstalled and cleaned xpm (I had to uninstall
> other stuff that had dependencies), did the same for transfig, and
> then installed transfig.
> I did see different behavior - port install transfig downloaded and
> compiled many other things that it didn't do before. But when it came
> down to xpm I got the same
> problem as before.

Indeed, one of the patches needed to be updated to look for the xpm
includes in ${prefix}/include/X11 rather than /usr/X11R6/include/X11.
Should be fixed now.

- Josh

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecblank.gif
Type: image/gif
Size: 45 bytes
Desc: not available
URL: <>

More information about the macports-users mailing list