Opened 19 years ago

Closed 19 years ago

#3728 closed defect (duplicate)

error building audiofile-0.2.6

Reported by: marloes-dports@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

PROBLEM: After newly installing Darwinports and updating it using the port -d selfupdate command (New DarwinPorts base version 1.001), i tried installing the xmms port but this failed because of a build error in audiofile. This is the relevant part of the output:

aaiboek$ sudo port install xmms ---> Fetching audiofile ---> Attempting to fetch audiofile-0.2.6.tar.gz from http://www.68k.org/~michael/audiofile/ ---> Verifying checksum(s) for audiofile ---> Extracting audiofile ---> Configuring audiofile ---> Building audiofile with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_audio_audiofile/work/audiofile-0.2.6" && make all" returned error 2 Command output: osxplay.c:115: error: `outputUnit' undeclared (first use in this function)

FIX: I've checked the relevant line in osxplay.c and outputUnit appears to be a function argument. However, the osxplay file was located in a dir named 'examples', which didn't sound too important. I edited the main Makefile to omit the 'examples' directory and ran the 'sudo port install xmms' command again. This did the trick, installing audiofile without further errors.

Change History (1)

comment:1 Changed 19 years ago by toby@…

Resolution: duplicate
Status: newclosed

* This bug has been marked as a duplicate of 3132 *

Note: See TracTickets for help on using tickets.