[MacPorts] #20235: libsdl does not build 64-bit
MacPorts
noreply at macports.org
Sat Sep 19 10:25:00 PDT 2009
#20235: libsdl does not build 64-bit
------------------------------+---------------------------------------------
Reporter: hussein@… | Owner: nox@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: LP64 | Port: libsdl
------------------------------+---------------------------------------------
Comment(by whcordis@…):
Replying to [comment:128 kenny@…]:
> The patch I attached was really meant for MacPorts maintaners to use
(e.g., toby), but you could apply it thusly:
>
> Make sure old remnants are not there anymore:
> * port uninstall libsdl
> * port clean libsdl
>
> Clean up libsdl-devel if you used it:
> * port uninstall libsdl-devel
>
> Make sure your ports tree is up to date and apply the patch to the
'''port tree itself''':
> * port selfupdate
> * cd /opt/local/var/macports/sources/rsync.macports.org
> * patch -p0 < /path/to/macports-libsdl-1.2.13-10.6.patch
> * port install libsdl
libsdl-devel often gets installed first (ex. ffmpeg depends on libsdl-
devel but not libsdl). When libsdl-devel is installed after using your
patch the following error occurs
{{{
---> Activating libsdl @1.2.13_6
Error: Target org.macports.activate returned: Image error: /opt/local/bin
/sdl-config is being used by the active libsdl-devel port. Please
deactivate this port first, or use 'port -f activate libsdl' to force the
activation.
Error: Status 1 encountered during processing.
}}}
Simply deactivating libsdl-devel and anything that depends on it and then
installing libsdl works. ffmpeg will then install and avoid installing
libsdl-devel.
--
Ticket URL: <http://trac.macports.org/ticket/20235#comment:129>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list