Thanks for all of the quick responses.  I didn't realize /usr/local
would cause a problem (obviously since I usually try to avoid shooting
myself in the foot right away :-)  so per your recommendation I will
choose option 1.

Thanks again!
Brian

On 11/10/2011 11:24 AM, Alexander Hansen wrote:
> On 11/10/11 10:33 AM, Brian White wrote:
>> Hello.  My ultimate goal is to install fftw3.  The install command
>> brought up quite a few required packages which I said yes to
>> installing.  The install fails on the fontconfig2-dev package reporting
>> some kind of header error.  I've run 'fink selfupdate' and no changes
>> are detected.  If I try to run 'fink install fontconfig2-dev' I see
>> error which I've included below.  Any help you can give would be greatly
>> appreciated.
>>
>> Thanks. Brian
>>
>> Making all in conf.d
>> make[2]: Nothing to be done for `all'.
>> Making all in test
>> make[2]: Nothing to be done for `all'.
>> make[2]: Nothing to be done for `all-am'.
>> fink-package-precedence --prohibit-bdep fontconfig2-dev .
>> Scanning /\.Plo,\.Po$/ dependency files...
>>      ./doc/.deps/edit-sgml.Po
>>      ./fc-arch/.deps/fc-arch.Po
>>      ./fc-cache/.deps/fc-cache.Po
>>      ./fc-case/.deps/fc-case.Po
>>      ./fc-cat/.deps/fc-cat.Po
>>      ./fc-glyphname/.deps/fc-glyphname.Po
>>      ./fc-lang/.deps/fc-lang.Po
>>      ./fc-list/.deps/fc-list.Po
>>      ./fc-match/.deps/fc-match.Po
>>      ./fc-query/.deps/fc-query.Po
>>      ./fc-scan/.deps/fc-scan.Po
>>      ./src/.deps/fcatomic.Plo
>>      ./src/.deps/fcblanks.Plo
>>      ./src/.deps/fccache.Plo
>>      ./src/.deps/fccfg.Plo
>>      ./src/.deps/fccharset.Plo
>>      ./src/.deps/fcdbg.Plo
>>      ./src/.deps/fcdefault.Plo
>>      ./src/.deps/fcdir.Plo
>>      ./src/.deps/fcformat.Plo
>>      ./src/.deps/fcfreetype.Plo
>>      ./src/.deps/fcfs.Plo
>>      ./src/.deps/fcinit.Plo
>>      ./src/.deps/fclang.Plo
>>      ./src/.deps/fclist.Plo
>>      ./src/.deps/fcmatch.Plo
>>      ./src/.deps/fcmatrix.Plo
>>      ./src/.deps/fcname.Plo
>>      ./src/.deps/fcpat.Plo
>>      ./src/.deps/fcserialize.Plo
>>      ./src/.deps/fcstr.Plo
>>      ./src/.deps/fcxml.Plo
>>      ./src/.deps/ftglue.Plo
>> Looking for incorrect headers in 33 dependency files...
>>       ./src/.deps/fcxml.Plo uses /usr/local/fink/v0.31.4/include/expat.h
>>       ./fc-query/.deps/fc-query.Po uses
>> /usr/local/fink/v0.31.4/include/freetype2/freetype/config/ftconfig.h
>>       ./fc-query/.deps/fc-query.Po uses
>> /usr/local/fink/v0.31.4/include/freetype2/freetype/config/ftheader.h
>>       ./fc-query/.deps/fc-query.Po uses
>> /usr/local/fink/v0.31.4/include/freetype2/freetype/config/ftoption.h
>>       ./fc-query/.deps/fc-query.Po uses
>> /usr/local/fink/v0.31.4/include/freetype2/freetype/config/ftstdlib.h
>>       ./fc-query/.deps/fc-query.Po uses
>> /usr/local/fink/v0.31.4/include/freetype2/freetype/freetype.h
>>       ./src/.deps/fcfreetype.Plo uses
>> /usr/local/fink/v0.31.4/include/freetype2/freetype/ftbdf.h
>>       ./fc-query/.deps/fc-query.Po uses
>> /usr/local/fink/v0.31.4/include/freetype2/freetype/fterrdef.h
>>       ./fc-query/.deps/fc-query.Po uses
>> /usr/local/fink/v0.31.4/include/freetype2/freetype/fterrors.h
>>       ./fc-query/.deps/fc-query.Po uses
>> /usr/local/fink/v0.31.4/include/freetype2/freetype/ftimage.h
>>       ./src/.deps/fcfreetype.Plo uses
>> /usr/local/fink/v0.31.4/include/freetype2/freetype/ftmodapi.h
>>       ./fc-query/.deps/fc-query.Po uses
>> /usr/local/fink/v0.31.4/include/freetype2/freetype/ftmoderr.h
>>       ./src/.deps/fcfreetype.Plo uses
>> /usr/local/fink/v0.31.4/include/freetype2/freetype/ftsnames.h
>>       ./fc-query/.deps/fc-query.Po uses
>> /usr/local/fink/v0.31.4/include/freetype2/freetype/ftsystem.h
>>       ./fc-query/.deps/fc-query.Po uses
>> /usr/local/fink/v0.31.4/include/freetype2/freetype/fttypes.h
>>       ./src/.deps/fcfreetype.Plo uses
>> /usr/local/fink/v0.31.4/include/freetype2/freetype/ftxf86.h
>>       ./src/.deps/fcfreetype.Plo uses
>> /usr/local/fink/v0.31.4/include/freetype2/freetype/t1tables.h
>>       ./src/.deps/fcfreetype.Plo uses
>> /usr/local/fink/v0.31.4/include/freetype2/freetype/ttnameid.h
>>       ./src/.deps/fcfreetype.Plo uses
>> /usr/local/fink/v0.31.4/include/freetype2/freetype/tttables.h
>>       ./fc-query/.deps/fc-query.Po uses
>> /usr/local/fink/v0.31.4/include/ft2build.h
>> Please fix build process to get consistent use of fink's headers.
>> ### execution of fink-package-precedence failed, exit code 255
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /usr/local/fink/v0.31.4/bin/dpkg-lockwait -r
>> fink-buildlock-fontconfig2-dev-2.8.0-7
>> (Reading database ... 13619 files and directories currently installed.)
>> Removing fink-buildlock-fontconfig2-dev-2.8.0-7 ...
>> Failed: phase compiling: fontconfig2-dev-2.8.0-7 failed
>>
>> Before reporting any errors, please run "fink selfupdate" and try again.
>> If you continue to have issues, please check to see if the FAQ on Fink's
>> website solves the problem.  If not, ask on one of these mailing lists:
>>
>>      The Fink Users List<[email protected]>
>>      The Fink Beginners List<[email protected]>.
>>
>> Please try to include the complete error message in your report.  This
>> generally consists of a compiler line starting with e.g. "gcc" or "g++"
>> followed by the actual error output from the compiler.
>>
>> Also include the following system information:
>> Package manager version: 0.31.4
>> Distribution version: selfupdate-rsync Thu Nov 10 10:01:48 2011, 10.7,
>> x86_64
>> Trees: local/main stable/main
>> Xcode: 4.2
>>
>>
>
> The fink-package-precedence script flags stuff in /usr/local as being
> not installed by Fink.  Unfortunately, since you decided to put Fink
> within that directory, _any_ package which uses that script (and there
> are many) is going to flag your Fink installation as bad.  As I see
> it, the options are:
>
> 1)  Pick a different install location.  If you don't like the default
> "/sw" maybe try "/opt/Fink" (and the 'v0.31.4' subdirectory is
> meaningless because the fink package manager changes versions
> reasonably often without changing the whole distribution).
>
> If you decide to go with this route, you may want to consult
>
> http://finkers.wordpress.com/2009/08/31/starting-anew/
>
> for information on how to save a list of your current packages.
>
> 2)  If you know Perl, you can hack the
> /usr/local/fink/v0.31.4/bin/fink-package-precedence script not mark
> your Fink tree as bad.  You could also simply have it just return a
> success value, or even replace it with a shell script that does the
> same thing, if you're more comfortable in shell than Perl.
>
> 3)  I've cc'ed the maintainer, in case he decides that having Fink
> within a private subdirectory of /usr/local is OK and decides to
> modify the script accordingly.
>
> 4)  You can hack the package description files yourself (if you use
> "fink dumpinfo -finfofile <pkgname>" that will tell you where the file
> for <pkgname> resides) and remove calls to "fink-package-precedence".
>
> If you go with this route, I recommend making local copies of the
> files and working with them:
>
> http://finkers.wordpress.com/2009/07/24/creating-local-packages/
>
> Note that options 2 and 4 void your Fink "warranty" for bug reports,
> as you will have made local modifications to your Fink tree.
>
> I'd recommend option 1) to minimize your future grief.

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to