Itai Seggev | 3 Jul 04:31
Favicon

gd2/lesstif/imagemagick problems upon upgrade to leopard


In the past week I've upgraded to Leopard from Tiger (PowerbookG4 12" (6,8)).
I did a fink selfupdate && fink update-all and it seemed to recognize that it
was under leopard and most things upgraded fine, but above packages
consistently fail to compile. (Exact error messages below.)  Any suggestions?
I have installed the XQuartz 2.1.3 package installed.

gd2
------------------------------------------------------------------------------
 gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/X11/include/freetype2
 -I/usr/X11/include -I/usr/X11R6/include -I/sw/include -I/usr/X11R6/include -g
 -O2 -c gdft.c  -fno-common -DPIC -o .libs/gdft.o
gdft.c:1403:35: error: fontconfig/fontconfig.h: No such file or directory
gdft.c:1466: error: syntax error before '*' token
gdft.c:1466: error: syntax error before '*' token
gdft.c: In function 'find_font':
gdft.c:1468: error: 'FcResult' undeclared (first use in this function)
gdft.c:1468: error: (Each undeclared identifier is reported only once
gdft.c:1468: error: for each function it appears in.)
gdft.c:1468: error: syntax error before 'result'
gdft.c:1470: error: 'pattern' undeclared (first use in this function)
gdft.c:1470: error: 'FcMatchPattern' undeclared (first use in this function)
gdft.c:1471: error: 'FcMatchFont' undeclared (first use in this function)
gdft.c:1474: error: 'result' undeclared (first use in this function)
gdft.c:1474: warning: return makes pointer from integer without a cast
gdft.c: At top level:
gdft.c:1479: error: syntax error before '*' token
gdft.c: In function 'find_postscript_font':
gdft.c:1481: error: 'FcPattern' undeclared (first use in this function)
gdft.c:1481: error: 'font' undeclared (first use in this function)
(Continue reading)

Martin Costabel | 3 Jul 08:42
Picon

Re: gd2/lesstif/imagemagick problems upon upgrade to leopard

Itai Seggev wrote:
> 
> In the past week I've upgraded to Leopard from Tiger (PowerbookG4 12" (6,8)).
> I did a fink selfupdate && fink update-all and it seemed to recognize that it
> was under leopard and most things upgraded fine, but above packages
> consistently fail to compile. (Exact error messages below.)  Any suggestions?
> I have installed the XQuartz 2.1.3 package installed.
> 
> 
> gd2
> ------------------------------------------------------------------------------
>  gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/X11/include/freetype2
>  -I/usr/X11/include -I/usr/X11R6/include -I/sw/include -I/usr/X11R6/include -g
>  -O2 -c gdft.c  -fno-common -DPIC -o .libs/gdft.o
> gdft.c:1403:35: error: fontconfig/fontconfig.h: No such file or directory
[etc]

All these packages agree that your X11 installation is incomplete, 
because you don't have the file /usr/X11R6/include/fontconfig/fontconfig.h

This file is installed either by the X11SDK.pkg from the xcode tools on 
the system DVD or by one of the recent xquartz updates (2.1.4 or later).
It is also a file that is known to be "forgotten" occasionally by the 
Apple installer.

Since you already updated your X11 from the macosforge site, I would 
suggest to reinstall your xquartz update, but not the old 2.1.3. There 
is version 2.2.3 now.

--

-- 
(Continue reading)

James McKenzie | 5 Jul 19:38
Picon
Favicon

Re: Build issue with smb4k on 10.5

Alexander Hansen wrote:
> The same style of problem has shown up for some other packages, too.
>
> ...
> Making all in utilities
> g++ -DHAVE_CONFIG_H -I. -I..   -DQT_THREAD_SUPPORT -I/sw/lib/freetype219/include
>  -I/sw/lib/fontconfig2/include -I/sw/include  -Wno-long-long -Wundef -Wall -W -W
> pointer-arith -Os -D__lalala__ -Wno-non-virtual-dtor -fno-exceptions -fno-check-
> new -fno-common  -c -o smb4k_mount.o smb4k_mount.cpp
> smb4k_mount.cpp: In function 'bool find_program(const char*, char*)':
> smb4k_mount.cpp:98: error: 'uint' was not declared in this scope
> smb4k_mount.cpp:98: error: expected `;' before 'i'
> smb4k_mount.cpp:98: error: 'i' was not declared in this scope
> make[2]: *** [smb4k_mount.o] Error 1
> ..
>   
This looks like we are missing a header file for information that is 
present in 10.4 (Tiger) but not in Leopard (10.5).  Will this require 
branching for 10.5 so we don't end up with duplicate declaration 
messages in 10.4?

James McKenzie

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
James McKenzie | 5 Jul 19:39
Picon
Favicon

Re: gd2/lesstif/imagemagick problems upon upgrade to leopard

Martin Costabel wrote:
> Itai Seggev wrote:
>   
>> In the past week I've upgraded to Leopard from Tiger (PowerbookG4 12" (6,8)).
>> I did a fink selfupdate && fink update-all and it seemed to recognize that it
>> was under leopard and most things upgraded fine, but above packages
>> consistently fail to compile. (Exact error messages below.)  Any suggestions?
>> I have installed the XQuartz 2.1.3 package installed.
>>
>>
>> gd2
>> ------------------------------------------------------------------------------
>>  gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/X11/include/freetype2
>>  -I/usr/X11/include -I/usr/X11R6/include -I/sw/include -I/usr/X11R6/include -g
>>  -O2 -c gdft.c  -fno-common -DPIC -o .libs/gdft.o
>> gdft.c:1403:35: error: fontconfig/fontconfig.h: No such file or directory
>>     
> [etc]
>
> All these packages agree that your X11 installation is incomplete, 
> because you don't have the file /usr/X11R6/include/fontconfig/fontconfig.h
>
> This file is installed either by the X11SDK.pkg from the xcode tools on 
> the system DVD or by one of the recent xquartz updates (2.1.4 or later).
> It is also a file that is known to be "forgotten" occasionally by the 
> Apple installer.
>
> Since you already updated your X11 from the macosforge site, I would 
> suggest to reinstall your xquartz update, but not the old 2.1.3. There 
> is version 2.2.3 now.
(Continue reading)

Martin Costabel | 5 Jul 20:20
Picon

Re: Build issue with smb4k on 10.5

James McKenzie wrote:
> Alexander Hansen wrote:
>> The same style of problem has shown up for some other packages, too.
>>
>> ...
>> Making all in utilities
>> g++ -DHAVE_CONFIG_H -I. -I..   -DQT_THREAD_SUPPORT -I/sw/lib/freetype219/include
>>  -I/sw/lib/fontconfig2/include -I/sw/include  -Wno-long-long -Wundef -Wall -W -W
>> pointer-arith -Os -D__lalala__ -Wno-non-virtual-dtor -fno-exceptions -fno-check-
>> new -fno-common  -c -o smb4k_mount.o smb4k_mount.cpp
>> smb4k_mount.cpp: In function 'bool find_program(const char*, char*)':
>> smb4k_mount.cpp:98: error: 'uint' was not declared in this scope
>> smb4k_mount.cpp:98: error: expected `;' before 'i'
>> smb4k_mount.cpp:98: error: 'i' was not declared in this scope
>> make[2]: *** [smb4k_mount.o] Error 1
>> ..
>>   
> This looks like we are missing a header file for information that is 
> present in 10.4 (Tiger) but not in Leopard (10.5).  Will this require 
> branching for 10.5 so we don't end up with duplicate declaration 
> messages in 10.4?

I don't know about this specific package, but I have seen similar 
problems in others. The reason there was that the necessary header file 
(in the case at hand, <sys/types.h>) was included on Tiger more or less 
by chance, namely indirectly from another header file. These indirect 
inclusions have changed a lot in Leopard.

Including the file explicitly won't pose a problem on Tiger. Most system 
header files are protected against multiple inclusion anyway.
(Continue reading)

Alexander Hansen | 6 Jul 00:39
Picon
Gravatar

Re: Build issue with smb4k on 10.5

