Re: [Lazarus] New Synthwave Demo

2021-12-01 Thread Brian via lazarus

On 11/30/21 14:24, Gordon Findlay via lazarus wrote:


Your mails containing so many lies, and so dangerous to the community, 
means that I will cease being a member of the mailing list.




To Gordon, if it's not already too late, and anybody else considering 
leaving the list due to recent postings :-


Your leaving is not the answer. That alone will not stop the posts. 
Use an e-mail client with good filtering capabilities, and simply 
filter out those abusing the list. It's hard to do in some cases, 
particularly when the people you are filtering have helped you in the 
past, but some things have to be done.



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


Re: [Lazarus] Keyboard mapping probelm

2020-06-02 Thread Brian via lazarus
On 5/31/20 8:47 AM, Brian via lazarus wrote:
> On 5/30/20 6:56 PM, Graeme Geldenhuys via lazarus wrote:
>> On 30/05/2020 9:04 pm, Brian via lazarus wrote:
>>> Copyright (c) 1993-2017 by Florian Klaempfl and others
>>> (1002) Target OS: Linux for x86-64
>>> (3104) Compiling fcllaz.pas
>>> /home/brian/subversion/lazarus/packager/registration/fcllaz.pas(11,3) 
>>> Fatal: (10022) Can't find unit db used by fcllaz
>>> Fatal: (1018) Compilation aborted
>>> Makefile:2929: recipe for target 'fcllaz.ppu' failed
>>
>> From that errer, that tells me you have some problem with your FPC
>> setup, not Lazarus. FPC is trying to compile the Lazarus fcllaz
>> package that uses the FPC's db.pp unit, but can't find it.
>>
>> The "db.pp" unit is part of FPC's fcl-db package. I would double
>> check your ~/.fpc.cfg file and make sure all the paths are correct.
>>
>>
> 
> Well, I guess things are progressing, after a fashion!
> 
> Thank you, Graeme, for sorting this one. I took the two fpc debs
> currently with the latest lazarus on sourceforge, installed them, and
> now lazarus (from subversion, and I updated this morning, before
> building) builds without error. So far, so good.
> 
> So then I ran up the IDE, and changed to the QT5 widgets, per John's
> suggestion, and rebuilt the IDE. Nope! Back to this error which Don
> Alfredo says is due to an outdated libQT5pas.so when fpcupdeluxe is
> used, so I assume it's the same problem here.
> 
> A quick search on the error finds details of building the Qt5 on a
> previous version of Mint
> 
>> https://tondrej.blogspot.com/2018/04/first-steps-with-lazarus-qt5-interface.html
> 
> which seems to be downloading an update of some of the QT5 stuff, so
> I'll try this lot when I get chance.
> 
> In the meantime, my Gtk2 build running under the Debian-based version
> of Mint in a VirtualBox VM continues to work just fine - so whatever
> the cause of all this, it seems that EITHER it rests with the Ubuntu
> version of Mint OR it's a multi-way interaction with some of the
> software I have installed on the host but not on the VM.
> 

I decided to try the multi-way interaction idea, and I reinstalled
Mint Ubuntu, reformatting the root partition. Lazarus now works
perfectly using gtk2, no 'i' and 'm' problems. :) I don't have
everything installed again, I cut thinks back to the minimum that I
must have, so I guess the thing now is to test Lazarus before and
after I install anything else, see whether I can find the installation
which breaks things, if in fact it still does.

If there was anybody else but me seeing this problem, then that's my
recommendation if you can do it, reinstall your OS and you may find it
all goes away. It certainly took less time than all the other things I
did trying to solve the problem.

Thanks again to everyone who tried to help.

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


Re: [Lazarus] Keyboard mapping probelm

2020-05-31 Thread Brian via lazarus
On 5/30/20 6:56 PM, Graeme Geldenhuys via lazarus wrote:
> On 30/05/2020 9:04 pm, Brian via lazarus wrote:
>> Copyright (c) 1993-2017 by Florian Klaempfl and others
>> (1002) Target OS: Linux for x86-64
>> (3104) Compiling fcllaz.pas
>> /home/brian/subversion/lazarus/packager/registration/fcllaz.pas(11,3) Fatal: 
>> (10022) Can't find unit db used by fcllaz
>> Fatal: (1018) Compilation aborted
>> Makefile:2929: recipe for target 'fcllaz.ppu' failed
> 
> From that errer, that tells me you have some problem with your FPC
> setup, not Lazarus. FPC is trying to compile the Lazarus fcllaz
> package that uses the FPC's db.pp unit, but can't find it.
> 
> The "db.pp" unit is part of FPC's fcl-db package. I would double
> check your ~/.fpc.cfg file and make sure all the paths are correct.
> 
> 

Well, I guess things are progressing, after a fashion!

Thank you, Graeme, for sorting this one. I took the two fpc debs
currently with the latest lazarus on sourceforge, installed them, and
now lazarus (from subversion, and I updated this morning, before
building) builds without error. So far, so good.

So then I ran up the IDE, and changed to the QT5 widgets, per John's
suggestion, and rebuilt the IDE. Nope! Back to this error which Don
Alfredo says is due to an outdated libQT5pas.so when fpcupdeluxe is
used, so I assume it's the same problem here.

A quick search on the error finds details of building the Qt5 on a
previous version of Mint

> https://tondrej.blogspot.com/2018/04/first-steps-with-lazarus-qt5-interface.html

which seems to be downloading an update of some of the QT5 stuff, so
I'll try this lot when I get chance.

In the meantime, my Gtk2 build running under the Debian-based version
of Mint in a VirtualBox VM continues to work just fine - so whatever
the cause of all this, it seems that EITHER it rests with the Ubuntu
version of Mint OR it's a multi-way interaction with some of the
software I have installed on the host but not on the VM.

Thanks again for the help, folks, I will report back when I get
chance, but that may not be for a few more days. This is now a hobby
for me, not a profession, and my wife seems to think that there are
more important things for me to do with my time. :(


Brian.

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


Re: [Lazarus] Keyboard mapping probelm

2020-05-30 Thread Brian via lazarus
On 5/30/20 4:32 PM, Don Alfredo via lazarus wrote:
> Fpcupdeluxe maintainer message:
> 
> Currently, QT5 Linux Lazarus will not build due to outdated
> libQT5pas.so that fpcupdeluxe uses.
> The same is valid for macOS.
> 
> This issue will be solved in next release.
> 

Thanks, that solves that question at least!

Brian.

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


Re: [Lazarus] Keyboard mapping probelm

2020-05-30 Thread Brian via lazarus
On 5/30/20 3:22 PM, Brian via lazarus wrote:
> On 5/30/20 2:57 PM, Juha Manninen via lazarus wrote:
>> On Sat, May 30, 2020 at 4:40 PM Brian via lazarus
>>  wrote:
>>> Unless you have some reason to believe that the QT5 version of
>>> fpcupdeluxe doesn't build lazarus with QT5 bindings, I have already
>>> tried this idea and still seen the same problem.  Yes, I deleted back
>>> EVERYTHING except for the actual fpcupdeluxe executable - all config
>>> files and the entire target directory - from the GTK2 build. Then I
>>> downloaded the QT5 version of the executable and ran that. Once again,
>>> it built, but I still saw the key mapping etc. problem.
>>
>> Yes I have a reason to believe so.
>> The LCL widgetset used for fpcupdeluxe executable does not affect how
>> Lazarus is built.
>> You can check the current widgetset of Lazarus executable from Help ->
>> About Lazarus.
>>
>> All this hassle proves that fpcupdeluxe should not be used for the
>> simple task of building native (OS, CPU) version of Lazarus trunk.
>> It only complicates things and confuses.
>> Getting sources and building Lazarus is so easy when FPC is already 
>> installed.
>> Things are different when you want FPC trunk. It is not as trivial. (*)
>> Cross-compilation is another good reason to use fpcupdeluxe. I have
>> understood it shines there.
>>
>>
>>> Since I've come this far, though, I guess I'm willing to try building
>>> the lazarus code downloaded via subversion with the QT5 bindings. Is
>>> there a web page, or some other documentation, that leads me though
>>> doing that? I've never previously built the QT5 version except the
>>> attempt to build it via fpcupdeluxe.
>>
>> As John Landmesser showed, Tools -> Configure "Build Lazarus" ...
>>
> 
> OK, my misunderstanding. I thought you were talking about a difference
> in actually building Lazarus from sources. I will give it a try.
> 

Well, I still can't get Lazarus to build from the sources obtained
through subversion. Here's the output, with an initial update to make
sure I was building the latest version.

> brian@brian-mint:~/subversion$ svn update lazarus
> Updating 'lazarus':
> Ulazarus/docs/xml/lcl/stdctrls.xml
> Ulazarus/lcl/include/customcombobox.inc
> Ulazarus/lcl/interfaces/cocoa/cocoawsstdctrls.pas
> Ulazarus/lcl/interfaces/cocoa/cocoadefines.inc
> Ulazarus/lcl/interfaces/cocoa/cocoaint.pas
> Ulazarus/lcl/interfaces/gtk2/gtk2wsstdctrls.pp
> Ulazarus/lcl/interfaces/qt5/qtwsstdctrls.pp
> Ulazarus/lcl/interfaces/win32/win32wsstdctrls.pp
> Ulazarus/lcl/stdctrls.pp
> Ulazarus/lcl/widgetset/wsstdctrls.pp
> Ulazarus/components/datetimectrls/datetimepicker.pas
> Ulazarus/components/ideintf/srceditorintf.pas
> Ulazarus/components/fpweb/fpwebtoolsunit.pas
> Ulazarus/ide/fpdoceditwindow.pas
> Ulazarus/ide/sourceeditor.pp
>  U   lazarus
> Updated to revision 63253.
> brian@brian-mint:~/subversion$ cd lazarus
> brian@brian-mint:~/subversion/lazarus$ make -B
> make -C packager/registration
> make[1]: Entering directory 
> '/home/brian/subversion/lazarus/packager/registration'
> /bin/rm -f ../units/x86_64-linux/fcllaz.ppu
> /bin/mkdir -p ../units/x86_64-linux
> /usr/bin/ppcx64 -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -Fu. 
> -Fu/usr/lib/fpc/3.0.4/units/x86_64-linux/rtl -FE. -FU../units/x86_64-linux 
> -Cg -dx86_64 fcllaz.pas
> Free Pascal Compiler version 3.0.4 [2018/10/29] for x86_64
> Copyright (c) 1993-2017 by Florian Klaempfl and others
> (1002) Target OS: Linux for x86-64
> (3104) Compiling fcllaz.pas
> /home/brian/subversion/lazarus/packager/registration/fcllaz.pas(11,3) Fatal: 
> (10022) Can't find unit db used by fcllaz
> Fatal: (1018) Compilation aborted
> Makefile:2929: recipe for target 'fcllaz.ppu' failed
> make[1]: *** [fcllaz.ppu] Error 1
> make[1]: Leaving directory 
> '/home/brian/subversion/lazarus/packager/registration'
> Makefile:3410: recipe for target 'registration' failed
> make: *** [registration] Error 2
> brian@brian-mint:~/subversion/lazarus$ 


So, I switched to the version which I had successfully built using
fpcupdeluxe, and followed John's instructions. While the gtk2 version
did build correctly, but showed the 'i' and 'm' problems, the qt5
version did not even build. I got an error about an undefined
reference in Qtwidgets.pas to QTextEdit_setPlaceholderText.

If there's anything else you need me to try, let me know. For the
moment, I'm back to using my LMDE VM, which shows none of this 'i' and
'm' nonsense, even with the gtk2 setting.

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


Re: [Lazarus] Keyboard mapping probelm

2020-05-30 Thread Brian via lazarus
On 5/30/20 2:57 PM, Juha Manninen via lazarus wrote:
> On Sat, May 30, 2020 at 4:40 PM Brian via lazarus
>  wrote:
>> Unless you have some reason to believe that the QT5 version of
>> fpcupdeluxe doesn't build lazarus with QT5 bindings, I have already
>> tried this idea and still seen the same problem.  Yes, I deleted back
>> EVERYTHING except for the actual fpcupdeluxe executable - all config
>> files and the entire target directory - from the GTK2 build. Then I
>> downloaded the QT5 version of the executable and ran that. Once again,
>> it built, but I still saw the key mapping etc. problem.
> 
> Yes I have a reason to believe so.
> The LCL widgetset used for fpcupdeluxe executable does not affect how
> Lazarus is built.
> You can check the current widgetset of Lazarus executable from Help ->
> About Lazarus.
> 
> All this hassle proves that fpcupdeluxe should not be used for the
> simple task of building native (OS, CPU) version of Lazarus trunk.
> It only complicates things and confuses.
> Getting sources and building Lazarus is so easy when FPC is already installed.
> Things are different when you want FPC trunk. It is not as trivial. (*)
> Cross-compilation is another good reason to use fpcupdeluxe. I have
> understood it shines there.
> 
> 
>> Since I've come this far, though, I guess I'm willing to try building
>> the lazarus code downloaded via subversion with the QT5 bindings. Is
>> there a web page, or some other documentation, that leads me though
>> doing that? I've never previously built the QT5 version except the
>> attempt to build it via fpcupdeluxe.
> 
> As John Landmesser showed, Tools -> Configure "Build Lazarus" ...
> 

OK, my misunderstanding. I thought you were talking about a difference
in actually building Lazarus from sources. I will give it a try.

Brian.


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


Re: [Lazarus] Keyboard mapping probelm

2020-05-30 Thread Brian via lazarus
On 5/29/20 3:32 PM, Juha Manninen via lazarus wrote:
> On Fri, May 29, 2020 at 5:40 PM Bart via lazarus
>  wrote:
>> It is a Lazarus/LCL/WS issue though, since other programs don't have that 
>> issue.
> 
> Yes, let's hope GTK3 bindings will be better. Now it is alpha but
> already usable for many applications.
> For Brian I recommend using QT5 bindings. It has no problem with keys.
> 
> Lazarus trunk from fpcupdeluxe or from SVN directly should behave the
> same. I don't know why the build failed.
> 

Unless you have some reason to believe that the QT5 version of
fpcupdeluxe doesn't build lazarus with QT5 bindings, I have already
tried this idea and still seen the same problem.  Yes, I deleted back
EVERYTHING except for the actual fpcupdeluxe executable - all config
files and the entire target directory - from the GTK2 build. Then I
downloaded the QT5 version of the executable and ran that. Once again,
it built, but I still saw the key mapping etc. problem.

Since I've come this far, though, I guess I'm willing to try building
the lazarus code downloaded via subversion with the QT5 bindings. Is
there a web page, or some other documentation, that leads me though
doing that? I've never previously built the QT5 version except the
attempt to build it via fpcupdeluxe.

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


Re: [Lazarus] Keyboard mapping probelm

2020-05-29 Thread Brian via lazarus
On 5/29/20 10:40 AM, Bart via lazarus wrote:
> On Fri, May 29, 2020 at 12:54 AM Brian via lazarus
>  wrote:
> 
>> The only difference in the compilation (that I know of) with
>> fpcupdeluxe is that it's using the trunk version of fpc as well as of
>> lazarus.
> Using fpc trunk i.c.m. lazarus trunk is a recipe for problems.
> Most of them will be fixed on either side, but not always (ATM there
> is a bug in fpc trunk that makes startlazaus unable to find the
> lazarus executable on Windows).
> Also fpcuddeluxe might (I did not check) built both compiler and
> lazarus with mor aggressive optimization settings.
> 
> Most likely this has no impact on the 'i' and 'm' issue you are
> experiencing though, since I have seen reports in the bugtracker about
> that before.
> As it stands, nobody knows why this happens.
> It is a Lazarus/LCL/WS issue though, since other programs don't have that 
> issue.
> 

Thanks for the input. The build which failed totally was fpc 3.0.4
with lazarus trunk. The two trunks together did at least succeed in
building a version of lazarus which runs. I only did the further test
in response to Juha's posting. For now, I'm just sticking with my
version of lazarus built in a Mint Debian VM, it seems to exhibit no
problems, at least none that I have seen so far.

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


Re: [Lazarus] Keyboard mapping probelm

2020-05-28 Thread Brian via lazarus
On 5/28/20 6:44 PM, Brian via lazarus wrote:
> On 5/28/20 6:17 PM, Brian via lazarus wrote:
>> On 5/28/20 3:50 PM, Juha Manninen via lazarus wrote:
>>> On Thu, May 28, 2020 at 7:38 PM Brian via lazarus
>>>  wrote:

Omission from last post corrected below...



>>>> Thanks, but I have also tried various .DEBs from Sourceforge (I think
>>>> I stated that in an earlier message, but not 100% certain) with no
>>>> change in the problem.
>>>
>>> The .deb packages provide a released version.
>>> If something is fixed in the development version (trunk), you must use
>>> it instead.
>>> fpcupdeluxe is not needed. Just get the sources (svn co ...) and then
>>> build with "make". Run it directly ($ ./lazarus). No installation is
>>> required.
>>> FPC must be installed obviously before all that. The version from your
>>> distro's repository will do.
>>>
>>
>> Unless you feel that fpcupdeluxe is not installing the trunk version
>> when that is selected, I really can't see how removing it from the
>> equation will change anything. fpcupdeluxe is just a convenience.
>> Nevertheless, I will give it a try, subversion and then building it
>> myself, but more in hope than expectation. Watch this space...
>>
>>
> 
> I checked out trunk (r63245) via subversion, which reported no errors.
> I then changed into the subdirectory, and ran
> 
> make -B
> 
> The following is a cut and paste of the results.
> 
> 
>> brian@brian-mint:~/subversion/lazarus$ make -B
>> make -C packager/registration
>> make[1]: Entering directory 
>> '/home/brian/subversion/lazarus/packager/registration'
>> /bin/rm -f ../units/x86_64-linux/fcllaz.ppu
>> /bin/mkdir -p ../units/x86_64-linux
>> /usr/bin/ppcx64 -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -Fu. 
>> -Fu/usr/lib/fpc/3.0.4/units/x86_64-linux/rtl -FE. -FU../units/x86_64-linux 
>> -Cg -dx86_64 fcllaz.pas
>> Free Pascal Compiler version 3.0.4 [2018/10/29] for x86_64
>> Copyright (c) 1993-2017 by Florian Klaempfl and others
>> (1002) Target OS: Linux for x86-64
>> (3104) Compiling fcllaz.pas
>> /home/brian/subversion/lazarus/packager/registration/fcllaz.pas(11,3) Fatal: 
>> (10022) Can't find unit db used by fcllaz
>> Fatal: (1018) Compilation aborted
>> Makefile:2929: recipe for target 'fcllaz.ppu' failed
>> make[1]: *** [fcllaz.ppu] Error 1
>> make[1]: Leaving directory 
>> '/home/brian/subversion/lazarus/packager/registration'
>> Makefile:3410: recipe for target 'registration' failed
>> make: *** [registration] Error 2
>> brian@brian-mint:~/subversion/lazarus$ 
> 
> 
> So, I decided to try running an update, in case something had failed
> to download, and I'd missed it. Again, cut and pasted.
> 
>> brian@brian-mint:~/subversion$ svn update lazarus
>> Updating 'lazarus':
>> At revision 63245.
>> brian@brian-mint:~/subversion$ 
>>
> 
> So, nothing to update.
> 
> fpcupdeluxe at least seems to build correctly...
> 
> Oh, BTW, the fpc I have installed is 3.0.4. I am fairly sure, but not
> absolutely certain, that this would have been from the .DEBs
> downloaded from Sourceforge.
> 


Sorry, I should have added to the last message that a new checkout
(deleting the entire target directory tree first) via fpcupdeluxe
built correctly, but still showed the same errors with 'i' and 'm'.
The only difference in the compilation (that I know of) with
fpcupdeluxe is that it's using the trunk version of fpc as well as of
lazarus.


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


Re: [Lazarus] Keyboard mapping probelm

2020-05-28 Thread Brian via lazarus
On 5/28/20 6:17 PM, Brian via lazarus wrote:
> On 5/28/20 3:50 PM, Juha Manninen via lazarus wrote:
>> On Thu, May 28, 2020 at 7:38 PM Brian via lazarus
>>  wrote:
>>> Thanks, but I have also tried various .DEBs from Sourceforge (I think
>>> I stated that in an earlier message, but not 100% certain) with no
>>> change in the problem.
>>
>> The .deb packages provide a released version.
>> If something is fixed in the development version (trunk), you must use
>> it instead.
>> fpcupdeluxe is not needed. Just get the sources (svn co ...) and then
>> build with "make". Run it directly ($ ./lazarus). No installation is
>> required.
>> FPC must be installed obviously before all that. The version from your
>> distro's repository will do.
>>
> 
> Unless you feel that fpcupdeluxe is not installing the trunk version
> when that is selected, I really can't see how removing it from the
> equation will change anything. fpcupdeluxe is just a convenience.
> Nevertheless, I will give it a try, subversion and then building it
> myself, but more in hope than expectation. Watch this space...
> 
> 

I checked out trunk (r63245) via subversion, which reported no errors.
I then changed into the subdirectory, and ran

make -B

The following is a cut and paste of the results.


> brian@brian-mint:~/subversion/lazarus$ make -B
> make -C packager/registration
> make[1]: Entering directory 
> '/home/brian/subversion/lazarus/packager/registration'
> /bin/rm -f ../units/x86_64-linux/fcllaz.ppu
> /bin/mkdir -p ../units/x86_64-linux
> /usr/bin/ppcx64 -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -Fu. 
> -Fu/usr/lib/fpc/3.0.4/units/x86_64-linux/rtl -FE. -FU../units/x86_64-linux 
> -Cg -dx86_64 fcllaz.pas
> Free Pascal Compiler version 3.0.4 [2018/10/29] for x86_64
> Copyright (c) 1993-2017 by Florian Klaempfl and others
> (1002) Target OS: Linux for x86-64
> (3104) Compiling fcllaz.pas
> /home/brian/subversion/lazarus/packager/registration/fcllaz.pas(11,3) Fatal: 
> (10022) Can't find unit db used by fcllaz
> Fatal: (1018) Compilation aborted
> Makefile:2929: recipe for target 'fcllaz.ppu' failed
> make[1]: *** [fcllaz.ppu] Error 1
> make[1]: Leaving directory 
> '/home/brian/subversion/lazarus/packager/registration'
> Makefile:3410: recipe for target 'registration' failed
> make: *** [registration] Error 2
> brian@brian-mint:~/subversion/lazarus$ 


So, I decided to try running an update, in case something had failed
to download, and I'd missed it. Again, cut and pasted.

> brian@brian-mint:~/subversion$ svn update lazarus
> Updating 'lazarus':
> At revision 63245.
> brian@brian-mint:~/subversion$ 
> 

So, nothing to update.

fpcupdeluxe at least seems to build correctly...

Oh, BTW, the fpc I have installed is 3.0.4. I am fairly sure, but not
absolutely certain, that this would have been from the .DEBs
downloaded from Sourceforge.


Brian.





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


Re: [Lazarus] Keyboard mapping probelm

2020-05-28 Thread Brian via lazarus
On 5/28/20 3:50 PM, Juha Manninen via lazarus wrote:
> On Thu, May 28, 2020 at 7:38 PM Brian via lazarus
>  wrote:
>> Thanks, but I have also tried various .DEBs from Sourceforge (I think
>> I stated that in an earlier message, but not 100% certain) with no
>> change in the problem.
> 
> The .deb packages provide a released version.
> If something is fixed in the development version (trunk), you must use
> it instead.
> fpcupdeluxe is not needed. Just get the sources (svn co ...) and then
> build with "make". Run it directly ($ ./lazarus). No installation is
> required.
> FPC must be installed obviously before all that. The version from your
> distro's repository will do.
> 

Unless you feel that fpcupdeluxe is not installing the trunk version
when that is selected, I really can't see how removing it from the
equation will change anything. fpcupdeluxe is just a convenience.
Nevertheless, I will give it a try, subversion and then building it
myself, but more in hope than expectation. Watch this space...


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


Re: [Lazarus] Keyboard mapping probelm

2020-05-28 Thread Brian via lazarus
On 5/28/20 5:57 AM, John Landmesser via lazarus wrote:
>>
> 
> You allways used fpcupdeluxe??
> 
> Perhaps these originals are better?
> 
> https://www.lazarus-ide.org/index.php?page=downloads
> 

Thanks, but I have also tried various .DEBs from Sourceforge (I think
I stated that in an earlier message, but not 100% certain) with no
change in the problem.

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


Re: [Lazarus] Keyboard mapping probelm

2020-05-27 Thread Brian via lazarus
On 5/20/20 8:37 AM, Brian via lazarus wrote:
> On 5/20/20 5:50 AM, John Landmesser via lazarus wrote:
>> Am 20.05.20 um 01:12 schrieb Brian via lazarus:
>>>
>>> Regrettably, it appears I spoke too soon. I fired up Lazarus again and
>>> the problem is back. I'm compiling trunk for both fpc and lazarus
>>> using fpcupdeluxe. To recap, this is under Linux Mint 19.3 64-bit
>>> (Ubuntu base). I have absolutely *NOT* done any keyboard remapping nor
>>> defined any macros since everything last worked correctly. The setup I
>>> have in a LMDE (Linux Mint Debian) virtual machine still works
>>> correctly.
>>>
>>> I will update both setups, so that I know I am (should be!) running
>>> exactly the same versions of trunk, and report back in due course.
>>>
>>> Brian.
>>>
>>>
>> Perhaps try another version of fpcupdeluxe?
>>
>> https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases
>>
> 
> I downloaded the latest as then was for linux on x86_64. I see there
> has been another release since I wrote my post. I'll give it a try. I
> guess I could also try the qt5 version.
> 

OK, my last word on this subject. I can only conclude that there is
some kind of goofy multi-way interaction going on between Lazarus and
other programs. I have tried multiple versions of Lazarus, using both
the gtk2 and qt5 versions of fpcupdeluxe. In all cases, I saw the i ->
tab & i and m -> newline. I do NOT see this on the Debian-based
version of Mint running in a virtual machine, and I also set up
another VM with the same Ubuntu-based version of Mint (19.3 64-bit) as
I have on the host. Neither VM showed the problem with Lazarus!

The final straw is that I just set up a new PC for my wife, again
Ubuntu Mint 19.3, and out of curiosity, I installed Lazarus. The keys
worked fine.

I have no idea what is going on. I reiterate that I have removed all
config files, using the combination of wkitty42's commandline magic
*and* my kfinds, and that I have done absolutely no key remapping nor
macro defining. Twice, and ONLY twice, I have had the problem go away
after a rebuild of FPC and Lazarus, but rebooting the PC brought the
problem back again.

I've given up. I have wasted enough time on trying to sort this
problem. At least as long as it all works, I will just use Lazarus in
a VM, and transfer the completed source files to my host machine for a
final compilation.


Brian.


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


Re: [Lazarus] Keyboard mapping probelm

2020-05-20 Thread Brian via lazarus
On 5/20/20 5:50 AM, John Landmesser via lazarus wrote:
> Am 20.05.20 um 01:12 schrieb Brian via lazarus:
>>
>> Regrettably, it appears I spoke too soon. I fired up Lazarus again and
>> the problem is back. I'm compiling trunk for both fpc and lazarus
>> using fpcupdeluxe. To recap, this is under Linux Mint 19.3 64-bit
>> (Ubuntu base). I have absolutely *NOT* done any keyboard remapping nor
>> defined any macros since everything last worked correctly. The setup I
>> have in a LMDE (Linux Mint Debian) virtual machine still works
>> correctly.
>>
>> I will update both setups, so that I know I am (should be!) running
>> exactly the same versions of trunk, and report back in due course.
>>
>> Brian.
>>
>>
> Perhaps try another version of fpcupdeluxe?
> 
> https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases
> 

I downloaded the latest as then was for linux on x86_64. I see there
has been another release since I wrote my post. I'll give it a try. I
guess I could also try the qt5 version.

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


Re: [Lazarus] Keyboard mapping probelm

2020-05-19 Thread Brian via lazarus
On 5/17/20 10:00 AM, I wrote:
> On 5/16/20 3:03 PM, Juha Manninen via lazarus wrote:
>> On Sat, May 16, 2020 at 2:49 PM Brian via lazarus
>>  wrote:
>>> I tried that. Now *every* keypress is duplicated.
>>
>> It was allegedly fixed in trunk r63089 less than 3 weeks ago.
>> See:
>>  https://bugs.freepascal.org/view.php?id=30863
>> If nobody gets the duplicate key problem with trunk any more, that
>> issue and all its related issues can finally be resolved.
>> Please test everybody.
>>
> 
> I just updated both trunks (via fpcupdeluxe) and rebuilt, and now the
> i => tab-i  and m => line feed problems have disappeared. :) :)
> 
> Starting Lazarus per Graeme's instructions (i.e. with a blank config)
> no longer produces duplicate keypresses either.
> 
> Whoever fixed that, well done and thank you VERY much! :)
> 

Regrettably, it appears I spoke too soon. I fired up Lazarus again and
the problem is back. I'm compiling trunk for both fpc and lazarus
using fpcupdeluxe. To recap, this is under Linux Mint 19.3 64-bit
(Ubuntu base). I have absolutely *NOT* done any keyboard remapping nor
defined any macros since everything last worked correctly. The setup I
have in a LMDE (Linux Mint Debian) virtual machine still works correctly.

I will update both setups, so that I know I am (should be!) running
exactly the same versions of trunk, and report back in due course.

Brian.


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


Re: [Lazarus] Keyboard mapping probelm

2020-05-17 Thread Brian via lazarus
On 5/17/20 11:44 AM, wkitty42--- via lazarus wrote:
> On 5/17/20 10:00 AM, Brian via lazarus wrote:
>> On 5/16/20 3:03 PM, Juha Manninen via lazarus wrote:
>>> It was allegedly fixed in trunk r63089 less than 3 weeks ago.
>>> See:
>>>   https://bugs.freepascal.org/view.php?id=30863
>>> If nobody gets the duplicate key problem with trunk any more, that
>>> issue and all its related issues can finally be resolved.
>>> Please test everybody.
>>>
>>
>> Whoever fixed that, well done and thank you VERY much! :)
> 
> 
> the link in the above linked bug report tells you that ;)
> 

And the fact that I didn't look up the bug report so that I could name
the person in some way invalidates the generalised thank you that I
posted?

Brian.

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


Re: [Lazarus] Keyboard mapping probelm

2020-05-17 Thread Brian via lazarus
On 5/16/20 3:03 PM, Juha Manninen via lazarus wrote:
> On Sat, May 16, 2020 at 2:49 PM Brian via lazarus
>  wrote:
>> I tried that. Now *every* keypress is duplicated.
> 
> It was allegedly fixed in trunk r63089 less than 3 weeks ago.
> See:
>  https://bugs.freepascal.org/view.php?id=30863
> If nobody gets the duplicate key problem with trunk any more, that
> issue and all its related issues can finally be resolved.
> Please test everybody.
> 

I just updated both trunks (via fpcupdeluxe) and rebuilt, and now the
i => tab-i  and m => line feed problems have disappeared. :) :)

Starting Lazarus per Graeme's instructions (i.e. with a blank config)
no longer produces duplicate keypresses either.

Whoever fixed that, well done and thank you VERY much! :)

Brian.

-- 
GPG Public Key: http://www.patandbrian.org/brians_key.asc
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Keyboard mapping probelm

2020-05-16 Thread Brian via lazarus
On 5/14/20 7:59 AM, Graeme Geldenhuys via lazarus wrote:
> On 06/05/2020 1:19 am, Brian via lazarus wrote:
>> I forgot to add - I totally erased fpcup's entire tree and rebuilt
>> from scratch. No change.
> 
> It's not about recompiling Lazarus. Probably more related to your
> customised settings in your $HOME/.lazarus/ directory.
> 
> Start your lazarus from the command line with the paramater:
> 
>   ./lazarus --pcp=/tmp/lazarus
> 
> where "/tmp/lazarus" is a totally empty directory.  That should give you
> Lazarus with 100% default config values. If the problem goes way, then
> it's a key mapping issue in your ~/.lazarus/ directory.
> 

I tried that. Now *every* keypress is duplicated. Thanks for the
attempt, though!

I now have a working setup by way of using lazarus in a Linux Mint
Debian virtual machine and using a shared folder with a link to my
source tree. Since I don't want to switch to LMDE totally, it's an
acceptable workround. I write the code via the VM and then compile and
debug under standard Linux Mint.

I had previously tried deleting both the ~/.lazarus and also a
~/.lazarus64 directory, with no effect on the problem.

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


Re: [Lazarus] Keyboard mapping probelm

2020-05-11 Thread Brian via lazarus
On 5/7/20 8:08 AM, wkitty42--- via lazarus wrote:
> On 5/6/20 6:33 PM, Brian via lazarus wrote:
>> What I intend to do is to run some searches of my entire tree,
>> looking for
>> anything with lazar or fp in the name. Once I've got that
>> information, I'll
>> work through the lists and delete anything that looks fpc or lazarus
>> related.
>> Then I'll try fpcupdeluxe with another copy of trunk, and see
>> whether it fixes the problem. It will take some time.
> 
> if you are on linux, something like this would be fairly quick and
> easy to use...
> 
> 
> sudo find / -type d \( -path .git -o -path .svn -o -path .cvs \)
> -prune -o -type f \( -iname "*.conf" -o -iname "*.cfg" -o -iname
> "*.cnf" \)
> 
> 
> it should find every *.conf, *.cfg, and *.cnf file on the system while
> skipping all .git, .svn, and .cvs directories... you really don't need
> to dig through all of those, in most cases, ya know? ;)
> 
> once you have the list of matching files, then you can work through it
> looking for lazarus and fpc related configuration files... remember
> that not all of them will start with laz or fp...
> 
> while testing the above on my system which i've recently removed
> lazaruz and fpc from for needed drive space, i found a leftover
> fppkg.cfg in my ~/.config directory... knowing that directory was used
> for some things then lead me to look at it closer... i found a lazarus
> directory in there with a reg.xml apparently from the jedi tool(s)
> along with a lhelp directory with a conf for the lazaruz lhelp tool...
> 
> i also found a few left over fpc.cfg files in several project
> directories but those i kept because they contained only information
> on the project and nothing specific to lazarus or fpc...
> 
> hopefully the above find command will be helpful to you... i keep a
> copy of it in one of my hint files so i don't lose it from my command
> history ;)
> 

I tried both methods of generating a list of configuration files, and
I worked down both lists looking for anything which seemed fpc/lazarus
related, and deleted everything I could find. I then deleted back
fpcupdeluxe's target directory, and went through my home directory
looking for hidden directories. In short, I deleted every damned thing
I could find!

I then reinstalled, via fpcupdeluxe, copies of trunk for both fpc and
lazarus. According to fpcupdeluxe, everything compiled and built
correctly.

