Changes between Initial Version and Version 4 of Ticket #21583


Ignore:
Timestamp:
Oct 9, 2009, 5:36:57 AM (11 years ago)
Author:
ryandesign (Ryan Schmidt)
Comment:

This will occur if you try to install libxml2 +universal but you have not installed its dependencies +universal. The attached patch could be used to ensure users encounter a proper error message for this situation for libxml2 (instead of libxml2 silently installing files that won't work right), until a proper fix for this exists in MacPorts base.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21583

    • Property Status changed from new to reopened
    • Property Cc jmr@… ryandesign@… added; cedric.luthi@… removed
    • Property Owner changed from macports-tickets@… to cedric.luthi@…
    • Property Version changed from 1.8.0 to
    • Property Keywords snowleopard added
  • Ticket #21583 – Description

    initial v4  
     1{{{
    12pkg-config --libs libxml-2.0
     3}}}
    24displays "Libs.private field occurs twice in '/opt/local/lib/pkgconfig/libxml-2.0.pc'" with the universal variant of libxml2 installed on Snow Leopard.
    35
    46The libxml-2.0.pc file contains:
    57
     8{{{
    69#ifndef __LP64__
    710Libs.private: -lpthread   -liconv -lm
     
    912Libs.private: -lpthread -lz  -liconv -lm
    1013#endif /* __LP64__ */
     14}}}
    1115
    1216and the preprocessor directives are evidently confusing pkg-config.