1. Weiterleitung zu NetzLiving.de
  2. Forum
    1. Unerledigte Themen
  3. zum neuen Forum
  • Anmelden
  • Suche
Dieses Thema
  • Alles
  • Dieses Thema
  • Dieses Forum
  • Seiten
  • Forum
  • Erweiterte Suche
  1. Informatik Forum
  2. Webmaster & Internet
  3. Entwicklung

tuscany-sca-cpp compile error

  • baracuda
  • 21. Februar 2010 um 15:16
  • Unerledigt
Hallo zusammen,

das Informatik-Forum geht in den Archivmodus, genaue Informationen kann man der entsprechenden Ankündigung entnehmen. Als Dankeschön für die Treue bekommt man von uns einen Gutscheincode (informatikforum30) womit man bei netzliving.de 30% auf das erste Jahr sparen kann. (Genaue Infos sind ebenfalls in der Ankündigung)

Vielen Dank für die Treue und das Verständnis!
  • baracuda
    Punkte
    410
    Beiträge
    51
    • 21. Februar 2010 um 15:16
    • #1

    Hi,

    Ich versuche gerade die Apache Native (c++) Tuscany zu kompilieren (http://tuscany.apache.org).
    Mittels git habe ich die sources ausgechecked (git://git.apache.org/tuscany-sca-cp).

    Mehrere Sachen sind problematisch.
    1.) bootsrap
    Beim ersten Durchlauf bekomme ich folgenden Fehler:

    Code
    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
    Alles anzeigen



    Beim zweiten durchlauf scheint das macro dann definiert zu sein, und bootstrap beendet erfolgreich.

    Dann lasse ich ./configure laufen.

    Code
    ./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



    make erzeugt dann folgendne Fehler

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



    Mich verwundert folgende Ausgabe vor dem Fehler. -I/usr/include/xulrunner-1.9.1.7/unstable existiert gar nicht bei mir. DAs dürfte jedoch denke ich nichts mit dem Error zu tun haben da stream.hpp in libboost dabei sein müsste.

    Code
    [COLOR=#1f497d]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[/COLOR]
  • Plantschkuh!
    Punkte
    6.173
    Beiträge
    1.181
    • 21. Februar 2010 um 21:32
    • #2
    Zitat von baracuda

    stream.hpp


    Unter welchem Pfad ist das bei dir installiert, und wie schaut der genaue #include-Befehl aus?

  • baracuda
    Punkte
    410
    Beiträge
    51
    • 23. Februar 2010 um 21:38
    • #3

    Die eval-test.cpp ist in ~/native-sca-1.0.incubating-M3/modules/scheme

    Hier die includes

    #include <assert.h>
    #include "stream.hpp"
    #include "string.hpp"
    #include "driver.hpp"

    eine stream.hpp ist in ~/native-sca-1.0.incubating-M3/kernel/stream.hpp

  • Maximilian Rupp 27. Dezember 2024 um 00:26

    Hat das Thema aus dem Forum Programmieren nach Entwicklung verschoben.

  1. Datenschutzerklärung
  2. Impressum