On Saturday 05 July 2008 14:20:00 Martin Costabel wrote:
> James McKenzie wrote:
> > Alexander Hansen wrote:
> >> The same style of problem has shown up for some other packages, too.
> >>
> >> ...
> >> Making all in utilities
> >> g++ -DHAVE_CONFIG_H -I. -I..   -DQT_THREAD_SUPPORT
> >> -I/sw/lib/freetype219/include -I/sw/lib/fontconfig2/include
> >> -I/sw/include  -Wno-long-long -Wundef -Wall -W -W pointer-arith -Os
> >> -D__lalala__ -Wno-non-virtual-dtor -fno-exceptions -fno-check- new
> >> -fno-common  -c -o smb4k_mount.o smb4k_mount.cpp
> >> smb4k_mount.cpp: In function 'bool find_program(const char*, char*)':
> >> smb4k_mount.cpp:98: error: 'uint' was not declared in this scope
> >> smb4k_mount.cpp:98: error: expected `;' before 'i'
> >> smb4k_mount.cpp:98: error: 'i' was not declared in this scope
> >> make[2]: *** [smb4k_mount.o] Error 1
> >> ..
> >
> > This looks like we are missing a header file for information that is
> > present in 10.4 (Tiger) but not in Leopard (10.5).  Will this require
> > branching for 10.5 so we don't end up with duplicate declaration
> > messages in 10.4?
>
> I don't know about this specific package, but I have seen similar
> problems in others. The reason there was that the necessary header file
> (in the case at hand, <sys/types.h>) was included on Tiger more or less
> by chance, namely indirectly from another header file. These indirect
> inclusions have changed a lot in Leopard.
>
(Continue reading)

Itai Seggev | 6 Jul 07:33
Favicon

Re: gd2/lesstif/imagemagick problems upon upgrade to leopard

On Sat, Jul 05, 2008 at 10:39:48AM -0700, James McKenzie wrote:
> Martin Costabel wrote:
> >> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/X11/include/freetype2
> >> -I/usr/X11/include -I/usr/X11R6/include -I/sw/include 
> >> -I/usr/X11R6/include -g
> >> -O2 -c gdft.c  -fno-common -DPIC -o .libs/gdft.o
> >>gdft.c:1403:35: error: fontconfig/fontconfig.h: No such file or directory
> >>    
> >[etc]
> >
> >All these packages agree that your X11 installation is incomplete, 
> >because you don't have the file /usr/X11R6/include/fontconfig/fontconfig.h
> >
> >This file is installed either by the X11SDK.pkg from the xcode tools on 
> >the system DVD or by one of the recent xquartz updates (2.1.4 or later).
> >It is also a file that is known to be "forgotten" occasionally by the 
> >Apple installer.
> >
> >Since you already updated your X11 from the macosforge site, I would 
> >suggest to reinstall your xquartz update, but not the old 2.1.3. There 
> >is version 2.2.3 now.
> >
> >  
> Second on the 2.2.3 installation.  There were problems with the 2.1 
> stream that were fixed in the 2.2 stream.   Also, you might want to 
> install X11 from the Leopard DVD BEFORE installing XQuartz 2.2.3.

The 2.1.2 I wrote in my previous email was a typo; it should have been 2.2.2.
However, installing 2.2.3 added the header and fixed the problem.  I don't know
why 2.2.2 didn't do this.  Since I suceedded in rebuilding most of KDE, I never
(Continue reading)

Steven D. Arnold | 6 Jul 09:23

ghc won't build, 10.5 intel OS X

I can't compile ghc using fink.

[ 03:04 AM (6) continuum:thoth ~ ] > fink --version
Package manager version: 0.28.4
Distribution version: selfupdate-rsync Sun Jul  6 02:45:10 2008, 10.5,  
i386
[ 02:48 AM (4) continuum:thoth ~ ] > sudo fink install ghc

[...]

../compiler/ghc-inplace -H16m -O -I/sw/include -L/sw/lib  -istage2/ 
utils  -istage2/basicTypes  -istage2/types  -istage2/hsSyn  -istage2/ 
prelude  -istage2/rename  -istage2/typecheck  -istage2/deSugar  - 
istage2/coreSyn  -istage2/specialise  -istage2/simplCore  -istage2/ 
stranal  -istage2/stgSyn  -istage2/simplStg  -istage2/codeGen  - 
istage2/main  -istage2/profiling  -istage2/parser  -istage2/ 
cprAnalysis  -istage2/ndpFlatten  -istage2/iface  -istage2/cmm  - 
istage2/nativeGen  -istage2/ghci -Istage2 -DGHCI -DBREAKPOINT -package  
template-haskell -threaded -package readline -DUSE_READLINE -cpp - 
fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package unix - 
package Cabal -package regex-compat -ignore-package lang -recomp -Rghc- 
timing  -H16M '-#include "cutils.h"' -package-name  ghc-6.6   - 
fgenerics   -H128M -c basicTypes/OccName.lhs-boot -o stage2/basicTypes/ 
OccName.o-boot  -ohi stage2/basicTypes/OccName.hi-boot

basicTypes/OccName.lhs-boot:1:0:
     Failed to load interface for `Prelude':
       Use -v to see a list of the files searched for.
<<ghc: 18660880 bytes, 3 GCs, 122968/122968 avg/max bytes residency (1  
samples), 124M in use, 0.00 INIT (0.00 elapsed), 0.02 MUT (0.05  
(Continue reading)

Martin Costabel | 6 Jul 18:34
Picon

Re: Build issue with smb4k on 10.5

Jack Fink wrote:
> Give revision 1004 a try. I hope that's all we need to
> make it usable on leopard.

Revision 1005 builds for me, as soon as I add the usual post-xmkmf 
ConfigureParams
-x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib

--

-- 
Martin

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
Kyle | 7 Jul 11:36
Picon

lbdb compile error

I am seeing this error when trying to update lbdb:

config.status: creating lbdb.rc
cat tac.awk > tac
cat: tac.awk: No such file or directory
make: *** [tac] Error 1

What should I try next?

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08

Gmane