Ticket #16423 (closed defect: invalid)
KMyMoney 0.8.9 fails to compile
| Reported by: | informatique@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.6.0 |
| Keywords: | Cc: | macsforever2000@…, nosaj.levy@… | |
| Port: | kmymoney |
Description (last modified by jmr@…) (diff)
I'm using Macports 1.6.0 (selfupdate was made) on Leopard 10.5.4 Intel with Xcode 3.1. Installing the rest of KDE, and other KDE applications, went fine but KMyMoney is an exception. Downloading and configuring is OK, but building fails with:
Making install in pics make[3]: Nothing to be done for `install-exec-am'. test -z "/opt/local/share/apps/kmymoney2/pics/" || ../../admin/install-sh -c -d "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kmymoney/work/destroot/opt/local/share/apps/kmymoney2/pics/" mkdir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kmymoney/work/destroot/opt/local/share/apps/kmymoney2/pics/: File exists make[3]: *** [install-kmymoneyDATA] Error 1 make[2]: *** [install-am] Error 2 make[1]: *** [install-recursive] Error 1 make: *** [install-recursive] Error 1
Of course, my building environment is clean and there was no leftover from a previous try.
I met a similar problem a few weeks ago, when I was using Fink. I could solve it by changing something in the Makefile: replacing install -c -d by mkdir -p. But:
1) This was an ugly hack.
2) I don't know how to make a change inside the source tarball with Macports.
3) Maybe there's a better solution, or this new problem isn't really related to the previous one.
Thanks for your attention.
Attachments
Change History
comment:3 Changed 5 years ago by macsforever2000@…
I cannot replicate this. I have the same setup except I'm running MacPorts 1.7 from svn. Please try a clean rebuild:
sudo port clean --all kmymoney sudo port install kmymoney
comment:5 Changed 5 years ago by informatique@…
Now I'm confused... On my first try, my Macport installation was clean: I installed Macport mostly to have KMymoney! And I also had the problem before with Fink...
But I tried again following Comment #3 and it worked. Well, sorry for the noise.
The only thing I changed since last time is installing coreutils. But the install binary in this package is called ginstall, so it probably didn't change anything.
Thanks for your attention.
comment:6 Changed 5 years ago by macsforever2000@…
- Status changed from new to closed
- Keywords kmymoney removed
- Resolution set to invalid
- Port set to kmymoney
Glad it's working for you!
comment:7 Changed 5 years ago by jmr@…
- Keywords ticketformatting removed
- Description modified (diff)
comment:8 Changed 4 years ago by nosaj.levy@…
I'm also having this problem, though I guess it's now KMyMoney 0.9.2. I'm using MacPorts 1.7, Leopard 10.5.6 PPC, with a clean install as specified. Debug log attached.
The specified directory is definitely there: ls -lTR attached, in case that will help determine at what stage the directory is being created in the first place.
Any help is appreciated.


Here is a link to the thread where this was discussed on the Fink mailing lists. My hack is described, but no solution is given other than that:
http://archive.netbsd.se/?ml=fink-users&a=2008-04&t=7165812