# LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" ./autogen.sh --host psp --prefix=$(psp-config --psp-prefix)
checking for autoconf...
checking for automake...
checking for libtool... libtoolize
Generating configuration files for vorbis, please wait....
aclocal -I .
/usr/share/aclocal/progsreiserfs.m4:13: warning: underquoted definition of AC_CHECK_LIBREISERFS
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
autoheader
libtoolize --automake
automake --add-missing
autoconf
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
hecking whether the psp-g++ linker (/usr/local/pspdev/psp/bin/ld) supports shared libraries... no
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for memory.h... (cached) no
checking for cos in -lm... yes
checking for pthread_create in -lpthread... no
checking for pkg-config... yes
checking for psp-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for OGG... checking for Ogg... cross compiling; assumed OK...
yes
checking for oggpack_writealign... no
configure: error: Ogg >= 1.0 required !
libogg.a is in /usr/local/pspdev/psp/lib
I'm running suse 10
Is PKG_CONFIG_PATH set?
This worked out for me in cygwin:
Set the PKG_CONFIG_PATH environment var to whereever ogg.pc is. libogg must be compiled first.
export PKG_CONFIG_PATH="$PSPDEV/psp/lib/pkgconfig"
Thanks to chip-pwl and epac for getting me on the right track.
i'm having the same problem, under cygwin.
libogg compiled fine and it seems to be installed properly.
it's not working with either 'PKG_CONFIG_PATH' set as described, or with the '=' put back in...
the ogg.pc file is present. dont know what else to check :/
I'm doube-posting because editing a post won't bump the thread...
Found the problem... you have to have pkg-config installed. It isn't installed by default in Ubuntu, and it isn't in the list of packages required to build the sdk (since only things like libvorbis needs it). Once I installed pkg-config (from the repo via synaptic), libvorbis built just peachy.