Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#32755 closed defect (fixed)

mplayer2 +universal: ERROR: libdirac not found

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: universal Cc:
Port: mplayer2

Description

mplayer2 configure fails with:

ERROR: libdirac not found

But the dirac port is installed.

Attachments (1)

main.log (102.5 KB) - added by ryandesign (Ryan Carsten Schmidt) 13 years ago.

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log added

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: universal added
Summary: mplayer2: ERROR: libdirac not foundmplayer2 +universal: ERROR: libdirac not found

This appears to only happen when building the universal variant; non-universal it builds fine.

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Resolved in r88580 by turning off universal variant.

comment:3 Changed 13 years ago by neverpanic (Clemens Lang)

I know it's a rather lousy fix and the ticket is closed now, but just for reference: configure didn't find libdirac and libschroedinger when running universal, which was easily fixed by adding some -I${prefix}/include/somedir statements to configure.cppflags. However, mplayer2 (or the ffmpeg it ships) contain inline assembly, which causes errors when building universal, so in order to have this working, one would probably have to build and configure separately and stick the binary together using lipo.

comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

In other words, one would have to use the muniversal portgroup.

Note: See TracTickets for help on using tickets.