Re: [Lazarus] Ping

2021-06-11 Thread Joe via lazarus

Am 08.06.2021 um 19:43 schrieb Michael W. Vogel via lazarus:

Ping

Pong
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Where to download lazarus-2.0.10-fpc-3.2.0-win64.exe?

2020-07-09 Thread Joe via lazarus

Hi,
I can only download lazarus-2.0.10-fpc-3.2.0-win32.exe 
. 
Where can I download lazarus-2.0.10-fpc-3.2.0-win64.exe?

Regards - HGJ
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Ignore or Deinstall-Reinstall?

2020-06-04 Thread Joe via lazarus

Am 04.06.2020 um 18:13 schrieb Martin Frb via lazarus:

On 04/06/2020 18:08, Joe via lazarus wrote:
During the first run of Lazarus after the installation of the current 
version of Raspios on a Pi B 8GB it get this error message:


"The package EditorMascroScript (pascal script macros) has detected a 
problem and was deactivated. The package failed its self test with 
the message "Replace All [Exp: True/Got False]".


After restart of Lazarus, this message is not shown again, and the 
Pascal Script Tab is visible.


Can I safely ignore this error message or should I deinstall and 
install this package?


The current Raspios Distro contains Lazarus 2.0.0+dfsg-2, SVN 
Revision Debian package 2.0.0 arm-linux-gtk2.




I am not sure that will work on arm (or whatever cpu you have). 
Pascalscript has some arm support, but not sure it is good enough.


The error is about macros in the source editor.
You can use normal macros, but not macros with Pascalscript.

See 
https://forum.lazarus.freepascal.org/index.php/topic,50059.msg364619.html#msg364619


Thank you, Martin.
Regards -- Joe
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Ignore or Deinstall-Reinstall?

2020-06-04 Thread Joe via lazarus
During the first run of Lazarus after the installation of the current 
version of Raspios on a Pi B 8GB it get this error message:


"The package EditorMascroScript (pascal script macros) has detected a 
problem and was deactivated. The package failed its self test with the 
message "Replace All [Exp: True/Got False]".


After restart of Lazarus, this message is not shown again, and the 
Pascal Script Tab is visible.


Can I safely ignore this error message or should I deinstall and install 
this package?


The current Raspios Distro contains Lazarus 2.0.0+dfsg-2, SVN Revision 
Debian package 2.0.0 arm-linux-gtk2.


Regards - Joe

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus code editor improvement?

2019-11-03 Thread Joe via lazarus

Am 03.11.2019 um 08:25 schrieb Bo Berglund via lazarus:

On Sat, 2 Nov 2019 17:46:09 +0100 (CET), Michael Van Canneyt via
lazarus  wrote:


I myself had reported something similar with VNC, so it's indeed likely to
be the culprit.

Yes. I've found Lazarus or any LCL app to be unworkable with VNC :(

Yes, now that you mention it...
I had a similar situation several years ago when I was using TightVNC
on the RPi to access Lazarus. At that time nothing at all happened
when I tried to enter the characters {[]}\|.

So I created a text document with these chars and had it open when I
programmed so I could go there and select-and copy the wanted char to
be pasted into the editor.
If I remember correctly it was ONLY the code editor that ill behaved,
if I entered the characters into any other Lazarus window accepting
strings as parameter it worked OK.

And so it does now as well...
For example the search box in Object Inspector is OK with these
characters composed using the AltGr key.

So now I have connected a monitor to my RPi4 and a spare TV keyboard
with a mousepad to the RPi4 as well. When I use this to run a session
the problem does not appear any longer...

So indeed it is connected with VNC, but it also is connected with
Lazarus' code editor window. It seems like this is the only affected
window on the RPi, all others accept the composition key AltGr as part
of entering a special char.

I cannot use the direct connection, though, because I am heavily
depending on being able to copy stuff across between the two systems
and I also need to have access to my other tools on the Windows
computer. So I have to stick with VNC anyway and work around the
problem.

And back again to Lazarus 2.0.6...




Please look at  issue 0030544 on https://bugs.freepascal.org. If I 
remember correctly, Mattias eventually found the reason and fixed it. 
Don't know why the problerm rearises...

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Now Available Raspberry Pi 4 /Lazarus has problem with it

2019-06-25 Thread Joe via lazarus

Am 24.06.2019 um 09:17 schrieb Anthony Walter via lazarus:
For those of you that use Lazarus on the Raspberry Pi, you might be 
pleased to learn that the Raspberry Pi 4 was revealed a hour ago and 
is available for order.


https://www.raspberrypi.org/blog/raspberry-pi-4-on-sale-now-from-35/

Improvements include a 3x performance boots, up to 4 GB of RAM, USB 
3.0, dual HDMI out, a new 3D graphics core, and more.


With these changes I can see the Pi now as a complete desktop 
replacement computer. That is, something which is capable of doing 
everything you need with a computer. It should have no problem quickly 
lading multiple web pages, playing web video, running all the normal 
desktop applications such as Gimp, Audacity, and Lazarus.


I will be ordering one as soon as I can get the new case without 
buying the full kit. I will also be updating my download page to 
include a special version of FPC and Lazarus more suited to the Pi 4.


Cheers,
Anthony



Hi, all,

with the Pi 4 a new OS version appeared, Raspian Buster. On this I 
selected "Add/Remove Software" and clicked on "IDE for Free Pascal - 
Suite / lazarus -2.0-2.0.0-dfsg-2".


Lazarus 2 was installed and I clicked on "IDE starten". But then this 
error message appeared:


"The package EditorMacroScript (pascalscript macros) has detected a 
problem and was deactivated. The package failed it's selftest with the 
message 'Replace All [Exc: True / Got_ False]'"


How to fix?

Regards --  Joe

Regards --  Joe
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] tiOPF is looking for a new project maintainer

2019-05-30 Thread Joe via lazarus

Am 30.05.2019 um 13:25 schrieb Graeme Geldenhuys via lazarus:

Hello everybody,

I have really enjoyed working with tiOPF for 15+ years and have written
tons of database and non-database applications that used tiOPF. It was
also the project that introduced me to Design Patterns and Test Driven
Development, and I'll forever be grateful for that.

However, due to the decline in Delphi/Object Pascal popularity for paid
work (at least here in the UK), I've moved full time to another
programming language. With that, I feel it is time to hand over the
reins to someone else that still uses Delphi/Object Pascal on a daily
basis. So if you feel up to the challenge and don't want to see a great
project become abandon-ware, please let me know.

I'll keep running the support newsgroup - I have no intention in
stopping that. I'll also continue running the daily/hourly unit tests
for tiOPF as it is fully automated anyway. I'll also still be around to
answer questions, but will be moving away from maintenance and new
development work for tiOPF and tiOPF related utility applications.

So if you have any interest in keeping tiOPF alive, please contact me
here or in private.


ps:
   If I've done it correctly, all replies should go to the fpc-other
   mailing list.


Regards,
   - Graeme -



Graeme,

what's the programming language you have moved to?
Good luck and best wishes for this new episode in your career.

Regards,
Hans-Georg Joepgen
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus 2.0 returning inconsistent formatted results of DateTimeToStr?

2019-03-13 Thread Joe via lazarus

Am 12.03.2019 um 22:53 schrieb Michael Van Canneyt via lazarus:

For Linux OS settings to be initialized correctly, you should add the
'clocale' unit to your program's uses clause.


Yes, ok now. Thanx, Michael.
--  Joe

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Lazarus 2.0 returning inconsistent formatted results of DateTimeToStr?

2019-03-12 Thread Joe via lazarus
The DateTimeToStr function returns somewhat inconsistent formatted 
results, depending on the operating system.


For "DateTimeToStr (now, DefaultFormatSettings)"

-  under Windows 10 (64), I got "12-03-2019 21:35:50"
-  under Linux Mint Sarah, I got "12-3-19 21:35:50"
-  under Raspbian Stretch, i got "12-3-19 21:35:50"

The Language Switch of the IDE, Tools -> Options ... -> General -> 
Language, was  set to "German [de]".


-- Joe

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus 2.0 doesn't compile LabJack wrapper

2019-03-07 Thread Joe via lazarus

Am 07.03.2019 um 08:24 schrieb Juha Manninen via lazarus:

Actually the implementation part is not needed (I think). Just give
the external DLL name in the interface.


Interesting approach. I'll try this.
Thanx, Juha.

-- Joe
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus 2.0 doesn't compile LabJack wrapper

2019-03-07 Thread Joe via lazarus

Am 07.03.2019 um 08:33 schrieb Mattias Gaertner via lazarus:

Have you tried compiling with {$mode delphi} instead of {$mode objfpc}?
The wrapper did not contain any '{$mode objfpc}' or '{$mode delphi}' 
instruction. I inserted '{$mode delphi}', and the wrapper could be 
compiled. Thanx, Mattias.


--  Joe
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Lazarus 2.0 doesn't compile LabJack wrapper

2019-03-06 Thread Joe via lazarus

Hi,

we control some laboratory equipment with a LabJack U3-HV interface. The 
manufacturer of the interface provided a dll file and a Delphi wrapper 
for the dll file to read and set the ports of the interface. This works 
well with Delphi XE2.


But when I try to migrate to Lazarus 2.0, this wrapper is not accepted. 
It appears a error message 'Calling convention doesn't match forward'. 
Delphi XE2 doesn't complain about any convention difficulties in the 
wrapper file. I tried to harmonize the calling convention prescriptions 
in the interface and the implementation part of the wrapper- no success.


Is this a Lazarus or FPC bug, or a (perhaps undocumented) 
incompatibility between Delphi XE2 and Lazarus 2.0? Or do I oversee 
something? We are using Win 10, Version 1809 (64). The wrapper itself  
can be downloaded from

http://transfer.joepgen.com/wrapper.pas

Regards --  Joe



--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Can't install LazSerial 0.2 in Lazarus 2.0 under Raspbian

2019-02-22 Thread Joe via lazarus

Am 22.02.2019 um 17:38 schrieb Howard Page-Clark via lazarus:


Try logging in as you normally would to the Lazarus forum.

Then find Jurassic Pork's members page either by clicking on his 
underlined name in one of the posts he has made, or by searching for 
his name in the Members section. Then try sending him a PM. 


This didn't work. But I could append the text to a thread, which was 
originated and seems to be read by J. P.

Thank you, Howard.
Regards --  Joe
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Can't install LazSerial 0.2 in Lazarus 2.0 under Raspbian

2019-02-22 Thread Joe via lazarus

Am 22.02.2019 um 15:42 schrieb Howard Page-Clark via lazarus:
Why not use the Lazarus forum members' section to send him a private 
message?


I clicked this link. After login, I got the error message 'An Error Has 
Occurred. You are not allowed to access this section'.

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Can't install LazSerial 0.2 in Lazarus 2.0 under Raspbian

2019-02-22 Thread Joe via lazarus

Hi,

the package can't be compiled. Reason: The file "lazsynaser.pas" in 
lines 252..262 references undefined constants. They should be defined in 
file 'termios.inc'. In other operating systems and/or Lazarus versions 
they are, but not in Lazarus 2.0 under Raspbian Stretch, Nov 2018 edition.


As a quick and very dirty intermediate fix I replaced the constants in 
these lines with literal expressions. This worked, but of course that's 
no tidy solution.


I could not get the mail address of 'JurassicPork', the author of 
LazSerial. Does someone know this address?


Regards --  Joe




--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Raspbian FPC 3.3.1 and Lazarus 2.0 Available

2019-02-22 Thread Joe via lazarus

Am 21.02.2019 um 21:09 schrieb Bo Berglund via lazarus:

After  this was added I compiled the project again and now these
warnings were gone.


Confirmed.
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Raspbian FPC 3.3.1 and Lazarus 2.0 Available

2019-02-21 Thread Joe via lazarus

Am 21.02.2019 um 22:01 schrieb Joe via lazarus:

Hi, Bo,

I switched the test system from locale German to locale English-UK and 
rebooted. Then I started  Lazarus 2.0 and run my ToggleBox test again. 
This time it run flawslesly!  How can a locale setting influence the 
inner workings of Lararus 2.0 in such a manner? Any ideas in the 
community?


Could you perhaps switch temporarely to German locale and try to run 
the ToggleBox test again?


Your solution for the crtbegin/crtend-phenomenon is very interesting. 
I'll try it tomorrow.


--  Joe



Hi, all,

another finding: After this test with locale English-UK  I switched the 
system back to locale German and to character set UTF-8. This time, the 
Toggle Box test program was compiled and run - despite the German 
environment. Looks like the charcter set could be the culprit as well.


-- Joe
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Raspbian FPC 3.3.1 and Lazarus 2.0 Available

2019-02-21 Thread Joe via lazarus

Hi, Bo,

I switched the test system from locale German to locale English-UK and 
rebooted. Then I started  Lazarus 2.0 and run my ToggleBox test again. 
This time it run flawslesly!  How can a locale setting influence the 
inner workings of Lararus 2.0 in such a manner? Any ideas in the community?


Could you perhaps switch temporarely to German locale and try to run the 
ToggleBox test again?


Your solution for the crtbegin/crtend-phenomenon is very interesting. 
I'll try it tomorrow.


--  Joe


--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Raspbian FPC 3.3.1 and Lazarus 2.0 Available

2019-02-21 Thread Joe via lazarus

Am 21.02.2019 um 00:09 schrieb Bo Berglund via lazarus:

What kind of network connection do you have? I am on 250/100 Mbit/s
fiber myself.


We have a VDSL connection with 265/42 Mbit/s.

I tried (at 11:30 hours local time) to download the newest version of 
your script from


http://blog.boberglund.com/install_lazfpc_local_pi_blog.sh,
 
but still got this:


#!/bin/bash
# This script is used to install FreePascal 3.0.0 and Lazarus 1.6 on a 
Raspberry Pi2/3 running Raspbian Jessie
# Original script by Jim Kueneman (http://www.mustangpeak.net/install_laz.sh)
# Modified 2016-01-07 by Bo Berglund as follows:
...
#Fpc and Lazarus tags and versions
FPCTAG=release_3_0_4
FPCVER=3.0.4
LAZTAG=lazarus_2_0_0
LAZVER=2.0.0
...

--  Joe



--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Raspbian FPC 3.3.1 and Lazarus 2.0 Available

2019-02-19 Thread Joe via lazarus

Bo, I see in line 156 of your script this:

svn co "https:// svn.freepascal.org/ ...
But in line 152, I see
svn co https://svn.freepascal.org/ .. .

--  Joe



--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Raspbian FPC 3.3.1 and Lazarus 2.0 Available

2019-02-19 Thread Joe via lazarus

Bo,
on a Pi 3B+, I created a new system with Raspbian Stretch Nov 2018 
Edition, set 'locale' to German, connected it to the WLAN, increased the 
swap file size to 1000 and started your script 'sh.com' (yes, the one 
with SheBang)


It failed with this messages:

" A  2.0.0/test/manual/png/testsuite_check/basn0g08.png.gif
 svn: E120108: Fehler beim Ausführen des: Kontextes: The server 
unexpectedly closed the connection.

 setup.sh: 156: Cannot download Lazarus sources for 2.0.0! Aborting".

This is just to let you know. I currently don't need it, since 
fpcupdeluxe and Anthony Walter's script both did this job for us.


Regards --  Joe
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Raspbian FPC 3.3.1 and Lazarus 2.0 Available

2019-02-18 Thread Joe via lazarus

Am 18.02.2019 um 18:58 schrieb Bo Berglund via lazarus:

Do you mean my own installation script or Anthony Walter's?


Bo, in the mean time Anthony's script and fpupdeluxe work well. For 
comparison purposes, I would be glad I could test your script as well.


--  Joe
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Raspbian FPC 3.3.1 and Lazarus 2.0 Available

2019-02-18 Thread Joe via lazarus

Am 18.02.2019 um 08:44 schrieb Bo Berglund via lazarus:

I just added the following to the top of my own FPC/Lazarus install
scipt: Check swap space


Excellent idea. Where can I get it this new version? Have to update to 
Lazarus 2 some some more Pi-3s.


--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Raspbian FPC 3.3.1 and Lazarus 2.0 Available

2019-02-17 Thread Joe via lazarus

Am 12.02.2019 um 00:51 schrieb Anthony Walter via lazarus:

Joe, you should delete setup.sh, download it again:

Here is the location of the Rasberry Pi setup script:

https://www.getlazarus.org/download/?platform=raspberry

chmod + x setup.sh && ./setup.sh

After that follow the instructions in the terminal. When the script 
completes you will have a menu entry in Raspbian under Programming 
titled Lazarus 2.0. Use that shortcut to launch Lazarus. Alternately 
you can navigate to the install location and in the lazarus folder run 
lazarus.sh to start Lazarus 2.0 to with the properly configured 
environment.


You should see the Lazarus splash screen with version 2.0 emboldened 
at the bottom.




Anthony, eventually  i increased the swap file size from 100 to 1000 MB, 
and now your script succeeded.

Thanx --  Joe
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Makefile error or what else?

2019-02-17 Thread Joe via lazarus

Am 17.02.2019 um 17:01 schrieb Bo Berglund via lazarus:

So change the swap space to 1GB and retry, chances are it will work.


Bo, I changed the swap file size from 100 to 1000 and just got the same 
error. Anyway - Thank you!


Regards --  Joe
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Makefile error or what else?

2019-02-17 Thread Joe via lazarus

Hi,

under Raspbian Stretch (current version) on a Pi 3B+,  making of Lazarus 
2 fails. What's the reason, how to fix?


Log:
Executing: /usr/bin/svn info /home/pi/fpcupdeluxe/lazarus (working dir: )
URL: https://svn.freepascal.org/svn/lazarus/tags/lazarus_2_0_0
Revision: 60442
Letzter Autor: mattias
Letzte geänderte Rev: 60307
Letztes Änderungsdatum: 2019-02-02 21:09:45 +0100 (Sam, 02. Feb 2019)
...
fpcupdeluxe: info: LazarusNativeInstaller (BuildModuleCustom: Lazarus): 
Running make all
fpcupdeluxe: info: LazarusNativeInstaller (BuildModuleCustom: Lazarus): 
make. Params: 
FPC=/home/pi/fpcupdeluxe/fpc/bin/arm-linux/fpc.sh,PP=/home/pi/fpcupdeluxe/fpc/bin/arm-linux/ppcarm,USESVN2REVISIONINC=0,--directory=.,INSTALL_PREFIX=/home/pi/fpcupdeluxe/lazarus,FPCDIR=/home/pi/fpcupdeluxe/fpcsrc,FPCMAKE=/home/pi/fpcupdeluxe/fpc/bin/arm-linux/fpcmake,PPUMOVE=/home/pi/fpcupdeluxe/fpc/bin/arm-linux/ppumove,OPT=-vw-n-h-l-d-u-t-p-c-,all
Executing: make FPC=/home/pi/fpcupdeluxe/fpc/bin/arm-linux/fpc.sh 
PP=/home/pi/fpcupdeluxe/fpc/bin/arm-linux/ppcarm USESVN2REVISIONINC=0 
--directory=. INSTALL_PREFIX=/home/pi/fpcupdeluxe/lazarus 
FPCDIR=/home/pi/fpcupdeluxe/fpcsrc 
FPCMAKE=/home/pi/fpcupdeluxe/fpc/bin/arm-linux/fpcmake 
PPUMOVE=/home/pi/fpcupdeluxe/fpc/bin/arm-linux/ppumove 
OPT=-vw-n-h-l-d-u-t-p-c- all (working dir: /home/pi/fpcupdeluxe/lazarus)

make: Verzeichnis »/home/pi/fpcupdeluxe/lazarus« wird betreten
Makefile:3388: *** Es ist nur ein »else« pro Bedingung erlaubt. Schluss.
make: Verzeichnis »/home/pi/fpcupdeluxe/lazarus« wird verlassen
fpcupdeluxe: ERROR: LazarusNativeInstaller (BuildModuleCustom: Lazarus): 
make returned error code #512


Regards --  Joe


--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Raspbian FPC 3.3.1 and Lazarus 2.0 Available

2019-02-12 Thread Joe via lazarus

Am 12.02.2019 um 10:44 schrieb Joe via lazarus:

Am 12.02.2019 um 00:51 schrieb Anthony Walter via lazarus:

Joe, you should delete setup.sh, download it again:

Here is the location of the Rasberry Pi setup script:

https://www.getlazarus.org/download/?platform=raspberry

chmod + x setup.sh && ./setup.sh

After that follow the instructions in the terminal. When the script 
completes you will have a menu entry in Raspbian under Programming 
titled Lazarus 2.0. Use that shortcut to launch Lazarus. Alternately 
you can navigate to the install location and in the lazarus folder 
run lazarus.sh to start Lazarus 2.0 to with the properly configured 
environment.


You should see the Lazarus splash screen with version 2.0 emboldened 
at the bottom.




Anthony,

on executing this setup.sh I just got the same error messages:. Among 
them:


tar: Das sieht nicht wie ein "tar"-Archiv aus
gzip: stdin: unexpected end of file
./setup.sh: Zeile 206: 
/home/pi/Development/FreePascal/fpc/bin/fpcmkcfg: Datei nicht gefunden

and much more.

Nevertherless  setup.sh finishes with message "Your Free Pascal 3.0 
with Lazarus is now installed".


Translation: 'Das sieht nicht wie ein "tar"-Archiv aus' -> Doesn't 
look like a "tar" archive

                     'Datei nicht gefunden -> Filre not found

Now I am preparing another sd card with Raspian Stretch again, but do 
not switch to German and try this setup.sh again.


Regards --  Joe





Anthony,

in English-UK settings, I see the same behaviour of the script. Now it 
says 'this does not look like an tar arc hive'.


Regards --  Joe
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Raspbian FPC 3.3.1 and Lazarus 2.0 Available

2019-02-12 Thread Joe via lazarus

Am 12.02.2019 um 00:51 schrieb Anthony Walter via lazarus:

Joe, you should delete setup.sh, download it again:

Here is the location of the Rasberry Pi setup script:

https://www.getlazarus.org/download/?platform=raspberry

chmod + x setup.sh && ./setup.sh

After that follow the instructions in the terminal. When the script 
completes you will have a menu entry in Raspbian under Programming 
titled Lazarus 2.0. Use that shortcut to launch Lazarus. Alternately 
you can navigate to the install location and in the lazarus folder run 
lazarus.sh to start Lazarus 2.0 to with the properly configured 
environment.


You should see the Lazarus splash screen with version 2.0 emboldened 
at the bottom.




Anthony,

on executing this setup.sh I just got the same error messages:. Among them:

tar: Das sieht nicht wie ein "tar"-Archiv aus
gzip: stdin: unexpected end of file
./setup.sh: Zeile 206: /home/pi/Development/FreePascal/fpc/bin/fpcmkcfg: 
Datei nicht gefunden

and much more.

Nevertherless  setup.sh finishes with message "Your Free Pascal 3.0 with 
Lazarus is now installed".


Translation: 'Das sieht nicht wie ein "tar"-Archiv aus' -> Doesn't look 
like a "tar" archive

                     'Datei nicht gefunden -> Filre not found

Now I am preparing another sd card with Raspian Stretch again, but do 
not switch to German and try this setup.sh again.


Regards --  Joe


-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Raspbian FPC 3.3.1 and Lazarus 2.0 Available

2019-02-11 Thread Joe via lazarus

Am 11.02.2019 um 20:45 schrieb Anthony Walter via lazarus:

Delete the setup script, download it again, and re-run.


Anthony,

the two versions are the same, says winmerge.

In the mean time, I reinstalled Raspian again, but this time I did not 
activate Lazarus 1.6.2.
Instead I did 'tar xvf fpc.lazarus.raspberry.tar.gz' and now there are 
the two new directories fpc and lazarus.


What is the next step?

Rewgards --  Joe






--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Raspbian FPC 3.3.1 and Lazarus 2.0 Available

2019-02-11 Thread Joe via lazarus

Am 11.02.2019 um 19:16 schrieb Anthony Walter via lazarus:

Let me know what this does for you.


Yes, the two folders are created. Thank you. What is the next step?

Regards --  Joe
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Raspbian FPC 3.3.1 and Lazarus 2.0 Available

2019-02-11 Thread Joe via lazarus

Am 11.02.2019 um 15:12 schrieb Anthony Walter via lazarus:
I've made available precompiled bundles of FPC 3.3.1 and Lazarus 2.0 
for the Raspberry Pi. You can download this bundle at this location:




Hi, Anthony,

several attempts failed to send you my bug report with screen shots. 
Some bytes too large...
So here you get a copy of my report without screem shots, but with 
stderr output of the script.


Regards --  Joe
--

Copy:

Hi, Anthony,

I installed a fresh Stretch (Nov 2018) on a new SD card and put it in a 
Pi 3B+-. Selected 'German' and 'Germany'. Enabled VNC. Then I installed 
Lazarus 1.6.2 via "Add/Remove software", started Lazarus and got the 
known error message "The package editor macro script has detected a 
problerm and was activated".


Copied your script in /home/pi, made it executable and started it.

I was asked to install libghx-x11-dev and did it. Started the script 
again, accepted /home/pi/Development/FreePascal as default install 
location.


Said 'y' to the shortcuts question. But then I got an error message from 
line 206 of the script, and it finished.


Tried it again to get a screen shot with the error messages. It is 
enclosed.


How to fix?

Thank you --  Joe
/home/pi/.local/share/applications (y/n)?   % Total% Received % Xferd  
Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed

  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0
tar: Das sieht nicht wie ein „tar“-Archiv aus.

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
./setup.sh: Zeile 206: /home/pi/Development/FreePascal/fpc/bin/fpcmkcfg: Datei 
oder Verzeichnis nicht gefunden
find: ‘/home/pi/Development/FreePascal/lazarus/config’: Datei oder Verzeichnis 
nicht gefunden
find: ‘/home/pi/Development/FreePascal/lazarus/config’: Datei oder Verzeichnis 
nicht gefunden
find: ‘/home/pi/Development/FreePascal/lazarus’: Datei oder Verzeichnis nicht 
gefunden
find: ‘/home/pi/Development/FreePascal/lazarus’: Datei oder Verzeichnis nicht 
gefunden
cp: der Aufruf von stat für 
'/home/pi/Development/FreePascal/lazarus/lazarus.desktop' ist nicht möglich: 
Datei oder Verzeichnis nicht gefunden
mv: der Aufruf von stat für 
'/home/pi/Development/FreePascal/lazarus/lazarus.desktop' ist nicht möglich: 
Datei oder Verzeichnis nicht gefunden
./setup.sh: Zeile 237: /home/pi/Development/FreePascal/fpc/bin/fpc-terminal.sh: 
Datei oder Verzeichnis nicht gefunden
./setup.sh: Zeile 238: /home/pi/Development/FreePascal/fpc/bin/fpc-terminal.sh: 
Datei oder Verzeichnis nicht gefunden
./setup.sh: Zeile 239: /home/pi/Development/FreePascal/fpc/bin/fpc-terminal.sh: 
Datei oder Verzeichnis nicht gefunden
./setup.sh: Zeile 240: /home/pi/Development/FreePascal/fpc/bin/fpc-terminal.sh: 
Datei oder Verzeichnis nicht gefunden
chmod: Zugriff auf '/home/pi/Development/FreePascal/fpc/bin/fpc-terminal.sh' 
nicht möglich: Datei oder Verzeichnis nicht gefunden
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus 2 Installation under Raspbian Stretch fails

2019-02-11 Thread Joe via lazarus

Am 11.02.2019 um 15:17 schrieb Anthony Walter via lazarus:

Okay Joe, I've create a version of Lazarus 2.0 and it's available here:

https://www.getlazarus.org/setup/?download#raspberry_pi

Please see this mailing list message titled "Raspbian FPC 3.3.1 and 
Lazarus 2.0 Available" for the notes.


I made this a precompiled bundle rather than an svn build script 
because it takes MUCH longer to download and build sources on a 
Raspberry Pi, and also I've reduced the storage footprint by at least 
1.5GB, which is a lot given the typical space people have available on 
their Raspbian SD card.


Let me know if you have any questions or problems.



Hi, Anthony,

unfortunately this script fails on a Pi3B+ with  a fresh installed 
Stretch (Version Nov 2018).
I have created a bug report with enclosed screen shot and tried to send 
it to you, but got this answer:


Your mail to 'lazarus' with the subject

Re: [Lazarus] Raspbian FPC 3.3.1 and Lazarus 2.0 Available/Bug
Report

Is being held until the list moderator can review it for approval.

The reason it is being held:

Message body is too big: 161273 bytes with a limit of 100 KB

I am going to make the screen shot smaller and to try again.

Regards --  Joe

-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Raspbian FPC 3.3.1 and Lazarus 2.0 Available

2019-02-11 Thread Joe via lazarus

Am 11.02.2019 um 15:12 schrieb Anthony Walter via lazarus:
I've made available precompiled bundles of FPC 3.3.1 and Lazarus 2.0 
for the Raspberry Pi.

Great, Antony. Thanx.
-- Joe
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus 2 Installation under Raspbian Stretch fails

2019-02-10 Thread Joe via lazarus

Am 11.02.2019 um 00:07 schrieb Mattias Gaertner via lazarus:

Maybe you mean
-Fu/usr/local/lib/fpc/$fpctarget/


Do you refer to the content of the cfg file? I created the cfg file 
automagically with "fpcmkcfg -o /etc/fpc-3.0.4.cfg", but have no idea 
about its content and did not change anything in it.


In the meantime, to be sure fpc 3.0.4 is ok, I updated its sources (to 
revision 41293) and did "make build" and "sudo make install". No errors.


But when trying again to make lazarus, still the same error message pops up.
How does it work on your  Raspberry Pi 3B+?

Regards --  Joe
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus 2 Installation under Raspbian Stretch fails

2019-02-10 Thread Joe via lazarus

Am 10.02.2019 um 22:31 schrieb Mattias Gaertner via lazarus:

Again, check with -vut:
make bigide OPT=-vut

Mattias,
here you get the make output  and the cfg file.

