Menu

#37 Problems building 1.0.16 on Linux

open
nobody
asl (8)
5
2014-08-22
2006-05-22
No

In adobe/test/begin/Jamfile.v2:

case * :
{
BINARY_NAME "begin" ;
}

is missing "="

The file adobe/future/source/stub/file_monitor_impl.hpp
should have a .cpp suffix.

Fixing those, I now get this error:

/home/nbde52d/src/adobe-source/third_party/boost_tp/boost/tools/build/v2/build/generators.jam:826:
in try-one-generator-really
*** argument error
* rule object(C-compiling-generator)@1.run ( project
name ? : property-set : sources + )
* called with: ( object(project-target)@20
adobe_widgets..os_utilities : object(property-set)@172 : )
* missing argument sources
/home/nbde52d/src/adobe-source/third_party/boost_tp/boost/tools/build/v2/build/generators.jam:274:see
definition of rule 'run' being called
/home/nbde52d/src/adobe-source/third_party/boost_tp/boost/tools/build/v2/build/generators.jam:873:
in try-one-generator
/home/nbde52d/src/adobe-source/third_party/boost_tp/boost/tools/build/v2/build/generators.jam:1080:
in construct-really
/home/nbde52d/src/adobe-source/third_party/boost_tp/boost/tools/build/v2/build/generators.jam:1139:
in generators.construct
/home/nbde52d/src/adobe-source/third_party/boost_tp/boost/tools/build/v2/build/targets.jam:1242:
in construct
/home/nbde52d/src/adobe-source/third_party/boost_tp/boost/tools/build/v2/build/targets.jam:1128:
in object(typed-target)@24.generate
/home/nbde52d/src/adobe-source/third_party/boost_tp/boost/tools/build/v2/build/targets.jam:757:
in generate-really
/home/nbde52d/src/adobe-source/third_party/boost_tp/boost/tools/build/v2/build/targets.jam:730:
in object(main-target)@35.generate
/home/nbde52d/src/adobe-source/third_party/boost_tp/boost/tools/build/v2/build/targets.jam:886:
in targets.generate-from-reference
/home/nbde52d/src/adobe-source/third_party/boost_tp/boost/tools/build/v2/build/targets.jam:1066:
in generate-dependencies
/home/nbde52d/src/adobe-source/third_party/boost_tp/boost/tools/build/v2/build/targets.jam:1107:
in object(typed-target)@25.generate
/home/nbde52d/src/adobe-source/third_party/boost_tp/boost/tools/build/v2/build/targets.jam:757:
in generate-really
/home/nbde52d/src/adobe-source/third_party/boost_tp/boost/tools/build/v2/build/targets.jam:730:
in object(main-target)@36.generate
/home/nbde52d/src/adobe-source/third_party/boost_tp/boost/tools/build/v2/build/targets.jam:886:
in targets.generate-from-reference
/home/nbde52d/src/adobe-source/third_party/boost_tp/boost/tools/build/v2/build/targets.jam:1066:
in generate-dependencies
/home/nbde52d/src/adobe-source/third_party/boost_tp/boost/tools/build/v2/build/targets.jam:1107:
in object(alias-target-class)@16.generate
/home/nbde52d/src/adobe-source/third_party/boost_tp/boost/tools/build/v2/build/targets.jam:757:
in generate-really
/home/nbde52d/src/adobe-source/third_party/boost_tp/boost/tools/build/v2/build/targets.jam:730:
in object(main-target)@16.generate
/home/nbde52d/src/adobe-source/third_party/boost_tp/boost/tools/build/v2/build/targets.jam:252:
in object(project-target)@3.generate
/home/nbde52d/src/adobe-source/third_party/boost_tp/boost/tools/build/v2/build-system.jam:276:
in load
/home/nbde52d/src/adobe-source/third_party/boost_tp/boost/tools/build/v2/kernel/modules.jam:259:
in import
/home/nbde52d/src/adobe-source/third_party/boost_tp/boost/tools/build/v2/kernel/bootstrap.jam:153:
in boost-build
/home/nbde52d/src/adobe-source/boost-build.jam:1: in
module scope

Discussion

  • Caleb Epstein

    Caleb Epstein - 2006-05-22

    Logged In: YES
    user_id=36183

    OK, that was building from the top-level dir. Building from
    the adobe subdir works, except eve.cpp doesn't compile using
    gcc 3.4.3 (see attached). Code compiles OK using gcc 4.1.0
    after fixing a couple of other bugs:

    --- cmath.hpp~ 2006-05-04 17:45:33.000000000 -0400
    +++ cmath.hpp 2006-05-22 11:25:23.000000000 -0400
    @@ -37,14 +37,14 @@

    #define ADOBE_HAS_CPP_CMATH

    -#elif ((__GNUC__ == 4) && (__GNUC_MINOR__ == 0))
    +#elif ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 0))
    /*
    The currently supported version of GNUC has C99
    extensions in math.h. But no TR1 extensions.
    */
    #define ADOBE_HAS_C99_MATH_H

    #else
    -#error "Unknown GCC compiler configuration for cmath (last
    known version is 4.0.1)."
    +#error "Unknown GCC compiler configuration for cmath (last
    known version is 4.1.0)."
    #endif

    #elif defined(_MSC_VER)

    --- istream.hpp~ 2006-05-04 17:46:22.000000000 -0400
    +++ istream.hpp 2006-05-22 11:25:57.000000000 -0400
    @@ -58,7 +58,7 @@
    line_position_t();
    #endif // !defined(ADOBE_NO_DOCUMENTATION)

    - const char* line_position_t::stream_name() const
    + const char* stream_name() const
    { return file_name_m.get(); }

    std::string file_snippet() const

     
  • Caleb Epstein

    Caleb Epstein - 2006-05-22

    Compiler errors

     
  • Sean Parent

    Sean Parent - 2006-05-22

    Logged In: YES
    user_id=1227609

    Thanks for the fixes - we don't currently build a linux release so this is
    helpful.

    +#elif ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 0))

    This is a pretty broad fix. The point of this check is to ensure that the
    contents of the included cmath/math.hpp headers are reviewed. I don't know
    if 4.1.0 adds any support for the TR1 extensions. Can you review the headers
    and get back to us. At the very least this shouldn't be >= 0 without a
    corresponding && <= 1.

    Sean

     

Log in to post a comment.