media-libs/jasper compiling problems

I was trying to compile k3b, but when it got to jasper it died out with this message.

!!! ERROR: media-libs/jasper-1.701.0 failed.
!!! Function src_compile, Line 25, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

to get around it you need to compile jasper with out opengl like so

# USE=”-opengl” emerge media-libs/jasper

That got it working for me and I was able to compile k3b. I have not noticed any issues with jasper NOT having opengl.