Beta Fl_TeacherTool 0.71 for K12Linux (LTSP5)

Robert Arkiletian robark at gmail.com
Tue Nov 10 18:51:01 UTC 2009


On Tue, Nov 10, 2009 at 10:05 AM, Robert Arkiletian <robark at gmail.com> wrote:
> On Tue, Nov 10, 2009 at 4:41 AM, Jigish Gohil <cyberorg at opensuse.org> wrote:
>> On Thu, Nov 5, 2009 at 2:12 AM, Robert Arkiletian <robark at gmail.com> wrote:
>>> Okay it's done. At least I hope it's done.
>>>
>>> I have developed this on F9,  it may need a tiny tweak for F11. I have
>>> not done extensive testing so there may be some bugs. I know screen
>>> blanking (lock) does not work but that is a general LTSP issue.
>>>
>>> The install procedure is long. I think this may be a barrier to entry
>>> for some. If someone is interested to create a script for the install
>>> (or an rpm) I think that would be much appreciated by many.
>>>
>>> BTW this new version does *not* have the security vulnerability that
>>> the old version for ltsp 4.x did :)
>>>
>>> Download
>>> http://www3.telus.net/public/robark/Fl_TeacherTool/download.html
>>>
>> Hi, I am unable to build this on openSUSE 11.2, gcc 4.4.1. Build log is here:
>>
>> http://pastebin.com/f2d0b0306
>>
>>
>> Spec file has:
>> BuildRequires: fltk fltk-devel gcc-c++ xorg-x11-libXpm-devel
>> xorg-x11-proto-devel xorg-x11-libX11-devel libpng-devel libjpeg-devel
>> gnome-desktop tightvnc
>>
>> Missing #include?
>
> g++ `fltk-config --use-images --ldflags` -lXpm -Wall `fltk-config
> --cxxflags|sed s/-D_FORTIFY_SOURCE=2//` -D
> FL_CONFIG=\"//etc/fl_teachertool/fl_teachertool.conf\" -D
> FL_MACLIST=\"//etc/fl_teachertool/fl_teachertool.maclist\" -D
> HOSTINFOFILE=\"//etc/fl_teachertool/HOST_INFO_FILE\" -D
> VNCREFLECTOR=\"/usr/bin/vncreflector\" -D
> TIGHTVNCVIEWER=\"/usr/bin/teachertool-vncviewer\" -D
> VNCSNAPSHOT=\"/usr/bin/vncsnapshot\" -D CONVERT=\"/usr/bin/convert\"
> -D REALVNCVIEWER=\"/usr/bin/vncviewer\" -D
> FLTTMESSAGE=\"//usr/bin/fl_ttmessage\" -D BINDIR=\"//usr/bin\" -D
> SBINDIR=\"//usr/sbin\" fl_teachertool.o -o fl_teachertool
> fl_teachertool.o: In function `NameWindow::cb_aboutbtn(Fl_Widget*, void*)':
> /usr/src/packages/BUILD/fl_teachertool-0.71/fl_teachertool.cxx:2644:
> undefined reference to `fl_message(char const*, ...)'
> fl_teachertool.o: In function `ViewWindow::vwin_callback_i()':
> /usr/src/packages/BUILD/fl_teachertool-0.71/fl_teachertool.cxx:1390:
> undefined reference to `Fl::e_number'
> /usr/src/packages/BUILD/fl_teachertool-0.71/fl_teachertool.cxx:1397:
> undefined reference to `Fl::e_keysym'
> fl_teachertool.o: In function `NameWindow::nwin_callback(Fl_Widget*, void*)':
> /usr/src/packages/BUILD/fl_teachertool-0.71/fl_teachertool.cxx:2768:
> undefined reference to `Fl::e_number'
> /usr/src/packages/BUILD/fl_teachertool-0.71/fl_teachertool.cxx:2778:
> undefined reference to `Fl::first_window()'
> /usr/src/packages/BUILD/fl_teachertool-0.71/fl_teachertool.cxx:2776:
> undefined reference to `Fl::first_window()'
> /usr/src/packages/BUILD/fl_teachertool-0.71/fl_teachertool.cxx:2770:
> undefined reference to `Fl::e_keysym'
> /usr/src/packages/BUILD/fl_teachertool-0.71/fl_teachertool.cxx:2772:
> undefined reference to `Fl_Browser_::deselect(int)'
>
>
> seems like it's an fltk linking issue.
>
> what do these give you
>

I get

> fltk-config --use-images --ldflags

-lfltk_images -lpng -lz -ljpeg -lfltk

> fltk-config --cxxflags|sed s/-D_FORTIFY_SOURCE=2//

-I/usr/include/freetype2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_THREAD_SAFE -D_REENTRANT


-- 
Robert Arkiletian
Eric Hamber Secondary, Vancouver, Canada




More information about the K12Linux-devel-list mailing list