I think I forgot to send the make error output.

Here it is.

make: *** No targets specified and no makefile found.  Stop.
ma...@ubuntu:~$ cd native-sca-1.0.incubating-M3/
ma...@ubuntu:~/native-sca-1.0.incubating-M3$ make
make  all-recursive
make[1]: Entering directory `/home/mario/native-sca-1.0.incubating-M3'
Making all in kernel
make[2]: Entering directory `/home/mario/native-sca-1.0.incubating-M3/kernel'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/mario/native-sca-1.0.incubating-M3/kernel'
Making all in modules
make[2]: Entering directory `/home/mario/native-sca-1.0.incubating-M3/modules'
Making all in scheme
make[3]: Entering directory 
`/home/mario/native-sca-1.0.incubating-M3/modules/scheme'
g++ -DHAVE_CONFIG_H -I. -I../..     -I. 
-I/home/mario/tuscany_sca_native-1.0-incubator-M3-src/deploy/kernel 
-I/home/mario/httpd-2.2.14/deploy/include -I/usr/include/libxml2 
-I/usr/include/xulrunner-1.9.1.7/unstable -I/usr/include -O3 -std=c++0x 
-fmessage-length=0 -MT eval-test.o -MD -MP -MF .deps/eval-test.Tpo -c -o 
eval-test.o eval-test.cpp
eval-test.cpp:27:22: error: stream.hpp: No such file or directory
eval-test.cpp:28:22: error: string.hpp: No such file or directory
In file included from driver.hpp:31,
                 from eval-test.cpp:29:
eval.hpp:30:20: error: list.hpp: No such file or directory
eval.hpp:31:21: error: value.hpp: No such file or directory
In file included from eval.hpp:32,
                 from driver.hpp:31,
                 from eval-test.cpp:29:
primitive.hpp:32:24: error: function.hpp: No such file or directory
In file included from eval.hpp:32,
                 from driver.hpp:31,
                 from eval-test.cpp:29:
primitive.hpp:39: error: ‘value’ does not name a type
primitive.hpp:40: error: ‘value’ does not name a type
primitive.hpp:41: error: ‘value’ does not name a type
primitive.hpp:46: error: expected constructor, destructor, or type conversion 
before ‘*’ token
primitive.hpp:51: error: expected constructor, destructor, or type conversion 
before ‘*’ token
primitive.hpp:53: error: ‘ostream’ was not declared in this scope
primitive.hpp:53: error: ‘out’ was not declared in this scope
primitive.hpp:53: error: expected ‘,’ or ‘;’ before ‘{’ token
primitive.hpp:58: error: expected constructor, destructor, or type conversion 
before ‘&’ token
primitive.hpp:64: error: ‘ostream’ was not declared in this scope
primitive.hpp:64: error: ‘out’ was not declared in this scope
primitive.hpp:64: error: expected ‘,’ or ‘;’ before ‘{’ token
primitive.hpp:69: error: expected constructor, destructor, or type conversion 
before ‘&’ token
primitive.hpp:75: error: ‘value’ does not name a type
primitive.hpp:79: error: ‘value’ does not name a type
primitive.hpp:83: error: ‘value’ does not name a type
primitive.hpp:87: error: ‘value’ does not name a type
primitive.hpp:91: error: ‘value’ does not name a type
primitive.hpp:95: error: ‘value’ does not name a type
primitive.hpp:104: error: ‘value’ does not name a type
primitive.hpp:108: error: ‘value’ does not name a type
primitive.hpp:114: error: ‘value’ does not name a type
primitive.hpp:120: error: ‘value’ does not name a type
primitive.hpp:124: error: ‘value’ does not name a type
primitive.hpp:128: error: ‘value’ does not name a type
primitive.hpp:137: error: ‘value’ does not name a type
primitive.hpp:146: error: ‘value’ does not name a type
primitive.hpp:154: error: ‘value’ does not name a type
primitive.hpp:158: error: ‘value’ does not name a type
primitive.hpp:162: error: ‘value’ does not name a type
primitive.hpp:166: error: ‘value’ does not name a type
primitive.hpp:170: error: ‘value’ does not name a type
primitive.hpp:174: error: ‘value’ does not name a type
primitive.hpp:178: error: ‘value’ does not name a type
primitive.hpp:182: error: ‘value’ does not name a type
primitive.hpp:186: error: ‘value’ does not name a type
primitive.hpp:191: error: expected ‘,’ or ‘...’ before ‘&’ token
primitive.hpp:191: error: ISO C++ forbids declaration of ‘value’ with no type
primitive.hpp: In function ‘const bool 
tuscany::scheme::isPrimitiveProcedure(int)’:
primitive.hpp:192: error: ‘proc’ was not declared in this scope
primitive.hpp:192: error: ‘primitiveSymbol’ was not declared in this scope
primitive.hpp:192: error: ‘isTaggedList’ was not declared in this scope
primitive.hpp: At global scope:
primitive.hpp:195: error: expected ‘,’ or ‘...’ before ‘&’ token
primitive.hpp:195: error: ISO C++ forbids declaration of ‘value’ with no type
primitive.hpp: In function ‘const bool tuscany::scheme::isSelfEvaluating(int)’:
primitive.hpp:196: error: ‘exp’ was not declared in this scope
primitive.hpp:196: error: ‘isNil’ was not declared in this scope
primitive.hpp:198: error: ‘exp’ was not declared in this scope
primitive.hpp:198: error: ‘isNumber’ was not declared in this scope
primitive.hpp:200: error: ‘exp’ was not declared in this scope
primitive.hpp:200: error: ‘isString’ was not declared in this scope
primitive.hpp:202: error: ‘exp’ was not declared in this scope
primitive.hpp:202: error: ‘isBool’ was not declared in this scope
primitive.hpp:204: error: ‘exp’ was not declared in this scope
primitive.hpp:204: error: ‘isLambda’ was not declared in this scope
primitive.hpp: At global scope:
primitive.hpp:209: error: ‘value’ does not name a type
primitive.hpp:213: error: expected initializer before ‘primitiveProcedure’
primitive.hpp:217: error: expected initializer before ‘<’ token
primitive.hpp:243: error: expected initializer before ‘<’ token
primitive.hpp:269: error: expected ‘,’ or ‘...’ before ‘&’ token
primitive.hpp:269: error: ISO C++ forbids declaration of ‘value’ with no type
primitive.hpp: In function ‘const bool tuscany::scheme::isFalse(int)’:
primitive.hpp:270: error: ‘exp’ was not declared in this scope
primitive.hpp: At global scope:
primitive.hpp:273: error: expected ‘,’ or ‘...’ before ‘&’ token
primitive.hpp:273: error: ISO C++ forbids declaration of ‘value’ with no type
primitive.hpp: In function ‘const bool tuscany::scheme::isTrue(int)’:
primitive.hpp:274: error: ‘exp’ was not declared in this scope
primitive.hpp: At global scope:
primitive.hpp:277: error: expected ‘,’ or ‘...’ before ‘&’ token
primitive.hpp:277: error: ISO C++ forbids declaration of ‘value’ with no type
primitive.hpp: In function ‘const bool tuscany::scheme::isQuoted(int)’:
primitive.hpp:278: error: ‘exp’ was not declared in this scope
primitive.hpp:278: error: ‘quoteSymbol’ was not declared in this scope
primitive.hpp:278: error: ‘isTaggedList’ was not declared in this scope
primitive.hpp: At global scope:
primitive.hpp:281: error: ‘value’ does not name a type
primitive.hpp:285: error: ‘value’ does not name a type
In file included from eval.hpp:33,
                 from driver.hpp:31,
                 from eval-test.cpp:29:
io.hpp:40: error: ‘value’ does not name a type
io.hpp:41: error: ‘value’ does not name a type
io.hpp:42: error: ‘value’ does not name a type
io.hpp:44: error: expected ‘,’ or ‘...’ before ‘&’ token
io.hpp:44: error: ISO C++ forbids declaration of ‘string’ with no type
io.hpp: In function ‘const double tuscany::scheme::stringToNumber(int)’:
io.hpp:45: error: ‘str’ was not declared in this scope
io.hpp:45: error: ‘c_str’ was not declared in this scope
io.hpp:45: error: ‘atof’ was not declared in this scope
io.hpp: At global scope:
io.hpp:64: error: expected ‘,’ or ‘...’ before ‘&’ token
io.hpp:64: error: ISO C++ forbids declaration of ‘value’ with no type
io.hpp: In function ‘const bool tuscany::scheme::isLeftParenthesis(int)’:
io.hpp:65: error: ‘leftParenthesis’ was not declared in this scope
io.hpp:65: error: ‘token’ was not declared in this scope
io.hpp: At global scope:
io.hpp:68: error: expected ‘,’ or ‘...’ before ‘&’ token
io.hpp:68: error: ISO C++ forbids declaration of ‘value’ with no type
io.hpp: In function ‘const bool tuscany::scheme::isRightParenthesis(int)’:
io.hpp:69: error: ‘rightParenthesis’ was not declared in this scope
io.hpp:69: error: ‘token’ was not declared in this scope
io.hpp: At global scope:
io.hpp:72: error: ‘istream’ was not declared in this scope
io.hpp:72: error: ‘in’ was not declared in this scope
io.hpp:72: error: expected ‘,’ or ‘;’ before ‘{’ token
In file included from /usr/include/c++/4.3/new:45,
                 from /usr/include/c++/4.3/ext/new_allocator.h:37,
                 from 
/usr/include/c++/4.3/i486-linux-gnu/bits/c++allocator.h:39,
                 from /usr/include/c++/4.3/bits/allocator.h:53,
                 from /usr/include/c++/4.3/string:48,
                 from environment.hpp:33,
                 from eval.hpp:34,
                 from driver.hpp:31,
                 from eval-test.cpp:29:
/usr/include/c++/4.3/exception:40: error: expected `}' before end of line
/usr/include/c++/4.3/exception:40: error: expected `}' before end of line
/usr/include/c++/4.3/exception:40: error: expected declaration before end of 
line
make[3]: *** [eval-test.o] Error 1
make[3]: Leaving directory 
`/home/mario/native-sca-1.0.incubating-M3/modules/scheme'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mario/native-sca-1.0.incubating-M3/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mario/native-sca-1.0.incubating-M3'
make: *** [all] Error 2

-----Ursprüngliche Nachricht-----
Von: Mario Grotschar [mailto:[email protected]] 
Gesendet: Sonntag, 21. Februar 2010 01:10
An: '[email protected]'
Betreff: AW: Compilation problem tuscany-sca-cpp

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.

I then ran ./bootstrap.
The first run caused an error

Running libtoolize --force...libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: linking file `m4/libtool.m4'
libtoolize: linking file `m4/ltoptions.m4'
libtoolize: linking file `m4/ltsugar.m4'
libtoolize: linking file `m4/ltversion.m4'
libtoolize: linking file `m4/lt~obsolete.m4'
done.
Running aclocal...done.
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

Running it again was successful.

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.

Then I would run make. 
The first error I could resolve, as already described, by deleting the 
redefinition.

But the mentioned error comes.

-----Ursprüngliche Nachricht-----
Von: Luciano Resende [mailto:[email protected]] 
Gesendet: Sonntag, 21. Februar 2010 00:33
An: [email protected]
Betreff: Re: Compilation problem tuscany-sca-cpp

Just to clarify, are you trying to build the Tuscany SCA CPP from

https://svn.apache.org/repos/asf/tuscany/sca-cpp/trunk/

If not, could you please try that...

-- 
Luciano Resende
http://people.apache.org/~lresende
http://twitter.com/lresende1975
http://lresende.blogspot.com/

Reply via email to