List Info

Thread: Re: Freetype problem (?)




Re: Freetype problem (?)
country flaguser name
France
2008-04-21 14:33:36
Sam McMyler wrote:
[]
> Finally, I run
> 
>     find * | grep ".la" | 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 <http://libiconv.la>
-lXpm -lX11
>     /sw/lib/libjpeg.la <http://libjpeg.la>
-lfontconfig
>     /Users/Z/Desktop/FreeType//lib/libfreetype.la
>     <http://libfreetype.la> /sw/lib/libpng12.la <http://libpng12.la>
>     -lz* not found.

There was something wrong with the command. Instead of

xargs grep "/Users/Z"

it should use

xargs -l grep "/Users/Z"

Otherwise dpkg is right to be confused. (In addition,
"sort | uniq" 
instead of just "uniq" might be a good idea,
too.)

But anyway, the file that contains the bad string is
identified in your 
error message: It is libgd.la which comes from the gd2
package.

So you want to run "fink rebuild gd2".

-- 
Martin


------------------------------------------------------------
-------------
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 (?)
country flaguser name
United States
2008-04-21 15:52:57
Martin Costabel wrote:
> Sam McMyler wrote:
> []
>   
>> Finally, I run
>>
>>     find * | grep ".la" | 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 <http://libiconv.la>
-lXpm -lX11
>>     /sw/lib/libjpeg.la <http://libjpeg.la>
-lfontconfig
>>     /Users/Z/Desktop/FreeType//lib/libfreetype.la
>>     <http://libfreetype.la> /sw/lib/libpng12.la <http://libpng12.la>
>>     -lz* not found.
>>     
>
> There was something wrong with the command. Instead of
>
> xargs grep "/Users/Z"
>
> it should use
>
> xargs -l grep "/Users/Z"
>
> Otherwise dpkg is right to be confused. 
Ooops.  Yeah, I noticed that, and had to run off to teach
class before I 
could email a correction.

> (In addition, "sort | uniq" 
> instead of just "uniq" might be a good idea,
too.)
>
>   
Right--totally forgot that:

So the command should have been

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


> But anyway, the file that contains the bad string is
identified in your 
> error message: It is libgd.la which comes from the gd2
package.
>
> So you want to run "fink rebuild gd2".
>
>   
There's no libpng12 package.  Had my script done what it was
supposed to 
have, you would have rebuilt libpng3 

------------------------------------------------------------
-------------
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

[1-2]

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