xaw3d error installing gv

Ryan Schmidt ryandesign at macports.org
Mon Sep 22 15:55:52 PDT 2008


On Sep 22, 2008, at 4:36 PM, thomas milewski wrote:

> This is the error I get:
>
> --->  Building Xaw3d with target all SHLIBGLOBALSFLAGS=-L/usr/X11R6/ 
> lib INCDIR=/
> opt/local/include SHLIBDIR=/opt/local/lib USRLIBDIR=/opt/local/lib
> Error: Target org.macports.build returned: shell command " cd "/opt/ 
> local/var/ma
> cports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_x1
> 1_Xaw3d/work/xc/lib/Xaw3d" && make all SHLIBGLOBALSFLAGS=-L/usr/ 
> X11R6/lib INCDIR
> =/opt/local/include SHLIBDIR=/opt/local/lib USRLIBDIR=/opt/local/ 
> lib " returned
> error 2
> Command output: AllWidgets.c:115: warning: (near initialization for  
> 'XawWidgetAr
> ray[37]')
> AllWidgets.c:116: warning: braces around scalar initializer
> AllWidgets.c:116: warning: (near initialization for 'XawWidgetArray 
> [38]')
> AllWidgets.c:116: warning: initialization makes integer from  
> pointer without a c
> ast
> AllWidgets.c:116: warning: excess elements in scalar initializer
> AllWidgets.c:116: warning: (near initialization for 'XawWidgetArray 
> [38]')
> AllWidgets.c:117: warning: braces around scalar initializer
> AllWidgets.c:117: warning: (near initialization for 'XawWidgetArray 
> [39]')
> AllWidgets.c:117: warning: initialization makes integer from  
> pointer without a c
> ast
> AllWidgets.c:117: warning: excess elements in scalar initializer
> AllWidgets.c:117: warning: (near initialization for 'XawWidgetArray 
> [39]')
> AllWidgets.c:118: warning: braces around scalar initializer
> AllWidgets.c:118: warning: (near initialization for 'XawWidgetArray 
> [40]')
> AllWidgets.c:118: warning: initialization makes integer from  
> pointer without a c
> ast
> AllWidgets.c:118: warning: excess elements in scalar initializer
> AllWidgets.c:118: warning: (near initialization for 'XawWidgetArray 
> [40]')
> AllWidgets.c:119: warning: braces around scalar initializer
> AllWidgets.c:119: warning: (near initialization for 'XawWidgetArray 
> [41]')
> AllWidgets.c:119: warning: initialization makes integer from  
> pointer without a c
> ast
> AllWidgets.c:119: warning: excess elements in scalar initializer
> AllWidgets.c:119: warning: (near initialization for 'XawWidgetArray 
> [41]')
> AllWidgets.c:120: warning: braces around scalar initializer
> AllWidgets.c:120: warning: (near initialization for 'XawWidgetArray 
> [42]')
> AllWidgets.c:120: warning: initialization makes integer from  
> pointer without a c
> ast
> AllWidgets.c:120: warning: excess elements in scalar initializer
> AllWidgets.c:120: warning: (near initialization for 'XawWidgetArray 
> [42]')
> AllWidgets.c:121: warning: data definition has no type or storage  
> class
> AllWidgets.c:123: warning: implicit declaration of function 'XtNumber'
> AllWidgets.c:123: error: initializer element is not constant
> make: *** [AllWidgets.o] Error 1
>
> Error: The following dependencies failed to build: Xaw3d  
> ghostscript cairo libpi
> xman render xrender
> Error: Status 1 encountered during processing.
>
> I am running Tiger 10.4.11 on a Intel i386 iMac
> Anyone has an idea ?

Hmm. xaw3d is successfully installed on my MacBook Pro with Mac OS X  
10.4.11 and Xcode 2.5.

Is your Xcode up to date? If it's less than 2.4.1, update to Xcode 2.5.

Do you have Apple X11 installed or the XFree86 port or the xorg port?  
I have (and recommend) Apple X11.



More information about the macports-users mailing list