I think I understand what the problem is. fig2dev does not compile because
it cannot find xpm.h. I do have the xpm package installed, but the .h file
is under

/usr/X11/include/X11/xpm.h

and the script does not look under there. How can I tell port to go there
instead?

Luis


--->  Building transfig
DEBUG: Executing org.macports.build (transfig)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_po
\
rts_print_transfig/work/transfig.3.2.5" && make all'
making all 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__     \
                            -DNO_ALLOCA -DCSRG_BASED         -DNFSS
-DUSE_INLINE      -DI18N  -DUSE_PNG -DUSE_XPM -I/opt/l\
ocal/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:       Ryan Schmidt <[email protected]>                   
                                                                       
  To:         Luis A Lastras/Watson/i...@ibmus                          
                                                                       
  Cc:         [email protected]                      
                                                                       
  Date:       11/12/2009 11:59 AM                                      
                                                                       
  Subject:    Re: transfig/fig2dev                                     
                                                                       





On Nov 12, 2009, at 10:46, Luis A Lastras wrote:

> All I get are the manuals:
>
> $ port contents transfig
> Port transfig contains:
> /opt/local/bin/transfig
> /opt/local/share/man/man1/fig2dev.1.gz
> /opt/local/share/man/man1/fig2ps2tex.1.gz
> /opt/local/share/man/man1/pic2tpic.1.gz
> /opt/local/share/man/man1/transfig.1.gz

Ok, I agree, that looks wrong. :) Try uninstalling transfig and
installing it again, this time with the debug switch.

sudo port uninstall transfig
sudo port clean transfig
sudo port -d install transfig 2>&1 | tee ~/Desktop/transfig.txt

If it still doesn't install right, file a ticket in the issue tracker
and attach your debug output (the file transfig.txt on your desktop)
to the ticket, and I can compare it with the output on my system.



<<inline: graycol.gif>>

<<inline: ecblank.gif>>

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to