Skip to content

homebrew / saga-core does not build with XCode 4.3.3 on 10.7.4 #1

@drelu

Description

@drelu

localhost:~ luckow$ brew install saga-core
==> Downloading http://download.saga.cct.lsu.edu/saga-core/saga-core-1.6.tgz
Already downloaded: /Library/Caches/Homebrew/saga-core-1.6.tgz
==> ./configure --prefix=/usr/local/Cellar/saga-core/1.6 --with-boost=/usr/local --with-postgresql=/usr/local
==> make install
....

--> saga/impl/packages/replica/
compiling logical_directory.o
liblinking libsaga_package_job.dylib
Undefined symbols for architecture x86_64:
"saga::detail::attribute_syncsaga::adaptors::attribute::list_attributes(saga::adaptors::attribute const&, std::vector<std::string, std::allocatorstd::string >&)", referenced from:
saga::detail::attributesaga::adaptors::attribute::list_attributes() const in job_serialization.o
"saga::detail::attribute_syncsaga::adaptors::attribute::attribute_is_vector(saga::adaptors::attribute const&, std::string const&)", referenced from:
saga::detail::attributesaga::adaptors::attribute::attribute_is_vector(std::string const&) const in job_serialization.o
"saga::detail::attribute_syncsaga::adaptors::attribute::get_vector_attribute(saga::adaptors::attribute const&, std::string const&, std::vector<std::string, std::allocatorstd::string >&)", referenced from:
saga::detail::attributesaga::adaptors::attribute::get_vector_attribute(std::string const&) const in job_serialization.o
"saga::detail::attribute_syncsaga::adaptors::attribute::get_attribute(saga::adaptors::attribute const&, std::string const&)", referenced from:
saga::detail::attributesaga::adaptors::attribute::get_attribute(std::string const&) const in job_serialization.o
"saga::task saga::adaptors::attribute::set_vector_attributeprivsaga::task_base::Sync(std::string const&, std::vector<std::string, std::allocatorstd::string > const&, saga::task_base::Sync)", referenced from:
saga::adaptors::attribute::set_vector_attribute(std::string, std::vector<std::string, std::allocatorstd::string >) in job_serialization.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [libsaga_package_job.dylib] Error 1
make[3]: *** [job] Error 2
make[3]: *** Waiting for unfinished jobs....
compiling file.o
compiling advert_directory.o
compiling logical_file.o
compiling file_serialization.o
compiling replica_serialization.o
compiling advert_serialization.o
compiling iovec.o
liblinking libsaga_package_replica.dylib
liblinking libsaga_package_replica.a (static)
liblinking libsaga_package_filesystem.dylib
liblinking libsaga_package_filesystem.a (static)
installing headers
installing headers
installing lib
installing lib (static)
liblinking libsaga_package_advert.a (static)
liblinking libsaga_package_advert.dylib
installing makefiles
installing lib
<-- saga/impl/packages/replica/
installing lib (static)
installing headers
installing makefiles
<-- saga/impl/packages/filesystem/
installing lib
installing lib (static)
installing makefiles
<-- saga/impl/packages/advert/
make[2]: *** [packages] Error 2
make[1]: *** [impl] Error 2
make: *** [saga] Error 2
config.log was copied to /Users/luckow/Library/Logs/Homebrew
==> Build Environment
CPU: quad-core 64-bit dunno
OS X: 10.7.4-x86_64
Xcode: 4.3.3
X11: @ /usr/X11
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7
CPPFLAGS: -isystem /usr/local/include
LDFLAGS: -L/usr/local/lib
MACOSX_DEPLOYMENT_TARGET: 10.7
MAKEFLAGS: -j4
Error: Failed executing: make install (saga-core.rb:36)
If brew doctor does not, this may help you fix or report the issue:
https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions