[Lazarus] fpGUI for the LCL on x86 Linux, and standalone on SPARC Solaris 10
Mattias Gaertner
nc-gaertnma at netcologne.de
Fri Jan 14 16:58:09 CET 2011
On Thu, 13 Jan 2011 18:02:17 +0000
Mark Morgan Lloyd <markMLl.lazarus at telemetry.co.uk> wrote:
> Mattias Gaertner wrote:
> > On Thu, 13 Jan 2011 14:08:45 +0000
> > Mark Morgan Lloyd <markMLl.lazarus at telemetry.co.uk> wrote:
> >
> >> Mattias Gaertner wrote:
> >>
> >> > It is a very long mail thread. Maybe you can summarize the problem?
> >>
> >> [...]
> >> Using the instructions at
> >> http://wiki.lazarus.freepascal.org/fpGUI_Interface i.e. with 3x
> >> symlinks, I cannot add fpGUI to the available LCLs; the Lazarus message
> >> window gives me
> >>
> >> fpguiint.pp(42,12) Fatal: Can't find unit fpg_main used by fpguiint
> >
> > What gives:
> > ls -la lazarus/lcl/interfaces/fpgui/corelib/fpg_main.pas
> > ?
>
> -rw-r--r-- 1 markMLl markMLl 57000 Aug 2 14:16
> lazarus/lcl/interfaces/fpgui/corelib/fpg_main.pas
>
> where markMLl is user 1000.
>
> > svn diff?
>
> It's the 0.7 release rather than svn,
>
> lrwxrwxrwx 1 markMLl markMLl 9 Jan 12 16:49 fpgui -> fpgui-0.7
> drwxr-xr-x 14 markMLl markMLl 4096 Aug 2 14:16 fpgui-0.7
> -rw-r--r-- 1 markMLl markMLl 3308790 Jan 12 16:49 fpgui-0.7.tar.gz
> 0 1>markMLl at pye-dev-07:/usr/local/share/fpgui$ cksum *
> cksum: fpgui: Is a directory
> cksum: fpgui-0.7: Is a directory
> 592533306 3308790 fpgui-0.7.tar.gz
>
> Note the symlink there hence paths like
> /usr/local/share/fpgui/fpgui/src/corelib
>
> > Attach the output of
> > cd lazarus/lcl/interfaces/fpgui/
> > make
>
> 0 1>markMLl at pye-dev-07:/usr/local/share/lazarus/lcl/interfaces/fpgui$ make
> /bin/rm -f ../../units/i386-linux/fpgui/interfaces.ppu \
> ../../units/i386-linux/fpgui/interfaces.o
> /usr/local/bin/ppc386 -gl -dfpgui -Fu../../units/i386-linux -Fu.
> -Fucorelib -Fugui -Fucorelib/x11
> -Fu/usr/local/lib/fpc/2.4.2/units/i386-linux/rtl -Ficorelib
> -Ficorelib/x11 -FE. -FU../../units/i386-linux/fpgui -di386 interfaces.pp
> Free Pascal Compiler version 2.4.2 [2010/11/16] for i386
> Copyright (c) 1993-2010 by Florian Klaempfl
> Target OS: Linux for i386
> Compiling interfaces.pp
> 46 lines compiled, 2.9 sec
Ok, the make works.
Start the IDE in a terminal and compile the LCL for fpgui. Send the
output.
Mattias
More information about the Lazarus
mailing list