Go Back   The macosxhints Forums > OS X Help Requests > UNIX - General



Reply
 
Thread Tools Rate Thread Display Modes
Old 10-27-2002, 12:23 AM   #1
fragerybou
Triple-A Player
 
Join Date: Sep 2002
Posts: 95
recent fink update

The other day did the usual fink selfupdate-cvs, and fink update-all, to find that a new version was out on cvs. It's now 0.11.0 for the package manager version, and 0.4.9.cvs for the distribution version. In any case, one of the updates it wanted to perform was pango1, pango1-dev, and pango1-shlibs. Halfway into the compiling for pango1, it fails out. I did some checking of the configure process and found the following:

Quote:
checking for XRenderFindFormat in -lXrender... yes
checking for XftFontOpen in -lXft... yes
checking X11/Xft/XftFreetype.h usability... no
checking X11/Xft/XftFreetype.h presence... yes
configure: WARNING: X11/Xft/XftFreetype.h: present but cannot be compiled
configure: WARNING: X11/Xft/XftFreetype.h: check for missing prerequisite headers?
configure: WARNING: X11/Xft/XftFreetype.h: proceeding with the preprocessor's result
checking for X11/Xft/XftFreetype.h... yes
checking for pkg-config... /sw/bin/pkg-config

The make error looks very related:
Quote:
In file included from pangoxft-font.c:27:
/usr/X11R6/include/X11/Xft/XftFreetype.h:73: parse error before '*' token
/usr/X11R6/include/X11/Xft/XftFreetype.h:74: warning: type defaults to `int' in declaration of `XftFreeTypeOpen'
/usr/X11R6/include/X11/Xft/XftFreetype.h:74: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/XftFreetype.h:77: parse error before "XftFontStruct"
/usr/X11R6/include/X11/Xft/XftFreetype.h:79: parse error before '*' token
/usr/X11R6/include/X11/Xft/XftFreetype.h:80: warning: type defaults to `int' in declaration of `XftFreeTypeGet'
/usr/X11R6/include/X11/Xft/XftFreetype.h:80: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/XftFreetype.h:88: parse error before "XftFontStruct"
/usr/X11R6/include/X11/Xft/XftFreetype.h:94: parse error before "XftFontStruct"
/usr/X11R6/include/X11/Xft/XftFreetype.h:101: parse error before "XftFontStruct"
/usr/X11R6/include/X11/Xft/XftFreetype.h:108: parse error before "XftFontStruct"
/usr/X11R6/include/X11/Xft/XftFreetype.h:115: parse error before "XftFontStruct"
/usr/X11R6/include/X11/Xft/XftFreetype.h:122: parse error before "XftFontStruct"
/usr/X11R6/include/X11/Xft/XftFreetype.h:129: parse error before "XftFontStruct"
/usr/X11R6/include/X11/Xft/XftFreetype.h:136: parse error before "XftFontStruct"
/usr/X11R6/include/X11/Xft/XftFreetype.h:143: parse error before "XftFontStruct"
/usr/X11R6/include/X11/Xft/XftFreetype.h:150: parse error before "XftFontStruct"
/usr/X11R6/include/X11/Xft/XftFreetype.h:157: parse error before "XftFontStruct"
pangoxft-font.c: In function `pango_xft_real_render':
pangoxft-font.c:317: structure has no member named `u'
pangoxft-font.c:330: structure has no member named `u'
pangoxft-font.c: In function `load_fallback_font':
pangoxft-font.c:717: structure has no member named `u'
pangoxft-font.c: In function `pango_xft_font_get_font':
pangoxft-font.c:766: structure has no member named `u'
pangoxft-font.c: In function `pango_xft_font_get_face':
pangoxft-font.c:842: structure has no member named `core'
pangoxft-font.c:845: structure has no member named `u'
make[3]: *** [pangoxft-font.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
### execution of make failed, exit code 2
Failed: compiling pango1-1.0.4-2 failed

Has anyone experienced this, or do you know how to fix it?

Thanks,
Geoff
fragerybou is offline   Reply With Quote
Old 10-27-2002, 01:22 AM   #2
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
fragerybou,

I think the problem comes from the new freetype2 code in XFree86-4.2.99. During their reshuffling of freetype stuff, they moved the definition of XftFontStruct from <X11/Xft/Xft.h> to XftFreetype.h.

I am doing the same update-all right now. Will come back to you again later.


Cheers...

PS: Just checking...what version of xfree86 do you have, and did you install it with Fink?

Last edited by sao; 10-27-2002 at 01:26 AM.
sao is offline   Reply With Quote
Old 10-27-2002, 05:19 AM   #3
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
fragerybou,

Just finished updating to pango1-1.0.4-2 and it works for me, in my main machine.

It seems to me the incompatibility between various versions of freetype is very annoying. It works in some cases but not in others.

I asked Martin Costabel about this problem and he asked me how your compiler command lines look like at this point:
Code:
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPANGO_ENABLE_BACKEND 
-DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/sw/etc\" -DLIBDIR=\"/sw/lib\" -DMODULE_VERSION=\"1.0.0\" 
-DG_DISABLE_DEPRECATED -I/usr/X11R6/include -I/sw/include/freetype2 -I/sw/include -I..  
-no-cpp-precomp  -O3 -funroll-loops -fstrict-aliasing -Wall -D_REENTRANT -I/sw/include/glib-2.0 
-I/sw/lib/glib-2.0/include   -c pangoxft-font.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPANGO_ENABLE_BACKEND DPANGO_ENABLE_ENGINE 
-DSYSCONFDIR=\"/sw/etc\" -DLIBDIR=\"/sw/lib\" -DMODULE_VERSION=\"1.0.0\" 
-DG_DISABLE_DEPRECATED -I/usr/X11R6/include -I/sw/include/freetype2 -I/sw/include -I.. 
-no-cpp-precomp -O3 -funroll-loops -fstrict-aliasing -Wall -D_REENTRANT -I/sw/include/glib-2.0 
-I/sw/lib/glib-2.0/include -c pangoxft-font.c  -fno-common -DPIC -o pangoxft-font.lo
And as I asked you above, please post the versions of xfree86 and also of the fink freetype2 packages you have installed.


Cheers...

Last edited by sao; 10-27-2002 at 05:29 AM.
sao is offline   Reply With Quote
Old 10-27-2002, 08:55 AM   #4
BraindeadMac
Triple-A Player
 
Join Date: Jan 2002
Location: Little Rock
Posts: 147
Re: recent fink update

Quote:
Originally posted by fragerybou
The other day did the usual fink selfupdate-cvs, and fink update-all, to find that a new version was out on cvs. It's now 0.11.0 for the package manager version, and 0.4.9.cvs for the distribution version. In any case, one of the updates it wanted to perform was pango1, pango1-dev, and pango1-shlibs. Halfway into the compiling for pango1, it fails out. I did some checking of the configure process and found the following:

Yeap, qt depends on the same library and I can't build kde as a consequence, as I get the same error in Xfreetype.... I'm starting with a fresh install of fink, with local builds of all the packages. Kind of happens fast on the dual 1.25 Like builds of xfree86 in under 30 minutes
BraindeadMac is offline   Reply With Quote
Old 10-27-2002, 10:51 AM   #5
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
BraindeadMac,

It would be very interesting to know what version of xfree86 and what version of freetype2 have you installed in your system before.

Did you installed xfree86 with Fink or from 'xfree86.org' and 'system-xfree86' installed after with Fink?

Do you still have the qt-compile-log errors?

Probably, a way to succeed compiling qt, would be to move /usr/X11R6 include/X11/Xft out of the way, which will give you no support for XftFreeType, but it will let you install it.


Cheers...

Last edited by sao; 10-27-2002 at 11:03 AM.
sao is offline   Reply With Quote
Old 10-27-2002, 04:12 PM   #6
BraindeadMac
Triple-A Player
 
Join Date: Jan 2002
Location: Little Rock
Posts: 147
Quote:
Originally posted by sao
BraindeadMac,

It would be very interesting to know what version of xfree86 and what version of freetype2 have you installed in your system before.

Did you installed xfree86 with Fink or from 'xfree86.org' and 'system-xfree86' installed after with Fink?

Do you still have the qt-compile-log errors?

Probably, a way to succeed compiling qt, would be to move /usr/X11R6 include/X11/Xft out of the way, which will give you no support for XftFreeType, but it will let you install it.


Cheers...

As I said, it's a fresh install of fink on my Dual 1.25, using the system-xfree86 package. I've tried multiple XFree86 configurations actually. I built xfree86 from the cvs source from xfree86.org because the xfree86-rootless package XDarwin.app built from within fink crashes on my Dual 1.25. The CVS builds led to the failure to compile qt; I get the same XftFreetype.h parse errors as fragerybou reported in the start of this thread. I am not unique as the same thread exists on apple.com.... Indeed cvs source from Friday builds an XDarwin.app that can't complete launching on the Dual G4 whereas the Wednesday cvs release worked nicely (and includes improved graphics performance)....

I'm fairly sure (85% confident) that the xfree86-rootless package (4.2.0.1) and xfree86-rootless-threaded packages will let qt compile; unfortunately the whole kde 3.1b package in unstable won't build due to other errors and I'm left with kde that wouldn't work (once I built a working xfree86).

As far as the freetype version installed, it was either of the two dependencies given by fink for the install. I believe there were two options and I tried both--cant be an any more specific, but did try with freshly updated (from cvs) fink 10/26.

To get KDE installed I wound up using the three binary package installers for XFree86 from the xonx project and then installed the kde 3.0.2 binaries using apt-get. Wound up being a whole lot less frustrating.
BraindeadMac is offline   Reply With Quote
Old 10-28-2002, 01:13 AM   #7
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
BraindeadMac,

You can save a lot of time if you read carefully the indications at the Fink site of how to upgrade Fink to 10.2 or install from scratch in 10.2.

I would recommend if you install Fink from scratch to install 'Xfree86' by installing the Fink packages 'xfree86-base' and 'xfree86-rootless' from source. ( 'fink install packagename' )

The reason why I asked about which version of Xfree86 you installed before, is because it seems that the errors with freetype and qt appear (as I have observed in several reports from users having the same problems) when you install Xfree86 from cvs from xfree86.org.

Quote:
BraindeadMac wrote:
To get KDE installed I wound up using the three binary package installers for XFree86 from the xonx project and then installed the kde 3.0.2 binaries using apt-get

You might be talking about 10.1.5, as there are no binary packages (you can't use apt-get) for 10.2 (Jaguar). If you want to install with Fink in Jaguar, at the moment, the only way is to install from source ('fink install packagename').

By the way, I installed from source 'all of kde' in Jaguar using of course unstable (the only way at the moment) without any kind of problems. (Except the installation of 'kuickshow' which failed at the beginning, but the problem was solved a week later)

Good luck with your new installation.


Cheers...
sao is offline   Reply With Quote
Old 10-28-2002, 07:11 AM   #8
BraindeadMac
Triple-A Player
 
Join Date: Jan 2002
Location: Little Rock
Posts: 147
Quote:
Originally posted by sao
BraindeadMac,

You can save a lot of time if you read carefully the indications at the Fink site of how to upgrade Fink to 10.2 or install from scratch in 10.2.

I would recommend if you install Fink from scratch to install 'Xfree86' by installing the Fink packages 'xfree86-base' and 'xfree86-rootless' from source. ( 'fink install packagename' )

The reason why I asked about which version of Xfree86 you installed before, is because it seems that the errors with freetype and qt appear (as I have observed in several reports from users having the same problems) when you install Xfree86 from cvs from xfree86.org.


You might be talking about 10.1.5, as there are no binary packages (you can't use apt-get) for 10.2 (Jaguar). If you want to install with Fink in Jaguar, at the moment, the only way is to install from source ('fink install packagename').

By the way, I installed from source 'all of kde' in Jaguar using of course unstable (the only way at the moment) without any kind of problems. (Except the installation of 'kuickshow' which failed at the beginning, but the problem was solved a week later)

Good luck with your new installation.


Cheers...

Uh, I did follow the fink site instructions to the letter, I'm not sure you read my post carefully. This worked fine on my Powerbook G4. As I said, the latest xfree86 packages built from fink do not run on my Dual 1.25--XDarwin.app crashes at every launch. I have actually rebuilt it a couple of times, trying both the threaded and non-threaded packages. The latest binary installers from the xonx project do work fine, though.

The problems I had with qt appear to have been resolved with getting rid of the cvs build as well, and I'm in the process of updating the kde build now....

And since I'm talking about a dual 1.25, I'm talking about 10.2 since 10.1.5 doesn't fully support the machine....And yes, apt-get did work just fine, thanks (and yes, there appear to be some binary packages, you have to update apt-get).
BraindeadMac is offline   Reply With Quote
Old 10-28-2002, 09:53 AM   #9
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
Quote:
BraindeadMac wrote:
As I said, the latest xfree86 packages built from fink do not run on my Dual 1.25--XDarwin.app crashes at every launch

I haven't read any reports in the Fink-users, Fink-beginners or fink-developer lists about not being able to install Fink xfree86 packages in 10.2.1 on dual 1.25 machines. Have you reported or posted your problem to the Fink-lists?

I have read reports of people compiling with Fink in the same machine as yours without difficulty. Sorry, your problem is new to me.

But, by any chance, do you still keep any of the compiling-log errors you got?

A friend of mine has a dual 800Mhz G4 machine (not like yours, I know) and running a freshly bootstrapped Fink on 10.2. He had KDE built without problems on his machine. But he had only installed what came on the Jag CDs and some other third party sofware together with a lot of packages he installed with Fink.

At the same time, the only reports I have read about some problems with dual processors machines and compiling Fink packages were after users installed Norton systemsworks on a G4 2x 800 MHz processor machine and immediately experiencing massive kernel panics. And some have reported kernel panics during the build of various fink packages until they disabled all Norton automatic features in FileSaver and Virusscan.

Do you have Symantec AntiVirus, Norton SystemWorks or a similar program installed?

Anyhow, it might not be your problem at all, but I would still recommend if you have any AntiVirus software to kill it either from the command line or from Process Viewer application before compiling with Fink.

Quote:
BraindeadMac wrote:
And yes, apt-get did work just fine, thanks (and yes, there appear to be some binary packages, you have to update apt-get)

I am not aware of any Fink binary packages for 10.2, as far as I know, a binary distribution for Jaguar does not exist yet, could you point me to where you got the information?

I think many binary packages will act erratically (if at all) under Jaguar.

I have installed apt-0.5.4-6, what version do you have?


Cheers...

Last edited by sao; 10-28-2002 at 10:54 AM.
sao is offline   Reply With Quote
Old 10-28-2002, 01:11 PM   #10
BraindeadMac
Triple-A Player
 
Join Date: Jan 2002
Location: Little Rock
Posts: 147
Quote:
Originally posted by sao
I haven't read any reports in the Fink-users, Fink-beginners or fink-developer lists about not being able to install Fink xfree86 packages in 10.2.1 on dual 1.25 machines. Have you reported or posted your problem to the Fink-lists?

I have read reports of people compiling with Fink in the same machine as yours without difficulty. Sorry, your problem is new to me.

But, by any chance, do you still keep any of the compiling-log errors you got?

A friend of mine has a dual 800Mhz G4 machine (not like yours, I know) and running a freshly bootstrapped Fink on 10.2. He had KDE built without problems on his machine. But he had only installed what came on the Jag CDs and some other third party sofware together with a lot of packages he installed with Fink.

At the same time, the only reports I have read about some problems with dual processors machines and compiling Fink packages were after users installed Norton systemsworks on a G4 2x 800 MHz processor machine and immediately experiencing massive kernel panics. And some have reported kernel panics during the build of various fink packages until they disabled all Norton automatic features in FileSaver and Virusscan.

Do you have Symantec AntiVirus, Norton SystemWorks or a similar program installed?

Anyhow, it might not be your problem at all, but I would still recommend if you have any AntiVirus software to kill it either from the command line or from Process Viewer application before compiling with Fink.


I am not aware of any Fink binary packages for 10.2, as far as I know, a binary distribution for Jaguar does not exist yet, could you point me to where you got the information?

I think many binary packages will act erratically (if at all) under Jaguar.

I have installed apt-0.5.4-6, what version do you have?


Cheers...

Yes, I read about the problems with virus programs--sorry, none running. I have mysql, emboss, cns, gd, libjpeg, wu-imap, maybe a couple of others installed outside of fink stuff (all in /usr/local).

I also was a bit surprised to have difficulties although I only get fink-users; fairly standard machine except for Atto SCSI board installed. Crashes seemed unrelated to the SCSI board and XDarwin runs from one of the IDE disks. Whatever, the binaries from xonx work fine.

I haven't had any problems with the binaries I installed with apt-get, but I certainly didn't install a lot of them either, mainly kde. I just got tired of waiting for the fully compatible version of fink for 10.2 to come out, and needed to use some X11 apps.

I thought dpkg listed some packages for 10.2, maybe I'm mistaken.

I'm not able to log into my mac right now--but i'm guessing i'm at apt-0.5.4-6--latest version I would guess.
BraindeadMac is offline   Reply With Quote
Old 10-28-2002, 02:16 PM   #11
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
BraindeadMac,

Well, for the record, I confirmed that there is no Fink binary packages for Jaguar yet. Let's no spread false information.

And, as apt-get 'only' knows about binary packages, you have been installing 10.1 binary packages in 10.2. (uhmm.....)

Probably, you got confused, because the 0.4.1 distribution (which is definitely 10.1 only) was released *after* the appearance of Jaguar. Doesn't mean that it works under Jaguar.

Some of the binaries precompiled for 10.1 do actually still work under 10.2, but while this is true, there are also quite a lot that don't, and nobody has bothered to make a list of those that can still be safely used.

Quote:
BraindeadMac wrote:
I haven't had any problems with the binaries I installed with apt-get, but I certainly didn't install a lot of them either, mainly kde

And, I just read a post from Benjamin Reed (the KDE package maintainer) also confirming that the KDE binary packages will act erratically (if at all) under Jaguar. So then, I wish you good luck with your installation.

And yes, the XFree86 binary installation from the Xonx project should work very fine indeed. I find no problem there.

What was very interesting to me was your problem that the latest xfree86 packages built from fink did not run on your Dual 1.25--and that the XDarwin.app was crashing at every launch for you, especially when I know that the Fink packages and the XDarwin.app work fine for others using the same machine as yours.

Anyhow, I have a feeling that very soon they will release Fink 0.5.0. which will be fully compatible with 10.2 (Jaguar).


Cheers...
sao is offline   Reply With Quote
Old 10-28-2002, 09:42 PM   #12
BraindeadMac
Triple-A Player
 
Join Date: Jan 2002
Location: Little Rock
Posts: 147
sao,

yes you are correct, the packages under apt-get are for 10.1. That said, the KDE binary (3.0.2) seems to work fine under 10.2 for me. I've not had any problems despite a number of hours up and running.

Still having big troubles building the latest unstable version of KDE with fink--during the last attempt to build KDE I had a kernel crash! Only the fifth or sixth kernel panic I've seen so far since last 10.0 beta. (Well OK ,there was this PB Lombard that had a kernel panic daily but that was a hardware thing). Unfortunately, the crash seems to have left fink quite unstable as I get a broken pipe error trying to update any packages....and one of the subdirectories is munged so I can't delete the empty folders beneath it....Time for Disk Warrior....
BraindeadMac is offline   Reply With Quote
Old 10-29-2002, 12:59 AM   #13
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
Quote:
BraindeadMac wrote:
Still having big troubles building the latest unstable version of KDE with fink--during the last attempt to build KDE I had a kernel crash!

That's what I meant by wishing you good luck with your installation. And that's why I talked above about kernel panics... This shouldn't happen if you follow the procedures for upgrading Fink to 10.2 or installing from scratch Fink in 10.2.

If you are happy 'mixing' and with the condition of your current installation, well, I wish you luck...but I don't think you will succeed upgrading KDE to the current version which is 3.0.7-3 (from unstable).

Whenever you want to start again, and establish a solid 10.2 Fink base, let me know, and we can do it together. Or, don't expect much from your current installation and wait for the Fink-0.5.0 release.

Whatever you choose, I wish you luck.


Cheers...
sao is offline   Reply With Quote
Old 11-02-2002, 07:24 AM   #14
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
About Fink 0.5.0...

From what I understand, Fink 0.5.0 is the binary version of Fink, and you surely will save some time by not having to compile the source code for Fink.

But, I don't know if all other packages will have the binaries available once they release Fink 0.5.0. Most probably, many packages will not be available for some time. This will depend on users testing the packages from unstable, (at the moment, they are all in unstable) and giving feedback to the package maintainer.

I would recommend to anybody willing to build packages from source to upgrade Fink or install from scratch for 10.2 now, as the current installation procedure is not so difficult and quite clearly explained.


Cheers...

Last edited by sao; 11-02-2002 at 08:18 AM.
sao is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 06:13 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.