List Info

Thread: Freetype problem (?)




Freetype problem (?)
user name
2008-04-21 10:42:10
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: No such file or directory
sed: /Users/Z/Desktop/FreeType//lib/libfreetype.la: No such file or directory
libtool: link: `/Users/Z/Desktop/FreeType//lib/libfreetype.la' is not a valid libtool archive
make[3]: *** [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!
Re: Freetype problem (?)
country flaguser name
United States
2008-04-21 11:42:54
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://l
ibfreetype.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;1987
57673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Fink-beginners mailing list
Fink-beginnerslists.sourceforge.net
h
ttp://news.gmane.org/gmane.os.apple.fink.beginners

Re: Freetype problem (?)
user name
2008-04-21 12:57:23
Thanks for the help! ; Unfortunately, I'm still having problems.

Running
find * | grep ".la&quot; | xargs grep "/Users/Z" | xargs dpkg -S | cut -d: -f1 | uniq
&nbsp;
would give me

Can't use string ("&quot;) as a HASH ref while "strict refs" in use at /sw/lib/perl5/Fink/VirtPackage.pm line 970.
dpkg: *libgd.la:dependency_libs= -L/usr/X11R6/lib -L/sw/lib /sw/lib/libiconv.la -lXpm -lX11 /sw/lib/libjpeg.la -lfontconfig /Users/Z/Desktop/FreeType//lib/libfreetype.la /sw/lib/libpng12.la -lz* not found.

Then I would try 'fink rebuild libiconv&#39; which would fail "Can&#39;t use string ("&quot;) as a HASH ref while "strict refs" in use at /sw/lib/perl5/Fink/VirtPackage.pm line 970."

So I poked around line 970.  That lead me to /usr/X11R6/lib/pkgconfig which had an alias "freetype2.pc&quot; to /usr/local/ which I had moved.&nbsp; Thinking that that was the problem, I moved freetype2.pc to the desktop to see what would happen.&nbsp; Trying fink rebuild libiconv again it rebuilds, so I thought I did something right.

I then rebuilt libjpeg as well but not libpng12 because it says it's not there, "Failed: no package found for specification 'libpng12'!&quot;

Finally, I run
find * | grep ".la&quot; | xargs grep "/Users/Z" | xargs dpkg -S | cut -d: -f1 | uniq

again and it gives me.

dpkg: *libgd.la:dependency_libs= -L/usr/X11R6/lib -L/sw/lib /sw/lib/libiconv.la -lXpm -lX11 /sw/lib/libjpeg.la -lfontconfig /Users/Z/Desktop/FreeType//lib/libfreetype.la /sw/lib/libpng12.la -lz* not found.

So I'm not quite sure what I've done right or wrong.

Any suggestions?

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )