Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
media-video/subtitleripper won't compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
powderedtoastdude
n00b
n00b


Joined: 09 Jan 2005
Posts: 28

PostPosted: Mon Feb 05, 2007 8:05 am    Post subject: media-video/subtitleripper won't compile Reply with quote

Not sure what's causing this. Any help?

Code:
>>> Emerging (1 of 7) media-video/subtitleripper-0.3.4-r2 to /
 * subtitleripper-0.3-4.tgz MD5 ;-) ...                                                                                                                     [ ok ]
 * subtitleripper-0.3-4.tgz RMD160 ;-) ...                                                                                                                  [ ok ]
 * subtitleripper-0.3-4.tgz SHA1 ;-) ...                                                                                                                    [ ok ]
 * subtitleripper-0.3-4.tgz SHA256 ;-) ...                                                                                                                  [ ok ]
 * subtitleripper-0.3-4.tgz size ;-) ...                                                                                                                    [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                        [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                       [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                      [ ok ]
 * checking subtitleripper-0.3-4.tgz ;-) ...                                                                                                                [ ok ]
>>> Unpacking source...
>>> Unpacking subtitleripper-0.3-4.tgz to /var/tmp/portage/subtitleripper-0.3.4-r2/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/subtitleripper-0.3.4-r2/work/subtitleripper ...
Compiling subtitle2pgm.c
subtitle2pgm.c: In function 'main':
subtitle2pgm.c:446: warning: pointer targets in passing argument 2 of 'spudec_assemble' differ in signedness
Compiling spudec.c
In file included from /usr/include/png.h:395,
                 from spudec.c:44:
/usr/include/pngconf.h:317: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
/usr/include/pngconf.h:318: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'include'
make: *** [spudec.o] Error 1

!!! ERROR: media-video/subtitleripper-0.3.4-r2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  subtitleripper-0.3.4-r2.ebuild, line 43:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
Back to top
View user's profile Send private message
MatrixM
n00b
n00b


Joined: 02 May 2005
Posts: 48
Location: Cyberspace

PostPosted: Sat Feb 24, 2007 9:42 am    Post subject: Reply with quote

I'm having a similar problem. Different error message, but the error message is still saying something about an error in pngconf.h file. I was currently using ~x86 version of libpng, so I've downgraded libpng to standard x86 version and re-tried subtitleripper. That fixed the problem completely and I was able to emerge subtitleripper with no problems. Appears to be a problem with ~x86 libpng.

I'd suggest checking your system to see if you happen to have ~ version of libpng as well. If so, add "media-libs/libpng -~x86" to your /etc/portage/package.keywords file and re-emerge libpng. Then try subtitleripper again. If it works for you as well, then we may have stumbled upon some kind of bug for libpng.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
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