On Wed, 2007-11-28 at 16:46 +0100, Guido Diepen wrote:
> Making all in python
> make[2]: Entering directory `/home/guido/syncing/sources/aa/rra/python'
> pyrexc ./pyrra.pyx -I../lib -o ./pyrra.c
> if /bin/sh ../libtool --tag=CC --mode=compile 
> gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include/python2.4 -I../lib -g -O2 
> -MT 
> pyrra_la-pyrra.lo -MD -MP -MF ".deps/pyrra_la-pyrra.Tpo" -c -o 
> pyrra_la-pyrra.lo `test -f 'pyrra.c' || echo './'`pyrra.c; \
>         then mv -f ".deps/pyrra_la-pyrra.Tpo" ".deps/pyrra_la-pyrra.Plo"; 
> else 
> rm -f ".deps/pyrra_la-pyrra.Tpo"; exit 1; fi
> mkdir .libs
>  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.4 -I../lib -g -O2 
> -MT 
> pyrra_la-pyrra.lo -MD -MP -MF .deps/pyrra_la-pyrra.Tpo -c 
> pyrra.c  -fPIC -DPIC -o .libs/pyrra_la-pyrra.o
> pyrra.c:19:19: error: synce.h: No such file or directory
> pyrra.c:20:23: error: synce_log.h: No such file or directory
> In file included from pyrra.c:21:
> ../lib/syncmgr.h:5:19: error: synce.h: No such file or directory
> In file included from pyrra.c:21:
> ../lib/syncmgr.h:40: error: expected declaration specifiers or '...' 
> before '*' token
> ../lib/syncmgr.h:41: error: 'bool' declared as function returning a function
> ...
> 
> >From this moment also still a large number of error messages, but you can 
> already see that the problem lays in the fact that gcc is not having the 
> correct arguments.
> 
> Hope this helps.
> 
> Regards,
> 
> Guido Diepen

Looks like what I expected. Can you try the attached patch against a
clean rra tree from svn, you'll need to apply it before running
bootstrap. I haven't tested it for a non-standard location like you are
using, but cross your fingers and it should work !

Let me know if it works and I'll commit it.

Mark

diff -Nur rra-0.10.0.svn20071128.orig/python/Makefile.am rra-0.10.0.svn20071128/python/Makefile.am
--- rra-0.10.0.svn20071128.orig/python/Makefile.am	2007-05-24 20:05:37.000000000 +0100
+++ rra-0.10.0.svn20071128/python/Makefile.am	2007-11-28 16:10:26.000000000 +0000
@@ -3,9 +3,9 @@
 rrabindingsdir = $(pyexecdir)
 rrabindings_LTLIBRARIES = pyrra.la
 
-pyrra_la_CFLAGS = @PYTHON_INCLUDES@ -I../lib
+pyrra_la_CFLAGS = @PYTHON_INCLUDES@ -I../lib $(LIBSYNCE_CFLAGS) $(LIBRAPI2_CFLAGS)
 pyrra_la_LDFLAGS = -module -avoid-version -fPIC -lrapi
-pyrra_la_LIBADD  = $(top_builddir)/lib/librra.la [EMAIL PROTECTED]@
+pyrra_la_LIBADD  = $(top_builddir)/lib/librra.la [EMAIL PROTECTED]@ $(LIBSYNCE_LIBS) $(LIBRAPI2_LIBS)
 nodist_pyrra_la_SOURCES = pyrra.c
 
 endif
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
SynCE-Devel mailing list
SynCE-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synce-devel

Reply via email to