n 06/03/14 01:24 PM, Rusmir Dusko wrote:
>> On 06/03/14 10:09 AM, Rusmir Dusko wrote:  
>>> Have to try to use from old version 0.80.1 pieces-7439.zip
>>>
>>> library.bin
>>>> Or plain LDraw folder /usr/local/share/ldraw copied to
>>>>
>>>> /usr/local/share/leocad    
>> 
>>   
>>> By default, it expects a directory $PREFIX/share/leocad/library.bin  
>>   
>>> That library.bin is the root of ldraw and should contain "p", "parts",
>>> "LDConfig.ldr", etc.
>>> (this is the content of the "ldraw" directory as put in the official
>>> LDraw .zip)  
>> 
>> ls -l /usr/local/share/ldraw
>> total 1249
>> -r--r--r--  1 root  wheel   15266 21 Jul  2013 LDCfgalt.ldr
>> -r--r--r--  1 root  wheel   25867 21 Jul  2013 LDConfig.ldr
>> -r--r--r--  1 root  wheel     152  6 Jan  2010 LDConfig_TLG.ldr
>> -r-xr-xr-x  1 root  wheel   15112  5 Mar 18:27 mklist
>> drwxr-xr-x  2 root  wheel      50  5 Mar 18:26 models
>> drwxr-xr-x  4 root  wheel     874  5 Mar 18:29 p
>> drwxr-xr-x  3 root  wheel    7934  5 Mar 18:29 parts
>> -rw-r--r--  1 root  wheel  500093  5 Mar 18:27 parts.lst
>> 
>   
>>> A symlink works.  
>> 
>> I have used, not helps, but this is best Soluttion if works
> 
>> ln -s /usr/local/share/ldraw /usr/local/share/leocad  

>Because it should be

>  ln -s /usr/local/share/ldraw /usr/local/share/leocad/library.bin

>As I said previoiusly.

I have now used

ln -s /usr/local/share/ldraw /usr/local/share/leocad/library.bin

ls -l /usr/local/share/leocad/library.bin
lrwxr-xr-x  1 root  wheel  22  6 Mar 19:50 /usr/local/share/leocad/library.bin 
-> /usr/local/share/ldraw

And have again get

'LeoCAD could not find a compatible Pieces Library so only a small number of 
pieces will be available.

Please visit http://www.leocad.org for information on how to download and 
install a library.'

>>> Alternatively you can set the path of the library in $LEOCAD_LIB
>>> Or pass the -l option.  
>> 
>> I can't expect that one user use enviroment Variables or -l  

>See above for the packager solution


-- 
Best regards,
Rusmir Dusko
_______________________________________________
Leocad mailing list
[email protected]
https://list.gerf.org/listinfo/leocad

Reply via email to