On 9/23/12 4:00 AM, Glenn Starkman wrote:
> I am trying to install the xfig package, with no success.
> 
> I'm a novice at that, but have exhausted the suggestions that
> 
> are offered in the error message.
> 
> 
> Here is the error message that I get:
> 
> 

We typically don't need the whole build log.  Typically just showing the
command that triggers error messages followed by the initial error
suffices--often there is a cascade where one sees errors that are
produced by earlier errors, so later messages aren't really meaningful
for debugging.

<snip>

> 
> cc -c -Os -Wall -Wpointer-arith -no-cpp-precomp    -I/sw/include
> -I/sw/include -I/usr/X11R6/include/X11 -I/usr/X11/include   
> -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA
> -DCSRG_BASED          -DUSE_XPM -DXAW3D -DXAW3D1_5E -DUSE_JPEG  
> -DNEWARROWTYPES    w_export.c
> 
> w_export.c:1019:5: error: non-void function 'toggle_hpgl_pcl_switch'
> should return a value [-Wreturn-type]
> 
>     return;
> 
>     ^
> 
> w_export.c:1041:5: error: non-void function 'toggle_hpgl_font' should
> return a value [-Wreturn-type]
> 
>     return;
> 
>     ^
> 

<snip>

> 
> Package manager version: 0.34.3
> 
> Distribution version: selfupdate-rsync Fri Sep 21 11:38:42 2012, 10.7,
> x86_64
> 
> Trees: local/main stable/main
> 
> Xcode.app: 4.5
> 
> Xcode command-line tools: 4.5.0.0.1.1249367152
> 
> Max. Fink build jobs:  1
> 
> 
> -- 
> Glenn Starkman
> Professor of Physics and of Astronomy
> Director of the Institute for the Science of Origins
> Director of the Center for Education and Research
>     in Cosmology and Astrophysics
> 
> 
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://ad.doubleclick.net/clk;258768047;13503038;j?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> 
> 
> 

The problem here is that xfig is old, and the default compiler that
we're using (clang) has been getting steadily stricter about C syntax
--this package started having problems as of Xcode 4.4.

As a workaround, I've applied the same method as is used for the 10.8
package for consistency whenever clang is new enough to trigger this
issue.  It worked for me on 10.7 with Xcode 4.5.

Maintainer cc'ed.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to