I just half-solved my problem.
Based on the observation that the reason why it was not compiling
was /bin/bash complaining about a parsing error, I checked what
version of bash I had installed:
GNU bash, version 2.05b.0(1)-release (powerpc-apple-darwin8.0)
Copyright (C) 2002 Free Software Foundation, Inc.
This is the version installed by default in /bin/ on my Intel Mac OS
10.4 — I am surprised to see that it says "powerpc", by the way. I
looked up the fink package list, and noticed there was a newer
version of bash available. I went ahead and installed it in /sw/bin
using fink:
GNU bash, version 3.2.9(1)-release (i386-apple-darwin8.11.1)
Copyright (C) 2005 Free Software Foundation, Inc.
Then I temporarily renamed /bin/bash, and replaced it with a symlink
to /sw/bin/bash. Problem solved! Gtkhtml3.14-dev-3.24.0-1 compiled.
Should I file a bug report somewhere?...
Now, I am not exactly done with compiling GnuCash. It also depends on
evince, which just failed compiling:
g++ -o .libs/libevince-properties-page.so -bundle .libs/
libevince_properties_page_la-ev-properties-main.o .libs/libevince-
properties-page.lax/libevproperties.a/ev-properties-view.o .libs/
libevince-properties-page.lax/libevbackend.a/afmparse.o .libs/
libevince-properties-page.lax/libevbackend.a/bitmap.o .libs/libevince-
properties-page.lax/libevbackend.a/cairo-device.o .libs/libevince-
properties-page.lax/libevbackend.a/color.o .libs/libevince-properties-
page.lax/libevbackend.a/common.o .libs/libevince-properties-page.lax/
libevbackend.a/dvi-document.o .libs/libevince-properties-page.lax/
libevbackend.a/dviread.o .libs/libevince-properties-page.lax/
libevbackend.a/ev-async-renderer.o .libs/libevince-properties-
page.lax/libevbackend.a/ev-attachment.o .libs/libevince-properties-
page.lax/libevbackend.a/ev-backend-marshal.o .libs/libevince-
properties-page.lax/libevbackend.a/ev-document-factory.o .libs/
libevince-properties-page.lax/libevbackend.a/ev-document-find.o .libs/
libevince-properties-page.lax/libevbackend.a/ev-document-
fonts.o .libs/libevince-properties-page.lax/libevbackend.a/ev-
document-forms.o .libs/libevince-properties-page.lax/libevbackend.a/
ev-document-images.o .libs/libevince-properties-page.lax/
libevbackend.a/ev-document-links.o .libs/libevince-properties-
page.lax/libevbackend.a/ev-document-misc.o .libs/libevince-properties-
page.lax/libevbackend.a/ev-document-security.o .libs/libevince-
properties-page.lax/libevbackend.a/ev-document-thumbnails.o .libs/
libevince-properties-page.lax/libevbackend.a/ev-document-
transition.o .libs/libevince-properties-page.lax/libevbackend.a/ev-
document.o .libs/libevince-properties-page.lax/libevbackend.a/ev-file-
exporter.o .libs/libevince-properties-page.lax/libevbackend.a/ev-file-
helpers.o .libs/libevince-properties-page.lax/libevbackend.a/ev-form-
field.o .libs/libevince-properties-page.lax/libevbackend.a/ev-
image.o .libs/libevince-properties-page.lax/libevbackend.a/ev-link-
action.o .libs/libevince-properties-page.lax/libevbackend.a/ev-link-
dest.o .libs/libevince-properties-page.lax/libevbackend.a/ev-
link.o .libs/libevince-properties-page.lax/libevbackend.a/ev-
poppler.o .libs/libevince-properties-page.lax/libevbackend.a/ev-
render-context.o .libs/libevince-properties-page.lax/libevbackend.a/
ev-selection.o .libs/libevince-properties-page.lax/libevbackend.a/
files.o .libs/libevince-properties-page.lax/libevbackend.a/
font.o .libs/libevince-properties-page.lax/libevbackend.a/
fontmap.o .libs/libevince-properties-page.lax/libevbackend.a/
fonts.o .libs/libevince-properties-page.lax/libevbackend.a/
fontsrch.o .libs/libevince-properties-page.lax/libevbackend.a/
gf.o .libs/libevince-properties-page.lax/libevbackend.a/
gsdefaults.o .libs/libevince-properties-page.lax/libevbackend.a/
gsio.o .libs/libevince-properties-page.lax/libevbackend.a/
hash.o .libs/libevince-properties-page.lax/libevbackend.a/
list.o .libs/libevince-properties-page.lax/libevbackend.a/
pagesel.o .libs/libevince-properties-page.lax/libevbackend.a/
paper.o .libs/libevince-properties-page.lax/libevbackend.a/pk.o .libs/
libevince-properties-page.lax/libevbackend.a/ps-document.o .libs/
libevince-properties-page.lax/libevbackend.a/ps-interpreter.o .libs/
libevince-properties-page.lax/libevbackend.a/ps.o .libs/libevince-
properties-page.lax/libevbackend.a/setup.o .libs/libevince-properties-
page.lax/libevbackend.a/sp-epsf.o .libs/libevince-properties-page.lax/
libevbackend.a/special.o .libs/libevince-properties-page.lax/
libevbackend.a/t1.o .libs/libevince-properties-page.lax/
libevbackend.a/tfm.o .libs/libevince-properties-page.lax/
libevbackend.a/tfmfile.o .libs/libevince-properties-page.lax/
libevbackend.a/tiff-document.o .libs/libevince-properties-page.lax/
libevbackend.a/tiff2ps.o .libs/libevince-properties-page.lax/
libevbackend.a/tt.o .libs/libevince-properties-page.lax/
libevbackend.a/util.o .libs/libevince-properties-page.lax/
libevbackend.a/vf.o -L/sw/lib -L/sw/lib/pango-ft219/lib -L/sw/lib/
fontconfig2/lib -L/sw/lib/freetype219/lib -L/sw/lib/gnome-vfs2.16 /sw/
lib/libglade-2.0.dylib -L/usr/X11R6/lib /sw/lib/libpixman-1.dylib /sw/
lib/libglitz.dylib /sw/lib/libpng12.dylib /sw/lib/libexpat.dylib /sw/
lib/libiconv.dylib /sw/lib/libxml2.dylib /sw/lib/libgnome-2.dylib -L/
sw/lib/system-openssl/lib /sw/lib/libavahi-glib.dylib /sw/lib/
libavahi-client.dylib /sw/lib/libavahi-common.dylib /sw/lib/
libORBitCosNaming-2.dylib /sw/lib/libdbus-glib-1.dylib /sw/lib/
libdbus-1.dylib /sw/lib/libesd.dylib /sw/lib/libaudiofile.dylib /sw/
lib/libpopt.dylib /sw/lib/libbonobo-2.dylib /sw/lib/libbonobo-
activation.dylib /sw/lib/libORBit-2.dylib /sw/lib/libpoppler-
glib.dylib /sw/lib/libpoppler.dylib /sw/lib/libjpeg.dylib /sw/lib/
libtiff.dylib -L/sw/lib/libnautilus-ext1 /sw/lib/libnautilus-ext1/
libnautilus-extension.dylib /sw/lib/libgtk-x11-2.0.dylib /sw/lib/
gnome-vfs2.16/libgnomevfs-2.dylib /sw/lib/libgdk-x11-2.0.dylib /sw/
lib/libatk-1.0.dylib /sw/lib/libgio-2.0.dylib /sw/lib/pango-ft219/lib/
libpangoft2-1.0.dylib /sw/lib/libgdk_pixbuf-2.0.dylib /sw/lib/pango-
ft219/lib/libpangocairo-1.0.dylib /sw/lib/libcairo.dylib /sw/lib/
pango-ft219/lib/libpango-1.0.dylib /sw/lib/freetype219/lib/
libfreetype.dylib -lz /sw/lib/fontconfig2/lib/libfontconfig.dylib /sw/
lib/libgconf-2.dylib /sw/lib/libgthread-2.0.dylib /sw/lib/
libgmodule-2.0.dylib /sw/lib/libgobject-2.0.dylib /sw/lib/
libglib-2.0.dylib /sw/lib/libintl.dylib /sw/lib/libkpathsea.dylib -
Wl,-framework -Wl,CoreServices -Wl,-framework -Wl,ApplicationServices
-Wl,-framework -Wl,CoreServices -Wl,-framework -Wl,ApplicationServices
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
_XSendEvent
collect2: ld returned 1 exit status
make[2]: *** [libevince-properties-page.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of /var/tmp/tmp.1.57xq70 failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-evince-2.20.2-5
Removing fink-buildlock-evince-2.20.2-5 ...
Failed: phase compiling: evince-2.20.2-5 failed
Any ideas on that one?...
Thanks a lot, Alexander, for pointing me to that doltlibtool file.
Op 26-okt-08, om 15:34 heeft [EMAIL PROTECTED] het volgende
geschreven:
Op 26-okt-08, om 15:19 heeft Alexander Hansen het volgende geschreven:
I would like to compile GnuCash 2.2.7-1, but it depends on
gtkhtml3.14, which currently does not compile on my Mac OS 10.4:
../doltlibtool: line 11: syntax error near unexpected token
`"$arg"'
../doltlibtool: line 11: ` *) args+=("$arg")'
Here is the content of this file:
#!/bin/bash
top_builddir_slash="${0%%doltlibtool}"
: ${top_builddir_slash:=./}
args=()
modeok=false
tagok=false
for arg in "$@"; do
case "$arg" in
--mode=compile) modeok=true ;;
--tag=CC|--tag=CXX) tagok=true ;;
*) args+=("$arg")
esac
done
if $modeok && $tagok ; then
. ${top_builddir_slash}doltcompile "[EMAIL PROTECTED]"
else
exec ${top_builddir_slash}libtool "$@"
fi
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users