Problem installing GnuCash

Andrew Wilson andrewjwilson at gmail.com
Thu Dec 14 21:56:15 PST 2006


Thanks for tips and the ideas.  This was a wierd one.

There is a copy libintl.la in /usr/local/lib, or to give you a copy of the
output from ls -lf libintl*

--------
-rw-r--r--   1 Andrew  wheel  62636 Jun 29  2005 libintl.2.4.0.dylib
lrwxr-xr-x   1 root    wheel     19 Oct 17  2005 libintl.2.dylib ->
libintl.2.4.0.dylib
-rw-r--r--   1 Andrew  wheel  92144 Jun 29  2005 libintl.a
lrwxr-xr-x   1 root    wheel     19 Oct 17  2005 libintl.dylib ->
libintl.2.4.0.dylib
-rw-r--r--   1 Andrew  wheel    865 Jun 29  2005 libintl.la
---------

There don't seem to be any broken links.  However I looked in the
libintl.aand it was configured to put the library in the ChatServer
directory.  I
moved all the files out of /usr/local/lib and then port wouldn't run.  It
needed one file "libreadline.5.0.dylib".

Did a bit more looking around and eventually did a search of all the *.la
files in the system using:

find . -name *.la -exec grep -l "ChatServer" '{}' \; -print

in the appropriate directory.  This showed that goffice was broken and
required the unknown and mysterious ChatServer.  A port uninstall goffice ;
port clean ---all goffice ; port install goffice cycle later, this was
corrected.

Then a sudo port clean --all gnucash ; port install gnucash worked!

I now have a working gnucash on version 2.0.3.  The latest.

It is now giving me grief on my modified reports from version 1.8, however
that is another story.

Thanks everyone to the tips.  Got me in the right direction.

Cheers,
Andrew

On 12/15/06, Kevin Ballard <eridius at macports.org> wrote:
>
> On Dec 14, 2006, at 12:30 PM, Ryan Schmidt wrote:
>
> On Dec 14, 2006, at 08:11, Andrew Wilson wrote:
>
> I have been trying to install GnuCash Version 2 on Mac OS X 10.4 using the
> release in Macports and get the following error:
>
> ------------------------
> grep: /Users/Shared/Downloads/ChatServer-37.1/build/usr/local/lib/libintl.la:
> No such file or directory
> sed: /Users/Shared/Downloads/ChatServer-37.1/build/usr/local/lib/libintl.la:
> No such file or directory
> libtool: link: `/Users/Shared/Downloads/ChatServer-37.1/build/usr/local/lib/libintl.la'
> is not a valid libtool archive
> make[5]: *** [libgncmod-gnome-utils.la] Error 1
> make[4]: *** [all-recursive] Error 1
> make[3]: *** [all] Error 2
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> Error: Status 1 encountered during processing.
> -------------------
>
> Why is it trying to access a library from ChatServer?  I have tried most
> things, including updating all the dependencies on the gettext supplied
> libintl library.  I am on MacPorts version 1.320 and have done a recent
> sync.
>
>
> I'm guessing here.... do you have a libintl (or did you once) in
> /usr/local? If so, get rid of it (or move it temporarily out of the way),
> then try to install GnuCash again.
>
>
> If he had a libintl in /usr/local, shouldn't it be complaining about
> /usr/local? It's complaining about some directory it should never even be
> touching.
>
> Unless, of course, /usr/local/libintl.la is a symlink to that location,
> *and* libtool resolves symlinks before passing it off to the utilities it
> calls. I checked, and grep reports problems on the symlink, not on the
> destination file, when called with a symlink that points to nothing.
>
> --
> Kevin Ballard
> http://kevin.sb.org
> kevin at sb.org
> http://www.tildesoft.com
>
>
> --
> Kevin Ballard
> http://kevin.sb.org
> eridius at macports.org
> http://www.tildesoft.com
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20061215/bc3d1c3b/attachment.html


More information about the macports-users mailing list