fink-users  

Re: [Fink-users] Error updating xm-2.1

Alexander Hansen
Thu, 04 Feb 2010 09:06:09 -0800

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2/4/10 11:50 AM, David Wagner wrote:
> I recently updated XCode to 3.1.4, ran fink selfupdate and update-all.  
> I got the following error:
> 
> Making all in Xm-2.1
> /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. - 
> I. -I../../include  -I../../include/Motif-2.1 -I../../include/ 
> Motif-2.1 -I/usr/X11R6/include -I/usr/X11/include/freetype2 -I/usr/X11/ 
> include -I/sw/include -I/usr/X11R6/include  -g -O2 -c -o Messages.lo  
> Messages.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../ 
> include/Motif-2.1 -I../../include/Motif-2.1 -I/usr/X11R6/include -I/ 
> usr/X11/include/freetype2 -I/usr/X11/include -I/sw/include -I/usr/ 
> X11R6/include -g -O2 -c Messages.c  -fno-common -DPIC -o .libs/ 
> Messages.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../ 
> include/Motif-2.1 -I../../include/Motif-2.1 -I/usr/X11R6/include -I/ 
> usr/X11/include/freetype2 -I/usr/X11/include -I/sw/include -I/usr/ 
> X11R6/include -g -O2 -c Messages.c -o Messages.o >/dev/null 2>&1
> /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. - 
> I. -I../../include  -I../../include/Motif-2.1 -I../../include/ 
> Motif-2.1 -I/usr/X11R6/include -I/usr/X11/include/freetype2 -I/usr/X11/ 
> include -I/sw/include -I/usr/X11R6/include  -g -O2 -c -o Print.lo  
> Print.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../ 
> include/Motif-2.1 -I../../include/Motif-2.1 -I/usr/X11R6/include -I/ 
> usr/X11/include/freetype2 -I/usr/X11/include -I/sw/include -I/usr/ 
> X11R6/include -g -O2 -c Print.c  -fno-common -DPIC -o .libs/Print.o
> In file included from /usr/X11/include/freetype2/freetype/freetype.h:41,
>                  from /usr/X11R6/include/X11/Xft/Xft.h:42,
>                  from ../../include/Motif-2.1/XmI/XmI.h:50,
>                  from Print.c:61:
> /usr/X11/include/freetype2/freetype/config/ftconfig.h:65:1: warning:  
> "SIZEOF_LONG" redefined
> In file included from Print.c:28:
> ../../include/LTconfig.h:312:1: warning: this is the location of the  
> previous definition
> In file included from ../../include/Motif-2.1/XmI/XmI.h:50,
>                  from Print.c:61:
> /usr/X11R6/include/X11/Xft/Xft.h:43:35: error: fontconfig/ 
> fontconfig.h: No such file or directory
> In file included from /usr/X11R6/include/X11/Xft/Xft.h:53,
>                  from ../../include/Motif-2.1/XmI/XmI.h:50,
>                  from Print.c:61:
> /usr/X11R6/include/X11/Xft/XftCompat.h:33: error: syntax error before  
> 'XftChar8'
> /usr/X11R6/include/X11/Xft/XftCompat.h:33: warning: data definition  
> has no type or storage class
> /usr/X11R6/include/X11/Xft/XftCompat.h:34: error: syntax error before  
> 'XftChar16'
> 
> [and much more]
> 
> I welcome any suggestions. This is on MacOS 10.5.8. I have not touched  
> fink in a year or more.
> 
> This is the start of the output from xdpyinfo:
> 
> bash-3.2$ xdpyinfo | more
> name of display:    /tmp/launch-efRyzh/:0
> version number:    11.0
> vendor string:    The X.Org Foundation
> vendor release number:    10402000
> X.Org version: 1.4.2
> maximum request size:  16777212 bytes
> motion buffer size:  256
> bitmap unit, bit order, padding:    32, LSBFirst, 32
> image byte order:    LSBFirst
> number of supported pixmap formats:    7
> supported pixmap formats:
>     depth 1, bits_per_pixel 1, scanline_pad 32
>     depth 4, bits_per_pixel 8, scanline_pad 32
>     depth 8, bits_per_pixel 8, scanline_pad 32
>     depth 15, bits_per_pixel 16, scanline_pad 32
>     depth 16, bits_per_pixel 16, scanline_pad 32
>     depth 24, bits_per_pixel 32, scanline_pad 32
>     depth 32, bits_per_pixel 32, scanline_pad 32
> keycode range:    minimum 8, maximum 255
> focus:  window 0x80000d, revert to None
> number of extensions:    25
>     Apple-DRI
>     Apple-WM
>     BIG-REQUESTS
>     DAMAGE
>     DOUBLE-BUFFER
>     Extended-Visual-Information
>     GLX
>     MIT-SCREEN-SAVER
>     MIT-SHM
>     MIT-SUNDRY-NONSTANDARD
>     RENDER
>     SECURITY
>     SGI-GLX
>     SHAPE
>     SYNC
>     TOG-CUP
>     X-Resource
>     XAccessControlExtension
>     XC-APPGROUP
>     XC-MISC
>     XFIXES
>     XINERAMA
>     XInputExtension
>     XKEYBOARD
>     XVideo
> 
> Thanks,
> David Wagner
> 
> 

Give the name of the *package* which is failing.  People normally search
the archives for full packages, not subunits in their build system, and
our developers don't memorize the subunits for every package build.

I.e. I have absolutely no clue what package you're having a problem with.

However, I do have something to work with.  Do you in fact have

/usr/X11/include/fontconfig/fontconfig.h

on your system?  If that's missing then you need to reinstall at least
the X11SDK from Xcode if you're using a stock X11 or Xquartz, if you
don't.  (I don't have the X.org version numbers of X11.app memorized)
- -- 
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktq/mYACgkQB8UpO3rKjQ/8dACeO9C9ltLOlvR7/8V8/x1ljcXi
cjQAoKK55ZiNaxJqCFUXsYn9wJcxPaa9
=k2TY
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users