Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#16436 closed defect (invalid)

libvorbis 1.2.0 Does Not Configure

Reported by: shickfaced@… Owned by: nox@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: libvorbis oggtest ogg vorbis Cc: nox@…, openmaintainer@…, shickfaced@…, ryandesign (Ryan Carsten Schmidt)
Port:

Description

The package libvorbis relies on a configure option "--disable-oggtest" to get past a pesky Ogg version test that the configure file normally performs. I was met first with this error which did not fail the build.

Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_libvorbis/work/libvorbis-1.2.0" && ./configure --prefix=/opt/local --disable-oggtest " returned error 1

I assume that the problematic part of this line would be the "--disable-oggtest" because just a few lines later, I get:

configure: error: Ogg >= 1.0 required !

Error: Status 1 encountered during processing.

...and the build fails.

Attachments (2)

libvorbis.txt (10.5 KB) - added by shickfaced@… 16 years ago.
libvorbis_output
libogg.txt (72 bytes) - added by shickfaced@… 16 years ago.
libogg_check

Download all attachments as: .zip

Change History (10)

comment:1 Changed 16 years ago by shickfaced@…

Cc: shickfaced@… added

Cc Me!

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

Cc: ryandesign@… added
Owner: changed from macports-tickets@… to nox@…

Assigning to maintainer. However, I'm unable to reproduce the problem with MacPorts from trunk, Mac OS X 10.4.11 and Xcode 2.5 on a Power Mac G4. What OS, Xcode, MacPorts version, and processor architecture do you have? To give us more information, could you please run:

sudo port clean --work libvorbis
sudo port -d install libvorbis 2>&1 | tee ~/Desktop/libvorbis.txt

Then attach libvorbis.txt from your Desktop to this ticket.

ogg >= 1.0 should be available; the libogg port provides ogg 1.1.3, and the libogg port is listed as a dependency of the libvorbis port. I trust that the libogg port is installed and active? Find out with "port installed libogg"; it should say:

The following ports are currently installed:
  libogg @1.1.3_2 (active)

If it says it's installed but not active, activate it with:

sudo port activate libogg

Changed 16 years ago by shickfaced@…

Attachment: libvorbis.txt added

libvorbis_output

Changed 16 years ago by shickfaced@…

Attachment: libogg.txt added

libogg_check

comment:3 Changed 16 years ago by shickfaced@…

I am running 10.5.4 on a 2 GHz Intel. Xcode is the latest version (I was developing for the iPhone). I am running MacPorts 1.6.0 which I listed above. I also attached two output files. The first was the output from the failed libvorbis install. I did clean the port first with the given command. It produced no error during cleaning. I also posted the output of the port installed libogg command. It seems it is installed and active.

comment:4 Changed 16 years ago by blb@…

From libvorbis's configure output:

checking for ogg >= 1.0... checking for Ogg... yes
checking for oggpack_writealign... no

It's finding libogg, but not oggpack_writealign, which should be there (it is on my libogg 1.1.3_2 install). Just to verify, what does running the following say?

nm /opt/local/lib/libogg.0.dylib |grep oggpack_writealign

If it says nothing, maybe a reinstall of libogg is needed?

comment:5 Changed 16 years ago by shickfaced@…

The file exists but the command just returns a statement saying that it is not an object file. I am going to attempt to clean and reinstall libogg.

comment:6 Changed 16 years ago by shickfaced@…

...and it magically works. I just had to uninstall, clean, and reinstall libogg. I appreciate everyone's help. Thank you for your time.

comment:7 Changed 16 years ago by blb@…

Resolution: invalid
Status: newclosed

If /opt/local/lib/libogg.0.dylib ended up not being an object file, something really strange happened there...glad a redo of it worked.

comment:8 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.