[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Strange error when trying to build chicken-gtk2

From: felix
Subject: Re: [Chicken-users] Strange error when trying to build chicken-gtk2
Date: Tue, 10 Jun 2003 00:25:50 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529

Dr William Bland wrote:
        I'm trying to build chicken-gtk2 but I get quite a strange error.
`csc -version` reports "Version 1, Build 0", and I'm using chicken-gtk2
version 20021202-1.

The error is:

csc -I/usr/include/gtk-2.0 -C -I/usr/lib/gtk-2.0/include -C -I/usr/include/atk-1.0 -C -I/usr/include/pango-1.0 -C
      ^ (missing "-C")
> -I/usr/X11R6/include -C -I/usr/include/freetype2 -C -I/usr/include/glib-2.0 -C -I/usr/lib/glib-2.0/include
>  -C -I/usr/include/libglade-2.0 -C -I/usr/include/libxml2
>  -Wl,--export-dynamic -L -lglade-2.0 -L -lgtk-x11-2.0 -L -lxml2 -L -lz -L 
   ^ (missing "-C")
 -L -latk-1.0 -L -lgdk_pixbuf-2.0 -L -lm -L -lpangoxft-1.0 -L -lpangox-1.0 -L 
-lpango-1.0 -L -lgobject-2.0 -L
>  -lgmodule-2.0 -L -ldl -L -lglib-2.0 -s -o gobject.scm

csc: invalid option `-r'
make: *** [] Error 64

which seems pretty odd to me as there is no '-r' in that line!
I did manage to compile the examples that came with chicken, so
(hopefully) it was installed correctly.
Any assistance at this point would be really helpful.

All arguments to switches to "csc" must be separated with whitespace, otherwise
the whole thing is split into several options (like "-vku" -> "-v -k -u"), so
"-I/usr..." gets split into "-I -/ -u ...", when it should be "-I ...".
Not very helpful, I admit.
But in this case the options are actually for the C-compiler, so "-C" has to be
passed at the two positions marked.

I can't say much about the current state of the GTK2 port. In fact I'm not even
sure if it's still maintained.

Anyway, good luck!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]