--  Joe
make -C ide cleanide
make[1]: Verzeichnis »/home/pi/lazarus-2/ide« wird betreten
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
make[1]: Verzeichnis »/home/pi/lazarus-2/ide« wird verlassen
make -C packager/registration clean
make[1]: Verzeichnis »/home/pi/lazarus-2/packager/registration« wird betreten
/bin/rm -f ../units/arm-linux/fcllaz.pas.ppu
/bin/rm -f 
/bin/rm -f fpcmade.arm-linux Package.fpc ./ppas.sh script.res link.res  
/bin/rm -f *.s *_ppas.sh ppas.sh ppaslink.sh
make[1]: Verzeichnis »/home/pi/lazarus-2/packager/registration« wird verlassen
make -C lcl cleanall
make[1]: Verzeichnis »/home/pi/lazarus-2/lcl« wird betreten
/bin/rm -f units/arm-linux/alllclunits.ppu units/arm-linux/actnlist.ppu 
units/arm-linux/arrow.ppu units/arm-linux/avglvltree.ppu 
units/arm-linux/buttons.ppu units/arm-linux/calendar.ppu 
units/arm-linux/chart.ppu units/arm-linux/checklst.ppu 
units/arm-linux/clipbrd.ppu units/arm-linux/clistbox.ppu 
units/arm-linux/comctrls.ppu units/arm-linux/controls.ppu 
units/arm-linux/dbactns.ppu units/arm-linux/dbctrls.ppu 
units/arm-linux/dbgrids.ppu units/arm-linux/dialogs.ppu 
units/arm-linux/dynamicarray.ppu units/arm-linux/dynhasharray.ppu 
units/arm-linux/editbtn.ppu units/arm-linux/extctrls.ppu 
units/arm-linux/extdlgs.ppu units/arm-linux/extendedstrings.ppu 
units/arm-linux/extgraphics.ppu units/arm-linux/filectrl.ppu 
units/arm-linux/forms.ppu units/arm-linux/fpcadds.ppu 
units/arm-linux/graphics.ppu units/arm-linux/graphmath.ppu 
units/arm-linux/graphtype.ppu units/arm-linux/grids.ppu 
units/arm-linux/imglist.ppu units/arm-linux/inipropstorage.ppu 
units/arm-linux/interfacebase.ppu units/arm-linux/lazlinkedlist.ppu 
units/arm-linux/lclintf.ppu units/arm-linux/lclmemmanager.ppu 
units/arm-linux/lclproc.ppu units/arm-linux/lclrescache.ppu 
units/arm-linux/lclstrconsts.ppu units/arm-linux/lcltype.ppu 
units/arm-linux/lclunicodedata.ppu units/arm-linux/lconvencoding.ppu 
units/arm-linux/lmessages.ppu units/arm-linux/lresources.ppu 
units/arm-linux/maskedit.ppu units/arm-linux/menus.ppu 
units/arm-linux/pairsplitter.ppu units/arm-linux/popupnotifier.ppu 
units/arm-linux/postscriptprinter.ppu units/arm-linux/printers.ppu 
units/arm-linux/propertystorage.ppu units/arm-linux/spin.ppu 
units/arm-linux/stdactns.ppu units/arm-linux/stdctrls.ppu 
units/arm-linux/stringhashlist.ppu units/arm-linux/textstrings.ppu 
units/arm-linux/toolwin.ppu units/arm-linux/utrace.ppu 
units/arm-linux/xmlpropstorage.ppu
/bin/rm -f units/arm-linux/lclstrconsts.rst
/bin/rm -f  
/bin/rm -f fpcmade.arm-linux Package.fpc ./ppas.sh script.res link.res  
/bin/rm -f *.s *_ppas.sh
make -C interfaces clean
make[2]: Verzeichnis »/home/pi/lazarus-2/lcl/interfaces« wird betreten
make -C gtk2 clean
make[3]: Verzeichnis »/home/pi/lazarus-2/lcl/interfaces/gtk2« wird betreten
/bin/rm -f ../../units/arm-linux/gtk2/lcl.pas.ppu
/bin/rm -f 
/bin/rm -f fpcmade.arm-linux Package.fpc ./ppas.sh script.res link.res  
/bin/rm -f *.s *_ppas.sh
make[3]: Verzeichnis »/home/pi/lazarus-2/lcl/interfaces/gtk2« wird verlassen
make[2]: Verzeichnis »/home/pi/lazarus-2/lcl/interfaces« wird verlassen
make -C interfaces clean
make[2]: Verzeichnis »/home/pi/lazarus-2/lcl/interfaces« wird betreten
make -C gtk2 clean
make[3]: Verzeichnis »/home/pi/lazarus-2/lcl/interfaces/gtk2« wird betreten
/bin/rm -f ../../units/arm-linux/gtk2/lcl.pas.ppu
/bin/rm -f 
/bin/rm -f fpcmade.arm-linux Package.fpc ./ppas.sh script.res link.res  
/bin/rm -f *.s *_ppas.sh
make[3]: Verzeichnis »/home/pi/lazarus-2/lcl/interfaces/gtk2« wird verlassen
make[2]: Verzeichnis »/home/pi/lazarus-2/lcl/interfaces« wird verlassen
make -C interfaces/carbon clean
make[2]: Verzeichnis »/home/pi/lazarus-2/lcl/interfaces/carbon« wird betreten
/bin/rm -f ../../units/arm-linux/carbon/lcl.pas.ppu
/bin/rm -f 
/bin/rm -f fpcmade.arm-linux Package.fpc ./ppas.sh script.res link.res  
/bin/rm -f *.s *_ppas.sh
make[2]: Verzeichnis »/home/pi/lazarus-2/lcl/interfaces/carbon« wird verlassen
make -C interfaces/cocoa clean
make[2]: Verzeichnis »/home/pi/lazarus-2/lcl/interfaces/cocoa« wird betreten
/bin/rm -f ../../units/arm-linux/cocoa/lcl.pas.ppu
/bin/rm -f 
/bin/rm -f fpcmade.arm-linux Package.fpc ./ppas.sh script.res link.res  
/bin/rm -f *.s *_ppas.sh
make[2]: Verzeichnis »/home/pi/lazarus-2/lcl/interfaces/cocoa« wird verlassen
make -C interfaces/customdrawn clean
make[2]: Verzeichnis »/home/pi/lazarus-2/lcl/interfaces/customdrawn« wird 
betreten
/bin/rm -f ../../units/arm-linux/customdrawn/lcl.pas.ppu
/bin/rm -f 
/bin/rm -f fpcmade.arm-linux Package.fpc ./ppas.sh script.res link.res  

Re: [Lazarus] Lazarus 2 Installation under Raspbian Stretch fails

2019-02-10 Thread Joe via lazarus

Am 09.02.2019 um 23:20 schrieb Mattias Gaertner via lazarus:

Am 09.02.2019 um 21:30 schrieb Mattias Gaertner via lazarus:
Create a /etc/fpc-3.0.4.cfg and change the symlink 
/etc/alternatives/fpc.cfg
I made this cfg file with fpcmkcfg and changed the symlink with ln -sf 
/etc/fpc-3.0.4.cfg /etc/alternatives/fpc.cfg,
but 'make clean bigide' still fails with message "Can't find unit db 
used by fcllac".


Does this 'make' work on your Raspi 3B+?

/etc/fpc-3.0.4.cfg

-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus 2 Installation under Raspbian Stretch fails

2019-02-10 Thread Joe via lazarus

Am 10.02.2019 um 11:39 schrieb Anthony Walter via lazarus:
If you still have problems compiling, let me know and I'll post a 
proper raspberry build script.


Yes, Anthony, please send this script (very appreciated). To the GPU 64 
MB are assigned.

Thanx --  Joe
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus 2 Installation under Raspbian Stretch fails

2019-02-10 Thread Joe via lazarus

Am 09.02.2019 um 23:20 schrieb Mattias Gaertner via lazarus:

Check that your /etc/fpc.cfg contains the right -Fu paths.


/etc/fpc.cfg -> /etc/alternatives/fpc.cfg -> /etc/fpc-3.0.0.cfg

It seems, something is wrong with upgrading from fpc 3.0.0 to fpc 3.04.
What's the official method to do this? I did sudo apt-get upgrade.

cat /etc/fpc-3.0.0.cfg (first for of 278 lines):

#
# Config file generated by fpcmkcfg on 9-2-19 - 13:29:42
# Example fpc.cfg for Free Pascal Compiler
#

Regards --  Joe

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus 2 Installation under Raspbian Stretch fails

2019-02-09 Thread Joe via lazarus

Am 09.02.2019 um 22:19 schrieb Joe via lazarus:

Enclosed is the Output of Make with this Option.


Additionally here you get the output of "whereis fpc".

--  Joe
fpc: /usr/bin/fpc /usr/lib/fpc /etc/fpc.bak /etc/fpc.cfg /usr/local/bin/fpc 
/usr/local/lib/fpc /usr/share/man/man1/fpc.1.gz
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus 2 Installation under Raspbian Stretch fails

2019-02-09 Thread Joe via lazarus

Am 09.02.2019 um 21:30 schrieb Mattias Gaertner via lazarus:

Have you tried "make OPT=-vt" to see why fpc can't find unit db?

Enclosed is the Output of Make with this Option.
--  Joe
make -C ide cleanide
make[1]: Verzeichnis »/home/pi/lazarus-2a/ide« wird betreten
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
/bin/rm -f 
make[1]: Verzeichnis »/home/pi/lazarus-2a/ide« wird verlassen
make -C packager/registration clean
make[1]: Verzeichnis »/home/pi/lazarus-2a/packager/registration« wird betreten
/bin/rm -f ../units/arm-linux/fcllaz.pas.ppu
/bin/rm -f 
/bin/rm -f fpcmade.arm-linux Package.fpc ./ppas.sh script.res link.res  
/bin/rm -f *.s *_ppas.sh ppas.sh ppaslink.sh
make[1]: Verzeichnis »/home/pi/lazarus-2a/packager/registration« wird verlassen
make -C lcl cleanall
make[1]: Verzeichnis »/home/pi/lazarus-2a/lcl« wird betreten
/bin/rm -f units/arm-linux/alllclunits.ppu units/arm-linux/actnlist.ppu 
units/arm-linux/arrow.ppu units/arm-linux/avglvltree.ppu 
units/arm-linux/buttons.ppu units/arm-linux/calendar.ppu 
units/arm-linux/chart.ppu units/arm-linux/checklst.ppu 
units/arm-linux/clipbrd.ppu units/arm-linux/clistbox.ppu 
units/arm-linux/comctrls.ppu units/arm-linux/controls.ppu 
units/arm-linux/dbactns.ppu units/arm-linux/dbctrls.ppu 
units/arm-linux/dbgrids.ppu units/arm-linux/dialogs.ppu 
units/arm-linux/dynamicarray.ppu units/arm-linux/dynhasharray.ppu 
units/arm-linux/editbtn.ppu units/arm-linux/extctrls.ppu 
units/arm-linux/extdlgs.ppu units/arm-linux/extendedstrings.ppu 
units/arm-linux/extgraphics.ppu units/arm-linux/filectrl.ppu 
units/arm-linux/forms.ppu units/arm-linux/fpcadds.ppu 
units/arm-linux/graphics.ppu units/arm-linux/graphmath.ppu 
units/arm-linux/graphtype.ppu units/arm-linux/grids.ppu 
units/arm-linux/imglist.ppu units/arm-linux/inipropstorage.ppu 
units/arm-linux/interfacebase.ppu units/arm-linux/lazlinkedlist.ppu 
units/arm-linux/lclintf.ppu units/arm-linux/lclmemmanager.ppu 
units/arm-linux/lclproc.ppu units/arm-linux/lclrescache.ppu 
units/arm-linux/lclstrconsts.ppu units/arm-linux/lcltype.ppu 
units/arm-linux/lclunicodedata.ppu units/arm-linux/lconvencoding.ppu 
units/arm-linux/lmessages.ppu units/arm-linux/lresources.ppu 
units/arm-linux/maskedit.ppu units/arm-linux/menus.ppu 
units/arm-linux/pairsplitter.ppu units/arm-linux/popupnotifier.ppu 
units/arm-linux/postscriptprinter.ppu units/arm-linux/printers.ppu 
units/arm-linux/propertystorage.ppu units/arm-linux/spin.ppu 
units/arm-linux/stdactns.ppu units/arm-linux/stdctrls.ppu 
units/arm-linux/stringhashlist.ppu units/arm-linux/textstrings.ppu 
units/arm-linux/toolwin.ppu units/arm-linux/utrace.ppu 
units/arm-linux/xmlpropstorage.ppu
/bin/rm -f units/arm-linux/lclstrconsts.rst
/bin/rm -f  
/bin/rm -f fpcmade.arm-linux Package.fpc ./ppas.sh script.res link.res  
/bin/rm -f *.s *_ppas.sh
make -C interfaces clean
make[2]: Verzeichnis »/home/pi/lazarus-2a/lcl/interfaces« wird betreten
make -C gtk2 clean
make[3]: Verzeichnis »/home/pi/lazarus-2a/lcl/interfaces/gtk2« wird betreten
/bin/rm -f ../../units/arm-linux/gtk2/lcl.pas.ppu
/bin/rm -f 
/bin/rm -f fpcmade.arm-linux Package.fpc ./ppas.sh script.res link.res  
/bin/rm -f *.s *_ppas.sh
make[3]: Verzeichnis »/home/pi/lazarus-2a/lcl/interfaces/gtk2« wird verlassen
make[2]: Verzeichnis »/home/pi/lazarus-2a/lcl/interfaces« wird verlassen
make -C interfaces clean
make[2]: Verzeichnis »/home/pi/lazarus-2a/lcl/interfaces« wird betreten
make -C gtk2 clean
make[3]: Verzeichnis »/home/pi/lazarus-2a/lcl/interfaces/gtk2« wird betreten
/bin/rm -f ../../units/arm-linux/gtk2/lcl.pas.ppu
/bin/rm -f 
/bin/rm -f fpcmade.arm-linux Package.fpc ./ppas.sh script.res link.res  
/bin/rm -f *.s *_ppas.sh
make[3]: Verzeichnis »/home/pi/lazarus-2a/lcl/interfaces/gtk2« wird verlassen
make[2]: Verzeichnis »/home/pi/lazarus-2a/lcl/interfaces« wird verlassen
make -C interfaces/carbon clean
make[2]: Verzeichnis »/home/pi/lazarus-2a/lcl/interfaces/carbon« wird betreten
/bin/rm -f ../../units/arm-linux/carbon/lcl.pas.ppu
/bin/rm -f 
/bin/rm -f fpcmade.arm-linux Package.fpc ./ppas.sh script.res link.res  
/bin/rm -f *.s *_ppas.sh
make[2]: Verzeichnis »/home/pi/lazarus-2a/lcl/interfaces/carbon« wird verlassen
make -C interfaces/cocoa clean
make[2]: Verzeichnis »/home/pi/lazarus-2a/lcl/interfaces/cocoa« wird betreten
/bin/rm -f ../../units/arm-linux/cocoa/lcl.pas.ppu
/bin/rm -f 
/bin/rm -f fpcmade.arm-linux Package.fpc ./ppas.sh script.res link.res  
/bin/rm -f *.s *_ppas.sh
make[2]: Verzeichnis »/home/pi/lazarus-2a/lcl/interfaces/cocoa« wird verlassen
make -C interfaces/customdrawn clean
make[2]: Verzeichnis »/home/pi/lazarus-2a/lcl/interfaces/customdrawn« wird 
betreten
/bin/rm -f ../../units/arm-linux/customdrawn/lcl.pas.ppu
/bin/rm -f 
/bin/rm -f fpcmade.arm-linux Package.fpc 

