Mario Grotschar wrote:
...
I tried from git clone git://git.apache.org/tuscany-sca-cpp and svn co 
http://svn.apache.org/repos/asf/tuscany/sca-cpp/trunk.

Sorry for the delay, I was away on vacation.

You're using the correct repository.

I then ran ./bootstrap.
The first run caused an error
...
Running autoconf...configure.ac:346: error: possibly undefined macro: 
AC_PROG_JAVAC
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:347: error: possibly undefined macro: AC_PROG_JAR
...

The AC_PROG_JAVAC and AC_PROG_JAR macros are from the autoconf-archive package, version 20090426-1 on Ubuntu 9.10.

However, others have reported similar problems on OpenSuse 11.2 with a different version of autoconf-archive [1], so I've committed a change to not use these macros anymore [2].

Then I ran
./configure --prefix=/home/mario/native-sca-1.0.incubating-M3/deploy 
--with-apr=/home/mario/httpd-2.2.14/deploy 
--with-httpd=/home/mario/httpd-2.2.14/deploy --with-libcurl=/usr 
--with-libxml2=/usr

I renamed the directory to native-sca-1.0.incubating-M3 so don’t wonder about 
that.

Your log shows two different directories:

> make[3]: Entering directory
> `/home/mario/native-sca-1.0.incubating-M3/modules/scheme'

/home/mario/native-sca-1.0.incubating-M3

> g++ -DHAVE_CONFIG_H -I. -I../..     -I.
> -I/home/mario/tuscany_sca_native-1.0-incubator-M3-src/deploy/kernel

/home/mario/native-sca-1.0.incubating-M3-src

> eval-test.cpp:27:22: error: stream.hpp: No such file or directory

It looks like the sources are now in ...-M3 but bootstrap + configure were run from ...-M3-src. Did you rename ...-M3-src to ...-M3 after running bootstrap + configure?

Can you try to run bootstrap + configure + make again from ...-M3?

Then I would run make. The first error I could resolve, as already described, by deleting the redefinition.
...
> fstream.hpp:157:1: warning: "debug" redefined
> fstream.hpp:156:1: warning: this is the location of the previous
> definition
> In file included from tree.hpp:33,
>                  from kernel-test.cpp:31:
> monad.hpp:278:35: error: macro "debug" passed 2 arguments, but takes
> just 1

Fixed in [2] as well.

Can you git pull or svn up to get [2], try again and let me know? Thanks.

[1] http://www.mail-archive.com/d...@tuscany.apache.org/msg11386.html
[2] http://www.mail-archive.com/comm...@tuscany.apache.org/msg08941.html
--
Jean-Sebastien

Reply via email to