Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SDL dependency broken [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Warhead
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2003
Posts: 122
Location: Verden, near Bremen, Germany

PostPosted: Wed Jan 30, 2008 4:33 pm    Post subject: SDL dependency broken [solved] Reply with quote

Several ebuild regarding sdl (e.g. sdl-mixer, sdl-image) fail with the following errormessage:
Code:

checking for SDL - version >= 1.2.10... no
*** Could not run SDL test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means SDL was incorrectly installed
*** or that you have moved SDL since it was installed. In the latter case, you
*** may want to edit the sdl-config script: /usr/bin/sdl-config
configure: error: *** SDL version 1.2.10 not found!

sdl-config --version tells me:
Code:

1.2.11

revdep-rebuild does not work (since in does not run through due to the sdl ebuild) rebuilding libsdl did not help ether. I did not find a post regarding this nor a bug report. Does anybody have an idea?

Regards
Warhead
_________________
To Rome said Nero: "If to smoke you turn
I shall not cease to fiddle while you burn."
To Nero Rome replied: "Pray do your worst,
'Tis my excuse that you were fiddling first."
--Orm Pludge


Last edited by Warhead on Wed Mar 12, 2008 1:45 am; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 14617

PostPosted: Thu Jan 31, 2008 3:48 am    Post subject: Reply with quote

What is the exact error that occurred?
Back to top
View user's profile Send private message
rapaman
n00b
n00b


Joined: 22 Feb 2008
Posts: 4

PostPosted: Fri Feb 22, 2008 6:47 am    Post subject: same Reply with quote

Hello,

Same problem, with last world update.
Code:

checking for SDL - version >= 1.2.10... no
*** Could not run SDL test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding SDL or finding the wrong
*** version of SDL. If it is not finding SDL, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location  Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
configure: error: *** SDL version 1.2.10 not found!

!!! Please attach the following file when seeking support:
!!! /old/tmp/portage/media-libs/sdl-image-1.2.6-r1/work/SDL_image-1.2.6/config.log
 *
 * ERROR: media-libs/sdl-image-1.2.6-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2452:  Called econf 'src_compile' 'src_compile' '--enable-gif' '--enable-jpg' '--enable-tif' '--enable-png' '--enable-pnm' '--enable-bmp' '--enable-lbm' '--enable-pcx' '--enable-tga'
 *               ebuild.sh, line  513:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
 *   econf failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/old/tmp/portage/media-libs/sdl-image-1.2.6-r1/temp/build.log'.
 * The ebuild environment file is located at '/old/tmp/portage/media-libs/sdl-image-1.2.6-r1/temp/environment'.
 *

 * Messages for package media-libs/sdl-image-1.2.6-r1:

 *
 * ERROR: media-libs/sdl-image-1.2.6-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2452:  Called econf 'src_compile' 'src_compile' '--enable-gif' '--enable-jpg' '--enable-tif' '--enable-png' '--enable-pnm' '--enable-bmp' '--enable-lbm' '--enable-pcx' '--enable-tga'
 *               ebuild.sh, line  513:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
 *   econf failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/old/tmp/portage/media-libs/sdl-image-1.2.6-r1/temp/build.log'.
 * The ebuild environment file is located at '/old/tmp/portage/media-libs/sdl-image-1.2.6-r1/temp/environment'.


Somebody solve it ?

Best Regards,
Dmitry.
Back to top
View user's profile Send private message
MostAwesomeDude
Guru
Guru


Joined: 12 Aug 2007
Posts: 373

PostPosted: Fri Feb 22, 2008 8:12 am    Post subject: Reply with quote

Code:
!!! Please attach the following file when seeking support:
!!! /old/tmp/portage/media-libs/sdl-image-1.2.6-r1/work/SDL_image-1.2.6/config.log


Give us the contents of this file, please.
_________________
Don't believe the "n00b" under my name.
Back to top
View user's profile Send private message
rapaman
n00b
n00b


Joined: 22 Feb 2008
Posts: 4

PostPosted: Fri Feb 22, 2008 8:28 am    Post subject: Reply with quote

I solve problem, some libs not rebuilded by revdep-rebuild.

Thanks.
Back to top
View user's profile Send private message
lpetersen
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2003
Posts: 76
Location: Germany

PostPosted: Mon Mar 10, 2008 10:09 pm    Post subject: Reply with quote

... and which ones did you have to rebuld manually? Do you remember?

Thanks for sharing your solution. :)
Back to top
View user's profile Send private message
rapaman
n00b
n00b


Joined: 22 Feb 2008
Posts: 4

PostPosted: Mon Mar 10, 2008 10:44 pm    Post subject: Reply with quote

lpetersen wrote:
... and which ones did you have to rebuld manually? Do you remember?

Thanks for sharing your solution. :)


all against slang

run old revdep-rebuild - if will fix all fast, new revdep - sux here.
Back to top
View user's profile Send private message
Warhead
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2003
Posts: 122
Location: Verden, near Bremen, Germany

PostPosted: Tue Mar 11, 2008 4:45 pm    Post subject: Reply with quote

The problem occured again, this time while emergeing smpeg. Revdep-rebuild is of no use, since it tries to emerge the packages, that fail. I have rebuilded libcaca and libsdl but it was no use. Would anybody care to explain this? I fail to see, what causes this.

Regards
Warhead
_________________
To Rome said Nero: "If to smoke you turn
I shall not cease to fiddle while you burn."
To Nero Rome replied: "Pray do your worst,
'Tis my excuse that you were fiddling first."
--Orm Pludge
Back to top
View user's profile Send private message
rapaman
n00b
n00b


Joined: 22 Feb 2008
Posts: 4

PostPosted: Tue Mar 11, 2008 5:15 pm    Post subject: old Reply with quote

hi,

try to run old revdep-rebuild, it must solve all in proper order.
Back to top
View user's profile Send private message
SiberianSniper
Guru
Guru


Joined: 06 Apr 2006
Posts: 363
Location: Dayton, OH, USA

PostPosted: Tue Mar 11, 2008 11:22 pm    Post subject: Reply with quote

I got that error too, and was able to trace it to aalib and libcaca, so re-merging the packages they depended upon (I'm pretty sure the slang-2 update had a lot to do with it) did the trick. Then for good measure I did an emerge -e world just to make sure everything works. (it broke dosbox too, in case anyone else uses it)
Back to top
View user's profile Send private message
Warhead
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2003
Posts: 122
Location: Verden, near Bremen, Germany

PostPosted: Wed Mar 12, 2008 1:44 am    Post subject: Reply with quote

SiberianSniper wrote:
I got that error too, and was able to trace it to aalib and libcaca, so re-merging the packages they depended upon (I'm pretty sure the slang-2 update had a lot to do with it) did the trick. Then for good measure I did an emerge -e world just to make sure everything works. (it broke dosbox too, in case anyone else uses it)

I do not have any clue, how you located that problem to those packages, but rebuilding slang solved that problem for me. Thank you very much.

Regards
Warhead
_________________
To Rome said Nero: "If to smoke you turn
I shall not cease to fiddle while you burn."
To Nero Rome replied: "Pray do your worst,
'Tis my excuse that you were fiddling first."
--Orm Pludge
Back to top
View user's profile Send private message
SiberianSniper
Guru
Guru


Joined: 06 Apr 2006
Posts: 363
Location: Dayton, OH, USA

PostPosted: Wed Mar 12, 2008 4:31 am    Post subject: Reply with quote

Warhead wrote:
I do not have any clue, how you located that problem to those packages, but rebuilding slang solved that problem for me. Thank you very much.

Regards
Warhead

I happened to have a project I'm working on that uses SDL, and when the ./configure didn't work for it, i tried make. The link errors pointed me to aalib and libcaca shared library errors. Just in case you need to debug anything similar in the future...
Back to top
View user's profile Send private message
noisebleed
Apprentice
Apprentice


Joined: 03 Oct 2006
Posts: 177
Location: Porto, Portugal

PostPosted: Wed May 14, 2008 12:43 am    Post subject: Reply with quote

Thanks SiberianSniper

I was also having problems with sdl and re-emerging aalib (finally) did the trick ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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