Dan McGhee wrote:
> Bruce Dubbs wrote:
>   
>> Dan McGhee wrote:
>>
>>   
>>     
>>> I installed fontconfig 2.4.2 for this BLFS build. 
>>>     
>>>       
>> ...
>>
>>   
>>     
>>> `find / -xdev -type f -name "fontconfig.pc" -print` gave nothing. 
>>>     
>>>       
>> Then you don't have fontconfig installed properly.  It should be at
>>
>> /usr/lib/pkgconfig/fontconfig.pc
>>   
>>     
> That's what I figured cuz that's where it is on my PC--building on 
> laptop. Sooooo, I uninstalled and reinstalled fontconfig and 
> double-checked each step along the way. Fontconfig.pc was not installed 
> again. It got compiled--it's in the source tree--but it didn't get put 
> where it belongs.
>
> Because I use the more_control_package_helpers management system, 
> something like this usually ends up to be a permissions problem, but the 
> scripting usually kicks out an error message if that's the case. In this 
> case the permissions along the install path /usr/lib/pkgconfig are all 
> OK. I'm sure that installing it to the directory will work, but I sure 
> would like to know what went wrong with the fontconfig installation. 
> I've looked at the Makefile and install-sh and don't recognize any problems.
>
> Thanks, Bruce and Dan for the help.
>
>
>   
The package management system and my ignorance were the cause. 
"more_control_package_helpers" is scripted in such a way that any errors 
stop the process and then one can inspect the logs to find out what 
happened. This did not occur on either of my two installs of fontconfig.

When the TTF fonts of Xorg failed to install with a message like "can't 
write cache" I suspected fontconfig again and combed the install log 
file. There was an error, but since I had added the extra install 
commands from the book in such a way to get them logged,. the script did 
not go to the "test_pipe" when the install error occurred and the script 
reported success because "make install" was not the last install 
command. It was a permissions issue with /var/cache. I fixed it, and 
fontconfig, libXFT and all the Xorg fonts installed without a hitch.

The true fix for the way I do things is something I learned during the 
install of Xorg this time. '#! /bin/bash -e'.

Bruce and Dan you started me down the "right" thought path. Thanks ever 
so much.

Dan
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to