Opened 11 years ago

Closed 11 years ago

#40951 closed defect (worksforme)

boost @1.54.0: configure failed

Reported by: namitkewat@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: boost

Description

I am getting this error while installing boost:

Namit-Kewats-MacBook:~ namitkewat$ sudo port install boost @1.54.0
--->  Computing dependencies for boost
--->  Configuring boost
Error: org.macports.configure for port boost returned: configure failure: command execution failed
Please see the log file for port boost for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boost/boost/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port boost failed

How to resolve this??

Attachments (2)

main.log (19.4 KB) - added by namitkewat@… 11 years ago.
main.log file
bootstrap.log (673 bytes) - added by namitkewat@… 11 years ago.

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by namitkewat@…

Attachment: main.log added

main.log file

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: boost removed
Port: @1.54.0 removed
Summary: installing boost @1.54.0 failedboost @1.54.0: configure failed

This is not a clean log. Please clean and try again and attach the new log.

If the new log also says

Building Boost.Build engine with toolset darwin...
Failed to build Boost.Build build engine
Consult 'bootstrap.log' for more details

like the old one does, then also attach the bootstrap.log (it'll be somewhere inside the directory identified by the command port work boost).

Changed 11 years ago by namitkewat@…

Attachment: bootstrap.log added

comment:2 Changed 11 years ago by namitkewat@…

Please close this issue, i have sorted it out. It requires clang!!!
bootstrap.log

/opt/local/bin/clang-mp-3.3 -o bootstrap/jam0 command.c compile.c constants.c debug.c execcmd.c frames.c function.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c object.c option.c output.c parse.c pathsys.c pathunix.c regexp.c rules.c scan.c search.c subst.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c class.c cwd.c native.c md5.c w32_getreg.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c execunix.c fileunix.c
./build.sh: line 16: /opt/local/bin/clang-mp-3.3: No such file or directory

after installing clang-3.3 everything works fine; just it took 5 hours to complete everything!!!

Namit-Kewats-MacBook:~ namitkewat$ port deps boost
Full Name: boost @1.54.0_0+no_single+no_static+python27
Build Dependencies:   clang-3.3
Library Dependencies: zlib, expat, bzip2, libiconv, icu, python27

Last edited 11 years ago by namitkewat@… (previous) (diff)

comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

MacPorts did not install clang-3.3 for you? As you've shown above, clang-3.3 is listed as a build dependency.

comment:4 Changed 11 years ago by namitkewat@…

Yes MacPorts didn't install clang while installing boost..

so I have first installed clang-3.3 separately and then boost; and here a current info of clang-3.3 and boost. .


Namit-Kewats-MacBook:~ namitkewat$ port info clang-3.3 
clang-3.3 @3.3_1 (lang)
Variants:             [+]analyzer, arm_runtime, assertions, python25, python26, [+]python27, universal

Description:          Clang is an LLVM native C/C++/Objective-C compiler, which aims to deliver amazingly fast compiles (e.g. about 3x faster than GCC when compiling Objective-C
                      code in a debug configuration), extremely useful error and warning messages and to provide a platform for building great source level tools. The included
                      Clang Static Analyzer is a tool automatically finds bugs in your code, and is a great example of the sort of tool that can be built using the Clang frontend
                      as a library to parse C/C++ code.
Homepage:             http://clang.llvm.org/

Extract Dependencies: subversion
Library Dependencies: llvm-3.3, libffi
Runtime Dependencies: clang_select, ld64, perl5, python27
Platforms:            darwin
License:              NCSA
Maintainers:          jeremyhu@macports.org
Namit-Kewats-MacBook:~ namitkewat$ port info boost
boost @1.54.0 (devel)
Variants:             debug, [+]no_single, [+]no_static, openmpi, python25, python26, [+]python27, python31, python32, python33, regex_match_extra, universal

Description:          Boost provides free portable peer-reviewed C++ libraries. The emphasis is on portable libraries which work well with the C++ Standard Library.
Homepage:             http://www.boost.org

Build Dependencies:   clang-3.3
Library Dependencies: zlib, expat, bzip2, libiconv, icu, python27
Platforms:            darwin
License:              Boost-1
Maintainers:          nomaintainer@macports.org

comment:5 in reply to:  4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Resolution: worksforme
Status: newclosed

Replying to namitkewat@…:

Yes MacPorts didn't install clang while installing boost..

That shouldn't be possible and I don't understand why that happened (or, rather, didn't happen).

But I'm glad you got it working by manually installing clang-3.3.

If you encounter other situations where a listed dependency does not get installed, please let us know.

Note: See TracTickets for help on using tickets.