forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Cannot build libvorbis

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Shapyi



Joined: 25 Apr 2005
Posts: 95

PostPosted: Wed Jul 19, 2006 10:22 am    Post subject: Cannot build libvorbis Reply with quote

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:
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:
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.
Back to top
View user's profile Send private message
jockyw2001



Joined: 29 Sep 2005
Posts: 339

PostPosted: Wed Jul 19, 2006 4:29 pm    Post subject: Reply with quote

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:

LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" ./autogen.sh \
--host=psp --prefix=$(psp-config --psp-prefix)

Then it worked for me.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group