Changes between Version 19 and Version 20 of FAQ


Ignore:
Timestamp:
Sep 30, 2007, 12:48:43 PM (17 years ago)
Author:
mww@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FAQ

    v19 v20  
    104104Use "variants." The command `port variants <portname>` (where ''portname'' is the port in question) lists available build variations that support differences you may desire. For instance, to install PHP 5 for use with Apache 2 and MySQL, you'd type `port install php5 +apache2 +mysql`.
    105105
    106 === How do I get readline support for DarwinPort's Python? ===
     106=== Python fails to build ===
     107
     108If you get an error building Python like
     109{{{
     110Python/mactoolboxglue.c:440: warning: return makes integer from pointer without a cast Python/mactoolboxglue.c:440
     111}}}
     112your XCode installation is incomplete (you are missing e.g. the Quicktime SDK).
     113
     114=== How do I get readline support for MacPort's Python? ===
    107115
    108116If you're using python24, install the py-readline port.
     
    112120=== Why can't I `import foo` in Python 2.5? ===
    113121
    114 A number of "standard python modules" are built separately from the python25 port, including:
    115  * zlib
    116  * _hashlib
    117  * _ssl
    118  * _bsddb
    119  * _sqlite3
    120  * _tkinter
    121  * bz2
    122  * gdbm
    123  * readline
    124  * _curses
    125  * _curses_panel
     122A number of "standard python modules" are built separately from the python25 port:
     123 * zlib (py25-zlib)
     124 * _hashlib (py25-hashlib)
     125 * _ssl (py25-socket-ssl)
     126 * _bsddb (py25-bsddb)
     127 * _sqlite3 (py25-sqlite3)
     128 * _tkinter (py25-tkinter)
     129 * bz2 (py25-bz2)
     130 * gdbm (py25-gdbm)
     131 * readline (py25-readline)
     132 * _curses, _curses_panel (py25-curses)
    126133
    127 Some of the modules are available as separate py25-xxx ports, for example, py25-hashlib. For further information about readline support in python25, see the above FAQ question.
     134For further information about readline support in python25, see the above FAQ question.
     135People with a FreeBSD background will find themselves familiar with this schema.
    128136
    129137=== Will MacPorts link to system libraries rather than its own? ===