Le 24 avr. 08 à 20:03, Martin Costabel a écrit :

> Thibaut Cousin wrote:
> []
>> /usr/bin/install -c -p -m 644 'mymoneytransaction.h' '/sw/src/  
>> fink.build/root-kmymoney2-0.8.9-1001/sw/include/kmymoney/  
>> mymoneytransaction.h'
>>  /usr/bin/install -c -p -m 644 'mymoneyutils.h' '/sw/src/ 
>> fink.build/ root-kmymoney2-0.8.9-1001/sw/include/kmymoney/ 
>> mymoneyutils.h'
>> Making install in pics
>> make[3]: Nothing to be done for `install-exec-am'.
>> test -z "/sw/share/apps/kmymoney2/pics/" || ../../admin/install-sh - 
>> c - d "/sw/src/fink.build/root-kmymoney2-0.8.9-1001/sw/share/apps/  
>> kmymoney2/pics/"
>> mkdir: /sw/src/fink.build/root-kmymoney2-0.8.9-1001/sw/share/apps/  
>> kmymoney2/pics/: File exists
>
> This looks like it tries to find out if the directory already  
> exists, but it looks in the wrong place, in %p instead of %i. This  
> would explain why it works when you build and install it by hand:  
> You have no DESTDIR in that case.


   I made a few tries.
   In the kmymoney2.info file, the DESTDIR is %d and it seems to be  
correct. I get the following in the output during compilation:

make install DESTDIR=/sw/src/fink.build/root-kmymoney2-0.8.9-1001

I tried %i as you mentioned, but it tries to install is make /sw/src/ 
fink.build/root-kmymoney2-0.8.9-1001/sw so the real installation ends  
up in /sw/sw...

   I made similar tweaks to install the latest Kile (2.0.1rc1) through  
Fink, it worked perfectly well. :-)

-- 
Thibaut Cousin
http://www.thibaut-cousin.net


-------------------------------------------------------------------------
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-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to