Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fluxbox 0.9.12-r1 make problem [solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Blind0wl
n00b
n00b


Joined: 31 Oct 2002
Posts: 67
Location: Brisbane, QLD, Australia

PostPosted: Tue Mar 29, 2005 1:21 am    Post subject: Fluxbox 0.9.12-r1 make problem [solved] Reply with quote

Hey all,

Just tried emerging fluxbox and got the following error:

Code:
FbTk/libFbTk.a(ImageImlib2.o)(.text+0x5b9): In function `FbTk::ImageImlib2::load(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int) const':
: undefined reference to `imlib_render_pixmaps_for_whole_image'
FbTk/libFbTk.a(ImageImlib2.o)(.text+0x60b): In function `FbTk::ImageImlib2::load(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int) const':
: undefined reference to `imlib_free_pixmap_and_mask'
FbTk/libFbTk.a(ImageImlib2.o)(.text+0x643): In function `FbTk::ImageImlib2::load(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int) const':
: undefined reference to `imlib_context_set_display'
FbTk/libFbTk.a(ImageImlib2.o)(.text+0x662): In function `FbTk::ImageImlib2::load(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int) const':
: undefined reference to `imlib_context_set_visual'
FbTk/libFbTk.a(ImageImlib2.o)(.text+0x681): In function `FbTk::ImageImlib2::load(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int) const':
: undefined reference to `imlib_context_set_colormap'
FbTk/libFbTk.a(ImageImlib2.o)(.text+0x6a0): In function `FbTk::ImageImlib2::load(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int) const':
: undefined reference to `imlib_context_set_drawable'
collect2: ld returned 1 exit status
make[4]: *** [fluxbox] Error 1
make[4]: Leaving directory `/var/tmp/portage/fluxbox-0.9.12-r1/work/fluxbox-0.9.12/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/fluxbox-0.9.12-r1/work/fluxbox-0.9.12/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/fluxbox-0.9.12-r1/work/fluxbox-0.9.12/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/fluxbox-0.9.12-r1/work/fluxbox-0.9.12'
make: *** [all] Error 2

!!! ERROR: x11-wm/fluxbox-0.9.12-r1 failed.
!!! Function src_compile, Line 108, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.


Any ideas? Let me know if you require any more info


Cheers

Blindy


Last edited by Blind0wl on Wed Mar 30, 2005 5:39 am; edited 1 time in total
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Tue Mar 29, 2005 1:32 am    Post subject: Reply with quote

Seems like a problem related to your imlib2 libraries.
Type
Code:
emerge -pv imlib imlib2

and make sure that both are installed, if response is negative install imlib2, which is what make is complaining about. Anyway seems so strange to me that imlib2 dep has not been automatically installed with fluxbox (really dont know about this issue since its been some months since i left fluxbox in favour of fvwm).
Maybe you should check if revdep-rebuild reports anything about some file into imlib2 package, also you can try to reemerge imlib2, to see if that helps...
Back to top
View user's profile Send private message
Blind0wl
n00b
n00b


Joined: 31 Oct 2002
Posts: 67
Location: Brisbane, QLD, Australia

PostPosted: Tue Mar 29, 2005 3:44 am    Post subject: Reply with quote

As you suggested:

Code:
emerge -pv imlib imlib2

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] media-libs/imlib-1.9.14-r3  0 kB
[ebuild   R   ] media-libs/imlib2-1.2.0-r2  -X -doc +gif +jpeg -mmx +nls +png +tiff 0 kB

Total size of downloads: 0 kB


re-emerged imlib2 and revdep-rebuild responded with:

Code:
revdep-rebuild

Checking reverse dependencies...
Packages containing binaries and libraries broken by any package update,
will be recompiled.

Collecting system binaries and libraries... done.
  (/root/.revdep-rebuild.1_files)

Collecting complete LD_LIBRARY_PATH... done.
  (/root/.revdep-rebuild.2_ldpath)

Checking dynamic linking consistency...
 done.
  (/root/.revdep-rebuild.3_rebuild)

Assigning files to ebuilds... Nothing to rebuild

Evaluating package order... done.
  (/root/.revdep-rebuild.5_order)

Dynamic linking on your system is consistent... All done.


then tried fluxbox again, and got the same error.

Thanks for the help.
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Tue Mar 29, 2005 4:03 am    Post subject: Reply with quote

Trying to emerge, ill tell you in few minutes... :D
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Tue Mar 29, 2005 4:13 am    Post subject: Reply with quote

Not emerge still, but rereading your last post i realised that you emerged imlib with -X use flag. Taking a look at the make errors you can see that the thing wich fails to compile is related to fltk and imlib2, so it makes sense that this could be the couse of the problem. Plz, recompile the imlib2 package with USE="X" emerge imlib2 and then try emerging fluxbox. Tell us... :D

[edit]

emerge fine, imlib2 has X activated, thats the only important diff i can see in your imlib2 and mine, so maybe the point is there, good luck :wink:
Back to top
View user's profile Send private message
Blind0wl
n00b
n00b


Joined: 31 Oct 2002
Posts: 67
Location: Brisbane, QLD, Australia

PostPosted: Tue Mar 29, 2005 5:04 am    Post subject: Reply with quote

That did it for me...as soon as you mentioned the X flag, I remembered this server wasnt going to be an X guied server, and I'd -X 'ed in make.conf.

All changed and fluxbox is emerged.

Thankyou for your help

Cheers

Blindy
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Tue Mar 29, 2005 11:00 pm    Post subject: Reply with quote

Blind0wl wrote:
That did it for me...as soon as you mentioned the X flag, I remembered this server wasnt going to be an X guied server, and I'd -X 'ed in make.conf.

All changed and fluxbox is emerged.

Thankyou for your help

Cheers

Blindy

Vow, it worked! Glad for you.
Back to top
View user's profile Send private message
xmoy
Tux's lil' helper
Tux's lil' helper


Joined: 03 Aug 2004
Posts: 108
Location: .ch

PostPosted: Thu Apr 14, 2005 6:37 pm    Post subject: Reply with quote

Blind0wl wrote:
That did it for me...as soon as you mentioned the X flag, I remembered this server wasnt going to be an X guied server, and I'd -X 'ed in make.conf.

lol. I did the same stupid mistake. Thanks :lol:
_________________
:wq
Back to top
View user's profile Send private message
splooge
l33t
l33t


Joined: 30 Aug 2002
Posts: 636

PostPosted: Sat Jun 25, 2005 9:18 pm    Post subject: Reply with quote

obligatory bump... solved my problem also.
_________________
http://get.a.clue.de
Back to top
View user's profile Send private message
staffan
n00b
n00b


Joined: 31 Oct 2004
Posts: 29
Location: Sweden

PostPosted: Thu Sep 08, 2005 3:15 pm    Post subject: Reply with quote

splooge wrote:
obligatory bump... solved my problem also.


And another one... Thanks both to Blind0wl who asked and 6thpink who replied. :)
_________________
/S
"I'm reminded of the day my daughter came in, looked over my shoulder at some Perl 4 code, and said, 'What is that, swearing?'" (Larry Wall)
Back to top
View user's profile Send private message
digitaldavid
n00b
n00b


Joined: 20 Jul 2005
Posts: 6
Location: Hampshire, Uk

PostPosted: Thu Sep 15, 2005 10:42 am    Post subject: Reply with quote

I'd like to add my thanks to 6thpink, you saved me a lot of head scratching.

I had exactly the same problem :oops:

Is there somewhere a check could be placed in the emerge process that would flag this error for noobs like me? Who do we inform and how?
_________________
I often talk absolute rubbish with absolute certainty
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Thu Sep 15, 2005 4:21 pm    Post subject: Reply with quote

Unfortunatelly, there is no easy way to check this things (other than looking into the gcc output errors and try to figure it out).

The problem is in the ebuild itself. It should check if imlib2 was compiled with +X, and if not, print a warning and stop the process, informing that you should reemerge imlib2 with +X and try again. I know that that can be done, because I saw another packages stoping the merge and giving such a message about any other package that was emerge without a needed feature. So, the responsible is the maintainer of the ebuild, on my understanding. You can submit a bug at https://bugs.gentoo.org, remember, the problem is in the ebuild, not in fluxbox itself.
Back to top
View user's profile Send private message
friggybum
n00b
n00b


Joined: 30 Sep 2005
Posts: 1

PostPosted: Fri Sep 30, 2005 4:41 am    Post subject: Reply with quote

This solved my problem with fluxbox as well, thank you!
Back to top
View user's profile Send private message
sampi
n00b
n00b


Joined: 04 Apr 2005
Posts: 8

PostPosted: Thu Jan 12, 2006 11:19 pm    Post subject: Reply with quote

Worked for me too! :D
Back to top
View user's profile Send private message
thomasvk
Guru
Guru


Joined: 19 Mar 2005
Posts: 597

PostPosted: Mon Mar 20, 2006 10:18 am    Post subject: Reply with quote

That resolved the problem for too. There's a bug report about this btw:
https://bugs.gentoo.org/show_bug.cgi?id=125454

Quote:
I've added a check in 0.9.15. Thanks.

So that's nice.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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