[fixed] libvorbis compilation fails

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

Moderators: cheriff, TyRaNiD

Post Reply
xantares
Posts: 16
Joined: Tue Dec 30, 2008 4:09 am

[fixed] libvorbis compilation fails

Post by xantares »

Hi,

I'm trying to compile psplibrairies on Fedora 11 (I used gcc 4.4 to compile the toolchain)
Libvorbis fails, 'install' seems to generate twice the same png image (yes I previously wiped the install dir /usr/local/pspdev)
All other libs compiled fine (except freetype but we know the workaround)
Also, toolchain and all libs compiled fine on Ubuntu using gcc 4.3 to build the toolchain.

x.

Code: Select all

make[3]: Entering directory `/tmp/psplibraries/build/libvorbis/doc'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/pspdev/psp/share/doc/libvorbis-1.1.1" || /bin/mkdir -p "/usr/local/pspdev/psp/share/doc/libvorbis-1.1.1"
 /usr/bin/install -c -m 644 draft-kerr-avt-vorbis-rtp-03.txt eightphase.png evenlsp.png floor1_inverse_dB_table.html floorval.png fourphase.png framing.html helper.html index.html lspmap.png oddlsp.png oggstream.html programming.html squarepolar.png stereo.html stream.png v-comment.html vorbis-clip.txt vorbis-errors.txt vorbis-fidelity.html vorbis.html vorbisword2.png wait.png white-ogg.png white-xifish.png components.png floor1-1.png floor1-2.png floor1-3.png floor1-4.png hufftree.png hufftree-under.png residue-pack.png residue2.png white-xifish.png window1.png window2.png '/usr/local/pspdev/psp/share/doc/libvorbis-1.1.1'
/usr/bin/install: will not overwrite just-created `/usr/local/pspdev/psp/share/doc/libvorbis-1.1.1/white-xifish.png' with `white-xifish.png'
make[3]: *** [install-docDATA] Error 1
make[3]: Leaving directory `/tmp/psplibraries/build/libvorbis/doc'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/tmp/psplibraries/build/libvorbis/doc'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/tmp/psplibraries/build/libvorbis/doc'
make: *** [install-recursive] Error 1
../scripts/012-libvorbis.sh: Failed.
ERROR: Could not run the libraries script.
Last edited by xantares on Sat Sep 12, 2009 4:42 pm, edited 1 time in total.
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

Looks like a bug in the libvorbis makefile.
Try adding "--disable-docs" to the configure line in psplibraries/scripts/012-libvorbis.sh, then retry that one.
xantares
Posts: 16
Joined: Tue Dec 30, 2008 4:09 am

Post by xantares »

Hi,

adding ...autogen.sh --disable-docs ... didn't work
doc is still built
however, there is no --enable-docs options passed to the configure script !
weird

however, i managed to disable the doc by removing the folder in the Makefile.am, which is ugly


x.
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

It is, but it's kind of silly to build the docs when cross compiling for PSP... I've committed a patch to remove docs from Makefile.am, just to work around this bug.

Code: Select all

$ svn commit 
Sending        libvorbis/Makefile.am
Transmitting file data .
Committed revision 2472.
xantares
Posts: 16
Joined: Tue Dec 30, 2008 4:09 am

Post by xantares »

Many thanks jimparis.

x.
Post Reply