[Lazarus] Lazarus 2 Installation under Raspbian Stretch fails

2019-02-09 Thread Joe via lazarus

Hi,

on a Pi 3B+ under Stretch I did this:

~ $ mkdir lazarus-2a
sudo chmod a+w lazarus-2a
svn co https://svn.freepascal.org/svn/lazarus/trunk lazarus-2a
cd lazarus-2a
make clean all

I get this error message:
...
Compiling fcllaz
home/pi/lazarus-2a/packager/registration/fcllaz.pas(11,3)  Fatal: 
(10022) Can't find unit db used by fcllaz

Fatal: (1018) Compilation aborted

What's wrong?
BTW: fpc -iW returns "3.0.4".

Regards --  Joe
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Lazarus 2 Installation under Raspbian Stretch fails

2019-02-09 Thread Joe via lazarus

Hi,

on a Pi 3B+ under Stretch I did this:

~ $ mkdir lazarus-2a
sudo chmod a+w lazarus-2a
svn co https://svn.freepascal.org/svn/lazarus/trunk lazarus-2a
cd lazarus-2a
make clean all

I get this error message:
...
Compiling fcllaz
home/pi/lazarus-2a/packager/registration/fcllaz.pas(11,3)  Fatal: 
(10022) Can't find unit db used by fcllaz

Fatal: (1018) Compilation aborted

What's wrong?
BTW: fpc -iW returns "3.0.4".

Regards --  Joe
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus 2 RC3 Bug or my fault?

2019-02-08 Thread Joe via lazarus

Am 07.02.2019 um 00:15 schrieb Werner Pamler via lazarus:


Did you set "Style" to "lbOwnerdrawFixed" and "ItemHeight" to a 
nonzero value? In this case the line height is given by "ItemHeight".


This solved the problem. Thanx, Werner.
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus 2 RC3 Bug or my fault?

2019-02-06 Thread Joe via lazarus

Am 06.02.2019 um 22:11 schrieb AlexeyT via lazarus:
May be caused by EOL at end of items. on Linux. 


Happens under Windows as well. And it's not an additional line, but only 
additional space between lines of approximately half a line.


--  Joe
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus 2 RC3 Bug or my fault?

2019-02-06 Thread Joe via lazarus

Am 06.02.2019 um 21:37 schrieb Bo Berglund via lazarus:

Did you set the font of the list to something unusual?


No, Bo. It's the default font Segoe UI Standard, Size 9. Happens with 
other fonts, too.

--  Joe
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus Release 2.0.0

2019-02-05 Thread Joe via lazarus

Great.
Should we deinstall Lazarus 2.0.0RC3 and install 2.0.0, or are there 
only very minor between these versions?


Joe
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Translation Problem or IDE Error in Lazarus 2.0 RC3?

2019-02-04 Thread Joe via lazarus

Am 04.02.2019 um 23:34 schrieb Bart via lazarus:

And there seem to be at least 3 more dialogs with [mbCancel,mbAbort]
as buttons in the ide directory ...

Bart


Very interesting finding, Bart.

--  Joe
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Lazarus 2 RC3 Bug or my fault?

2019-02-04 Thread Joe via lazarus
I have a TListBox called LogBox in a test project and write strings with 
LogBox.Items.Add(stringvar) to LogBox. But the lines don't follow each 
other without space. There is space with approximately a half line hight 
between them. In Delphi, the lines in TListBox follow each other without 
this space.  Is this a Lazarus bug or did I miss something?


--  Joe
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Translation Problem or IDE Error in Lazarus 2.0 RC3?

2019-02-04 Thread Joe via lazarus

Am 04.02.2019 um 22:56 schrieb Bart via lazarus:

So there seems to be a dialog with [mbCancel,mbAbort] somewehere?
(From your post I gather there ar_only_  2 buttons?


Yes, the dialog with title "Fehler beim Schreiben der Datei" has only 
two buttons.
I beg your pardon for this silly question: Where do I set the language 
of Lazarus to English?


--  Joe
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Translation Problem or IDE Error in Lazarus 2.0 RC3?

2019-02-04 Thread Joe via lazarus
If for any reason the '.compiled'-file of a test project can't be 
written, during compiling a message window "Fehler beim Schreiben der 
Datei" appears. It contains two buttons: "Abbruch" und "Abbrechen" 
(something like "Cancellation" and "Cancel").


-- Joe


--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus Release Candidate 3 of 2.0

2019-02-02 Thread Joe via lazarus

Two minor test findings:

Projekt -> Projekt veröffentlichen -> Zielverzeichnis: If the user 
selects an empty directory, nevertheless a question window "Verzeichnis 
leeren?" appears. Nonsense in this situation.
When a "Debuggerfehler" happens, the user is told "... Drücken Sie 
<>", but there is no Stop button, only a "Weiter"-Button and a 
"Halt"-Button.


--  Joe
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus Release Candidate 3 of 2.0

2019-02-02 Thread Joe via lazarus

Am 02.02.2019 um 21:59 schrieb Mattias Gaertner via lazarus:

On Sat, 2 Feb 2019 21:36:58 +0100
Joe via lazarus  wrote:


Hi,

In this test installation of Lazarus 2.0.0RC3 the IDE does not show
the components palette, and under View -> Components the lists are
empty.

This I did: Installed Linux Mint 18 Sarah 32-Bit on an old x86
notebook. Downloaded fpc-laz_3.0.4-1_i386.deb, fpc-src_3.0.4-1_i386
and lazarus-project_2.0.0RC3-0_i386.deb from
http://sourceforge.net/projects/lazarus/files/.

Then I installed the three deb files with GDebi and started the
Lazarus IDE. A warning "directory lcl not found" appeared. I clicked
on "Start IDE". Under Tools -> Options -> Environment, the field
"Lazarus directory" is empty.

If you installed Lazarus the first time on this computer, on start you
should see "Welcome to Lazarus 2.0.0RC3" and the Lazarus directory
should be set to" /usr/share/lazarus".

Are you sure you installed it for the first time?
Close the IDE, remove the ~/.lazarus directory and then start the IDE
again.

Mattias


Hello, Mattias,

maybe (am not sure) in a first attempt  I had installed and deinstalled 
Lazarus 1.6, which  is offered by this distro. Later when I tried to 
install RC3, GDebi told me, there was an package conflict with fpc. I 
did  sudo apt-get purge fpc and then sudo apt-get autoremove. Now RC3 
could be installed.


Following your advice, I removed the ~/.lazarus directory of the default 
user, and the problem was gone.


--  Joe
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus Release Candidate 3 of 2.0

2019-02-02 Thread Joe via lazarus

Am 02.02.2019 um 21:36 schrieb Joe via lazarus:

Hi,

In this test installation of Lazarus 2.0.0RC3 the IDE does not show 
the components palette, and under View -> Components the lists are empty.


This I did: Installed Linux Mint 18 Sarah 32-Bit on an old x86 
notebook. Downloaded fpc-laz_3.0.4-1_i386.deb, fpc-src_3.0.4-1_i386 
and lazarus-project_2.0.0RC3-0_i386.deb from 
http://sourceforge.net/projects/lazarus/files/.


Then I installed the three deb files with GDebi and started the 
Lazarus IDE. A warning "directory lcl not found" appeared. I clicked 
on "Start IDE".
Under Tools -> Options -> Environment, the field  "Lazarus directory" 
is empty.


Regards --  Joe


This problem depends on the user type of the logged on user. If we work 
as Administrator or Desktop-Benutzer, the components are accessible. If 
we work as a user of user type Default User, the components are not offered.


Joe

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus Release Candidate 3 of 2.0

2019-02-02 Thread Joe via lazarus

Hi,

In this test installation of Lazarus 2.0.0RC3 the IDE does not show the 
components palette, and under View -> Components the lists are empty.


This I did: Installed Linux Mint 18 Sarah 32-Bit on an old x86 notebook. 
Downloaded fpc-laz_3.0.4-1_i386.deb, fpc-src_3.0.4-1_i386 and 
lazarus-project_2.0.0RC3-0_i386.deb from 
http://sourceforge.net/projects/lazarus/files/.


Then I installed the three deb files with GDebi and started the Lazarus 
IDE. A warning "directory lcl not found" appeared. I clicked on "Start IDE".
Under Tools -> Options -> Environment, the field  "Lazarus directory" is 
empty.


Regards --  Joe
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] what can we do to get a better debugger

2018-11-20 Thread Joe via lazarus

Am 20.11.2018 um 11:37 schrieb Dennis via lazarus:

FPC and Lazarus are great but the GDB is inadequate.
Many times in my development, GDB failed or crashed, especially when I 
am debugging multi thread programs.


Shall we start a fund raising event to raise fund for a new and better 
debugger for FPC + Lazarus? (provided there are talents out there who 
would do implement it).


Dennis


Yes, we should, I think.

Joe
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Wrong error message in "Liste der überwachten Ausdrücke"

2018-08-01 Thread Joe via Lazarus

Am 01.08.2018 um 11:03 schrieb Martin Frb via Lazarus:
This can currently not be fixed. 
http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Properties


Currently neither dwarf-2, nor stabs allow the compiler to tell the 
debugger about properties.

So for the debugger properties do not exist, hence the error.

For the specific case, try (IIRC):
List.flist.fcount


On 01/08/2018 10:05, Joe via Lazarus wrote:

"Liste der überwachten Ausdrücke" shows the wrong error message
""