I ran lazarus via the link provided by fpcupdeluxe, and tried typing
some text. NO change whatsoever. :( A lower case 'i' still produced
tab and 'i', and a lower case 'm' produced a line feed.

At this point, I think I give up. I don't want to switch my main
system to LMDE, so I will just run lazarus under LMDE in a virtual
machine, where the 'i' and 'm' keys work exactly as expected, and use
a shared folder, pointing a logical link to my source tree.

I reiterate that I have NEVER (knowingly, I suppose) remapped a
keyboard nor used a macro while using lazarus.

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


Re: [Lazarus] Keyboard mapping probelm

2020-05-06 Thread Brian via lazarus
On 5/6/20 5:36 PM, Bo Berglund via lazarus wrote:
> On Wed, 6 May 2020 07:48:37 -0400, Brian via lazarus
>  wrote:
> 
>> Just some additional information here. I have a copy of the latest
>> Debian-based version of Linux Mint running in a virtual machine (my
>> main system is the Ubuntu-based Mint) so I installed Lazarus and FPC
>>from the Debian repositories. This gave me FPC 3.0.4 and Lazarus
>> 2.0.0,
> 
> Just a suggestion:
> Get the FPC and Lazarus sources from Subversion (using a releqase tags
> for both).

That is what I believe fpcupdeluxe does. I used it to install from
trunk, both fpc and lazarus. The software built correctly, and
fpcupdeluxe is stated to use its own target directories (which seems
to be the case) but I still saw the problem.

> I do that all the time on my machines. I have created a script for
> Raspbian and another for Linux (Ubuntu/Debian).
> It works well every time, for example just last week I installed on
> two notebooks which had Ubuntu 18.04 LTS installed with the Mate
> desktop.
> I have never seen this problem on either Raspbian or Mate installs.
> Now on FPC 3.0.4 and Lazarus 2.0.8 (64 bit both)
> 

Well, I've seen it regularly on this machine, and what puzzles me is
that I have never played around with the keyboard mapping nor even
defined a macro, which has been suggested as the likely cause.

I tried downloading Lazarus 2.0.0 from SourceForge, and regressing to
that, but it still showed the problem.

However, experiment does show that I can do an install into a new
virtual machine and not see the problem, so I agree with wkitty that
it looks like a configuration problem, irrespective of the fact that I
have never used those features he mentions. What I intend to do is to
run some searches of my entire tree, looking for anything with lazar
or fp in the name. Once I've got that information, I'll work through
the lists and delete anything that looks fpc or lazarus related. Then
I'll try fpcupdeluxe with another copy of trunk, and see whether it
fixes the problem. It will take some time.

Brian.

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


Re: [Lazarus] Keyboard mapping probelm

2020-05-06 Thread Brian via lazarus
On 5/5/20 8:19 PM, Brian via lazarus wrote:
> On 5/5/20 8:16 PM, Brian via lazarus wrote:
>> On 5/5/20 7:57 PM, wkitty42--- via lazarus wrote:
>>> On 5/5/20 6:00 PM, Brian via lazarus wrote:
>>>> To save some trial and error, can anybody tell me which was the last
>>>> version of Lazarus (for Linux, if that makes a difference) that
>>>> doesn't exhibit the problem of an 'm' producing a line feed and an 'i'
>>>> producing a tab then an 'i'?
>>>
>>>
>>> check your key map settings in lazarus configuration... it sounds like
>>> a macro or you have configured 'm' to line feed and 'i' to tab-'i'...
>>>
>>>
>>
>> I will look (again), but this is happening reproducibly on a totally
>> clean build of trunk (via fpcupdeluxe), I have tried rebuilding
>> Lazarus with clean all and *just once* I got things to work again
>> using qt5. I've never managed to get things to work again since. I
>> have changed no key map settings, I have configured no macros. This is
>> using 64-bit Linux Mint 19.3, should anybody feel that makes a
>> difference, and BTW, I have also tried switching keyboards, with
>> absolutely no effect. I had about 6-9 months away from using Lazarus,
>> during that time I changed from using Ubuntu 18.04 LTS to Mint 19.3. I
>> didn't see the problem on my old setup, it has occurred every time
>> except that ONE occasion on the current setup. The same PC, just the
>> operating system changed.
>>
> 
> I forgot to add - I totally erased fpcup's entire tree and rebuilt
> from scratch. No change.
> 

Just some additional information here. I have a copy of the latest
Debian-based version of Linux Mint running in a virtual machine (my
main system is the Ubuntu-based Mint) so I installed Lazarus and FPC
from the Debian repositories. This gave me FPC 3.0.4 and Lazarus
2.0.0, with some additional versioning which I think indicates that
it's been built and packaged by Debian. This combination works
perfectly, no trace of the problem.

So, I guess the next thing I do is to try the various SourceForge
versions and see how far back I have to go to get rid of the problem
under Ubuntu-based Mint. I will report back when I have an answer, but
depending on how many regressions are needed, it may take me a day or
two. Watch this space...

Brian.



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


Re: [Lazarus] Keyboard mapping probelm

2020-05-05 Thread Brian via lazarus
On 5/5/20 8:16 PM, Brian via lazarus wrote:
> On 5/5/20 7:57 PM, wkitty42--- via lazarus wrote:
>> On 5/5/20 6:00 PM, Brian via lazarus wrote:
>>> To save some trial and error, can anybody tell me which was the last
>>> version of Lazarus (for Linux, if that makes a difference) that
>>> doesn't exhibit the problem of an 'm' producing a line feed and an 'i'
>>> producing a tab then an 'i'?
>>
>>
>> check your key map settings in lazarus configuration... it sounds like
>> a macro or you have configured 'm' to line feed and 'i' to tab-'i'...
>>
>>
> 
> I will look (again), but this is happening reproducibly on a totally
> clean build of trunk (via fpcupdeluxe), I have tried rebuilding
> Lazarus with clean all and *just once* I got things to work again
> using qt5. I've never managed to get things to work again since. I
> have changed no key map settings, I have configured no macros. This is
> using 64-bit Linux Mint 19.3, should anybody feel that makes a
> difference, and BTW, I have also tried switching keyboards, with
> absolutely no effect. I had about 6-9 months away from using Lazarus,
> during that time I changed from using Ubuntu 18.04 LTS to Mint 19.3. I
> didn't see the problem on my old setup, it has occurred every time
> except that ONE occasion on the current setup. The same PC, just the
> operating system changed.
> 

I forgot to add - I totally erased fpcup's entire tree and rebuilt
from scratch. No change.

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


Re: [Lazarus] Keyboard mapping probelm

2020-05-05 Thread Brian via lazarus
On 5/5/20 7:57 PM, wkitty42--- via lazarus wrote:
> On 5/5/20 6:00 PM, Brian via lazarus wrote:
>> To save some trial and error, can anybody tell me which was the last
>> version of Lazarus (for Linux, if that makes a difference) that
>> doesn't exhibit the problem of an 'm' producing a line feed and an 'i'
>> producing a tab then an 'i'?
> 
> 
> check your key map settings in lazarus configuration... it sounds like
> a macro or you have configured 'm' to line feed and 'i' to tab-'i'...
> 
> 

I will look (again), but this is happening reproducibly on a totally
clean build of trunk (via fpcupdeluxe), I have tried rebuilding
Lazarus with clean all and *just once* I got things to work again
using qt5. I've never managed to get things to work again since. I
have changed no key map settings, I have configured no macros. This is
using 64-bit Linux Mint 19.3, should anybody feel that makes a
difference, and BTW, I have also tried switching keyboards, with
absolutely no effect. I had about 6-9 months away from using Lazarus,
during that time I changed from using Ubuntu 18.04 LTS to Mint 19.3. I
didn't see the problem on my old setup, it has occurred every time
except that ONE occasion on the current setup. The same PC, just the
operating system changed.

Brian.



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


[Lazarus] Keyboard mapping probelm

2020-05-05 Thread Brian via lazarus
To save some trial and error, can anybody tell me which was the last
version of Lazarus (for Linux, if that makes a difference) that
doesn't exhibit the problem of an 'm' producing a line feed and an 'i'
producing a tab then an 'i'?

Thanks.

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


Re: [Lazarus] Keyboard interpreted incorrectly?

2020-04-10 Thread Brian via lazarus
On 4/10/20 9:28 AM, Bart via lazarus wrote:

Sorry if this eventually gets duplicated, I forgot to change my
address to the one I use for mailing lists.



> There is a bugreport about the m->newline issue somewhere.
> 

Ah, thanks. I wasn't aware of that. I guess I'll continue to use JEdit
to write the code and then open the files in the IDE - this is the way
we used to do it back in days of yore, you couldn't fit the compiler
and the editor in available memory simultaneously! :)

Brian.

-- 
GPG Public Key: http://www.patandbrian.org/brians_key.asc
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Keyboard interpreted incorrectly?

2020-04-10 Thread Brian via lazarus
On 4/10/20 9:02 AM, R.Smith via lazarus wrote:
> Are you using it through a Remote desktop or VM or such?
> 

No.

> Check the Ctrl key is not pressed. i is the 9th letter and TAB is the
> 9th ASCII character. Similarly m is the 13th letter and NewLine is the
> 13th ACII character - which makes  it seem to me somewhere the
> keyboard is getting confused.
> 

Yes, I realised the association.

> Does this work correctly when you edit a text file?
> 

