At 11:02 PM +1100 2/14/02, Mike Barnes wrote:
>On Wed, 2002-02-13 at 13:22, Fernando Pereira wrote:
>>  On Fri, 2002-02-08 at 12:48, Ujwal S. Sathyam wrote:
>>  I track fink pretty closely. Some of the libraries are available, but
>>  only in unstable, and not all.
>
>I had a hack at it, and haven't surrendered as yet, but it's pretty low
>on my priority list. Last major flaw I hit was actually in the binutils,
>IIRC. "ar" behaves differently under OS X than under any other BSD (it's
>a much older version) and it's killing the build process. I put it aside
>until I decided if I was going to try to update "ar" or patch the
>Makefile.
>
>If anyone's in a hurry for this to happen, you should start looking into
>it yourself. I'm only fiddling with it when I have one of my rare
>periods of free time, and even then it's just one project among many.
>
>I would be the happiest person on the planet if someone else did it
>though. :) If anyone wants the minimal bits of a Fink package I have,
>let me know. It's one single patch and a very rough .info file - it
>doesn't build very far, but it's better than no start at all, right? :)

I have been taking a stab at it and have run into build problems. I 
tried to compile the following packages:

1. gal-0.19
2. bonobo-conf-0.14
3. gtkhtml-1.0.1

All three packages give the me same build problems:

1. GAL:
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I/sw/include 
-DNEED_GNOMESUPPORT_H -I/sw/lib/gnome-libs/include 
-I/sw/include/gtk-1.2 -I/sw/include/glib-1.2 -I/sw/lib/glib/include 
-I/usr/X11R6/include -I/sw/include/gnome-1.0 -I/sw/include/freetype2 
-I/sw/include/gnome-xml -I/sw/include -DNEED_GNOMESUPPORT_H 
-I/sw/lib/gnome-libs/include -I/sw/include/glib-1.2 
-I/sw/lib/glib/include -I/sw/include/orbit-1.0 -I/sw/include/gtk-1.2 
-I/usr/X11R6/include -I/sw/include -I../.. -DG_LOG_DOMAIN=\"widgets\" 
-I/sw/include/gtk-1.2 -I/sw/include/glib-1.2 -I/sw/lib/glib/include 
-I/usr/X11R6/include -g -O2 -Wall -Wunused -c e-iconv.c -o e-iconv.o
e-iconv.c:1317: bad macro argument list
e-iconv.c:1317: bad macro argument list
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
make[3]: *** [e-iconv.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2

2. bonobo-conf:
cc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\"/sw/share/locale\" 
-I. -I. -I.. -I.. -I/sw/include -I/sw/include -I/sw/include/glib-1.2 
-I/sw/lib/glib/include -I/sw/include/orbit-1.0 
-I/sw/include/gnome-1.0 -DNEED_GNOMESUPPORT_H 
-I/sw/lib/gnome-libs/include -I/sw/include/gtk-1.2 
-I/usr/X11R6/include -I/sw/include/freetype2 -I/sw/include/gnome-xml 
-g -O2 -c gtkwtreeitem.c   -fno-common -DPIC -o .libs/gtkwtreeitem.lo
gtkwtreeitem.c:1317: bad macro argument list
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
make[2]: *** [gtkwtreeitem.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2

3. gtkhtml:
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I/sw/include -I/sw/include 
-DNEED_GNOMESUPPORT_H -I/sw/lib/gnome-libs/include 
-I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/sw/include/orbit-1.0 
-I/sw/include/gtk-1.2 -I/usr/X11R6/include -I/sw/include 
-DNEED_GNOMESUPPORT_H -I/sw/lib/gnome-libs/include 
-I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/sw/include/orbit-1.0 
-I/sw/include/gtk-1.2 -I/usr/X11R6/include -I/sw/include 
-DNEED_GNOMESUPPORT_H -I/sw/lib/gnome-libs/include 
-I/sw/include/gtk-1.2 -I/sw/include/glib-1.2 -I/sw/lib/glib/include 
-I/usr/X11R6/include -I/sw/include/gnome-1.0 -I/sw/include/freetype2 
-I/sw/include/gnome-xml -I/sw/include/orbit-1.0 
-DG_LOG_DOMAIN=\"gtkhtml\" -I/sw/include -DNEED_GNOMESUPPORT_H 
-I/sw/lib/gnome-libs/include -I/sw/include/gtk-1.2 
-I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include 
-I/sw/include/w3c-libwww -DHAVE_CONFIG_H -DSRCDIR=\".\" 
-DPREFIX=\"/sw\" -g -O2 -Wall -Wunused -c gtkhtml-im.c  -fno-common 
-DPIC -o .libs/gtkhtml-im.lo
gtkhtml-im.c:1317: bad macro argument list
gtkhtml-im.c:1317: bad macro argument list
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
make[2]: *** [gtkhtml-im.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2

All of these packages were configured with the fink install directory 
as a reference:
./configure --prefix=/sw --sysconfdir=/sw/etc


It looks the same problem with the pre-processor, so it probably has 
something to do with the toolchain. Does anyone have any ideas on 
what it might be? The toolchain is from the MacOS X Developer CD 
package that provides gcc-2.95.2. I have compiled a few other unix 
utilities sucessfully, so the toolchain does work on a some apps.

I also tried to build gcc-3.0.3, but I don't think 
powerpc-apple-darwin target is supported yet, since that did not 
build either.

Any ideas would be appreciated.

Thanks,

Ujwal



-- 

_______________________________________________
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution

Reply via email to