OS: Win 10 (64), Lazarus 1.8.4, SVN Revision 57972.
Steps to reproduce:
Insert this in an unit and let your program call it.

procedure TForm1.TestProcedure;
var Liste: TStringList;
begin
  Liste:= TStringList.Create;
  Liste.Add('Eins');
  Liste.Free
end;

Set a breakpoint at "Liste.Add('Eins')" and insert "Liste.count" into 
the "Liste der überwachten Ausdrücke" (Strg+Alt+W).
Run the program. It stops at the breakpoint and the Liste der 
überwachten Ausdrücke shows this wrong error message.


Regards --  Joe








Martin, thank you for this important info. For debugging purposes, we 
are now going to load an intermediate variable with the result of 
Liste.count.

Regards --  Joe
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Wrong error message in "Liste der überwachten Ausdrücke"

2018-08-01 Thread Joe via Lazarus

"Liste der überwachten Ausdrücke" shows the wrong error message
""

OS: Win 10 (64), Lazarus 1.8.4, SVN Revision 57972.
Steps to reproduce:
Insert this in an unit and let your program call it.

procedure TForm1.TestProcedure;
var Liste: TStringList;
begin
  Liste:= TStringList.Create;
  Liste.Add('Eins');
  Liste.Free
end;

Set a breakpoint at "Liste.Add('Eins')" and insert "Liste.count" into 
the "Liste der überwachten Ausdrücke" (Strg+Alt+W).
Run the program. It stops at the breakpoint and the Liste der 
überwachten Ausdrücke shows this wrong error message.


Regards --  Joe
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Lazarus and Lazarus Apps unreliable over Teamviewer

2018-06-03 Thread Joe via Lazarus
Remote client is Teamviewer 13.2.3629 under Win 10 (64), Remote Server 
is Teamviewer 13.1.1548H under Raspbian Stretch on a Pi 3B+. Both 
machine is set to Keyboard Layot German.


From the windows machine, I start Lazarus 1.8.4 (FPC 3.0.4, SVN-Rev 
58021) on the Pi and open the code editor.
Then I try to type AltGr+.. combination characters like Vertical bar, 
Euro-Sign, At-Sign, Backslash, braces and brackets. Sometimes the typed 
chars appear in the code editor window, sometimes they don't. Often (not 
always) it seems to depend how quick I release the AltGr key.


The same unreliable input behaviour I see with Lazarus generated 
executables containing SynEdit components, when I try to type into them.


Similar problem: See thread "Lazarus still not usable with VNC under 
Raspbian" and issue 0030544 in the lazarus bugtracker.


--  Joe



--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Uninstalling of Lazarus 1.8.2 under Win 10 (64) incomplete

2018-05-22 Thread Joe via Lazarus
I clicked on 'Einstellungen', then 'Apps', then 'Lazarus 1.8.2' and 
'Deinstallieren'. A message appeared: 'Diese App und alle dazugehörigen 
Infos werden deinstalliert.' Again I clicked on 'Deinstallieren' and 
rebootet.


Lazarus was removed, but not the offer to remove it under Einstellungen 
->  Apps. There is still 'Lazarus 1.8.2.
I clicked on it, clicked again on 'Deinstallieren' and eventually got 
the error message 'D:\lazarus\unins000 konnte nicht gefunden werden. 
Stellen Sie sicher, dass Sie den Namen richtig eingegeben haben, und 
wiederholen Sie den Vorgang.'


Happens under Windows Version 1803 Build 17134.48.

joe
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus Make Parameters

2018-05-22 Thread Joe via Lazarus

Am 22.05.2018 um 13:16 schrieb Mattias Gaertner via Lazarus:

On Tue, 22 May 2018 11:44:30 +0200
Joe via Lazarus <lazarus@lists.lazarus-ide.org> wrote:


