Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15572 - emerge of alsamixergui fails, requires FLTK
Summary: emerge of alsamixergui fails, requires FLTK
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
: 16335 17894 (view as bug list)
Depends on: 16335
Blocks:
  Show dependency tree
 
Reported: 2003-02-12 10:06 UTC by Blu3
Modified: 2003-04-03 17:08 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Blu3 2003-02-12 10:06:38 UTC
checking for main in -lfltk... no
configure: error: missing fltk

!!! ERROR: media-sound/alsamixergui-0.9.0.1.2-r2 failed.
!!! Function econf, Line 334, Exitcode 1
!!! econf failed

config.log shows:

configure:1493: g++ -o conftest -mcpu=athlon -O3 -pipe -I/usr/include/fltk-1.1 -
L/usr/lib/fltk-1.1 conftest.c -lfltk   1>&5
/usr/lib/fltk-1.1/libfltk.so: undefined reference to `Fl_Text_Diqplay::grapped_l
ine_counter(Fl_Text_Buffer*, int, int, int, bool, int, int*, int*, int*, int*, b
ool)'
collect2: ld returned 1 exit status

# nm /usr/lib/fltk-1.1/libfltk.so|grep Fl_Text_Diq  
         U
_ZN15Fl_Text_Diqplay20grapped_line_counterEP14Fl_Text_BufferiiibiPiS2_S2_S2_b
Comment 1 SpanKY gentoo-dev 2003-02-12 10:08:26 UTC
you've probably updated freetype since you emerged fltk ... 
re-emerge fltk and see if alsamixergui still fails 
Comment 2 pasi.valminen 2003-03-07 08:13:00 UTC
I'm getting the same error. I remerged fltk and then again alsamixergui but it still fails. The error is the same as in above.
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2003-03-22 12:50:17 UTC
which version of fltk do you have? 
Comment 4 jeff putnam 2003-03-28 20:33:52 UTC
I just ran into this bug as well.  I reinstalled fltk (1.1.2-r1) and tried to rebuild alsamixergui - the configure failed again claiming it couldn't find the fltk libs.  I did the configure by hand with "-xv" set and it looked like it was not looking for the fltk libraries in the right directory.  

In the configure script I added "-L/usr/lib/fltk-1.1" to the LIBS variable just before the test compile for fltk and it still failed - but a bit differently.  The configure seemed to be doing "gcc -o conftest conftest.c" and this gave errors :
"undefined reference to numericsort" as well as a bunch of c++ errors ("undefined reference to operator new...).  "g++ -o conftest conftst.c..." gave the error "undefined reference to numericsort()"

nm shows "T" for fl_numericsort - but replacing the numericsort with fl_numericsort didn't work.  

Being a stubborn type, I grepped for numericsort in the source and found nothing.  So I removed the test for fltk in the configure and without it configure was happy.  Make, however, was not, I needed to add "-I/usr/include/fltk-1.1" to the flags for compiling and added "-L/usr/lib/libfltk-1.1 -lfltk -lfltk_forms" and make worked jest fine and so
did alsaguimixer - at least it started, displayed reasonable looking stuff and all that.  

I have no idea how to reintegrate this into configure though (configure being way beyond my poor benighted brain). 
  
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2003-03-30 21:43:43 UTC
alright. it seems like a linking issue with fltk and libstdc++.

i've put in a workaround for this in the latest fltk ebuild. please:

emerge sync
emerge fltk alsamixergui

this only happens under glibc-2.3.1, for some strange reason, oh well.
Comment 6 Alastair Tse (RETIRED) gentoo-dev 2003-03-30 21:46:55 UTC
*** Bug 17894 has been marked as a duplicate of this bug. ***
Comment 7 Philip Walls (RETIRED) gentoo-dev 2003-04-03 17:08:22 UTC
*** Bug 16335 has been marked as a duplicate of this bug. ***