No. That's what makes me think they keyboard is in the clear
(unfortunately I don't have a spare). Lazarus is the *only*
application I have been able to find which shows this behaviour.

> If so, check the Lazarus Tools-->Options for keyboard input (keys can
> be assigned specifically there, maybe you have a weird set assigned),
> although I do not know of a standard setting that would cause this. I
> have however seen stuff like that happen when I had the Ctrl and/or
> Alt key stuck down or used it via remote desks.
> 

Yeah, all ideas, but unfortunately, none of them applicable here. I
will look at the keyboard input options (hadn't thought of that one).

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


[Lazarus] Keyboard interpreted incorrectly?

2020-04-10 Thread Brian via lazarus
Help, please, folks!

I am just returning to using Lazarus for the first time in probably 6
months or so, certainly for the first time since I switched operating
systems. I am now using Linux Mint 19.3 64-bit with an XFCE desktop. I
used fpcupdeluxe and installed the fixes version of both fpc and
lazarus via the button at the bottom of the screen. Everything seemed
to go OK, I could see no error messages in the downloads and build,
and I am now left with (it says) a copy of lazarus v 2.0.7 r 62901 and
fpc 3.2.0.

The problem is when I try to key in my code (and I'm creating a new
program, not an application). Most of the keys work OK, at least that
I have found so far, but an 'i' produces a TAB and then an i, and an
'm' just gives me a new line. The upper case versions of these
characters work as expected, so my temporary workround is obviously to
use those and the formatter, but to say it's a nuisance is an
understatement! I'm using a standard American keyboard layout, and I
have not seen this behaviour in any other application, for sure not in
the copy of thunderbird which I'm using to write this message! I've
also tried a few other applications, and it's only (so far) the
lazarus ide that's afflicted.

Anybody have any ideas, please?


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


[Lazarus] Printing question

2019-01-27 Thread Brian via lazarus
I'm still trying to pursue the printing problem I described a few days
ago. I've been asked on one of the Ubuntu support lists what format
Lazarus uses to send data to the printer. Is it plain text, or
something else? Any offers, please...

Thanks,

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


[Lazarus] Strange problem printing from the IDE

2019-01-17 Thread Brian via lazarus
HI all,

Lazarus 2.0.0RC3, via svn from the fixes_2_0 branch, 64-bit Ubuntu 18
LTS. I'm having a strange problem in printing from the IDE (which I
don't do very often) and would be grateful for any ideas.

I have two printers available to me, both H-P devices, a small
monochrome laserjet which is physically connected to my wife's PC via
a USB cable and shared across the network, and an all-in-one type
inkjet which is connected wirelessly to the network.

All applications I have tried (LibreOffice, Adobe Reader, okular,
gedit) will use both printers without a problem  except for Lazarus.
If I try to print to the wireless inkjet, everything is fine. However,
if I try to print to the laser, everything *seems* to be OK from
Lazarus, but nothing prints, and if I look at the print queue on my PC
the job is there, flagged as "processing", but it just sits there
until aborted, blocking the printer from use.

I'm not sure whether this is a Lazarus problem or an Ubuntu problem,
but since it only occurs when trying to print from the Lazarus IDE,
and not from the other four applications, I thought I would ask here
first.

Thanks,

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


[Lazarus] Suggestion for an IDE enhancement

2019-01-01 Thread Brian via lazarus
I'm in no way competent to try to do this sort of thing myself with
the IDE, otherwise I would have a go at it. :( It also reflects the
fact that I'm an untidy coder - I just write the code flat, and then
let the formatter tidy things up for me. That way of doing things
leads me to one suggestion, I have no idea how difficult this would be
to implement, I just thought I'd float it in case there were a bunch
of "me too"s.

What I would find really useful is if, when I change the case of an
identifier in the code, there were an entry in the context menu to add
that identifier to JCF's list of standard capitalisations, so that a
future run with the formatter would make the same change to all the
other occurrences of that identifier. If I'm missing something, and
there is a way to do this rather than

source | JCF | format settings | identifiers

then I've missed it, and would be very grateful if someone would point
it out to me!

Thanks,

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


Re: [Lazarus] Installed lazarus-ide in Ubuntu18, cannot install package

2018-10-25 Thread Brian via Lazarus
On 10/24/2018 05:42 PM, Juha Manninen via Lazarus wrote:
> On Wed, Oct 24, 2018 at 10:16 PM Brian via Lazarus
>  wrote:
>> ... and errors from deep inside code libraries tend to throw me,
>> especially when it's object oriented code (yes, I'm that old).
> 
> ValidUTF8String and Utf8EscapeControlChars are global functions.
> Nothing object oriented there. :)
> 

I know. I was talking generally, not about this specific problem.

> Looking at the code, ValidUTF8String was first renamed + deprecated
> and then removed for a reason. The name is misleading. Sounds like it
> checks the validity of a string while actually it escapes control
> chars. The new name is good and descriptive.
> 

I'm still not sure where the unit came from. I admit that I have some
rather old source code on this PC, but the only place I have my old
Delphi 7 setup is inside an XP virtual machine.

Brian.


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


[Lazarus] Installed lazarus-ide in Ubuntu18, cannot install package

2018-10-24 Thread Brian via Lazarus
On 10/24/2018 11:54 AM, Juha Manninen via Lazarus wrote:
> On Wed, Oct 24, 2018 at 3:45 PM Brian via Lazarus
>  wrote:
>> Well, here's an example for you of why people may refuse to use SVN.
>>
>> I downloaded the sources via svn and built Lazarus, no problem in that
>> step.
>>
>> Then I ran V2.0 and started installing some packages I use.
>>
>> I got the following error on rebuilding Lazarus, line 1134 of
>> IBCustomDataSet, which is
>>
>> "   Result := ValidUTF8String(TextToSingleLine(Result))"
>>
>> The error message was "Identifier not found, ValidUTF8String".
> 
> Where did you find IBCustomDataSet? I don't find it in FPC or Lazarus sources.
> ValidUTF8String was deprecated in Lazarus 1.7, then removed in 1.9 and thus 
> 2.0.
> This is part of the normal deprecation / removal cycle, not related to
> using SVN.
> 

I allowed 2.0 to upgrade my 1.8.4 configuration, could that have been
the mistake? I'm not sure where IBCustomDataSet came from.

> Is there ValidUTF8String in Delphi? 

I don't know. This is a Xubuntu 18.04 box, I haven't used Delphi since
Delphi 7.

> In that case it should be restored
> preferably into the same unit Delphi has it.
> Again this is not related to using SVN.
> 

Maybe not, but my point is that I was running the 1.8.4 .DEBs from
SourceForge with no problems. I was a research chemist who had to
teach himself how to program, not a computer scientist, and errors
from deep inside code libraries tend to throw me, especially when it's
object oriented code (yes, I'm that old).

Anyway, I started uninstalling packages, and I do now have everything
building correctly. Now it's just a case of finding out what I need to
try to put back in again.


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


Re: [Lazarus] Installed lazarus-ide in Ubuntu18, cannot install package

2018-10-24 Thread Brian via Lazarus
On 10/24/2018 05:19 AM, Juha Manninen via Lazarus wrote:
> Building Lazarus from sources using "svn co" and "make" is so easy
> that I wonder why people refuse to do it.
> People want to try anything except for this most obvious and easiest
> way, including fpcupdeluxe which is an overkill for this simple task.
> 

Well, here's an example for you of why people may refuse to use SVN.

I downloaded the sources via svn and built Lazarus, no problem in that
step.

Then I ran V2.0 and started installing some packages I use.

I got the following error on rebuilding Lazarus, line 1134 of
IBCustomDataSet, which is

"   Result := ValidUTF8String(TextToSingleLine(Result))"

The error message was "Identifier not found, ValidUTF8String".

Now what?


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


Re: [Lazarus] Installed lazarus-ide in Ubuntu18, cannot install package

2018-10-24 Thread Brian via Lazarus
On 10/24/2018 03:32 AM, Juha Manninen via Lazarus wrote:
> On Wed, Oct 24, 2018 at 8:40 AM Brian via Lazarus
>  wrote:
>> Just out of curiosity, might I ask how you feel about running the
>> .DEBs downloaded from SourceForge?
> 
> Apparently you have not read the forum threads about the issues caused
> by .DEBs. :)
> There are literally hundreds of them. Here is one:
>  http://forum.lazarus-ide.org/index.php/topic,42393
> Maybe we should collect them all somehow.
> 
> External (not from distro repo) .DEBs are good for people who know the
> Debian package system well and can fix it when it gets screwed.
> For everybody else :
> * Stay away from external Debian packages! *
> 

You're correct, I don't read the forums. I tend to the view that if I
can't collect it with Thunderbird, then I don't have time to log in
around all the various forums for my different packages, interests etc.

FWIW, all that I've done (using Ubuntu 18.04, but also with previous
versions of Ubuntu and Debian) is to lock all the FPC and Lazarus
packages against upgrade from the repositories. When a new version
comes out, I just download the DEBs from Sourceforge and install those
manually. If there's a problem with using the DEBs from Sourceforge,
then I'd like to know about it.

Brian.




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


Re: [Lazarus] Installed lazarus-ide in Ubuntu18, cannot install package

2018-10-23 Thread Brian via Lazarus
On 10/23/2018 07:38 PM, Juha Manninen via Lazarus wrote:
> On Tue, Oct 23, 2018 at 8:43 PM Bo Berglund via Lazarus
>  wrote:
>> lazarus.pp(1,1) Fatal: Cannot find lazcontroldsgn used by Lazarus.
> 
> Ubuntu's Lazarus package is faulty. Just get the sources directly from
> Subversion server and build them.
> 
>  svn co https://svn.freepascal.org/svn/lazarus/branches/fixes_2_0/ lazarus_2_0
>  cd lazarus_2_0
>  make
>  ./lazarus
> 
> As an extra bonus you will get latest bug fixes in future by running "svn up".
> My prediction is that you will ignore this advice and start to bang
> your head with .deb packages like many others do. The forum is full of
> threads by those people.
> 

Just out of curiosity, might I ask how you feel about running the
.DEBs downloaded from SourceForge?

Brian.

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


Re: [Lazarus] Sending e-mail from within Lazarus

2018-05-11 Thread Brian via Lazarus
On 05/11/2018 08:18 PM, Graeme Geldenhuys via Lazarus wrote:
> On 2018-05-11 01:12, brian wrote:
>> I omitted to put in my original post that I'm running 64-bit Ubuntu
>> Studio. All the Indy examples I've been able to find seem to require
>> Windows DLLs to implement SSL/TLS.
> 
> It works just fine under Windows, Linux and FreeBSD too. I've testing
> them all. On Linux and Windows it uses the OpenSSL libraries - which
> normally comes standard with the system.
> 
> To save you some trouble, I've attached a fully working console demo.
> Edit the config.ini to match your details. Also edit the SMTP host name
> inside the program unit. Sending emails via Gmail requires a extra step
> - you need to log into your Gmail with a Web Browser and under security
> settings, authenticate the "unknown device". When the console app gives
> an error on the first run, it will output URL you can use to get to that
> settings page (thanks Google).
> 
> The "IndySecureMailClient.pas" implements a wrapper class for Indy's
> SMTP and SSL handling making it super easy to use. The wrapper class in
> fact adds all Indy's abilities of encryption for convenience. Indy rocks!!!
> 
> I hope that helps.
> 

Thank you. I'll take a close look at it all over the weekend. I much
prefer this sort of solution to trying to call one of the Linux 'mail
from command line' utilities.

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


Re: [Lazarus] Sending e-mail from within Lazarus

2018-05-10 Thread Brian via Lazarus
On 05/10/2018 09:42 AM, Carlos E. R. via Lazarus wrote:
> On 2018-05-10 15:31, Brian via Lazarus wrote:
>> Does anybody have a working example of sending e-mail from a Lazarus
>> program through their ISP's mail server (which requires SSL/TLS) that
>> they'd be willing to share with me?
> 
> I intend to code this soon, but I will simply call "mailx", an external
> program to do it. The classic method was to call the sendmail binary.
> 
> I use Linux, you did not say what you use.
> 

Ugh, sorry. 64-bit Ubuntu Studio 16, LTS.



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


[Lazarus] Sending e-mail from within Lazarus

2018-05-10 Thread Brian via Lazarus
Does anybody have a working example of sending e-mail from a Lazarus
program through their ISP's mail server (which requires SSL/TLS) that
they'd be willing to share with me? I've been trying to follow
Michael's writeup for using Synapse,  I'm getting a timeout error from
deep within the Synapse code, and I don't know whether it's something
that I've screwed up or some kind of incompatibility with the mail
server - my ISP, of course, will only tell me to use Outlook or
similar. :( If I try to step through with the debugger, I get a socket
error of 110. The version of Synapse I'm using is (I think) 40.1, at
least it's the version downloaded via the online package manager.

I'm using Lazarus 1.8.2 and FPC 3.0.4 as downloaded from SourceForge.

Thanks.

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


Re: [Lazarus] Lazarus Release Candidate 3 of 1.8.0

2017-07-04 Thread brian via Lazarus
On 07/04/2017 04:25 PM, Juha Manninen via Lazarus wrote:
> It surely is reported. See this and the related issues:
>  https://bugs.freepascal.org/view.php?id=30863
> Nobody has found a way to fix it for good on every system. It is
> annoying, yes.
> 

OK, I'll not bother testing the other two release candidates then. I
think "annoying" is a bit of an understatement, myself. If the final
release of 1.8 still shows the problem *for me*, then I'm certainly
going to be staying with 1.6.4.

Brian.

-- 
Please note the forthcoming minor change of e-mail address,
br...@meadows.pairsite.com not br...@meadows.pair.com.
Both addresses will work for a while. The new address is
active now.

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


Re: [Lazarus] Lazarus Release Candidate 3 of 1.8.0

2017-07-04 Thread brian via Lazarus
On 07/04/2017 01:36 PM, Mattias Gaertner via Lazarus wrote:
> On Tue, 4 Jul 2017 12:33:29 -0400
> brian via Lazarus <lazarus@lists.lazarus-ide.org> wrote:
> 
>> [...]
>> Well, I'm certainly not using an Asian keyboard (not unless you mean
>> manufactured in Asia! :) ) and I don't understand, in that case, why
>> it's apparently ONLY the Lazarus 1.8 RC3 IDE that's affected. In case
>> you missed it in my original posting, I can still use 1.6.4 with no
>> evidence of the problem.
> 
> Can you find the revision that broke it?
> 

I can try installing the other two release candidates on SourceForge,
sure. The answer will be up here my ( = USA Eastern) time tomorrow
morning.

Brian.

-- 
Please note the forthcoming minor change of e-mail address,
br...@meadows.pairsite.com not br...@meadows.pair.com.
Both addresses will work for a while. The new address is
active now.

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


Re: [Lazarus] Lazarus Release Candidate 3 of 1.8.0

2017-07-04 Thread brian via Lazarus
On 07/04/2017 11:37 AM, Julius via Lazarus wrote:
> 
> 
> On 07/04/2017 01:50 PM, brian via Lazarus wrote:
>> I'm seeing an *extremely* strange problem with 1.8.0 RC3, AMD64
>> version as DEBs, as downloaded from SourceForge.
>>
>> I'm using the latest Ubuntu Studio 64-bit, which basically means
>> Ubuntu 17.04. Using the Lazarus IDE, and creating a totally new
>> application, every keypress appears multiple times, e.g. if I try to
> 
> You have been bitten by ibus, last upgrade must have installed it or
> activated it.
> 
> I don't have it on my system anymore so can't do a help on it but what
> you need to do is turn it off, something like:
> 
> ibus -close
> 
> or something. Then, Problem gone.
> 
> ibus has something to do with asian keyboards I believe and causes
> double keystroke problems.
> 
Well, I'm certainly not using an Asian keyboard (not unless you mean
manufactured in Asia! :) ) and I don't understand, in that case, why
it's apparently ONLY the Lazarus 1.8 RC3 IDE that's affected. In case
you missed it in my original posting, I can still use 1.6.4 with no
evidence of the problem.

However, out of curiosity, I did check, and ibus is NOT installed on
my system.

Brian.

-- 
Please note the forthcoming minor change of e-mail address,
br...@meadows.pairsite.com not br...@meadows.pair.com.
Both addresses will work for a while. The new address is
active now.

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


Re: [Lazarus] Lazarus Release Candidate 3 of 1.8.0

2017-07-04 Thread brian via Lazarus
On 06/30/2017 08:15 AM, Mattias Gaertner via Lazarus wrote:
> The Lazarus team is glad to announce the third release candidate of
> Lazarus 1.8.
> 
<...>
> 
> == How to test ==
> 
> Download and install the 1.8 RC3.
> - On Windows you can install as a 2ndary install, that will not affect your 
> current install:
>   
> http://wiki.lazarus.freepascal.org/Multiple_Lazarus#Installation_of_multiple_Lazarus
> - On other platforms, if you install to a new location you need to use 
> --primary-config-path
> 
> In either case you should make backups. (including your primary config)
> 
> Open your project in the current Lazarus (1.6.x), and use "Publish Project" 
> from the project menu. This creates a clean copy of your project.
> 
> You can then open that copy in the RC3. Please test:
> - If you can edit forms in the designer
>- rename components / change properties in Object inspector / Add new 
> events
>- Add components to form / Move components on form
>- Frames, if you use them
> - If you can navigate the source code (e.g. jump to implementation)
> - Auto completion in source code
> - Compile, debug and run
> - Anything else you use in your daily work
> 
> 

I'm seeing an *extremely* strange problem with 1.8.0 RC3, AMD64
version as DEBs, as downloaded from SourceForge.

I'm using the latest Ubuntu Studio 64-bit, which basically means
Ubuntu 17.04. Using the Lazarus IDE, and creating a totally new
application, every keypress appears multiple times, e.g. if I try to
type the word 'Array' in the editor it will come out as something like
'AAAaayyy'. I have tried typing a single line of code and
attempting to compile, and yes, the compiler does generate a syntax
error, it's not some problem with the display. I don't see this on ANY
other application which I've tried - LibreOffice works OK, I can type
URLs into Firefox without a problem, JEdit works just fine, and I'm
writing this message in Thunderbird on the same system without any
multiple characters. The FP IDE works OK too, FWIW.

Obviously this makes RC3 totally unusable as far as I'm concerned,
however fortunately (for me? (: ) v 1.6.4 still works OK. My DEBs for
1.6.4 were also obtained from Sourceforge, they're not from the Ubuntu
repositories.

I have no idea what's going on here, and I'm amazed to see that nobody
else is reporting this. If the developers have anything they want me
to try to help diagnose the problem, then by all means ask.


Brian.

-- 
Please note the forthcoming minor change of e-mail address,
br...@meadows.pairsite.com not br...@meadows.pair.com.
Both addresses will work for a while. The new address is
active now.

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


Re: [Lazarus] https website for Lazarus

2017-03-15 Thread brian via Lazarus
On 03/14/2017 08:07 AM, Anthony Walter via Lazarus wrote:
> Graeme,
> 
> By far most of the heavy stuff is images and I don't see that as a bad
> thing. If you have a subject you want people to explore, you need to
> represent it well. Of course a website could just be static text, but
> if put some screen shots on the front page, maybe a gallery, rotating
> images linking to articles, a page header background, IMO you're more
> likely to get people stay, look around, and maybe read an article or
> explore further. Of course that's all subjective.
> 

It's also not correct, at least for some folks. You are, of course,
entitled to write your website any way you like it, but the 'heavy
stuff' to which you refer means that people like me won't dare come
and 'explore'. Living where I do, I have precisely two options for
internet access, dial-up and metered satellite access. From the size
given in a previous message, just loading your front page will cost me
almost 0.5% of my total daily bandwidth allowance.

If your sort of attitude prevails, I confidently expect that at some
future point I will have to go back 20+ years and resume using Lynx as
my browser.

Brian.


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


Re: [Lazarus] Error when rebuilding the IDE in Lazarus 1.6.4, AMD64

2017-03-06 Thread brian via Lazarus
On 03/06/2017 04:31 AM, Mark Morgan Lloyd via Lazarus wrote:
> On 06/03/17 00:30, brian via Lazarus wrote:
>> On 03/05/2017 10:35 AM, Mark Morgan Lloyd via Lazarus wrote:> On
>> 05/03/17 15:00, brian via Lazarus wrote:>> On 03/05/2017 09:15 AM,
>> brian666--- via Lazarus wrote:> Hi all,> >>> Just upgraded to the
>> AMD 64 versions of FPC 3.02 and Lazarus 1.6.4>> as> downloaded from
>> SourceForge, I upgraded an instance of 1.6.2>> (from the> same
>> source) which was working just fine. I'm running>> 64-bit Linux>
>> Mint 'Betsy', i.e. the Debian-based version of Mint,>> on a AMD
>> Phenom> x2. The problem is that rebuilding the IDE doesn't>> seem to
>> work.> > The error is shown as 'Generic error while>> linking'. I
>> don't think the> source line is relevant, as it tags the>> 'end.' in
>> lazarus.pp. The exit> code returned is 512.> > Any ideas,>>
>> please?>>> P.S. Same error when trying to build a 'Hello, World'
>> simple program.> > I built on amd64 using pukka Debian a couple of
>> days ago with no> problems.  GNU ld (GNU Binutils for Debian) 2.25>
> 
>> Mark, could you please check your version of libc6?
> 
> Like this?
> 
> $ sudo ldconfig -v |grep libc
> ..
> libc.so.6 -> libc-2.19.so
> 
> ar, as and ld all at 2.25.
> 
> $ uname -a
> Linux pye-dev-04 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1 (2016-12-30)
> x86_64 GNU/Linux
> 
> That should be an ablutions-standard Debian "Jessie". In the interest
> of full disclosure it's had deb-multimedia enabled to install
> something like Flash at some point, but apart from that I'd expect no
> surprises.
> 

Thanks. The bug reports I read (pointed to by Luca) suggested that it
was the version of libc6 on the system which indicated the problem
would occur, but the suggestion was that it has to be the version in
testing (2.21, I think). You have exactly the same version as I do,
which is what I would expect, LMDE is explicitly said to be based on
Jessie. I think it's time to put a vanilla Jessie in a VM and set up
Lazarus and FPC in that (takes a day or so thanks to this @#$%^*&
satellite internet!) - unless someone else surprises me and comes up
with a fix. I recall it being some kind of problem with a much earlier
version of LMDE and Lazarus/FPC which drove me from Mint to Debian in
the first place. I don't know how they do it... :(


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


Re: [Lazarus] Error when rebuilding the IDE in Lazarus 1.6.4, AMD64

2017-03-05 Thread brian via Lazarus
On 03/05/2017 10:35 AM, Mark Morgan Lloyd via Lazarus wrote:
> On 05/03/17 15:00, brian via Lazarus wrote:
>> On 03/05/2017 09:15 AM, brian666--- via Lazarus wrote:> Hi all,> >
>> Just upgraded to the AMD 64 versions of FPC 3.02 and Lazarus 1.6.4
>> as> downloaded from SourceForge, I upgraded an instance of 1.6.2
>> (from the> same source) which was working just fine. I'm running
>> 64-bit Linux> Mint 'Betsy', i.e. the Debian-based version of Mint,
>> on a AMD Phenom> x2. The problem is that rebuilding the IDE doesn't
>> seem to work.> > The error is shown as 'Generic error while
>> linking'. I don't think the> source line is relevant, as it tags the
>> 'end.' in lazarus.pp. The exit> code returned is 512.> > Any ideas,
>> please?>
>> P.S. Same error when trying to build a 'Hello, World' simple program.
> 
> I built on amd64 using pukka Debian a couple of days ago with no
> problems.  GNU ld (GNU Binutils for Debian) 2.25
> 

Mark, could you please check your version of libc6?

Thanks.


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


Re: [Lazarus] Error when rebuilding the IDE in Lazarus 1.6.4, AMD64

2017-03-05 Thread brian via Lazarus
On 03/05/2017 01:17 PM, Luca Olivetti via Lazarus wrote:
> El 05/03/17 a les 18:53, brian via Lazarus ha escrit:
>> On 03/05/2017 11:59 AM, Luca Olivetti via Lazarus wrote:
>>> El 05/03/17 a les 15:15, brian666--- via Lazarus ha escrit:
>>>
>>>>
>>>> The error is shown as 'Generic error while linking'. I don't think
>>>> the
>>>> source line is relevant, as it tags the 'end.' in lazarus.pp. The
>>>> exit
>>>> code returned is 512.
>>>
>>> Right click on the messages window, copy -> copy all/original messages
>>> to clipboard
>>> Then open a text editor and paste what you just copied, so you can see
>>> the exact linker error.
>>>
>>> Bye
>>
>> Thank you, that found more details of the problem, but I'm still at a
>> loss how to fix it. I think this is the relevant section of the
>> messages...
> 
> I don't know how to fix it either, but try searching google for the
> message "unrecognized relocation (0x2a)": there are a couple of bug
> reports against ubuntu and debian and maybe they apply to your
> distribution.
> 

The bug reports are against the version of libc6 (2.21) found in
Debian testing. Mint Debian uses Jessie, aka stable, and my libc6 is
definitely not the version which is supposed to exhibit the bug.


> brian@brian ~ $ dpkg -l libc6:amd64
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Name Version   Architecture  Description
> +++--=-=-==
> ii  libc6:amd64  2.19-18+deb8u7amd64 GNU C 
> Library: Shared libraries
> brian@brian ~ $ 



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


Re: [Lazarus] Error when rebuilding the IDE in Lazarus 1.6.4, AMD64

2017-03-05 Thread brian via Lazarus
On 03/05/2017 11:59 AM, Luca Olivetti via Lazarus wrote:
> El 05/03/17 a les 15:15, brian666--- via Lazarus ha escrit:
> 
>>
>> The error is shown as 'Generic error while linking'. I don't think the
>> source line is relevant, as it tags the 'end.' in lazarus.pp. The exit
>> code returned is 512.
> 
> Right click on the messages window, copy -> copy all/original messages
> to clipboard
> Then open a text editor and paste what you just copied, so you can see
> the exact linker error.
> 
> Bye

Thank you, that found more details of the problem, but I'm still at a
loss how to fix it. I think this is the relevant section of the
messages...


> 
> 
> /usr/bin/ld: /usr/lib/fpc/3.0.2/units/x86_64-linux/rtl/cprt0.o: unrecognized 
> relocation (0x2a) in section `.text'
> /usr/bin/ld: final link failed: Bad value
> /usr/share/lazarus/1.6.4/ide/lazarus.pp(154,1) Error: (9013) Error while 
> linking
> /usr/share/lazarus/1.6.4/ide/lazarus.pp(154,1) Fatal: (10026) There were 1 
> errors compiling module, stopping
> Fatal: (1018) Compilation aborted
> make[2]: *** [lazarus] Error 1
> make[1]: *** [idepkg] Error 2
> make: *** [idepkg] Error 2
> Error: /usr/bin/ppcx64 returned an error exitcode
> Makefile:4004: recipe for target 'lazarus' failed
> make[2]: Leaving directory '/usr/share/lazarus/1.6.4/ide'
> Makefile:4430: recipe for target 'idepkg' failed
> make[1]: Leaving directory '/usr/share/lazarus/1.6.4/ide'
> Makefile:3074: recipe for target 'idepkg' failed
> make: Leaving directory '/usr/share/lazarus/1.6.4'


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


Re: [Lazarus] Error when rebuilding the IDE in Lazarus 1.6.4, AMD64

2017-03-05 Thread brian via Lazarus
On 03/05/2017 10:35 AM, Mark Morgan Lloyd via Lazarus wrote:
> On 05/03/17 15:00, brian via Lazarus wrote:
>> On 03/05/2017 09:15 AM, brian666--- via Lazarus wrote:> Hi all,> >
>> Just upgraded to the AMD 64 versions of FPC 3.02 and Lazarus 1.6.4
>> as> downloaded from SourceForge, I upgraded an instance of 1.6.2
>> (from the> same source) which was working just fine. I'm running
>> 64-bit Linux> Mint 'Betsy', i.e. the Debian-based version of Mint,
>> on a AMD Phenom> x2. The problem is that rebuilding the IDE doesn't
>> seem to work.> > The error is shown as 'Generic error while
>> linking'. I don't think the> source line is relevant, as it tags the
>> 'end.' in lazarus.pp. The exit> code returned is 512.> > Any ideas,
>> please?>
>> P.S. Same error when trying to build a 'Hello, World' simple program.
> 
> I built on amd64 using pukka Debian a couple of days ago with no
> problems.  GNU ld (GNU Binutils for Debian) 2.25
> 

The version of binutils in the LMDE repositories is 2.25-5. I did do
an apt-get update, upgrade and -f install before posting. Everything
was up to date.

Brian.

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


Re: [Lazarus] Can't add new form to Lazarus App

2016-09-29 Thread brian via Lazarus
On Fri, 30 Sep 2016 00:38:39 +0300, Maxim Ganetsky wrote:

>29.09.2016 22:26, Terry A. Haimann via Lazarus ?:
>> I created the form by clicking on NewForm and then I tried to rename it
>> from the Object Inspector.  I am running Lazarus 1.2.4  This app has
>
>Lazarus 1.2.4? Is it a joke?
>

This is straying from the point, but anybody who has worked for a
LARGE (probably governmental) bureaucracy is likely to be all too
familiar with being forced to use out-of-date software. Performing
'unapproved' upgrades may well mean disciplinary proceedings. Yes,
I've had to work under those conditions. :(

I completely understand the logic for the Lazarus developers wanting
to know whether a problem can be reproduced with the latest version.
You just have to remember that some people aren't allowed to use that
version, as much as they would like to do so. 


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