Howard wrote:
> Yes , sorry, I'm building: fltk-1.1.9-source.tar.bz2
> 
> Keeping in mind that my FC6 install uses /usr and NOT /usr/local
> 
> I have tried a few config variations with the same make error.
> The last was:
> /configure --prefix=/usr --includedir=/usr/include --libdir=/usr/lib 
> --enable-threads --enable-xft
> 
> The summary reads:
> ----------
>     Directories: prefix=/usr
>                  bindir=${exec_prefix}/bin
>                  datadir=${datarootdir}
>                  datarootdir=${prefix}/share
>                  exec_prefix=${prefix}
>                  includedir=/usr/include
>                  libdir=/usr/lib
>                  mandir=${datarootdir}/man
>        Graphics: X11+Xft

okay, so you aren't using xdbe, that's good.

> Image Libraries: JPEG=Builtin
>                  PNG=Builtin
>                  ZLIB=System
>     Large Files: NO
>          OpenGL: NO
>         Threads: YES
> configure: creating ./config.status
> config.status: creating makeinclude
> config.status: creating fltk.list
> config.status: creating fltk-config
> config.status: creating fltk.spec
> config.status: creating FL/Makefile
> config.status: creating config.h
> ----------
> 
> make seems to run OK until it is building fluid. That section reads:
> ----------=== making fluid ===
> Compiling CodeEditor.cxx...
> Compiling Fl_Function_Type.cxx...
> Compiling Fl_Group_Type.cxx...
> Compiling Fl_Menu_Type.cxx...
> Compiling Fl_Type.cxx...
> Compiling Fl_Widget_Type.cxx...
> Compiling Fl_Window_Type.cxx...
> Compiling Fluid_Image.cxx...
> Compiling about_panel.cxx...
> Compiling align_widget.cxx...
> Compiling alignment_panel.cxx...
> Compiling code.cxx...
> Compiling factory.cxx...
> Compiling file.cxx...
> Compiling fluid.cxx...
> Compiling function_panel.cxx...
> Compiling template_panel.cxx...
> Compiling undo.cxx...
> Compiling widget_panel.cxx...
> Linking fluid...
> /usr/bin/ld: cannot find -lXext
> collect2: ld returned 1 exit status
> make[1]: *** [fluid] Error 1
> make: *** [all] Error 1
> ----------
> 
> So where should -lXext be? in the source tree?
> 
> I do have these installed:
> 
> /usr/include/X11/extensions/Xext.h
> /usr/lib/libXext.so.6
> /usr/lib/libXext.so.6.4.0
> 
> Thanks, Howard

You can try to "repair" your installation (setting the correct 
symlink(s), as Ian proposed) or maybe re-installing some X11 development 
packages, I don't know ...

Or you can try to remove "-lXext" from your makeinclude file in the top 
build directory (I have it in 2 places), because it is not really needed 
in this configuration. I tested this, and it works here, fluid and all 
test programs build without any references to libXext (other than if 
building with --enable-xdbe). I'm not 100% sure about this however, if 
this is true for your system too.

Albrecht
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to