Changes between Initial Version and Version 1 of Ticket #35468


Ignore:
Timestamp:
Aug 1, 2012, 5:35:43 PM (12 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Remember to use WikiFormatting and TracLinks.

The error in the log is just:

:info:build Undefined symbols for architecture x86_64:
:info:build   "_libiconv_close", referenced from:
:info:build       _decode_rfc2047 in libmh.a(sbr_libmh_a-fmt_rfc2047.o)
:info:build   "_libiconv_open", referenced from:
:info:build       _decode_rfc2047 in libmh.a(sbr_libmh_a-fmt_rfc2047.o)
:info:build   "_libiconv", referenced from:
:info:build       _decode_rfc2047 in libmh.a(sbr_libmh_a-fmt_rfc2047.o)
:info:build ld: symbol(s) not found for architecture x86_64

So instead of changing the compiler, we should just make sure "-L${prefix}/lib" gets into LDFLAGS.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35468

    • Property Owner changed from macports-tickets@… to kenh@…
    • Property Keywords nmh gcc removed
    • Property Cc ryandesign@… added
  • Ticket #35468 – Description

    initial v1  
    11the workaround mentioned on the hotlist:
    2 https://trac.macports.org/wiki/ProblemHotlist
     2wiki:ProblemHotlist
    33
    44to specify gcc: like
    55
     6{{{
    67configure.compiler=llvm-gcc-4.2
     8}}}
    79
    810works, so here is the ticket for making it work with clang (the new default compiler).
    911
    1012The HotList recommends reading this for help:
    11 https://trac.macports.org/wiki/PortfileRecipes#compiler
     13wiki:PortfileRecipes#compiler
    1214