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 

[fixed] libvorbis compilation fails

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



Joined: 30 Dec 2008
Posts: 16

PostPosted: Tue Sep 08, 2009 12:30 am    Post subject: [fixed] libvorbis compilation fails Reply with quote

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



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Fri Sep 11, 2009 3:11 am    Post subject: Reply with quote

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



Joined: 30 Dec 2008
Posts: 16

PostPosted: Sat Sep 12, 2009 6:44 am    Post subject: Reply with quote

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



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Sat Sep 12, 2009 7:40 am    Post subject: Reply with quote

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:
$ svn commit
Sending        libvorbis/Makefile.am
Transmitting file data .
Committed revision 2472.
Back to top
View user's profile Send private message
xantares



Joined: 30 Dec 2008
Posts: 16

PostPosted: Sat Sep 12, 2009 4:38 pm    Post subject: Reply with quote

Many thanks jimparis.

x.
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