| View previous topic :: View next topic |
| Author |
Message |
Warhead Tux's lil' helper


Joined: 09 Oct 2003 Posts: 122 Location: Verden, near Bremen, Germany
|
Posted: Wed Jan 30, 2008 4:33 pm Post subject: SDL dependency broken [solved] |
|
|
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:
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 |
|
 |
Hu Watchman

Joined: 06 Mar 2007 Posts: 6828
|
Posted: Thu Jan 31, 2008 3:48 am Post subject: |
|
|
| What is the exact error that occurred? |
|
| Back to top |
|
 |
rapaman n00b

Joined: 22 Feb 2008 Posts: 4
|
Posted: Fri Feb 22, 2008 6:47 am Post subject: same |
|
|
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 |
|
 |
MostAwesomeDude Guru

Joined: 12 Aug 2007 Posts: 373
|
Posted: Fri Feb 22, 2008 8:12 am Post subject: |
|
|
| 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 |
|
 |
rapaman n00b

Joined: 22 Feb 2008 Posts: 4
|
Posted: Fri Feb 22, 2008 8:28 am Post subject: |
|
|
I solve problem, some libs not rebuilded by revdep-rebuild.
Thanks. |
|
| Back to top |
|
 |
lpetersen Tux's lil' helper


Joined: 07 Jul 2003 Posts: 76 Location: Germany
|
Posted: Mon Mar 10, 2008 10:09 pm Post subject: |
|
|
... and which ones did you have to rebuld manually? Do you remember?
Thanks for sharing your solution.  |
|
| Back to top |
|
 |
rapaman n00b

Joined: 22 Feb 2008 Posts: 4
|
Posted: Mon Mar 10, 2008 10:44 pm Post subject: |
|
|
| 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 |
|
 |
Warhead Tux's lil' helper


Joined: 09 Oct 2003 Posts: 122 Location: Verden, near Bremen, Germany
|
Posted: Tue Mar 11, 2008 4:45 pm Post subject: |
|
|
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 |
|
 |
rapaman n00b

Joined: 22 Feb 2008 Posts: 4
|
Posted: Tue Mar 11, 2008 5:15 pm Post subject: old |
|
|
hi,
try to run old revdep-rebuild, it must solve all in proper order. |
|
| Back to top |
|
 |
SiberianSniper Guru


Joined: 06 Apr 2006 Posts: 356 Location: Dayton, OH, USA
|
Posted: Tue Mar 11, 2008 11:22 pm Post subject: |
|
|
| 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 |
|
 |
Warhead Tux's lil' helper


Joined: 09 Oct 2003 Posts: 122 Location: Verden, near Bremen, Germany
|
Posted: Wed Mar 12, 2008 1:44 am Post subject: |
|
|
| 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 |
|
 |
SiberianSniper Guru


Joined: 06 Apr 2006 Posts: 356 Location: Dayton, OH, USA
|
Posted: Wed Mar 12, 2008 4:31 am Post subject: |
|
|
| 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 |
|
 |
noisebleed Apprentice


Joined: 03 Oct 2006 Posts: 168 Location: Porto, Portugal
|
Posted: Wed May 14, 2008 12:43 am Post subject: |
|
|
Thanks SiberianSniper
I was also having problems with sdl and re-emerging aalib (finally) did the trick  |
|
| Back to top |
|
 |
|