On Oct 26, 2008, at 10:34 AM, [EMAIL PROTECTED] wrote:


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")'
make[2]: *** [libgtkhtml-a11y.la] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of make failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-gtkhtml3.14-dev-3.24.0-1
Removing fink-buildlock-gtkhtml3.14-dev-3.24.0-1 ...
Failed: phase compiling: gtkhtml3.14-dev-3.24.0-1 failed

Thanks in advance for your help; I am really dependent on GnuCash for my personal accounting...


It's generally a good idea to provide the last line of output before errors start occurring, to help us rule out problems local to your setup.

Here is this last line.

../doltlibtool --tag=CC --mode=link gcc -I/sw/lib/fontconfig2/ include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/ lib/freetype219/include/freetype2 -I/sw/lib/freetype219/include -I/ sw/lib/pango-ft219/include/pango-1.0 -I/sw/include/libpng12 -I/sw/ include -I/sw/include/pixman-1 -I/sw/include/cairo -I/sw/include/ gtk-2.0 -I/sw/include/atk-1.0 -I/sw/lib/gtk-2.0/include -I/sw/ include/gail-1.0 -I/usr/X11R6/include -I/usr/X11/include - DGTK_DISABLE_DEPRECATED=1 -DGDK_DISABLE_DEPRECATED=1 - DG_DISABLE_DEPRECATED=1 -DGNOME_DISABLE_DEPRECATED=1 -Os -Wall - Wmissing-prototypes -L/sw/lib/fontconfig2/lib -L/sw/lib -o libgtkhtml-a11y.la cell.lo factory.lo html.lo hyperlink.lo image.lo object.lo paragraph.lo table.lo text.lo utils.lo
../doltlibtool: line 11: syntax error near unexpected token `"$arg"'
../doltlibtool: line 11: `        *) args+=("$arg")'

Let's look at the doltlibtool file (in the gtkhtml3.14-dev build directory under /sw/src/fink.build) that is giving the error message; that may have some information to help pin this issue down.

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


Thanks.  Unfortunately that's mysterious to me.

Here are a couple of ideas for a workaround for you, to get gnucash2 going:

1) There's an unofficial (meaning the project doesn't control the server or its contents) binary distribution:

Edit /sw/etc/apt/sources.list as an administrator (e.g. via "sudo
nano /sw/etc/apt/sources.list") and add the following line to it:

deb http://fink.sodan.ecc.u-tokyo.ac.jp/apt/10.4 unstable main crypto

Then save the file and run "sudo apt-get update". I'm not 100% sure whether it has a new enough gtkhtml3.14*, though.


2) If you want to try a new clean install without enabling the unstable tree, a slightly older gnucash2 is available there (and the stable tree went through an audit recently so everything should build).
-------------------------------------------------------------------------
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

Reply via email to