#33115 closed defect (fixed)
Boost @1.4.8 +debug Build Error
Reported by: | led@… | Owned by: | adfernandes (Andrew Fernandes) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | lion | Cc: | reko@… |
Port: | boost |
Description
Installing the Boost Library using Macports fails, due to an unrecognized command line option. In particular, I tried to install the boost library using the command:
sudo port install boost +debug
Macports fails to install the port and provides the error message:
Error: Target org.macports.build returned: shell command failed (see log for details) Log for boost is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boost/boost/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
I'm using Mac OSX Lion 10.7.2 and XCode 4.2.1. The used compiler is LLVM-GCC-4.2.1
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00) Copyright (C) 2007 Free Software Foundation, Inc.
From the logs: The cause of the error seems to be some unrecognized c++ options:
:info:build cc1plus: error: unrecognized command line option "-Wno-long-double"
:info:build cc1plus: error: unrecognized command line option "-fcoalesce-templates"
Is there an option to fix this bug?
Attachments (2)
Change History (11)
Changed 13 years ago by led@…
comment:2 Changed 13 years ago by led@…
Just as a side note: Trying to install the apple GCC42 as suggested in the hot topics also fails. From the logs:
:info:build ./gtyp-gen.h:2: error: expected identifier or '(' before string constant :info:build ./gtyp-gen.h:8: error: expected identifier or '(' before string constant :info:build ./gtyp-gen.h:139: warning: ISO C does not allow extra ';' outside of a function :info:build ./gtyp-gen.h:140: error: expected identifier or '(' before string constant :info:build ./gtyp-gen.h:178: warning: ISO C does not allow extra ';' outside of a function :info:build ./gtyp-gen.h:179: error: expected identifier or '(' before string constant :info:build ./gtyp-gen.h:188: warning: ISO C does not allow extra ';' outside of a function :info:build ./gtyp-gen.h:189: error: expected identifier or '(' before string constant
comment:3 Changed 13 years ago by reko@…
I have the same issue, I've tried researching and fixing it for a while now, but can't seem to resolve it. Any help would be greatly appreciated!
comment:4 Changed 13 years ago by led@…
Just as an additional information. I just build the Boost library version 1.48 by hand using the sources from the boost website. I extracted the commands you used for the bootstrap.sh and the b2 install. Everything worked fine and boost compiled without any errors. Also the sources were copied in the right direction. As a results, I assume that the above mentioned issue is not caused by the Boost Library, but a failure in the macports script.
Thanks a lot for any help in advance.
Best,
Lars
comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | reko@… added; led@… removed |
---|---|
Keywords: | Boost removed |
Owner: | changed from macports-tickets@… to adfernandes@… |
Port: | boost added; Boost removed |
comment:6 Changed 13 years ago by adfernandes (Andrew Fernandes)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:7 Changed 4 years ago by cooljeanius (Eric Gallager)
This bug is back with the new boost169 port
comment:8 Changed 4 years ago by michaelld (Michael Dickens)
@cooljeanius : can you then check to see if there's an issue open for the 'boost169' port & if not then create a new one. This one is ancient & closed. If you do open one, please note this ticket in the new one, for reference.
comment:9 Changed 4 years ago by mf2k (Frank Schima)
Keywords: | lion added; Lion Xcode 4.2.1 gcc LLVM removed |
---|
Log file created during install