[
Until now, I only did Lazarus SVN CheckOut and Lazarus Make with Trunk.
How to do it with 'Release' and 'Fix' Versions?

The same.
Just other svn URLs. For example:
The 1.8.2 release:
https://svn.freepascal.org/svn/lazarus/tags/lazarus_1_8_2
The fixes branch:
https://svn.freepascal.org/svn/svn/lazarus/branches/fixes_1_8



Whats the exact difference between these versions?

http://wiki.lazarus.freepascal.org/Version_Numbering



Are there more versions available than Trunk, Release and Fix?

These are the most important ones.
Sometimes developers create a branch to work on a big feature, which
is later merged.

You can use the svn list command:
svn list https://svn.freepascal.org/svn/lazarus/

Mattias


Mattias,
this helps a lot. Thanx.
Joe

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Lazarus Make Parameters

2018-05-22 Thread Joe via Lazarus

Some silly questions from an Make beginner:
Where can I find a enumeration and explanations of the Lazarus Make 
parameters like OPT='-dLCLGtk2Fix30545' and '-dVerboseKeyboard'?
Until now, I only did Lazarus SVN CheckOut and Lazarus Make with Trunk. 
How to do it with 'Release' and 'Fix' Versions? Whats the exact 
difference between these versions? Are there more versions available 
than Trunk, Release and Fix?


Joe

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Lazarus Make error under Ubuntu Mate

2018-05-20 Thread Joe via Lazarus

Hi,

under Ubuntu Mate 16.04.4 LTS with Lazarus 1.6 and FPC 3.0.0 I tried to 
make Lazarus, Revision 57978. Compiling was aborted with this error message:
'... guitestrunner.pas(682/24)  Error: (5083) Identifier idents no 
member "ChildTestCount"'.


How to fix?

--  Joe

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus Bugtracker/Issue 30544

2018-05-12 Thread Joe via Lazarus

Am 12.05.2018 um 12:09 schrieb Mattias Gaertner via Lazarus:

I doubt that 57897 or 8 fixes the issue.
Seems you are right. After many hours successful testing on several Pis  
the error suddenly reappeared when I went back to a former project in 
Lazarus 1.9 SVN-Revision 57898. Reason unknown.


Joe
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus Bugtracker/Issue 30544

2018-05-12 Thread Joe via Lazarus

Am 12.05.2018 um 12:16 schrieb Ondrej Pokorny via Lazarus:

On 12.05.2018 12:09, Mattias Gaertner via Lazarus wrote:

On Sat, 12 May 2018 12:04:32 +0200
Joe via Lazarus <lazarus@lists.lazarus-ide.org> wrote:


Am 12.05.2018 um 11:46 schrieb Mattias Gaertner via Lazarus:
I tested with 57898, but i think, Ondrej already had fixed it one
version earlier.

I doubt that 57897 or 8 fixes the issue.


I didn't fix this. Mattias, maybe it was your r57838?

Ondrej


From the svn log:

'r57897 |ondrej | 2018-05-11 16:29: ...
SynEdit: remove special smart selection jumping, use the normal instead'

Now in Raspian Stretch on Pi computers, the AltGr+ key combinations work 
for us in TSynEdit and in the code editor.


Joe




--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus Bugtracker/Issue 30544

2018-05-12 Thread Joe via Lazarus

Am 12.05.2018 um 11:46 schrieb Mattias Gaertner via Lazarus:

On Sat, 12 May 2018 11:31:31 +0200
Joe via Lazarus <lazarus@lists.lazarus-ide.org> wrote:


I added a note to this issue saying it is resolved now.

Do you know which revision fixed the issue?

Mattias
I tested with 57898, but i think, Ondrej already had fixed it one 
version earlier.
Test was done on a Pi 3B+ with FPC 3.0.4 under Raspbian Stretch, Version 
2018-04-18.

-- Joe
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Lazarus Bugtracker/Issue 30544

2018-05-12 Thread Joe via Lazarus

I added a note to this issue saying it is resolved now.
But now i don't know, how is the Status of the issue changed? Who 
changes it?

-- Joe
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus still not usable with VNC under Raspbian

2018-05-11 Thread Joe via Lazarus
As tested, with revision 57898, the AltGr problem under Raspbian is 
fixed now.

Thank you, Mattias and Ondrej.
--  Joe
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus still not usable with VNC under Raspbian

2018-05-02 Thread Joe via Lazarus

Am 02.05.2018 um 13:56 schrieb Joe via Lazarus:
The same or a similar problem I see using Lazarus 1.6 under Ubuntu 
16.04 LTS, running X11 VNC Server 0.9.13-1.2build1. 


Under Ubuntu 18.04 LTS with Lazarus 1.8.2+dfsg-3 and FPC 3-04 the AltGr 
keystroke combinations work fine. Same VNC-Server and VNC-Viewer.

--  Joe
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus still not usable with VNC under Raspbian

2018-05-02 Thread Joe via Lazarus


The same or a similar problem I see using Lazarus 1.6 under Ubuntu 16.04 
LTS, running X11 VNC Server 0.9.13-1.2build1.


I connected from a windows 10 computer with VNCViewer 6.1.0 from RealVNC 
to the Ubuntu machine, opened Lazarus and tried to insert a '[' char 
with AltGr+8 in the Lazarus code editor window. Alternately, no char or 
wrong chars were inserted. The same happened, when I tried to insert 
other AltGr combinations like { and ]. Country and keyboards settings on 
both machines: Germany.


Added a note to case 30544 in the Lazarus Bug Tracker.

-- Joe
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Lazarus still not usable with VNC under Raspbian

2018-05-02 Thread Joe via Lazarus
The same or a similar problem I see using Lazarus 1.6 under Ubuntu 16.04 
LTS, running X11 VNC Server 0.9.13-1.2build1.


I connected from a windows 10 computer with VNCViewer 6.1.0 from RealVNC 
to the Ubuntu machine, opened Lazarus and tried to insert a '[' char 
with AltGr+8 in the Lazarus code editor window. Alternately, no char or 
wrong chars were inserted. The same happened, when I tried to insert 
other AltGr combinations like { and ].


Added a note to case 30544 in the Lazarus Bug Tracker.

-- Joe
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Make of revision 57762 failing under Raspbian

2018-05-01 Thread Joe via Lazarus

Am 01.05.2018 um 22:26 schrieb Ondrej Pokorny via Lazarus:

Please retest with r57764.


Yes, now ok. Thanx, Ondrej.
Joe
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Make of revision 57762 failing under Raspbian

2018-05-01 Thread Joe via Lazarus
On Raspberry Pi 3B+ computers under Raspbian Stretch 20180418 with 
Lazarus 1.6.2 installed I tried to compile the current development 
revision 57762 of Lazarus.
It failed in 'grids.pas', line 4150, with error 'identifier idents no 
member "Width"'.


This I did:
(1) Created directory '~/lazarus'.
(2) svn co https://svn.freepascal.org/svn/lazarus/trunk lazarus
(3) cd lazarus
(4) svn update
(5) make bigide

Screen shot:
http://transfer.joepgen.com/MakeFailure.pdf

What's wrong? Is it a mistake of the operator or a software bug? Should 
I file a mantis report?


Regards --  Joe
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus still not usable with VNC under Raspbian

2018-04-30 Thread Joe via Lazarus

Am 30.04.2018 um 17:44 schrieb Bo Berglund via Lazarus:

Since the community was not able to come up with a solution I have had
to use the GEdit trick such that I open a Gedit window in Raspbian and
there I enter the problem characters.

Bo, there is another (ugly?) work around:

In the code editor, type Control+Shift+M to open the Character Map, and 
in this map click on the character you want to insert.


--  Joe
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus still not usable with VNC under Raspbian

2018-04-29 Thread Joe via Lazarus

Am 29.04.2018 um 08:43 schrieb Mattias Gaertner via Lazarus:

On Fri, 27 Apr 2018 11:05:49 +0200
Joe via Lazarus <lazarus@lists.lazarus-ide.org> wrote:


[...]
on Pi computers under Raspbian controlled over VNC the Lazarus code
editor doesn't recognize keystrokes with AltGr and therefore characters
like {[]}\ can't be put in. That's a known issue since 2016
(https://bugs.freepascal.org/view.php?id=30544#c107874).

I added a comment. Can you help me?

Mattias


Mattias,

Unfortunately, actually I don't know how to get and compile Lazarus 
code. Is there a step by step introduction anywhere how to do it under 
Raspian Stretch or a script helping with this?


Another possibility: I can open a Pi 3B+ via RDP for you, so you could 
have complete control over this system. One possible way to connect to 
this Pi over RDP is: Under Windows 10 (64), start 
c:\windows\system32\mstsc.exe.


Joe
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Lazarus still not usable with VNC under Raspbian

2018-04-27 Thread Joe via Lazarus

Hi, community,

on Pi computers under Raspbian controlled over VNC the Lazarus code 
editor doesn't recognize keystrokes with AltGr and therefore characters 
like {[]}\ can't be put in. That's a known issue since 2016 
(https://bugs.freepascal.org/view.php?id=30544#c107874).


Unfortunately, this report is still unassigned and it seems nobody of 
the developers cares about it. So, the 70+ million Raspberry Pi users 
all over the world cant' develop Lazarus programs when controlling their 
Pis over the VNC Server built into Raspbian.


The contributor of the VNC Server built into Raspian Stretch is RealVNC. 
I asked them for help concerning this problem. Yesterday I got this from 
Linda, RealVNC Product Support:


"We did manage to reproduce this from Windows with a German keyboard 
layout. We can confirm that it only affects this particular application. 
Lazarus does appear to discard key events with the same timestamp, which 
I think is not correct behaviour, which they would need to fix to make 
this work. There's not really much we can do to fix this, since we don't 
explicitly generate the timestamps on the events - the X server is doing 
this. Given that the X server is ok with sending the key events to the 
Lazarus application with the same timestamp, I think it should be 
handling this ...

Please log a bug with the Lazarus developer."

Steps to reproduce the problem:
Prepare a SD card with Raspbian Stretch, current version, and boot a Pi 
with it. Enable VNC and install Lazarus (current version under Raspian
 is Lazarus 1.6.2). Now, from a Windows 10 computer, using VNCViewer 
6.0.3. x64 from RealVNC, connect to the Pi, open Lazarus, click in the 
code Editor Window and depress AltGr + {. The charcter is not shown.


Please, could one of the developers have a look at this?

Regards --  Joe




-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus 1.8 RC1 under Raspbian Jessie

2017-06-06 Thread Joe via Lazarus

Am 06.06.2017 um 11:08 schrieb Mark Morgan Lloyd via Lazarus:

On 06/06/17 06:30, Joe via Lazarus wrote:

Am 30.05.2017 um 00:36 schrieb Bo Berglund via Lazarus:> The corrected
script is found here:>
http://blog.boberglund.com/install_lazfpc_local_pi.sh.On Pi Zero W,
using the ARMv6 option and De-de locale, i get this error message:
"make: -iVSPTPSOTO Kommando nicht gefunden"
What does this say? How to fix?


It says it can't find the compiler binary. Hopefully Bo will be able 
to give you some direct help, but the classical way of fixing it would 
be by something like


make clean all PP=ppcXXX


.
Went to /home/pi/dev/fpc/3.02 and did make clean all PP=ppcarm.
Got "An unhandled exception occurred at $000678A0".
Maybe the ARMv6 CPU got some ARMv7 code?

-- Joe
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] linking error

2017-06-04 Thread Joe via Lazarus

Am 03.06.2017 um 14:24 schrieb Mattias Gaertner via Lazarus:

I will try to build a more compatible fpc deb in a few days.

Could it be used on Pi Zero W (Raspian Jessie, ARMv6)?
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Fwd: Re: Lazarus 1.8 RC1 under Raspbian Jessie

2017-06-01 Thread Joe via Lazarus

Am 31.05.2017 um 20:29 schrieb Joe via Lazarus:

62 minutes later the compilation was aborted due to access violations.

Here the Error Log of another attempt:

Enter selection [ARMv7/ARMv6] : ARMv7AARMVv6
--2017-06-01 13:56:49-- 
http://blog.boberglund.com/projects/freepascal/files/Linux/3.0.0/fpc-3.0.0.arm-linux.tar
Auflösen des Hostnamen »blog.boberglund.com (blog.boberglund.com)«... 
194.9.94.14
Verbindungsaufbau zu blog.boberglund.com 
(blog.boberglund.com)|194.9.94.14|:80... verbunden.

HTTP-Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 2918400 (2,8M) [application/x-tar]
In »»fpc-3.0.0.arm-linux.tar«« speichern.

 0K .. .. .. .. ..  1% 282K 10s
50K .. .. .. .. ..  3% 677K 7s
   100K .. .. .. .. ..  5% 702K 6s
   150K .. .. .. .. ..  7% 683K 5s
   200K .. .. .. .. ..  8% 694K 5s
   250K .. .. .. .. .. 10% 188K 6s
   300K .. .. .. .. .. 12% 1,41M 5s
   350K .. .. .. .. .. 14% 1,40M 5s
   400K .. .. .. .. .. 15% 1,08M 5s
   450K .. .. .. .. .. 17% 1,38M 4s
   500K .. .. .. .. .. 19% 1,13M 4s
   550K .. .. .. .. .. 21% 881K 4s
   600K .. .. .. .. .. 22% 680K 4s
   650K .. .. .. .. .. 24% 696K 3s
   700K .. .. .. .. .. 26% 680K 3s
   750K .. .. .. .. .. 28% 227K 4s
   800K .. .. .. .. .. 29% 4,84M 3s
   850K .. .. .. .. .. 31% 1,40M 3s
   900K .. .. .. .. .. 33% 1,91M 3s
   950K .. .. .. .. .. 35% 540K 3s
  1000K .. .. .. .. .. 36% 698K 3s
  1050K .. .. .. .. .. 38% 676K 3s
  1100K .. .. .. .. .. 40% 702K 3s
  1150K .. .. .. .. .. 42% 675K 3s
  1200K .. .. .. .. .. 43% 696K 2s
  1250K .. .. .. .. .. 45% 684K 2s
  1300K .. .. .. .. .. 47% 701K 2s
  1350K .. .. .. .. .. 49% 676K 2s
  1400K .. .. .. .. .. 50% 680K 2s
  1450K .. .. .. .. .. 52% 701K 2s
  1500K .. .. .. .. .. 54% 675K 2s
  1550K .. .. .. .. .. 56% 675K 2s
  1600K .. .. .. .. .. 57% 689K 2s
  1650K .. .. .. .. .. 59% 716K 2s
  1700K .. .. .. .. .. 61% 670K 2s
  1750K .. .. .. .. .. 63% 703K 2s
  1800K .. .. .. .. .. 64% 679K 2s
  1850K .. .. .. .. .. 66% 677K 1s
  1900K .. .. .. .. .. 68% 700K 1s
  1950K .. .. .. .. .. 70% 658K 1s
  2000K .. .. .. .. .. 71% 724K 1s
  2050K .. .. .. .. .. 73% 675K 1s
  2100K .. .. .. .. .. 75% 692K 1s
  2150K .. .. .. .. .. 77% 687K 1s
  2200K .. .. .. .. .. 78% 702K 1s
  2250K .. .. .. .. .. 80% 676K 1s
  2300K .. .. .. .. .. 82% 681K 1s
  2350K .. .. .. .. .. 84% 698K 1s
  2400K .. .. .. .. .. 85% 679K 1s
  2450K .. .. .. .. .. 87% 684K 1s
  2500K .. .. .. .. .. 89% 694K 0s
  2550K .. .. .. .. .. 91% 698K 0s
  2600K .. .. .. .. .. 92% 676K 0s
  2650K .. .. .. .. .. 94% 700K 0s
  2700K .. .. .. .. .. 96% 678K 0s
  2750K .. .. .. .. .. 98% 676K 0s
  2800K .. .. .. .. ..100% 709K 0s
  2850K

Re: [Lazarus] Lazarus 1.8 RC1 under Raspbian Jessie

2017-05-31 Thread Joe via Lazarus

Am 27.05.2017 um 11:38 schrieb Mattias Gaertner via Lazarus:

On Sat, 27 May 2017 11:25:56 +0200
Joe via Lazarus <lazarus@lists.lazarus-ide.org> wrote:


Am 26.05.2017 um 15:29 schrieb Mark Morgan Lloyd via Lazarus:

Just to check the "standard way of doing it" in case there's any
surprises, with FPC 3.0.2 installed:

svn co http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_8_0_RC1
cd lazarus_1_8_0_RC1
make

That worked as expected.

make clean bigide

Mark,
I installed FPC 3.0.2 and then followed your proposal. But the
compilation of Lazarus 1.8.0 RC1 was aborted with an error message
saying FPC 3.0.0 was needed.

What is the exact error message?

Mattias

.
Somethin is wrong with this link. Trying again:
Please use http://transfer.joepgen.com/ErrorMessages.png
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus 1.8 RC1 under Raspbian Jessie

2017-05-31 Thread Joe via Lazarus

Am 27.05.2017 um 11:38 schrieb Mattias Gaertner via Lazarus:

On Sat, 27 May 2017 11:25:56 +0200
Joe via Lazarus <lazarus@lists.lazarus-ide.org> wrote:


Am 26.05.2017 um 15:29 schrieb Mark Morgan Lloyd via Lazarus:

Just to check the "standard way of doing it" in case there's any
surprises, with FPC 3.0.2 installed:

svn co http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_8_0_RC1
cd lazarus_1_8_0_RC1
make

That worked as expected.

make clean bigide

Mark,
I installed FPC 3.0.2 and then followed your proposal. But the
compilation of Lazarus 1.8.0 RC1 was aborted with an error message
saying FPC 3.0.0 was needed.

What is the exact error message?

Mattias

.
.
Another attempt lead to this result:
http://transfer.joepgen.com/ErrorMessage.png
Pi Zero W, Bo's script, swap file enlarged from 100 to 1024 MBytes.
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Fwd: Re: Lazarus 1.8 RC1 under Raspbian Jessie

2017-05-31 Thread Joe via Lazarus




 Weitergeleitete Nachricht 
Betreff:Re: [Lazarus] Lazarus 1.8 RC1 under Raspbian Jessie
Datum:  Wed, 31 May 2017 20:22:35 +0200
Von:Joe <spec...@joepgen.com>
An: lazarus@lists.lazarus-ide.org



Am 30.05.2017 um 10:48 schrieb Joe via Lazarus:

Am 30.05.2017 um 00:36 schrieb Bo Berglund via Lazarus:

On Sat, 27 May 2017 11:20:17 +0200, Joe via Lazarus
<lazarus@lists.lazarus-ide.org> wrote:


Am 26.05.2017 um 13:02 schrieb Bo Berglund via Lazarus:

You could try my script for installation of FPC + Lazarus on an RPi3.
http://blog.boberglund.com/install_lazfpc_local_pi.sh

In order to get the version you need just edit the script before
running it and replace the versions at the top of the file with the
one you want.

Bo,
unfortunately, this failed with error message something could not be
found. Seems, I did not edit the script the right way.
What lines are to be edited and exactly how for Lazarus 1.8.0 RC1?
Thanx -- Joe

Hi again!
I have now returned home and been able to check the script.
I used a brand new Jessie PIXEL image and did this before starting the
script:
- Created dir /home/pi/bin where the fpc binary will reside
- Logged off and back on again to put this dir into the PATH

Turns out that the fpc sourceinstall command on line #150 fails
because there is no current path to the seed compiler ppcarm
So I have added option FPC= on that line and with that
done the script runs OK to the end and Lazarus is available on the
main Jessie menu below "Programming".

The corrected script is found here:
http://blog.boberglund.com/install_lazfpc_local_pi.sh

Regarding configuration, these lines need to be handled by editing the
versions mainly (lines #32 and #43-46):

LAZDESK=/home/pi/.local/share/applications/lazarus_1.6.2.desktop
FPCTAG=release_3_0_0
FPCVER=3.0.0
LAZTAG=lazarus_1_6_2
LAZVER=1.6.2

In your case change them to this:

LAZDESK=/home/pi/.local/share/applications/lazarus_1.8.RC1.desktop
FPCTAG=release_3_0_2
FPCVER=3.0.2
LAZTAG=lazarus_1_8_0_RC1
LAZVER=1.8.RC1

HTH



.
.
Bo, helps a lot. Very kind. Have a nice day.
Cordialmente --  Joe

.
.
I stored this script  as install_lazfpc_local_pi-0.sh and the modified
version for Lazarus 1.8.RC1 as install_lazfpc_local_pi-1.sh.
See http:/transfer.joepgen.com/diffresult.txt
Then, on a Pi Zero W, I prepared a brand new Jessie PIXEL image on a 32
GB card and
- Set Locale Settings to Germany and WiFi settings
- Created dir /home/pi/bin
- Logged off and back on again to put this dir into the PATH
- Enlarged the swap file size from 100 MB to 1024 MB, stopped and
restarted swapfile
- started the script
- the question 'Which model of RPi do you want to build for'  I answered
with 'ARMv6'

62 minutes later the compilation was aborted due to access violations.
See http://transfer.joepgen.com/ErrorMessages
SWeems

..  Joe

.
.
Sorry, the file name extent was missing.
Please use http://transfer.joepgen.com/ErrorMessages.png

-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus 1.8 RC1 under Raspbian Jessie

2017-05-31 Thread Joe via Lazarus

Am 30.05.2017 um 10:48 schrieb Joe via Lazarus:

Am 30.05.2017 um 00:36 schrieb Bo Berglund via Lazarus:

On Sat, 27 May 2017 11:20:17 +0200, Joe via Lazarus
<lazarus@lists.lazarus-ide.org> wrote:


Am 26.05.2017 um 13:02 schrieb Bo Berglund via Lazarus:

You could try my script for installation of FPC + Lazarus on an RPi3.
http://blog.boberglund.com/install_lazfpc_local_pi.sh

In order to get the version you need just edit the script before
running it and replace the versions at the top of the file with the
one you want.

Bo,
unfortunately, this failed with error message something could not be
found. Seems, I did not edit the script the right way.
What lines are to be edited and exactly how for Lazarus 1.8.0 RC1?
Thanx -- Joe

Hi again!
I have now returned home and been able to check the script.
I used a brand new Jessie PIXEL image and did this before starting the
script:
- Created dir /home/pi/bin where the fpc binary will reside
- Logged off and back on again to put this dir into the PATH

Turns out that the fpc sourceinstall command on line #150 fails
because there is no current path to the seed compiler ppcarm
So I have added option FPC= on that line and with that
done the script runs OK to the end and Lazarus is available on the
main Jessie menu below "Programming".

The corrected script is found here:
http://blog.boberglund.com/install_lazfpc_local_pi.sh

Regarding configuration, these lines need to be handled by editing the
versions mainly (lines #32 and #43-46):

LAZDESK=/home/pi/.local/share/applications/lazarus_1.6.2.desktop
FPCTAG=release_3_0_0
FPCVER=3.0.0
LAZTAG=lazarus_1_6_2
LAZVER=1.6.2

In your case change them to this:

LAZDESK=/home/pi/.local/share/applications/lazarus_1.8.RC1.desktop
FPCTAG=release_3_0_2
FPCVER=3.0.2
LAZTAG=lazarus_1_8_0_RC1
LAZVER=1.8.RC1

HTH



.
.
Bo, helps a lot. Very kind. Have a nice day.
Cordialmente --  Joe

.
.
I stored this script  as install_lazfpc_local_pi-0.sh and the modified 
version for Lazarus 1.8.RC1 as install_lazfpc_local_pi-1.sh.

See http:/transfer.joepgen.com/diffresult.txt
Then, on a Pi Zero W, I prepared a brand new Jessie PIXEL image on a 32 
GB card and

- Set Locale Settings to Germany and WiFi settings
- Created dir /home/pi/bin
- Logged off and back on again to put this dir into the PATH
- Enlarged the swap file size from 100 MB to 1024 MB, stopped and 
restarted swapfile

- started the script
- the question 'Which model of RPi do you want to build for'  I answered 
with 'ARMv6'


62 minutes later the compilation was aborted due to access violations.
See http://transfer.joepgen.com/ErrorMessages
SWeems

..  Joe
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus 1.8 RC1 under Raspbian Jessie

2017-05-31 Thread Joe via Lazarus

Am 31.05.2017 um 14:04 schrieb Mark Morgan Lloyd via Lazarus:

I had selected the option 'for all Pis'.Could it be a swap file size
problem? On the Pi Zero W, the default size is 100 MB.


Yes, assume you need at least 512Mb. Put a temporary swap partition 
onto an external USB stick or whatever.


--

.
.
I'll give it 1024 MBytes and a try.
Thanx -- Joe
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus 1.8 RC1 under Raspbian Jessie

2017-05-29 Thread Joe via Lazarus

Am 28.05.2017 um 22:40 schrieb Bo Berglund via Lazarus:

I might set up a new Pi soon for use at my vacation home over the
summer and when I do I will check the script again...
I'm sure, this will be another very useful contribution from the famous 
'Developer in Sweden'. Are you using the Pi Zero W?

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Lazarus 1.8 RC1 under Raspbian Jessie

2017-05-25 Thread Joe via Lazarus
I am trying to test Lazarus 1.8 RC1 (and following versions) under 
Raspbian Jessie with PIXEL.
But unfortunately I could not find any instructions or scripts helping 
to install *this* RC.

Any hint?
Regards -Joe
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Lazarus RC1 - Test finding at TSQLQuery.RecordCount

2017-05-19 Thread Joe via Lazarus

I am using a TSQLQuery named Query on a Form.
Code Completion offers a property 'RecordCount' for Query. See first 
Screen Shot 'Offer.png'.
But the "Liste der überwachten Ausdrücke" says: "Type TSQLQUERY has no 
component named RECORDCOUNT". See second screen shot 'refusal.png'.


Regards - Joe


-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus Release Candidate 1 of 1.8.0

2017-05-18 Thread Joe via Lazarus

Am 18.05.2017 um 09:32 schrieb Mattias Gaertner via Lazarus:

On Thu, 18 May 2017 01:24:39 +0100
Martin Frb via Lazarus <lazarus@lists.lazarus-ide.org> wrote:


On 18/05/2017 00:34, Joe via Lazarus wrote:

But Code Completion offers three functions named GetEnvironmentVariable:
The Ansistring function and the Unicode String function above plus
"GetEnvironmentVariable(lpName: LPCSTR; lpBuffer: LPSTR; nSize:
DWORD): DWORD".

Looks like you may have the unit "windows" in your uses clause.

Either move the Windows unit in front of the SysUtils unit, or use
SysUtils.GetEnvironmentVariable

Mattias


Yes, both solutions work; thank you, Martin and Mattias. Are they 
documented anywhere?

Joe
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus Release Candidate 1 of 1.8.0

2017-05-17 Thread Joe via Lazarus

Am 18.05.2017 um 00:30 schrieb Mattias Gaertner via Lazarus:

On Wed, 17 May 2017 22:27:20 +0200
Joe via Lazarus <lazarus@lists.lazarus-ide.org> wrote:


[...]
Is this the correct way to report my finding? As a non professional I am
not sure.

Lazarus 1.8 RC1 under Win 10 (64):

Yes, although this is more exact:
Help / About Lazarus / Right mouse click on logo / Copy version info to
clipboard.



"GetEnvironmentVariable('computername')" doesn't work.
When compiling, it returns "Error: Wrong number of Parameters specified
for call to GetEnvironmentVariable".

The SysUtils GetEnvironmentVariable expects one string. So, maybe you
have somewhere another GetEnvironmentVariable?
Use Find Declaration to find out.

Mattias


Mattias,

Find Declaration shows two entries in file osutilsh.inc, lines 25 and 26:
Function GetEnvironmentVariable(Const EnvVar : AnsiString) : AnsiString;
Function GetEnvironmentVariable(Const EnvVar : UnicodeString) : 
UnicodeString;


But Code Completion offers three functions named GetEnvironmentVariable:
The Ansistring function and the Unicode String function above plus
"GetEnvironmentVariable(lpName: LPCSTR; lpBuffer: LPSTR; nSize: DWORD): 
DWORD".


Seems, Lazarus tries to use only the latter.

No, I don't have another GetEnvironmentVariable.

You can reproduce this easily:
Put a TButton Button1 on a form.
In the OnClick Event for this button write "Button1.Caption := 
GetEnvironmentVariable ('computername');"


Version Info (Thank you for this hint):
Lazarus 1.8.0RC1 r54919 FPC 3.0.2 x86_64-win64-win32/win64

Joe
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus Release Candidate 1 of 1.8.0

2017-05-17 Thread Joe via Lazarus

Am 17.05.2017 um 16:31 schrieb Luca Olivetti via Lazarus:

El 17/05/17 a les 14:39, Mattias Gaertner via Lazarus ha escrit:


== Why should everybody (including you) test the release candidate? ==


I didn't test it yet but I checked it out from svn and I see that the 
patch here


https://bugs.freepascal.org/view.php?id=30931

isn't included.

Is this version still supposed to work with fpc 2.6.4?

Bye
Is this the correct way to report my finding? As a non professional I am 
not sure.


Lazarus 1.8 RC1 under Win 10 (64):
"GetEnvironmentVariable('computername')" doesn't work.
When compiling, it returns "Error: Wrong number of Parameters specified 
for call to GetEnvironmentVariable".

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus