Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#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: mf2k (Frank Schima), nosaj.levy@…
Port: kmymoney

Description (last modified by jmroot (Joshua Root))

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 (2)

km_install.log (280.1 KB) - added by nosaj.levy@… 16 years ago.
ls-lTR (16.0 KB) - added by nosaj.levy@… 16 years ago.
ls -LTR results on destroot

Download all attachments as: .zip

Change History (12)

comment:1 Changed 16 years ago by informatique@…

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

comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: ticketformatting added

comment:3 Changed 16 years ago by mf2k (Frank Schima)

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:4 Changed 16 years ago by mf2k (Frank Schima)

Cc: macsforever2000@… added

Cc Me!

comment:5 Changed 16 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 16 years ago by mf2k (Frank Schima)

Keywords: kmymoney removed
Port: kmymoney added
Resolution: invalid
Status: newclosed

Glad it's working for you!

comment:7 Changed 16 years ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: ticketformatting removed

Changed 16 years ago by nosaj.levy@…

Attachment: km_install.log added

Changed 16 years ago by nosaj.levy@…

Attachment: ls-lTR added

ls -LTR results on destroot

comment:8 Changed 16 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.

comment:9 Changed 16 years ago by nosaj.levy@…

Cc: nosaj.levy@… added

Cc Me!

comment:10 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.