Cannot build libvorbis

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Shapyi
Posts: 95
Joined: Mon Apr 25, 2005 9:31 am

Cannot build libvorbis

Post by Shapyi »

For some reason libvorbis from the SVN will not build for me. The problem is this command to configure and create the make files:

Code: Select all

LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" ./autogen.sh \
--host psp --prefix=$(psp-config --psp-prefix)
I tried putting the --host=psp and it did not work. I tried setting export PKG_CONFIG_PATH="$PSPDEV/psp/lib/pkgconfig" but it does not work. I found an old thread with the same problem I am having:

Code: Select all

checking for pkg-config... no
checking for Ogg... cross compiling; assumed OK...
yes
checking for oggpack_writealign... no
configure: error: Ogg >= 1.0 required !
I am using Cygwin. I cannot solve this one, can someone help me?

EDIT: I found the problem. I did not have pkg-config installed.
jockyw2001
Posts: 339
Joined: Thu Sep 29, 2005 4:19 pm

Post by jockyw2001 »

I had that error some time ago. It was caused by a typo in README.PSP where there is a missing equal sign between host and psp. The line should be:

Code: Select all

LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" ./autogen.sh \ 
--host=psp --prefix=$(psp-config --psp-prefix)
Then it worked for me.
Post Reply