On Oct 6, 2006, at 1:27 AM, Daniel Macks wrote:

> On Fri, Oct 06, 2006 at 01:18:13AM -0400, David Reiser wrote:
>> I'm trying to stomp on a remaining issue in bmaret's experimental
>> gnucash.info. "fink install gnucash" completes (as long as gwenhywfar
>> is installed - gotta fix that dependency, too) and gnucash works. But
>> "fink remove gnucash" does not clean up completely behind itself.
>>
>> Here's a snippet from the .info file:
>>
>> ConfigureParams: --mandir=%p/share/man --infodir=%p/share/info --
>> libexecdir=%p/lib --enable-error-on-warning=no --disable-dependency-
>> tracking --disable-schemas-install --enable-ofx --enable-hbci --
>> disable-sql
>> CompileScript: <<
>>    guile16-build ./configure --prefix=%p %c
>>    guile16-build make
>> <<
>>
>> And here's a chunk of output from "fink build gnucash" after deleting
>> debs created from prior runs:
>>
>> /usr/bin/install -c .libs/gnucash-bin /sw/src/fink.build/root-
>> gnucash-2.0.1-1/sw/bin/gnucash-bin
>> test -z "/sw/src/fink.build/root-gnucash-2.0.1-1/sw/bin" || /bin/
>> sh ../../mkinstalldirs "/sw/src/fink.build/root-gnucash-2.0.1-1/sw/ 
>> bin"
>> /usr/bin/install -c 'gnucash-env' '/sw/src/fink.build/root-
>> gnucash-2.0.1-1/sw/bin/gnucash-env'
>> /usr/bin/install -c 'gnucash-make-guids' '/sw/src/fink.build/root-
>> gnucash-2.0.1-1/sw/bin/gnucash-make-guids'
>> /usr/bin/install -c 'update-gnucash-gconf' '/sw/src/fink.build/root-
>> gnucash-2.0.1-1/sw/bin/update-gnucash-gconf'
>> /usr/bin/install -c 'gnucash' '/sw/src/fink.build/root-
>> gnucash-2.0.1-1/sw/bin/gnucash'
>> /usr/bin/install -c 'gnucash-valgrind' '/sw/src/fink.build/root-
>> gnucash-2.0.1-1/sw/bin/gnucash-valgrind'
>> make[6]: Nothing to be done for `install-data-am'.
>> Making install in overrides
>> make[6]: Nothing to be done for `install-exec-am'.
>> test -z "/sw/lib/gnucash/overrides" || /bin/sh ../../../mkinstalldirs
>> "/sw/lib/gnucash/overrides"
>> mkdir -p -- /sw/lib/gnucash/overrides
>> /usr/bin/install -c 'gnucash-env' '/sw/lib/gnucash/overrides/gnucash-
>> env'
>> /usr/bin/install -c 'gnucash-make-guids' '/sw/lib/gnucash/overrides/
>> gnucash-make-guids'
>> /usr/bin/install -c 'guile' '/sw/lib/gnucash/overrides/guile'
>> Making install in test
>> make[6]: Nothing to be done for `install-exec-am'.
>> make[6]: Nothing to be done for `install-data-am'.
>> test -z "/sw/src/fink.build/root-gnucash-2.0.1-1/sw/bin" || /bin/
>> sh ../mkinstalldirs "/sw/src/fink.build/root-gnucash-2.0.1-1/sw/bin"
>> /usr/bin/install -c 'gnc-test-env' '/sw/src/fink.build/root-
>> gnucash-2.0.1-1/sw/bin/gnc-test-env'
>>
>> so fink is merrily making install in /sw/src/fink.build/root-
>> gnucash-2.0.1-1
>> then suddenly it switches to making install in /sw/lib/gnucash
>> and then it switches back to making install in /sw/src/fink.build/
>> root-gnucash-2.0.1-1
>>
>> Sure looks to me like --libexecdir=%p/lib is not behaving as
>> expected. Any chance that's fink? Or should I continue swimming
>> upstream?
>
> Looks like the .info is using the implicit default InstallScript of:
>
>   InstallScript: make install prefix=%i
>
> Check with 'fink dumpinfo -finstallscript gnucash' to confirm.

make install prefix=/sw/src/fink.build/root-gnucash-2.0.1-1/sw


> Try
> instead using an explicit one that uses a more modern and functional
> variable:
>
>   InstallScript: make install DESTDIR=%d

Then the fink dumpinfo response is:

make install DESTDIR=/sw/src/fink.build/root-gnucash-2.0.1-1

and it works! (a couple of dependency issues to double-check, and  
this one will finally be ready for unstable)

Thank you very much.
>
> dan
>
Dave
--
David Reiser
[EMAIL PROTECTED]


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to