Mattias Gaertner wrote:
On Thu, 13 Jan 2011 18:02:17 +0000
Mark Morgan Lloyd <[email protected]> wrote:

Mattias Gaertner wrote:
On Thu, 13 Jan 2011 14:08:45 +0000
Mark Morgan Lloyd <[email protected]> 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@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@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

Got it, mea culpa:

WorkDir="/usr/local/share/lazarus-trunk/lcl"

but the version of Lazarus I was running was 0.9.29 in lazarus-testing. With that fixed I can build an fpGUI LCL from inside Lazarus, can compile and run a trivial test program, and can build the UI Designer. Also for completeness make LCL_PLATFORM=fpgui lcl appears to complete successfully.

At which point I think I'll swap back onto the Solaris 10 system, because I think having the UI Designer running would be a worthwhile stepping stone towards Lazarus...

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to