MC & AH (well, and the rest of the fink users' and gurus' group):
I've removed freetype and left freetype2. I also included extra error messages from the install failure. I pasted more detailed descriptions and excerpts below.
I'll leave the terminal window open in case you need more errors. :)
James Dasher wrote:
Error messages [lots of similar error messages precede the tail-end presented here]:
.
.
nsFreeType.cpp:988: error: `platform_id' undeclared (first use this function)
You should give the output at least from the last compiler command line. There may be a "file not found" error earlier that would help understanding.
The last file "not found" error before the install failed was:
ld: warning -dylib_install_name /sw/lib/mozilla/libgkgfx.dylib not found in segment address table LD_SEG_ADDR_TABLE /sw/var/lib/fink/prebound/seg_addr_table
ld: warning prebinding not disabled because (__TEXT segment (address = 0x0 size = 0x20000) of libgkgfx.dylib overlaps with __TEXT segment (address = 0x0 size = 0x9a000) of /sw/lib/mozilla/libxpcom.dylib
ld: warning prebinding not disabled because (__TEXT segment (address = 0x0 size = 0x20000) of libgkgfx.dylib overlaps with __TEXT segment (address = 0x0 size = 0xd000) of /sw/lib/mozilla/libplds4.dylib
ld: warning prebinding not disabled because (__TEXT segment (address = 0x0 size = 0x20000) of libgkgfx.dylib overlaps with __DATA segment (address = 0xd000 size = 0x1000) of /sw/lib/mozilla/libplds4.dylib
... and I appended some of the subsequent messages for context.
nsFreeType.cpp:989: error: `encoding_id' undeclared (first use this function)
nsFreeType.cpp:992: error: invalid use of undefined type `struct FT_FaceRec_'
nsFreeType.h:41: error: forward declaration of `struct FT_FaceRec_'
nsFreeType.cpp:993: error: invalid use of undefined type `struct FT_FaceRec_'
This looks like the usual freetype mixup. See the Fink FAQ.
Good point. That helped. Can't believe I missed it in the FAQ, but there you have it. (You must get tired of referring people to the FAQ....)
I attempted to search message archives, and found something that indicated I may want to update freetype to freetype2, which I did.
But did you remove the freetype package?
I somehow didn't actually have freetype installed, just a couple of the libraries. I removed the freetype packages (NOT the freetype2 packages that I just installed):
[localhost:/sw/fink] jamesd% fink list freetype
Information about 3113 packages read in 15 seconds.
freetype 1.3.1-7 TrueType font rendering library, version 1
freetype-bin 1.3.1-7 TrueType font rendering library, version 1
i freetype-hinting 1.3.1-8 TrueType font rendering library, version 1, hinting enabled
i freetype-hinting-bin 1.3.1-8 TrueType font rendering library, version 1, hinting enabled
i freetype-hinting-s... 1.3.1-8 TrueType font rendering library, version 1, hinting enabled
freetype-shlibs 1.3.1-7 TrueType font rendering library, version 1
i freetype2 2.1.3-21 TrueType font rendering library, version 2 (dummy)
freetype2-dev 2.1.3-21 TrueType font rendering library, version 2, headers
freetype2-hinting 2.1.3-21 TrueType font rendering library, version 2 (dummy)
freetype2-hinting-dev 2.1.3-21 TrueType font rendering library, version 2, headers
freetype2-hinting-... 2.1.3-21 TrueType font rendering library, version 2, shared libs
i freetype2-shlibs 2.1.3-21 TrueType font rendering library, version 2, shared libs
[localhost:/sw/fink] jamesd% fink remove freetype-hinting freetype-hinting-bin freetype-hinting-shlibs
/usr/bin/sudo /sw/bin/fink remove freetype-hinting freetype-hinting-bin freetype-hinting-shlibs
Password:
Information about 3113 packages read in 13 seconds.
dpkg --remove freetype-hinting freetype-hinting-bin freetype-hinting-shlibs
(Reading database ... 36160 files and directories currently installed.)
Removing freetype-hinting ...
Removing freetype-hinting-bin ...
dpkg: dependency problems prevent removal of freetype-hinting-shlibs:
enlightenment depends on freetype-shlibs | freetype-hinting-shlibs; however:
Package freetype-shlibs is not installed.
Package freetype-hinting-shlibs which provides freetype-shlibs is to be removed.
Package freetype-hinting-shlibs is to be removed.
enlightenment depends on freetype-shlibs | freetype-hinting-shlibs; however:
Package freetype-shlibs is not installed.
Package freetype-hinting-shlibs which provides freetype-shlibs is to be removed.
Package freetype-hinting-shlibs is to be removed.
dpkg: error processing freetype-hinting-shlibs (--remove):
dependency problems - not removing
Errors were encountered while processing:
freetype-hinting-shlibs
### execution of dpkg failed, exit code 1
Failed: can't batch-remove packages: freetype-hinting freetype-hinting-bin freetype-hinting-shlibs
... so I checked, and sure enough! I had forgotten that I installed enlightenment to try it out quite some time ago. I removed it, then removed the -shlibs package:
[localhost:/sw/fink] jamesd% fink list enlightenment
Information about 3113 packages read in 7 seconds.
i enlightenment 0.16.5-9 Themeable, featureful window manager
[localhost:/sw/fink] jamesd% fink remove enlightenment
/usr/bin/sudo /sw/bin/fink remove enlightenment
Information about 3113 packages read in 5 seconds.
dpkg --remove enlightenment
(Reading database ... 36081 files and directories currently installed.)
Removing enlightenment ...
[localhost:/sw/fink] jamesd% fink remove freetype-hinting-shlibs
/usr/bin/sudo /sw/bin/fink remove freetype-hinting-shlibs
Information about 3113 packages read in 5 seconds.
dpkg --remove freetype-hinting-shlibs
(Reading database ... 33204 files and directories currently installed.)
Removing freetype-hinting-shlibs ...
[localhost:/sw/fink] jamesd% fink list freetype
Information about 3113 packages read in 19 seconds.
freetype 1.3.1-7 TrueType font rendering library, version 1
freetype-bin 1.3.1-7 TrueType font rendering library, version 1
freetype-hinting 1.3.1-8 TrueType font rendering library, version 1, hinting enabled
freetype-hinting-bin 1.3.1-8 TrueType font rendering library, version 1, hinting enabled
freetype-hinting-s... 1.3.1-8 TrueType font rendering library, version 1, hinting enabled
freetype-shlibs 1.3.1-7 TrueType font rendering library, version 1
i freetype2 2.1.3-21 TrueType font rendering library, version 2 (dummy)
freetype2-dev 2.1.3-21 TrueType font rendering library, version 2, headers
freetype2-hinting 2.1.3-21 TrueType font rendering library, version 2 (dummy)
freetype2-hinting-dev 2.1.3-21 TrueType font rendering library, version 2, headers
freetype2-hinting-... 2.1.3-21 TrueType font rendering library, version 2, shared libs
i freetype2-shlibs 2.1.3-21 TrueType font rendering library, version 2, shared libs
... so I should be okay. (Shouldn't I?)
Just for kicks, I went ahead and started the mozilla install again. If it should work now that I've cleaned up the freetype confusion, then great! But if you think the problem is somewhere else, or you noticed some other boneheaded thing I forgot, please feel free to point it out. E.g., do I actually need to get rid of ALL freetype/freetype2 files for this to work?
PS Is there a safe way to remove unused/upgraded 10.2 and 10.2-gcc3.3 packages? Or should I let the proverbial sleeping dogs lie?
PPS I'm glad you both have day jobs to support your real careers as fink experts. Without you, this would take a lot longer, and I wouldn't learn so much.
------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
