View previous topic :: View next topic |
Author |
Message |
Blind0wl n00b
Joined: 31 Oct 2002 Posts: 67 Location: Brisbane, QLD, Australia
|
Posted: Tue Mar 29, 2005 1:21 am Post subject: Fluxbox 0.9.12-r1 make problem [solved] |
|
|
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 |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Tue Mar 29, 2005 1:32 am Post subject: |
|
|
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 |
|
|
Blind0wl n00b
Joined: 31 Oct 2002 Posts: 67 Location: Brisbane, QLD, Australia
|
Posted: Tue Mar 29, 2005 3:44 am Post subject: |
|
|
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 |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Tue Mar 29, 2005 4:03 am Post subject: |
|
|
Trying to emerge, ill tell you in few minutes... |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Tue Mar 29, 2005 4:13 am Post subject: |
|
|
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...
[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 |
|
Back to top |
|
|
Blind0wl n00b
Joined: 31 Oct 2002 Posts: 67 Location: Brisbane, QLD, Australia
|
Posted: Tue Mar 29, 2005 5:04 am Post subject: |
|
|
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 |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Tue Mar 29, 2005 11:00 pm Post subject: |
|
|
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 |
|
|
xmoy Tux's lil' helper
Joined: 03 Aug 2004 Posts: 108 Location: .ch
|
Posted: Thu Apr 14, 2005 6:37 pm Post subject: |
|
|
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 _________________ :wq |
|
Back to top |
|
|
splooge l33t
Joined: 30 Aug 2002 Posts: 636
|
Posted: Sat Jun 25, 2005 9:18 pm Post subject: |
|
|
obligatory bump... solved my problem also. _________________ http://get.a.clue.de |
|
Back to top |
|
|
staffan n00b
Joined: 31 Oct 2004 Posts: 29 Location: Sweden
|
Posted: Thu Sep 08, 2005 3:15 pm Post subject: |
|
|
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 |
|
|
digitaldavid n00b
Joined: 20 Jul 2005 Posts: 6 Location: Hampshire, Uk
|
Posted: Thu Sep 15, 2005 10:42 am Post subject: |
|
|
I'd like to add my thanks to 6thpink, you saved me a lot of head scratching.
I had exactly the same problem
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 |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Thu Sep 15, 2005 4:21 pm Post subject: |
|
|
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 |
|
|
friggybum n00b
Joined: 30 Sep 2005 Posts: 1
|
Posted: Fri Sep 30, 2005 4:41 am Post subject: |
|
|
This solved my problem with fluxbox as well, thank you! |
|
Back to top |
|
|
sampi n00b
Joined: 04 Apr 2005 Posts: 8
|
Posted: Thu Jan 12, 2006 11:19 pm Post subject: |
|
|
Worked for me too! |
|
Back to top |
|
|
thomasvk Guru
Joined: 19 Mar 2005 Posts: 597
|
|
Back to top |
|
|
|