public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Once again - Can't build Blender
@ 2006-12-31  2:09 frank
  2006-12-31  5:14 ` Randy Barlow
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: frank @ 2006-12-31  2:09 UTC (permalink / raw
  To: gentoo-user

Hi,
I've posted this former

After the start of the blender bulid (after the sources are unpacked) I
have to (from another shell):

cp /var/tmp/portage/blender-2.41-r1/work/blender/extern/bFTGL/include/*
 /var/tmp/portage/blender-2.41-r1/work/build/linux2/source/blender/ftfont/intern

The build goes well but then:

/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning: libdirectfb-0.9.so.24, needed by /usr/lib/libSDL.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning: libfusion-0.9.so.24, needed by /usr/lib/libSDL.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning: libdirect-0.9.so.24, needed by /usr/lib/libSDL.so, not found (try using -rpath or -rpath-link)
/usr/lib/libSDL.so: undefined reference to `DirectFBCreate'
/usr/lib/libSDL.so: undefined reference to `DirectFBErrorString'
/usr/lib/libSDL.so: undefined reference to `DirectFBError'
/usr/lib/libSDL.so: undefined reference to `DirectFBInit'
collect2: ld returned 1 exit status
scons: *** [blender] Error 1
scons: building terminated because of errors.

!!! ERROR: media-gfx/blender-2.41-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  blender-2.41-r1.ebuild, line 105:   Called die

So my quick'n dirty trick copying include files doesn't work
anymore. :-(((((

Why did I rebuild Blender??? Easy! After an ``emgerge -u world'' Blender
didn't find libraries.

Any hint?
Thanks
F.

PS: Blender was the reason to return to Gentoo. 


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Once again - Can't build Blender
  2006-12-31  2:09 [gentoo-user] Once again - Can't build Blender frank
@ 2006-12-31  5:14 ` Randy Barlow
  2006-12-31  5:28 ` Rumen Yotov
  2007-01-02  7:13 ` Alan McKinnon
  2 siblings, 0 replies; 4+ messages in thread
From: Randy Barlow @ 2006-12-31  5:14 UTC (permalink / raw
  To: gentoo-user

On Sun, 2006-12-31 at 03:09 +0100, frank wrote:
> Why did I rebuild Blender??? Easy! After an ``emgerge -u world'' Blender
> didn't find libraries.
> 
> Any hint?

Well, I always say this, but have you tried revdep-rebuild?  That thing
solves most of these types of problems...

Randy Barlow
http://www.electronsweatshop.com
Finalmente sono giornalista anch'io adesso, e i fatti non mi interessano
piu'. -- Pat Buchanan

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Once again - Can't build Blender
  2006-12-31  2:09 [gentoo-user] Once again - Can't build Blender frank
  2006-12-31  5:14 ` Randy Barlow
@ 2006-12-31  5:28 ` Rumen Yotov
  2007-01-02  7:13 ` Alan McKinnon
  2 siblings, 0 replies; 4+ messages in thread
From: Rumen Yotov @ 2006-12-31  5:28 UTC (permalink / raw
  To: gentoo-user

Hi,
On Sun, 31 Dec 2006 03:09:24 +0100
frank <sdoma@karneval.cz> wrote:
> Hi,
> I've posted this former
> 
> After the start of the blender bulid (after the sources are unpacked)
> I have to (from another shell):
> 
> cp /var/tmp/portage/blender-2.41-r1/work/blender/extern/bFTGL/include/*
>  /var/tmp/portage/blender-2.41-r1/work/build/linux2/source/blender/ftfont/intern
> 
> The build goes well but then:
> 
> /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld:
> warning: libdirectfb-0.9.so.24, needed by /usr/lib/libSDL.so, not
> found (try using -rpath or
> -rpath-link) /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld:
> warning: libfusion-0.9.so.24, needed by /usr/lib/libSDL.so, not found
> (try using -rpath or
> -rpath-link) /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld:
> warning: libdirect-0.9.so.24, needed by /usr/lib/libSDL.so, not found
> (try using -rpath or -rpath-link) /usr/lib/libSDL.so: undefined
> reference to `DirectFBCreate' /usr/lib/libSDL.so: undefined reference
> to `DirectFBErrorString' /usr/lib/libSDL.so: undefined reference to
> `DirectFBError' /usr/lib/libSDL.so: undefined reference to
> `DirectFBInit' collect2: ld returned 1 exit status scons: ***
> [blender] Error 1 scons: building terminated because of errors.
> 
Try rebuilding "libsdl" with directfb USE-flag disabled, or re-emerge
'directfb' and then 'libsdl' (with 'directfb' enabled).
Take note - IIRC directfb is build against current linux-sources.
> !!! ERROR: media-gfx/blender-2.41-r1 failed.
> Call stack:
>   ebuild.sh, line 1546:   Called dyn_compile
>   ebuild.sh, line 937:   Called src_compile
>   blender-2.41-r1.ebuild, line 105:   Called die
> 
> So my quick'n dirty trick copying include files doesn't work
> anymore. :-(((((
> 
> Why did I rebuild Blender??? Easy! After an ``emgerge -u world''
> Blender didn't find libraries.
> 
> Any hint?
> Thanks
> F.
> 
> PS: Blender was the reason to return to Gentoo. 
HTH. Rumen
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Once again - Can't build Blender
  2006-12-31  2:09 [gentoo-user] Once again - Can't build Blender frank
  2006-12-31  5:14 ` Randy Barlow
  2006-12-31  5:28 ` Rumen Yotov
@ 2007-01-02  7:13 ` Alan McKinnon
  2 siblings, 0 replies; 4+ messages in thread
From: Alan McKinnon @ 2007-01-02  7:13 UTC (permalink / raw
  To: gentoo-user

On Sunday 31 December 2006 04:09, frank wrote:
> Hi,
> I've posted this former
>
> After the start of the blender bulid (after the sources are unpacked)
> I have to (from another shell):
>
> cp
> /var/tmp/portage/blender-2.41-r1/work/blender/extern/bFTGL/include/*
> /var/tmp/portage/blender-2.41-r1/work/build/linux2/source/blender/ftf
>ont/intern
>
> The build goes well but then:
>
> /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bi
>n/ld: warning: libdirectfb-0.9.so.24, needed by /usr/lib/libSDL.so,
> not found (try using -rpath or -rpath-link)

With your last emerge world, did you notice this message when DirectFB 
was emerged?

 * Each DirectFB update in the 0.9.xx series
 * breaks DirectFB related applications.
 * Please run "revdep-rebuild" which can be
 * found by emerging the package 'gentoolkit'.

revdep-rebuild usually finds these breakages, in your case Blender 
depends on libsdl which is looking for libraries that aren't there. I'd 
suspect that a remerge of libsdl will fix it all.

Incidentally, have you considered why you have DirectFB at all? It's a 
layer on top of a frame buffer and has no use in X at all. It's also 
causing endless trouble for me with emerges, but in my case I need it. 
If you have no use for it, remove 'directfb' from your USE followed 
by 'emerge -N world' then 'emerge --depclean' and revdep-rebuild.

alan
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-01-02  7:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-31  2:09 [gentoo-user] Once again - Can't build Blender frank
2006-12-31  5:14 ` Randy Barlow
2006-12-31  5:28 ` Rumen Yotov
2007-01-02  7:13 ` Alan McKinnon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox