Sam McMyler wrote:
> Hello all,
>
> It looks like I'm having problems installing graphviz.  I get this 
> when running 'fink update-all' after the install has failed:
>
>     grep: /Users/Z/Desktop/FreeType//lib/libfreetype.la
>     <http://libfreetype.la>: No such file or directory
>     sed: /Users/Z/Desktop/FreeType//lib/libfreetype.la
>     <http://libfreetype.la>: No such file or directory
>     libtool: link: `/Users/Z/Desktop/FreeType//lib/libfreetype.la
>     <http://libfreetype.la>' is not a valid libtool archive
>     make[3]: *** [libcommon.la <http://libcommon.la>] Error 1
>     make[2]: *** [all-recursive] Error 1
>     make[1]: *** [all-recursive] Error 1
>     make: *** [all] Error 2
>     ### execution of make failed, exit code 2
>     Removing runtime build-lock...
>     Removing build-lock package...
>     /sw/bin/dpkg-lockwait -r fink-buildlock-graphviz-1.16-1013
>     (Reading database ... 54740 files and directories currently
>     installed.)
>     Removing fink-buildlock-graphviz-1.16-1013 ...
>     Failed: phase compiling: graphviz-1.16-1013 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 the
>     fink-users
>     or fink-beginners mailing lists, with a carbon copy to the maintainer:
>
>
> I have a feeling it has something to do with installing Darwine from a 
> .pkg but I'm not sure.  That seems to be the idea in this discussion 
> but I can't really follow it.  http://paste.lisp.org/display/55344
>
> The directory /Users/Z/ has never existed on my machine.  Anyways, 
> this happens with several different packages, not just gnome (which is 
> why graphviz fink is trying to install graphviz, I believe.)  Also, 
> I've followed the directions and run "fink selfupdate" and then "fink 
> update-all".  The problem reappears when it update's all.
>
> Thanks for your help!
> ------------------------------------------------------------------------
Yeah, it's due to the Darwine package not being constructed correctly, 
and by building while it was installed you've tainted your system.

Start by doing the following:

Rename /usr/local  temporarily

Make sure that there isn't a /usr/bin/freetype-config

Then run the following commands in a terminal

cd /sw/lib

find * | grep "\.la" | xargs grep "/Users/Z" | xargs dpkg -S | cut -d: 
-f1 | uniq

That should tell you which packages have libtool archives that are 
tainted by pointing to a nonexistent file.  You'll then want to "fink 
rebuild" those packages.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to