Ticket #32215 (closed defect: fixed)
ledger build fails with clang
| Reported by: | vishketan@… | Owned by: | johnw@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.0.3 |
| Keywords: | clang | Cc: | ryandesign@… |
| Port: | ledger |
Description
Please see attached log file.
Attachments
Change History
comment:1 Changed 18 months ago by ryandesign@…
- Cc ryandesign@… added
- Owner changed from macports-tickets@… to johnw@…
- Port set to ledger
- Summary changed from ledger build fails to ledger build fails with clang
I see you were using clang. Did you try llvm-gcc-4.2 or gcc-4.2? See ProblemHotlist#compiler. If one of those works, we want to use those instead of a MacPorts compiler.
comment:2 Changed 18 months ago by vishketan@…
sudo port install ledger configure.compiler=llvm-gcc-4.2
fails, but
sudo port install ledger configure.compiler=apple-gcc-4.2 configure.cxx=g++-apple-4.2
works.
comment:3 follow-up: ↓ 4 Changed 18 months ago by vishketan@…
This also works
sudo port install ledger configure.compiler=llvm-gcc-4.2 configure.cxx=llvm-g++-4.2
comment:4 in reply to: ↑ 3 Changed 18 months ago by ryandesign@…
- Keywords clang added
Replying to vishketan@…:
sudo port install ledger configure.compiler=llvm-gcc-4.2
fails
Replying to vishketan@…:
This also works
sudo port install ledger configure.compiler=llvm-gcc-4.2 configure.cxx=llvm-g++-4.2
Those two commands should have produced identical results. Setting configure.cxx manually is only necessary for apple-gcc42 because of bug #31709.
Note: See
TracTickets for help on using
tickets.

