Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#21591 closed defect (fixed)

libsdl_mixer depends on libsdl, smpeg depends on libsdl-devel

Reported by: macfreek (Freek Dijkstra) Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: smpeg

Description

 $ port deps libsdl_mixer 
 Full Name: libsdl_mixer @1.2.8
 Library Dependencies: libsdl, smpeg, libvorbis, libogg

 $ port deps smpeg
 Full Name: smpeg @0.4.4+darwin_10
 Build Dependencies:   libtool
 Library Dependencies: libsdl-devel

When I try to build this, I get the following error:

--->  Activating libsdl-devel @1.3.0-4791_0
Error: Target org.macports.activate returned: Image error: /opt/local/bin/sdl-config is being used by the active libsdl port.  Please deactivate this port first, or use 'port -f activate libsdl-devel' to force the activation.

It seems to me that the root problem is that smpeg depends on libsdl-devel instead of libsdl. (If smpeg needs libsdl-devel, perhaps it should also be named smpeg-devel or so.)

Change History (4)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to mww@…

comment:2 Changed 15 years ago by mf2k (Frank Schima)

I believe both ports depend on libsdl or libsdl-devel now. Please run the following:

sudo port selfupdate
sudo port -p uninstall libsdl-devel libsdl_mixer
sudo port clean smpeg
sudo port install smpeg

comment:3 Changed 15 years ago by tobypeterson

Keywords: libsdl removed
Port: libsdl_mixer removed
Resolution: fixed
Status: newclosed

comment:4 Changed 15 years ago by tobypeterson

Summary: libsld_mixer depends on both libsdl and libsdl-devel / smpeg depends on libsdl-devellibsdl_mixer depends on libsdl, smpeg depends on libsdl-devel
Note: See TracTickets for help on using tickets.