Re: [Lazarus] Fw: new message

2016-05-09 Thread brian
On Sun, 8 May 2016 17:42:21 -0400, you wrote:

>On 05/08/2016 03:43 PM, Lazarus mailing list <sascha.hesterm...@gmx.de> wrote:
>> Hello!
>>
>> *You have a new message, please read* 
>> hxxp://thesafeandlockshop.co.uk/loud.php?lh
>>
>> Lazarus mailing list
>
>would an admin handle this infested account, please?
>

I'd suspect that the sender address is forged. Nothing that the
alleged sender can do about it if so. Nuking their account seems a
little harsh. 


Brian. 

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


Re: [Lazarus] Humour

2016-04-20 Thread brian
On Wed, 20 Apr 2016 16:20:37 +0200, you wrote:

>On 4/19/16, brian <br...@meadows.pair.com> wrote:
>
>> Anybody still reading might find this amusing... I'd not seen it
>> before.
>
>I find it quit impossible to read the subtitles and here them talk at
>the same time.
>(In fact it took me about 30 seconds to spot the discrepancy.)
>

Ah, sorry - my knowledge of German is so negligible that it didn't
occur to me not to look for subtitles. 

Brian. 

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


[Lazarus] Humour

2016-04-19 Thread brian

Anybody who thinks there should never be any reference made to Hitler
and/or the Third Reich, please hit 'delete' now. 











Anybody still reading might find this amusing... I'd not seen it
before. 

>https://www.youtube.com/watch?v=CDeG4S-mJts=RDMhllo1xQer8=4


Brian. 

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


Re: [Lazarus] Lazarus on my ancient computer?

2016-02-14 Thread brian
On Sun, 14 Feb 2016 14:34:45 +, Mark Morgan Lloyd wrote:

>
>Alternatively, I run Debian "Lenny" with KDE on a number of machines of 
>that sort of spec. For later Debians consider XFCE irrespective of 
>system spec.
>
+1 from me on that one. My wife and I both run Debian (Wheezy on hers,
Jessie on mine), and she insisted on trying both KDE and GNOME before
she'd let me install XFCE on hers. The difference in responsiveness on
her older PC now that I've persuaded her to use XFCE is truly
phenomenal. 

You can always run some of the programs associated with the other
desktops under XFCE if you need to, e.g. xfburn is quite a limited
program when compared with K3b. 

Brian. 


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


Re: [Lazarus] Debian (Sid): fpc 3.0.0+dfsg-2 cannot compile lazarus trunc

2016-02-02 Thread brian
On Mon, 1 Feb 2016 20:39:59 +0100, you wrote:

>Am 01.02.2016 um 18:47 schrieb Mattias Gaertner:
>> On Mon, 1 Feb 2016 18:20:59 +0100
>> John Landmesser <jmlandmes...@gmx.de> wrote:
>>
>> Is this the new FPC 3.0.0 from Debian unstable?
>>
>> Mattias
>>
>
>yes it's from unstable ( sid )

I've seen a couple of Debian's fpc "upgrades" break Lazarus, but I'm
running Jessie (stable). All I did to fix the problem was disallow
upgrades to either Lazarus or fpc, and I download the .debs from
SourceForge. 

I do also have an installation from getlazarus that's working just
fine once someone sent me a replacement script, that's fpc 3.1.1 and
Lazarus 1.7. Once again, though, this is Jessie, not sid. 

Brian. 



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


Re: [Lazarus] Linux mint install

2015-07-24 Thread brian
On Fri, 24 Jul 2015 16:10:28 -0500, you wrote:

Larry, 

Are you by any chance using the Debian version of Mint? It's a few
versions ago, but I had all kinds of weird problems with
Lazarus/FPC/LMDE, and after a few iterations with the LMDE users, I
switched to plain old Debian, and things have worked just fine since
then. 

If you're using the Ubuntu-based Mint, then forget all the above, that
used to work OK. 

Brian. 


I have tried to remove the default lazarus install with the following
commands:  sudo apt-get purge fpc lazarus
sudo rm -Rf /usr/lib/fpc sudo rm -Rf /usr/lib/lazarussudo rm -Rf
/usr/share/fpcsr sudo rm -f ~/.fpcsudo rm -Rf ~/.lazarus, then downloaded
lazarus_1.4.2-0amd64.deb. Then I get the following output:
dpkg: regarding fpc_2.6.2-0_i386.deb containing fpc, pre-dependency
problem: fpc pre-depends on binutils dpkg: error processing archive
fpc_2.6.2-0_i386.deb (--install): pre-dependency problem - not installing
fpc (Reading database ... 220087 files and directories currently
installed.) Preparing to unpack google-chrome-stable_current_i386.deb ...
Unpacking google-chrome-stable (43.0.2357.134-1) over (43.0.2357.134-1) ...
Selecting previously unselected package lazarus. Preparing to unpack
lazarus_1.4.2-0_amd64.deb ... Unpacking lazarus (1.4.2) ... Setting up
google-chrome-stable (43.0.2357.134-1) ... dpkg: dependency problems
prevent configuration of lazarus: lazarus depends on fpc (= 2.6.4) |
fp-compiler (= 2.6.4); however: Package fpc is not installed. Version of
fp-compiler on system is 2.6.2-8. lazarus depends on fpc-src (= 2.6.4) |
fpc-source (= 2.6.4); however: Version of fpc-source on system is 2.6.2-8.
lazarus depends on fpc (= 2.6.4) | fp-ide (= 2.6.4); however: Package fpc
is not installed. Package fp-ide is not installed. lazarus depends on fpc
(= 2.6.4) | fp-units-base (= 2.6.4); however: Package fpc is not
installed. Package fp-units-base is not installed. lazarus depends on fpc
(= 2.6.4) | fp-units-db (= 2.6.4); however: Package fpc is not installed.
Package fp-units-db is not installed. lazarus depends on fpc (= 2.6.4) |
fp-units-fcl (= 2.6.4); however: Package fpc is not installed. Package
fp-units-fcl is not installed. lazarus depends on fpc (= 2.6.4) |
fp-units-fv (= 2.6.4); however: Package fpc is not installed. Package
fp-units-fv is not instal dpkg: error processing package lazarus
(--install): dependency problems - leaving unconfigured Processing triggers
for mime-support (3.54ubuntu1.1) ... Processing triggers for
desktop-file-utils (0.22-1ubuntu1) ... Processing triggers for man-db
(2.6.7.1-1ubuntu1) ... Processing triggers for shared-mime-info
(1.2-0ubuntu3) ... Unknown media type in type 'all/all' Unknown media type
in type 'all/allfiles' Unknown media type in type 'uri/mms' Unknown media
type in type 'uri/mmst' Unknown media type in type 'uri/mmsu' Unknown media
type in type 'uri/pnm' Unknown media type in type 'uri/rtspt' Unknown media
type in type 'uri/rtspu' Errors were encountered while processing:
fpc_2.6.2-0_i386.deb lazarus


On Fri, Jul 24, 2015 at 1:23 PM, Graeme Geldenhuys 
mailingli...@geldenhuys.co.uk wrote:

 On 2015-07-24 17:45, Larry Dalton wrote:
  What am I doing wrong?

 No idea, but may I suggest you rather download the *.tar file instead.
 It is a console based installer created by the FPC team. I've used it
 for years on Linux and FreeBSD, and never had any problems. I can also
 install it to any directory (I normally choose $HOME/devel/fpc/),
 instead if /usr/bin/ or /usr/local/bin/.

 Regards,
   - Graeme -

 --
 fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
 http://fpgui.sourceforge.net/

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


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


Re: [Lazarus] Linux mint install

2015-07-24 Thread brian
 Fri, 24 Jul 2015 16:10:28 -0500, you wrote:

I have tried to remove the default lazarus install with the following
commands:  

As regards your error message, it seems to be complaining about
binutils not being installed. Have you tried installing the package? 

Brian. 

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


Re: [Lazarus] Linux mint install

2015-07-24 Thread brian
On Fri, 24 Jul 2015 17:12:06 -0500, you wrote:

Using linux mint 17.1 Rebecca


OK, scratch the comment about LMDE (I assume what you're using is the
Ubuntu-based version?). 

Brian. 

Sent from my iPhone

 On Jul 24, 2015, at 16:26, brian br...@meadows.pair.com wrote:
 
 On Fri, 24 Jul 2015 16:10:28 -0500, you wrote:
 
 Larry, 
 
 Are you by any chance using the Debian version of Mint? It's a few
 versions ago, but I had all kinds of weird problems with
 Lazarus/FPC/LMDE, and after a few iterations with the LMDE users, I
 switched to plain old Debian, and things have worked just fine since
 then. 
 
 If you're using the Ubuntu-based Mint, then forget all the above, that
 used to work OK. 
 
 Brian. 
 
 
 I have tried to remove the default lazarus install with the following
 commands:  sudo apt-get purge fpc lazarus
   sudo rm -Rf /usr/lib/fpc sudo rm -Rf /usr/lib/lazarussudo rm -Rf
 /usr/share/fpcsr sudo rm -f ~/.fpcsudo rm -Rf ~/.lazarus, then downloaded
 lazarus_1.4.2-0amd64.deb. Then I get the following output:
 dpkg: regarding fpc_2.6.2-0_i386.deb containing fpc, pre-dependency
 problem: fpc pre-depends on binutils dpkg: error processing archive
 fpc_2.6.2-0_i386.deb (--install): pre-dependency problem - not installing
 fpc (Reading database ... 220087 files and directories currently
 installed.) Preparing to unpack google-chrome-stable_current_i386.deb ...
 Unpacking google-chrome-stable (43.0.2357.134-1) over (43.0.2357.134-1) ...
 Selecting previously unselected package lazarus. Preparing to unpack
 lazarus_1.4.2-0_amd64.deb ... Unpacking lazarus (1.4.2) ... Setting up
 google-chrome-stable (43.0.2357.134-1) ... dpkg: dependency problems
 prevent configuration of lazarus: lazarus depends on fpc (= 2.6.4) |
 fp-compiler (= 2.6.4); however: Package fpc is not installed. Version of
 fp-compiler on system is 2.6.2-8. lazarus depends on fpc-src (= 2.6.4) |
 fpc-source (= 2.6.4); however: Version of fpc-source on system is 2.6.2-8.
 lazarus depends on fpc (= 2.6.4) | fp-ide (= 2.6.4); however: Package fpc
 is not installed. Package fp-ide is not installed. lazarus depends on fpc
 (= 2.6.4) | fp-units-base (= 2.6.4); however: Package fpc is not
 installed. Package fp-units-base is not installed. lazarus depends on fpc
 (= 2.6.4) | fp-units-db (= 2.6.4); however: Package fpc is not installed.
 Package fp-units-db is not installed. lazarus depends on fpc (= 2.6.4) |
 fp-units-fcl (= 2.6.4); however: Package fpc is not installed. Package
 fp-units-fcl is not installed. lazarus depends on fpc (= 2.6.4) |
 fp-units-fv (= 2.6.4); however: Package fpc is not installed. Package
 fp-units-fv is not instal dpkg: error processing package lazarus
 (--install): dependency problems - leaving unconfigured Processing triggers
 for mime-support (3.54ubuntu1.1) ... Processing triggers for
 desktop-file-utils (0.22-1ubuntu1) ... Processing triggers for man-db
 (2.6.7.1-1ubuntu1) ... Processing triggers for shared-mime-info
 (1.2-0ubuntu3) ... Unknown media type in type 'all/all' Unknown media type
 in type 'all/allfiles' Unknown media type in type 'uri/mms' Unknown media
 type in type 'uri/mmst' Unknown media type in type 'uri/mmsu' Unknown media
 type in type 'uri/pnm' Unknown media type in type 'uri/rtspt' Unknown media
 type in type 'uri/rtspu' Errors were encountered while processing:
 fpc_2.6.2-0_i386.deb lazarus
 
 
 On Fri, Jul 24, 2015 at 1:23 PM, Graeme Geldenhuys 
 mailingli...@geldenhuys.co.uk wrote:
 
 On 2015-07-24 17:45, Larry Dalton wrote:
 What am I doing wrong?
 
 No idea, but may I suggest you rather download the *.tar file instead.
 It is a console based installer created by the FPC team. I've used it
 for years on Linux and FreeBSD, and never had any problems. I can also
 install it to any directory (I normally choose $HOME/devel/fpc/),
 instead if /usr/bin/ or /usr/local/bin/.
 
 Regards,
  - Graeme -
 
 --
 fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
 http://fpgui.sourceforge.net/
 
 --
 ___
 Lazarus mailing list
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
 
 --
 ___
 Lazarus mailing list
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

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


Re: [Lazarus] Linux mint install

2015-07-24 Thread brian
On Fri, 24 Jul 2015 17:23:25 -0500, you wrote:

Yes


Give installing binutils a try, then, as that's what your previous
attempt seemed to be complaining about. If that works, then go through
the full cycle again = fpc - fpc-src - lazarus. 

Brian. 


Sent from my iPhone

 On Jul 24, 2015, at 17:19, brian br...@meadows.pair.com wrote:
 
 On Fri, 24 Jul 2015 17:12:06 -0500, you wrote:
 
 Using linux mint 17.1 Rebecca
 
 OK, scratch the comment about LMDE (I assume what you're using is the
 Ubuntu-based version?). 
 
 Brian. 
 
 Sent from my iPhone
 
 On Jul 24, 2015, at 16:26, brian br...@meadows.pair.com wrote:
 
 On Fri, 24 Jul 2015 16:10:28 -0500, you wrote:
 
 Larry, 
 
 Are you by any chance using the Debian version of Mint? It's a few
 versions ago, but I had all kinds of weird problems with
 Lazarus/FPC/LMDE, and after a few iterations with the LMDE users, I
 switched to plain old Debian, and things have worked just fine since
 then. 
 
 If you're using the Ubuntu-based Mint, then forget all the above, that
 used to work OK. 
 
 Brian. 
 
 
 I have tried to remove the default lazarus install with the following
 commands:  sudo apt-get purge fpc lazarus
  sudo rm -Rf /usr/lib/fpc sudo rm -Rf /usr/lib/lazarussudo rm -Rf
 /usr/share/fpcsr sudo rm -f ~/.fpcsudo rm -Rf ~/.lazarus, then downloaded
 lazarus_1.4.2-0amd64.deb. Then I get the following output:
 dpkg: regarding fpc_2.6.2-0_i386.deb containing fpc, pre-dependency
 problem: fpc pre-depends on binutils dpkg: error processing archive
 fpc_2.6.2-0_i386.deb (--install): pre-dependency problem - not installing
 fpc (Reading database ... 220087 files and directories currently
 installed.) Preparing to unpack google-chrome-stable_current_i386.deb ...
 Unpacking google-chrome-stable (43.0.2357.134-1) over (43.0.2357.134-1) 
 ...
 Selecting previously unselected package lazarus. Preparing to unpack
 lazarus_1.4.2-0_amd64.deb ... Unpacking lazarus (1.4.2) ... Setting up
 google-chrome-stable (43.0.2357.134-1) ... dpkg: dependency problems
 prevent configuration of lazarus: lazarus depends on fpc (= 2.6.4) |
 fp-compiler (= 2.6.4); however: Package fpc is not installed. Version of
 fp-compiler on system is 2.6.2-8. lazarus depends on fpc-src (= 2.6.4) |
 fpc-source (= 2.6.4); however: Version of fpc-source on system is 
 2.6.2-8.
 lazarus depends on fpc (= 2.6.4) | fp-ide (= 2.6.4); however: Package 
 fpc
 is not installed. Package fp-ide is not installed. lazarus depends on fpc
 (= 2.6.4) | fp-units-base (= 2.6.4); however: Package fpc is not
 installed. Package fp-units-base is not installed. lazarus depends on fpc
 (= 2.6.4) | fp-units-db (= 2.6.4); however: Package fpc is not 
 installed.
 Package fp-units-db is not installed. lazarus depends on fpc (= 2.6.4) |
 fp-units-fcl (= 2.6.4); however: Package fpc is not installed. Package
 fp-units-fcl is not installed. lazarus depends on fpc (= 2.6.4) |
 fp-units-fv (= 2.6.4); however: Package fpc is not installed. Package
 fp-units-fv is not instal dpkg: error processing package lazarus
 (--install): dependency problems - leaving unconfigured Processing 
 triggers
 for mime-support (3.54ubuntu1.1) ... Processing triggers for
 desktop-file-utils (0.22-1ubuntu1) ... Processing triggers for man-db
 (2.6.7.1-1ubuntu1) ... Processing triggers for shared-mime-info
 (1.2-0ubuntu3) ... Unknown media type in type 'all/all' Unknown media type
 in type 'all/allfiles' Unknown media type in type 'uri/mms' Unknown media
 type in type 'uri/mmst' Unknown media type in type 'uri/mmsu' Unknown 
 media
 type in type 'uri/pnm' Unknown media type in type 'uri/rtspt' Unknown 
 media
 type in type 'uri/rtspu' Errors were encountered while processing:
 fpc_2.6.2-0_i386.deb lazarus
 
 
 On Fri, Jul 24, 2015 at 1:23 PM, Graeme Geldenhuys 
 mailingli...@geldenhuys.co.uk wrote:
 
 On 2015-07-24 17:45, Larry Dalton wrote:
 What am I doing wrong?
 
 No idea, but may I suggest you rather download the *.tar file instead.
 It is a console based installer created by the FPC team. I've used it
 for years on Linux and FreeBSD, and never had any problems. I can also
 install it to any directory (I normally choose $HOME/devel/fpc/),
 instead if /usr/bin/ or /usr/local/bin/.
 
 Regards,
 - Graeme -
 
 --
 fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
 http://fpgui.sourceforge.net/
 
 --
 ___
 Lazarus mailing list
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
 
 --
 ___
 Lazarus mailing list
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
 
 --
 ___
 Lazarus mailing list
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http

Re: [Lazarus] Linux mint install

2015-07-24 Thread brian
On Sat, 25 Jul 2015 00:48:25 +0100, you wrote:

On 2015-07-24 22:10, Larry Dalton wrote:
 I have tried to remove the default lazarus install with the following
 commands:|  ||sudo||apt-get purge fpc lazarus|

Try removing Lazarus first, then FPC. I don't don't know if apt-get is
clever enough to figure which one to do first. Lazarus depends on FPC,
no trying to uninstall FPC first would not be a good idea.


If you just try apt-get purge fpc it will remove lazarus first (I just
tried it with a dry-run), so I don't think Larry's ordering will make
any difference, apart from the fact that he might get an error from a
subsequent attempt to purge lazarus. 

Brian. 


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

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


Re: [Lazarus] Returning value from a Firebird (embedded) generator into Lazarus code

2015-04-25 Thread brian
On Sat, 25 Apr 2015 14:12:44 +, you wrote:

brian wrote:
 Hi folks, 
 
 Can someone please give me a hint with this problem. I'm new to
 Firebird, but I needed a database which could be used in embedded
 fashion, and seemed to have a choice of one under Linux. 
 
 What I need to do is to return a value generated by a Firebird
 generator into my Pascal code. Doing it what seemed to me to be the
 obvious way returns zero rows, do I need to update an interim table
 and then query that table? Or is there some other method which I've
 missed? 

Embedded in what way? I use Firebird on occasion as an alternative to 
PostgreSQL (i.e. in a client-server scenario), but I'd have thought for 
a single-system application SQLite would have been worth a look.


Embedded as in there is no requirement for the user to do anything
except unpack a zip file and run the executable. No installation of
any kind of server on the host system. 

Having said that, apart from Firebird's poor documentation I've had no 
significant problem querying and updating tables. What exactly are you 
trying to do?


Retrieve a value generated by a Firebird generator (in other words, an
autoincremented value stored within the database) and get that
incremented value into a Pascal variable. The SQL code to increment
the value in the Firebird database is 

SELECT (generator,increment) FROM RDB$DATABASE;

but I'm struggling to find a way to retrieve that incremented value.
Simply attaching a data source to the query returns zero rows when the
SQL is executed. I'm wondering whether I need to use a dummy table and
then use the generator to update a field, then retrieve the data with
a separate query. 


Brian. 

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


Re: [Lazarus] Returning value from a Firebird (embedded) generator into Lazarus code

2015-04-25 Thread brian
On Sat, 25 Apr 2015 16:18:18 +0200 (CEST), you wrote:



On Sat, 25 Apr 2015, brian wrote:


 Hi folks,

 Can someone please give me a hint with this problem. I'm new to
 Firebird, but I needed a database which could be used in embedded
 fashion, and seemed to have a choice of one under Linux.

 What I need to do is to return a value generated by a Firebird
 generator into my Pascal code. Doing it what seemed to me to be the
 obvious way returns zero rows, do I need to update an interim table
 and then query that table? Or is there some other method which I've
 missed?

Do a

SELECT GEN_ID(YOUR_GENERATOR,1) AS THEVALUE FROM RDB$DATABASE

in a TSQLQuery instance. Then call Open and you can get the value.

Something like:

With TSQLQuery.Create(Nil) do
   try
 Database:=MyDatabase;
 SQL.Text:='SELECT GEN_ID(YOUR_GENERATOR,1) AS THEVALUE FROM RDB$DATABASE';
 Open;
 MyGenValue:=Fields[0].AsLargeInt;
   Finally
 Free;
   end;

Michael.


Ahh.. OK, I knew it was something obvious. Thanks, Michael. I guess
I've forgotten more of my (Oracle) SQL than I thought. I see what I've
been doing wrong. 

Brian. 

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


Re: [Lazarus] Impressive web development

2015-04-16 Thread brian
On Wed, 15 Apr 2015 15:26:50 -0700, you wrote:

Brian can I ask what is your average internet speed?


It depends on the time of day. My net connection is capped two ways,
firstly total throughput, up and down combined, is limited to 250
MB/day, except between 0200 and 0700 my time, when it's unmetered. 

Secondly, the connection is capped at 3 Megabits/sec down, 256
Kilobits/sec up, but I only see that in the off-peak periods. In the
early evening, I've seen download speeds as low as dialup (i.e. 50
kilobits per second) and you don't even want to know about upload - it
can take 15-20 seconds to send a standard e-mail. 

Brian. 

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


Re: [Lazarus] Impressive web development

2015-04-15 Thread brian
On Tue, 14 Apr 2015 21:32:30 +0100, you wrote:

Hi,

I just came across this on Google+ - probably the most impressive web
app I've ever seen. It is called Codenvy and is a fully functional
zero-configuration integrated development environment.

  http://ow.ly/LBJUa ?

Are we going to see such a web based Lazarus IDE soon? ;-)  It should
help stop all those FPC  Lazarus installation issue support emails. :)


On behalf of those of us with the misfortune to live in areas where
you have no alternative to capped satellite internet connections (or
worse yet, dial-up - there are still a few such unfortunates here in
Maine) I sincerely hope not!

Brian. 

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


[Lazarus] External SIGSEGV when trying to use data module components

2015-04-11 Thread brian

Hi all, 

I'm writing an application which uses Firebird embedded. My setup is
currently Lazarus 1.2.6 with FPC 2.6.4, but I have the 1.4 RC3 files
to install if anybody thinks that should make a difference. I'm using
the AMD64 version of Lazarus and Debian 7.6 multihome, with i386
architecture also installed. 

My problem is a simple one to describe - the program compiles
correctly, but the moment I try to do anything with the objects in the
data module, I get an immediate 'external SIGSEGV'. When I say do
anything with them, this is as simple as adding a line of SQL to a
query. 

The program compiles OK, of course, and removing gdb from the mix and
recompiling just gives me the same error, but now the ASM window pops
up at a different address. 

Any help gratefully received, because I don't know what else to try...


Brian. 

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


Re: [Lazarus] External SIGSEGV when trying to use data module components

2015-04-11 Thread brian
On Sat, 11 Apr 2015 18:01:13 +0200, Luca Olivetti wrote:

El 11/04/15 a les 17:48, brian ha escrit:

 My problem is a simple one to describe - the program compiles
 correctly, but the moment I try to do anything with the objects in the
 data module, I get an immediate 'external SIGSEGV'. When I say do
 anything with them, this is as simple as adding a line of SQL to a
 query. 

Check in project options, forms that the datamodule is in the auto
create forms.


Yes, that's there. 


Also, if you're trying to use the datamodule in the OnCreate event
handler of the main form, that's going to cause a sigsev since the
datamodule hasn't been created yet. Use OnShow instead.


I've got a tabbed notebook on the main form, and the database stuff is
in the OnShow of one of the tabs. 

Thanks for the ideas, 


Brian. 

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


Re: [Lazarus] External SIGSEGV when trying to use data module components

2015-04-11 Thread brian
On Sat, 11 Apr 2015 11:48:57 -0400, you wrote:

I moved checking for the file  and then creating the database if it
didn't already exist from the OnShow event of the tab to the last
possible moment in the processing, and that seems to have sorted it. I
don't understand why, but I'm not complaining. 

Thanks for the assistance, folks. 

Brian. 


Hi all, 

I'm writing an application which uses Firebird embedded. My setup is
currently Lazarus 1.2.6 with FPC 2.6.4, but I have the 1.4 RC3 files
to install if anybody thinks that should make a difference. I'm using
the AMD64 version of Lazarus and Debian 7.6 multihome, with i386
architecture also installed. 

My problem is a simple one to describe - the program compiles
correctly, but the moment I try to do anything with the objects in the
data module, I get an immediate 'external SIGSEGV'. When I say do
anything with them, this is as simple as adding a line of SQL to a
query. 

The program compiles OK, of course, and removing gdb from the mix and
recompiling just gives me the same error, but now the ASM window pops
up at a different address. 

Any help gratefully received, because I don't know what else to try...


Brian. 

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


Re: [Lazarus] Promoting Lazarus: A Case Study Video

2015-02-25 Thread Brian Chalega da Silva

On 25-02-2015 14:10, Marcos Douglas wrote:

On Wed, Feb 25, 2015 at 1:40 PM, Anthony Walter sys...@gmail.com wrote:

Go back to a mailing list archive, other people have made suggestions which
';ve implemented.

http://free-pascal-general.1045716.n5.nabble.com/New-Get-Lazarus-Initiative-td5720922.html

Including making it clear who I am and why, linking back to the official
sites on every mention of Free pascal or Lazarus, that these versions are
tests and are being updated accordingly, and a page dedicated to doing it
yourself:

http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Guide-Making-Free-Pascal-and-Lazarus-from-sources-td4040321.html

Build scripts and instructions are mirrored on github:

https://github.com/sysrpl/Codebot.Setup/blob/master/linux/install.fpc-3.0.linux.sh

Here is a link to other material I've released in the past as well as other
walk throughs:

http://www.baregame.org/#bare_game
http://www.getlazarus.org/videos/baregame
http://www.getlazarus.org/videos/baresprites

Codebot.Cross, which includes a new cross platform graphics rendering
interface, is a port of this my Delphi content which was first released more
than 10 years ago:

http://www.codebot.org/delphi/

I've thanked Sven Barth as well as the rest of the team multiple times. I've
also offered to spend time enhancing the Lazarus code tools:

http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Offer-Fixing-CodeTools-td4040620.html

Everything I've done has always been released for free, without ads, and
I've never asked for anything in return. I've only given. I say this because
I'm not sure if you're thinking this is some elaborate trick. I assure you
it's not.

I think the only problem is using not stable versions... that's all!
Your codes are amazing. Please, do not stop -- coding, getlazarus.org,
etc -- just think if is better use stable versions.

Best regards,
Marcos Douglas

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


Yes, don't stop contributing, I like the idea of the installer script, 
it makes cross
compiling so much easier, a thing that is very tricky to setup manually, 
specially
for new users. I only took a brief look, but it (the script) has many 
comments

and the code is quite clean, which is very nice too.

But I understand the concern about the version used, and the naming, and I
guess it would be good to have it explicitly in the website that it is a 
fan site
(not sure what the correct term is), and not a project endorsed by the 
official
Lazarus project. (and of course, the big fat warning when using unstable 
branches).


Just my 2 cents :)

Best regards,
Brian Chalega da Silva.

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


Re: [Lazarus] Promoting Lazarus: A Case Study Video

2015-02-25 Thread Brian Chalega da Silva

On 25-02-2015 17:31, Marc Weustink wrote:


On February 25, 2015 8:51:11 PM CET, Travis Ayres tray...@gmail.com wrote:

I like the getlazarus version better so far than the official one
(assuming
it isn't an elaborate trick...). Free software is all about choice -
I'm
glad to have another  option.

I'm kinda surprised other people seem not to like it. More exposure for
fpc/lazarus is good isn't  it?

That is not the problem. More exposure is ok. The problem with at least the 
download section is that it is absolutely not clear that you are downloading a 
alpha/beta version of Lazarus/fpc

Imo it should point to the official download with the getlazarus version as 
alternative. That way visitors not knowing about Lazarus have a choice. When 
you now visit getlazarus and click download, it offers the option to download 
setup.exe
When you don't know about Lazarus you expect this to be an official version. In 
my case where I professionally use Lazarus, I only want released versions of 
both Lazarus an FPC.

Marc


I disagree, since it's their website, it is logical that they would 
deliver their version
of the software, I only think that it would be good if in the website 
they made it clear
that this isn't the official site and not an official Lazarus 
initiative, to don't confuse

people who don't know Lazarus.

To summarize, IMO it basically needs to be more clear in the point that 
it's not
endorsed by the Lazarus project, and that the version there is an 
unstable one (like
Osvaldo, I personally prefer to use the unstable version too, but I'm 
only a hobbyist).


And if it won't be too difficult maybe do a stable script / bundle too? 
But I guess I'm

asking too much and doing too little hehe

Best regards,
Brian Chalega da Silva.

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


Re: [Lazarus] ./fpcup_linux_x64 won't create lazarus executable

2014-02-24 Thread brian

On 02/24/2014 05:52 PM, Allan E. Registos wrote:

Anybody who is using fpcup on Ubuntu 12.04 64-bit?


Not Ubuntu, but its ancestor. I'm using 64-bit Debian 7, and the last 
time I updated (about a week ago, I think) everything worked OK for me.


Brian.


Tried installing lazarus through fpcup, it seems the fpcup installer is
successful. While it manage to create a lazarus_fpcup shortcut at the
desktop, it did not create the lazarus executable in
~/development/lazarus dir. I uninstalled all my fpc/lazarus
installations to be sure and installed the required libraries and did a
clean install two times but the same problem with no
~/development/lazarus/lazarus executable.

Regards,
Allan





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




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


Re: [Lazarus] strange linux problem

2014-02-23 Thread brian

On 02/19/2014 08:42 AM, brian wrote:

On 02/19/2014 04:07 AM, Mattias Gaertner wrote:

On Wed, 19 Feb 2014 03:46:51 -0500
brian br...@meadows.pair.com wrote:


[...]
on a network drive. This is using Debian 7.2, and a recent svn version
of Lazarus (I actually use fpcup to do the downloads and builds). The
information on the 'About' page is version 1.3, date 2014-02-12, fpc
version 2.6.3, svn revision 44027, x86_64-linux-gtk 2
[...]
chmods and/or deletes on the files on the network drive.
Stepping through with the debugger, some, but not all, of the
attempted chmods return a status of -1. Some, but not all, of the
calls to sysutils.deletefile return false. What is puzzling me is that
if, instead of calling fpchmod and sysutils.deletefile I instead call
fpsystem and do the operations that way, it works. I can also run up a
command prompt and do the failed operations that way with no problem.
[...]


Is it reproducable on the same file?


On the basis of two examples of each, yes.


Can you give an example file name?


Two of the files which failed to delete are unknown.mp4 and video_ts.vob.

Two files where the attempt to chmod them failed are
The_Buddhas_Instruction_to_his_son.mp4 and
Yogis_Of_Tibet_Rare_Documentary.mp4

In all cases, the full paths are made up of
['A'..'Z','a'..'z','0'..'9','_'] only

(well, also '/' and '.', obviously!)



What kind of network share?


It's a Western Digital 4TB My Cloud drive, with the shared /nfs
directory on the drive mounted to a root-level directory on my PC.

Nobody else is using the drive - I've only two PCs on the LAN, and my
wife's machine was switched off. The drive is hanging off one of the
ports of my four-port Linksys router.


Special characters, wrong encoding, server lock, faulty network.



Definitely not the first. I've written out the full paths to a log
file, and they are correct - editing the logs and putting an 'ls ' in
front of the file names provides the expected results. The drive is
powered down overnight, and I'm the only user, so I can't see how
there could be a server lock unless there's something wrong with the
drive. I've seen nothing else to indicate a faulty router.


I know this all sounds crazy. I wouldn't have believed it had I not
been seeing it for myself. The only thing I could come up with (and
the reason for my post here) was that single-stepping under the
debugger somehow caused the problem.

I'm not asking anybody to do any amount of research on this - it's
trivial for me to tweak the program so that it writes commands to a
file rather than tries to run the chmods and deletes, and I can just
run the resulting file from the CLI.




I'm sorry for the delay in replying, folks. Programming is now just a 
hobby for me, and other things got in the way.



Mattias:

I was single stepping in the debugger just to check I'd not made any 
mistakes in the code - I didn't have the nerve to run the program in 
its entirety yet, it would be a lot of work if I'd made a mistake 
somewhere and had to rebuild all the network drive stuff.


What I did was to write a small test application, all it is is a 
button on a form (I wanted to stick with the GUI, as that's what the 
real program is) and the OnClick tries to chmod and delete those two 
pairs of files which I mentioned above. I compiled this and then ran 
it outside of the IDE (I can send you the project if you wish, but it 
really is that simple). The program worked just fine.




Mark:

The directory and file ownerships, permissions etc was the first thing 
I checked, they're not symlinks, and no, nothing else had them open.



Bart and Reinier:

It's an NFS share, no Samba involved.


Waldo:

I think you've got the answer. I added the suggested delay (0.25 
second) before each of the chmod and delete operations, and while the 
deletions are done, I let the chmods all run again, and got no errors 
whatsoever. It does begin to look like the drive couldn't keep pace 
with it all. I don't have enough experience with this sort of 
configuration to know whether that's something to expect or whether 
it's a problem with my particular setup, but since I now have three 
workrounds that work (add a delay, use an fpSystem call instead or 
write a script) then that's fine by me.



Thanks for the suggestions, all.


Brian.



Thanks for the assistance, folks.

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


[Lazarus] strange linux problem

2014-02-19 Thread brian

Hi all,

I'm trying to write a small utility program to clean up a LOT of files 
on a network drive. This is using Debian 7.2, and a recent svn version 
of Lazarus (I actually use fpcup to do the downloads and builds). The 
information on the 'About' page is version 1.3, date 2014-02-12, fpc 
version 2.6.3, svn revision 44027, x86_64-linux-gtk 2


This may well be a lack of experience with Linux programming on my 
part, but it has me baffled. The program I've written needs to do a 
bunch of chmods and/or deletes on the files on the network drive. 
Stepping through with the debugger, some, but not all, of the 
attempted chmods return a status of -1. Some, but not all, of the 
calls to sysutils.deletefile return false. What is puzzling me is that 
if, instead of calling fpchmod and sysutils.deletefile I instead call 
fpsystem and do the operations that way, it works. I can also run up a 
command prompt and do the failed operations that way with no problem.


The files on the network drive are all owned by me, the chmod is 
trying to set permissions to 644 rather than 777. The delete is just 
deleting a whole bunch of log files which got mixed up in there when 
the data was copied to the drive.


I have no idea why the above should happen, it makes no sense to me, 
but as I said, I'm still a relative novice as regards coding for 
Linux. Everything is being run from the same account. Can anybody 
point me in the right direction?



Thanks,

Brian.

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


Re: [Lazarus] strange linux problem

2014-02-19 Thread brian

On 02/19/2014 04:07 AM, Mattias Gaertner wrote:

On Wed, 19 Feb 2014 03:46:51 -0500
brian br...@meadows.pair.com wrote:


[...]
on a network drive. This is using Debian 7.2, and a recent svn version
of Lazarus (I actually use fpcup to do the downloads and builds). The
information on the 'About' page is version 1.3, date 2014-02-12, fpc
version 2.6.3, svn revision 44027, x86_64-linux-gtk 2
[...]
chmods and/or deletes on the files on the network drive.
Stepping through with the debugger, some, but not all, of the
attempted chmods return a status of -1. Some, but not all, of the
calls to sysutils.deletefile return false. What is puzzling me is that
if, instead of calling fpchmod and sysutils.deletefile I instead call
fpsystem and do the operations that way, it works. I can also run up a
command prompt and do the failed operations that way with no problem.
[...]


Is it reproducable on the same file?


On the basis of two examples of each, yes.


Can you give an example file name?


Two of the files which failed to delete are unknown.mp4 and video_ts.vob.

Two files where the attempt to chmod them failed are 
The_Buddhas_Instruction_to_his_son.mp4 and 
Yogis_Of_Tibet_Rare_Documentary.mp4


In all cases, the full paths are made up of 
['A'..'Z','a'..'z','0'..'9','_'] only


(well, also '/' and '.', obviously!)



What kind of network share?

It's a Western Digital 4TB My Cloud drive, with the shared /nfs 
directory on the drive mounted to a root-level directory on my PC.


Nobody else is using the drive - I've only two PCs on the LAN, and my 
wife's machine was switched off. The drive is hanging off one of the 
ports of my four-port Linksys router.



Special characters, wrong encoding, server lock, faulty network.



Definitely not the first. I've written out the full paths to a log 
file, and they are correct - editing the logs and putting an 'ls ' in 
front of the file names provides the expected results. The drive is 
powered down overnight, and I'm the only user, so I can't see how 
there could be a server lock unless there's something wrong with the 
drive. I've seen nothing else to indicate a faulty router.



I know this all sounds crazy. I wouldn't have believed it had I not 
been seeing it for myself. The only thing I could come up with (and 
the reason for my post here) was that single-stepping under the 
debugger somehow caused the problem.


I'm not asking anybody to do any amount of research on this - it's 
trivial for me to tweak the program so that it writes commands to a 
file rather than tries to run the chmods and deletes, and I can just 
run the resulting file from the CLI.



Brian.


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


Re: [Lazarus] Ubuntu 14.04 LTS - Any plans to include 1.0.x on it?

2013-12-27 Thread brian

On 12/24/2013 02:10 PM, Michael Van Ham wrote:

On Mon, Dec 23, 2013 at 1:36 PM, Alexsander Rosa
alexsander.r...@gmail.com wrote:


Just ran the getlaz shell, it tried to install an old version:
Os NOVOS pacotes a seguir serão instalados:
   fp-compiler fp-compiler-2.6.0 fpc fpc-2.6.0 fpc-source fpc-source-2.6.0 
lazarus lazarus-0.9.30.4
   lazarus-ide-0.9.30.4 lazarus-ide-gtk2-0.9.30.4
Anything newer anywhere?



I've had some luck using fpcup from https://bitbucket.org/reiniero/fpcup



fpcup works just fine for me on Debian v7.0 64-bit. Lazarus announces 
itself as v1.3 on the splash screen.


Brian.


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


Re: [Lazarus] Jedi Code Format barfs on an Octal number

2013-12-17 Thread brian

On 12/17/2013 04:17 AM, Michael Van Canneyt wrote:



On Tue, 17 Dec 2013, Frederic Da Vitoria wrote:


2013/12/17 Jürgen Hestermann juergen.hesterm...@gmx.de

  Am 2013-12-17 02:42, schrieb waldo kitty:
yes, but it is not available in TP/BP and (IIRC) Delphi...


I am wondering why octal numbers are not allowed in these modes.
Why not allow them in all modes?
I can't see how this would cause problems.
It would only avoid them.


Maybe because these modes could be used to ensure that the developer
is able to switch back to TP/BP or Delphi. If these modes
accepted features which TP/BP or Delphi don't understand, switching
back would become difficult. Or you could create a source
file which you want to be compatible with FPC and with TP. If you
use octal, it won't work.


That is exactly the idea.



Which is fair enough, of course, but the formatter obviously isn't a 
compiler. I cannot see a problem with JCF reformatting code which is 
the *superset* of all three modes. Incompatible badly-formatted code 
is certainly no less of a problem than incompatible well-formatted code!


Of course, it's a perfectly understandable problem if JCF hasn't been 
tweaked in any way for FPC, as it was no doubt written with Object 
Pascal as the target language. Anyway, it's hardly a problem of any 
great importance, if you want to keep the modes for fpChmod readable 
without requiring mental arithmetic then all I did was to rewrite 644 
as (6*64)+(4*8)+4



Brian.





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


[Lazarus] Jedi Code Format barfs on an Octal number

2013-12-15 Thread brian

Hi folks,

I'm not sure where to flag this bug, whether the version of JCF 
included with Lazarus is just the vanilla version or whether it's been 
tweaked in some way, but no doubt one of you can point me to the right 
place if I should be posting somewhere else.


The bug is a simple one, JCF won't accept the '' syntax for an octal 
number. There's absolutely no doubt that this was the problem, all of 
my units formatted correctly except for the one with the two calls to 
FpChmod in it, and that one formatted correctly when I changed the 
octal number to its decimal equivalent.


I'm using the version of Lazarus as downloaded by fpcup_linux_x64 and 
I updated two days ago. The help page gives the revision as 43538.



Brian.

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


Re: [Lazarus] IDE problems - FIXED

2013-11-28 Thread brian

On 11/28/2013 05:08 AM, Martin Frb wrote:

On 28/11/2013 08:38, brian wrote:

On 11/26/2013 04:02 AM, Mark Morgan Lloyd wrote:


Run diff (e.g. kdiff3) on the old and new configuration files. Report
back.

Sorry for the delayed reply, now programming is just a hobby, my
wife has other ideas about how I should spend my time... :(

Anyway, everything is local, my desktop is XFCE.

Checking the old and new directories, these are the directory listings

Old setup (showing the problem)


Problem is that your main window (ide bar) is maximized. I just
tested, I get the same error under fedora with xfce

- Start IDE
- maximize main-ide-bar
- restart

To fix: un-maximize

Also notable: The maximize IDE bar should be restrained in high, but
it is not. Though that may be ok, since the WM may override the LCL
decision.



I've just tried it myself, Martin, and I confirm your findings. Thank 
you for solving the problem. Now, of course, I just have to figure out 
*HOW* the IDE bar got maximised, because as I said in my original 
posting, it appeared totally spontaneous. The first indication I had 
was in the middle of a debugging session when suddenly everything but 
the source window disappeared. If there's any way of maximising the 
IDE bar with the F7 and F8 keys then it's news to me!



Brian.


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


Re: [Lazarus] IDE problems - FIXED

2013-11-26 Thread brian

On 11/25/2013 06:26 PM, brian wrote:

Hi folks,

Something has spontaneously gone wrong with the IDE on my setup. I say
spontaneously because I was in the middle of debugging a program when
suddenly everything but the source window disappeared. I eventually
had to abort Lazarus and re-start the program, but now I see some very
strange behaviour :-

1) Pull-down menus stay pulled down, even when I've selected an entry.

2) Only the object inspector or the source editor can be visible at
any one time - select one, and the other vanishes.

There are probably a few other quirks too, but those are the most
annoying two.

In my Delphi days, there used to be a desktop configuration file which
you deleted if the IDE got all screwed up, and then when you ran the
program again you were back to all the defaults.

Is there such a file for Lazarus? I assume this isn't a
version-specific question, but anyway, I'm running Lazarus under
64-bit Debian multi-home, and the version is the latest as downloaded
by fpcup_linux_x64 two days ago, SVN revision 43478.



Well, not surprisingly, the nuclear option worked. Rename .lazarus and 
my development directory, copy the .ini files and fpcup_linux_x64 into 
a new directory, and rebuild the whole thing. Bit of a nuisance having 
to set all my preferences again, but nothing like as bad as trying to 
debug with the previous setup.


If anyone can figure out what happened, I for one would still be 
interested to hear it.



Brian.



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


Re: [Lazarus] IDE problems

2013-11-26 Thread brian

On 11/26/2013 03:21 AM, Mattias Gaertner wrote:

On Mon, 25 Nov 2013 22:17:05 -0300
Junior lazarus.li...@gmail.com wrote:


Fixing the link:

http://www.meadows.pair.com/Screenshot%20-%2011252013%20-%2006:57:09%20PM.png

Em 25-11-2013 21:49, brian escreveu:

On 11/25/2013 06:45 PM, Mattias Gaertner wrote:

On Mon, 25 Nov 2013 18:26:48 -0500
brian br...@meadows.pair.com wrote:


Hi folks,

Something has spontaneously gone wrong with the IDE on my setup. I say
spontaneously because I was in the middle of debugging a program when
suddenly everything but the source window disappeared. I eventually
had to abort Lazarus and re-start the program, but now I see some very
strange behaviour :-

1) Pull-down menus stay pulled down, even when I've selected an entry.


What Lazarus version do you use?



2) Only the object inspector or the source editor can be visible at
any one time - select one, and the other vanishes.

There are probably a few other quirks too, but those are the most
annoying two.

In my Delphi days, there used to be a desktop configuration file which
you deleted if the IDE got all screwed up, and then when you ran the
program again you were back to all the defaults.

Is there such a file for Lazarus? I assume this isn't a
version-specific question, but anyway, I'm running Lazarus under
64-bit Debian multi-home, and the version is the latest as downloaded
by fpcup_linux_x64 two days ago, SVN revision 43478.


The config files are under Linux in $HOME/.lazarus.



Thanks, Mattias. I tried renaming .lazarus and then ran lazarus up
again, but no change in the behaviour. Let me show you the sort of
thing I see, screenshot attached. Any time I click a pulldown menu,
the source window disappears, and as you will see, the pulldown menus
stay there.

P.S. Didn't know about the 100 KB size triggering a moderator review.
OK, the .png is here.


http://www.meadows.pair.com/Screenshot - 11252013 - 06:57:09 PM.png


I have never seen such a bug with the LCL.
Does that happen only with Lazarus?


I tried OpenOffice, and its menus worked perfectly.


What window manager do you use?


XFCE


Is that the LCL QT widgetset?



No, gtk2.

Anyway, as you will see from another posting, I ran out of patience 
with it and nuked the setup, then set it to rebuild overnight. The new 
setup works just fine, and the bit of reconfiguration needed is less 
frustrating than trying to use the corrupted(?) setup.


Thanks anyway,


Brian.



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


[Lazarus] IDE problems

2013-11-25 Thread brian

Hi folks,

Something has spontaneously gone wrong with the IDE on my setup. I say 
spontaneously because I was in the middle of debugging a program when 
suddenly everything but the source window disappeared. I eventually 
had to abort Lazarus and re-start the program, but now I see some very 
strange behaviour :-


1) Pull-down menus stay pulled down, even when I've selected an entry.

2) Only the object inspector or the source editor can be visible at 
any one time - select one, and the other vanishes.


There are probably a few other quirks too, but those are the most 
annoying two.


In my Delphi days, there used to be a desktop configuration file which 
you deleted if the IDE got all screwed up, and then when you ran the 
program again you were back to all the defaults.


Is there such a file for Lazarus? I assume this isn't a 
version-specific question, but anyway, I'm running Lazarus under 
64-bit Debian multi-home, and the version is the latest as downloaded 
by fpcup_linux_x64 two days ago, SVN revision 43478.


Thanks,

Brian.

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


Re: [Lazarus] IDE problems

2013-11-25 Thread brian

On 11/25/2013 06:58 PM, Martin Frb wrote:

On 25/11/2013 23:26, brian wrote:

Hi folks,

Something has spontaneously gone wrong with the IDE on my setup. I
say spontaneously because I was in the middle of debugging a program
when suddenly everything but the source window disappeared. I
eventually had to abort Lazarus and re-start the program, but now I
see some very strange behaviour :-

1) Pull-down menus stay pulled down, even when I've selected an entry.



This does not sound like a config issue to me.

However, I have seen some Linux, or maybe some of the Destops/Window
managers getting in trouble, if gdb pauses an application in the wrong
moment. e.g. in a paint event, or other events (mouse, kbd).

In that case you may have to restart your  desktop session,
potentially the entire system.



The problem has survived a full reboot.


Brian.



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


Re: [Lazarus] IDE problems

2013-11-25 Thread brian

On 11/25/2013 06:45 PM, Mattias Gaertner wrote:

On Mon, 25 Nov 2013 18:26:48 -0500
brian br...@meadows.pair.com wrote:


Hi folks,

Something has spontaneously gone wrong with the IDE on my setup. I say
spontaneously because I was in the middle of debugging a program when
suddenly everything but the source window disappeared. I eventually
had to abort Lazarus and re-start the program, but now I see some very
strange behaviour :-

1) Pull-down menus stay pulled down, even when I've selected an entry.


What Lazarus version do you use?



2) Only the object inspector or the source editor can be visible at
any one time - select one, and the other vanishes.

There are probably a few other quirks too, but those are the most
annoying two.

In my Delphi days, there used to be a desktop configuration file which
you deleted if the IDE got all screwed up, and then when you ran the
program again you were back to all the defaults.

Is there such a file for Lazarus? I assume this isn't a
version-specific question, but anyway, I'm running Lazarus under
64-bit Debian multi-home, and the version is the latest as downloaded
by fpcup_linux_x64 two days ago, SVN revision 43478.


The config files are under Linux in $HOME/.lazarus.



Thanks, Mattias. I tried renaming .lazarus and then ran lazarus up 
again, but no change in the behaviour. Let me show you the sort of 
thing I see, screenshot attached. Any time I click a pulldown menu, 
the source window disappears, and as you will see, the pulldown menus 
stay there.


P.S. Didn't know about the 100 KB size triggering a moderator review. 
OK, the .png is here.



http://www.meadows.pair.com/Screenshot - 11252013 - 06:57:09 PM.png



Brian.





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


Re: [Lazarus] New competition for Lazarus

2013-06-01 Thread brian

On 05/31/2013 06:01 AM, Graeme Geldenhuys wrote:

On 2013-05-30 21:53, brian wrote:

Perhaps they'll add support for Debian 7.0 multiarch. Based on
someone's posting in here a while back (I *think* yours, Graeme, but
I'm not certain)



I've never installed or used Debian.



I didn't mean to imply that you were a Debian user, Graeme, just that 
you (I think, I'm not 100% certain) were the one who made favourable 
comments about CodeTyphon.



Brian.

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


Re: [Lazarus] New competition for Lazarus

2013-05-30 Thread brian

On 05/30/2013 06:58 AM, Graeme Geldenhuys wrote:

Perhaps they'll add support for Debian 7.0 multiarch. Based on 
someone's posting in here a while back (I *think* yours, Graeme, but 
I'm not certain), I set up a VM and downloaded CodeTyphon. I forget 
exactly what the problem was now (the details are all in their forums, 
and I was far from the only person having trouble using Debian 7.0 
multiarch). Their response was that Debian 7.0 was unstable and that 
I would have to wait for CodeTyphon 4.0 for it to be supported. As I 
didn't feel able to change my distro for the differences between 
CodeTyphon and Lazarus, I just wiped the VM and forgot about it.


Brian.


Hi,

I just saw this thread. The PilotLogic guys (creators of the CodeTyphoon
project) has finally decided to fork Lazarus IDE and go their own route.
Here are some early days screenshots.

http://www.pilotlogic.com/sitejoom/media/kunena/attachments/63/OpenIntiana64_2013-05-27.jpg

http://www.pilotlogic.com/sitejoom/media/kunena/attachments/63/Screenshot_2013-05-28.jpg


They plan to add multi-architecture / dual personalities (32-bit
64-bit executables) on a single system, improved cross-compile support
with easy switching and indicator, C/C++ support, support more platforms
etc.


For the full thread, here is the link.


http://www.pilotlogic.com/sitejoom/index.php/forum/ct-lab-news/2509-ct-4-30-lab-new-ide?limitstart=0start=24


Regards,
   - Graeme -


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




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


Re: [Lazarus] Sharing of large files

2013-04-20 Thread brian

On 04/15/2013 06:26 AM, Graeme Geldenhuys wrote:

...


I highly recommend you try Ubuntu One [https://one.ubuntu.com/], which
is available for Linux, Windows, Mac OSX, iOS and Android. You get 5GB
of data storage free, and can share files (with the public, or privately
with your own devices) and sync files with great ease. Plus,  NO
distracting ads in the interface. Yeah! :-)



Unless you know better, Graeme, it appears from what I've just read 
that your list should read UBUNTU, Windows, Mac OSX...


That's the impression the website gives, anyway. Maybe it's 
distro-independent if you're using Thunderbird. I don't know, because 
I use Debian, Icedove is based on the LTS version of Thunderbird, and 
it's still on 10.x



Brian.


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


Re: [Lazarus] Lazdaemon and Fedora 17

2012-11-11 Thread Brian Chalega da Silva

Em 11-11-2012 06:04, zeljko escreveu:

On Sunday 11 of November 2012 05:35:25 Andrew Brunner wrote:

Does anyone have any experience with Fedora 17 and daemons?

Under Debian, I use a script and start-stop-daemon to load my
FPC/Lazarus Daemon.

Under Fedora, there is no such start-stop-daemon command.  Has anyone
had any success or experience with the new service system?

Fedora 17 uses systemd. Start scripts are in /lib/systemd directory and
subdirs.

zeljko

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



This page can be helpful:
http://fedoraproject.org/wiki/Systemd

Brian

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


[Lazarus] Pointer woes when trying to port a Delphi program

2012-08-24 Thread brian

Hi all,

I'm trying to port a Delphi program to Lazarus, although I'm redoing 
the interface from scratch.


Without getting into to much detail about what the program does, it 
needs an array of 72 buttons on the main screen, these buttons have 
their captions changed and are variously enabled and disabled as the 
program executes.


Because of the underlying logic, it's easiest to manipulate these 
buttons as an array of pointers to the buttons (in fact two arrays, 
but that's not really relevant).


So, I have

Type
 TBtnPtr = ^TButton;
 TBtnArray = Array [1..36] of TBtnPtr;

Var
 Buttons1, Buttons2 : TBtnArray;


Then in a procedure called from the Form's OnCreate, I set the arrays 
up :-


Buttons[1]^ := FirstButton;
Buttons[2]^ := SecondButton;

etc, etc.

Everything compiles OK, but at runtime, the moment the program reaches 
that first assignment statement running interactively under GDB, I get 
an error Exception class External : SIGSEGV


This is using SVN 38353M (downloaded and built this morning) with FPC 
2.6.0 on an AMD Phenom X4 box running Debian SID 64-bit, and 
generating a 64 bit executable.


I'm lost. This same code worked under Delphi 7. Can anyone give me a 
hint as to what I'm doing wrong? I wanted to create the buttons as 
design time so that I can set the initial layout, but if I need to 
create them dynamically I can do that.



Thanks

Brian

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


Re: [Lazarus] RE : Lazarus crashing reproducibly on startup (64-bitLinux)

2012-04-03 Thread brian
On 04/01/2012 04:32 PM, brian wrote:
 On 04/01/2012 04:05 AM, Ludo Brands wrote:

 And you're running on an AMD CPU?

 In that case, I'm absolutely baffled


 You shouldn't, I have reported it working on AMD in the mantis case
 (http://bugs.freepascal.org/view.php?id=21515) and on the lazarus forum
 (http://forum.lazarus.freepascal.org/index.php/topic,14881.msg89591.html#msg

 89591).

 
 Well I followed Mattias's procedure, which worked for him, and all I
 can say is that it still doesn't work for me. I regret ever having
 thought of the idea of reverting to Mint - or, at least, trying LMDE.
 Since I was using Debian testing anyway, I thought I had little to
 lose and something to gain.
 
 I'm going to give up on Mint and reinstall plain old Debian. I know
 Lazarus works on that **on my PC**.
 
 

The bottom line to all this, as probably no-one will be surprised to
learn, is that wiping Mint Debian and re-installing standard Debian
means that Lazarus works just fine for me once again.

I understand that Mattias and Ludo both managed to run Lazarus on LMDE
without a problem. I'm perfectly willing to accept that there's some
complex interaction which affects only a few PCs running LMDE.

I guess that whether or not you install LMDE if you want to use
Lazarus depends on how lucky you feel. Certainly anyone doing so
should be prepared to have to revert to another distro if they get
unlucky.


Brian.



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


Re: [Lazarus] Lazarus crashing reproducibly on startup (64-bit Linux)

2012-03-31 Thread brian

On 03/31/2012 07:18 AM, Mattias Gaertner wrote:

On Fri, 30 Mar 2012 17:19:28 -0400
brianbr...@meadows.pair.com  wrote:



Well, I've done a bunch of testing with some virtual machines, plus a
bunch of web searches looking for other threads on this error, and it
seems to be plain that it's a multi-way incompatibility. If you are
running Linux Mint Debian Edition (LMDE) V12 on an AMD 64-bit CPU (and
it doesn't matter whether you run a 32 or 64 bit version of the
operating system) then Lazarus will crash, reproducibly, and that
holds for any version of LAzarus between 0.9.28.2 up to a fairly
recent svn version.


I installed Linux Mint Debian Edition 64bit in virtualbox. And Lazarus
0.9.31 does not crash here.



And you're running on an AMD CPU?

In that case, I'm absolutely baffled, because I've done nothing more 
than install LMDE, get any upgrades, and try to install and run 
Lazarus. Which version did you try installing first, the one from the 
LMDE repos? If it's possible that you need to install the latest 
version and no other, then that might explain it.


If you can confirm that you're running an AMD-based system, then 
please let me know what version of Lazarus you used, and I will set up 
another VM and try again.


Thanks,

Brian.

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


Re: [Lazarus] Lazarus crashing reproducibly on startup (64-bit Linux)

2012-03-31 Thread brian

On 03/31/2012 07:18 AM, Mattias Gaertner wrote:


I installed Linux Mint Debian Edition 64bit in virtualbox. And Lazarus
0.9.31 does not crash here.



Sorry, I missed the version number. Please just confirm for me that 
you're running on an AMD CPU and I'll try another VM.



Brian.


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


Re: [Lazarus] Lazarus crashing reproducibly on startup (64-bit Linux)

2012-03-31 Thread brian

On 03/31/2012 02:50 PM, Mattias Gaertner wrote:


I downloaded the ISO,
then did an upgrade,
then installed the package lazarus and subversion to get the
development packages,
then uninstalled lazarus, keeping the rest,
then installed fpc 2.6.0 from zip,
then downloaded fpc svn trunk, compiled, installed
then downloaded lazarus svn trunk, compiled, started
then \O/


Thanks. I will follow exactly those steps. Watch this space...

Brian.

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


Re: [Lazarus] Lazarus crashing reproducibly on startup (64-bit Linux)

2012-03-30 Thread brian


Well, I've done a bunch of testing with some virtual machines, plus a 
bunch of web searches looking for other threads on this error, and it 
seems to be plain that it's a multi-way incompatibility. If you are 
running Linux Mint Debian Edition (LMDE) V12 on an AMD 64-bit CPU (and 
it doesn't matter whether you run a 32 or 64 bit version of the 
operating system) then Lazarus will crash, reproducibly, and that 
holds for any version of LAzarus between 0.9.28.2 up to a fairly 
recent svn version.


If you're running on an Intel CPU, or a 32-bit AMD chip, or you're 
running the Ubuntu-based version of Mint, you won't have a problem.


This is particularly puzzling since LMDE is built on Debian testing, 
and Debian testing will run Lazarus without a problem. For that 
reason, it seems to me that it's a problem for the LMDE folks rather 
than the Lazarus developers.


Now, where did I put that Debian installation DVD?


Brian.


On 03/29/2012 04:19 AM, brian wrote:


For anyone still interested in this thread, sorry it's taking me so
long to post again but I'm on a satellite internet connection, I only
have unrestricted downloads between 0200 and 0700, and so it takes me
quite a while to set up virtual machines and do the updates.

While I've had one reply from a posting to the Mint Debian forums from
someone who is tracking the unstable repositories and is able to run
Lazarus without a problem, there seems to be no doubt that there is a
basic incompatibility between Lazarus and either the stable or testing
distros of Mint Debian. I haven't been able to get Lazarus to start on
either distro, whether 32 bit or 64 bit, but plain Debian stable or
testing runs Lazarus just fine.

I'm going to try pointing at the unstable repositories now, and I'll
post again in 3-4 days when I've had time to do the final set of
updates and try all the different permutations.

For the moment, I strongly advise anyone who wants to run Lazarus
*NOT* to install Linux Mint Debian. If you want a rolling distro,
stick with plain Debian rather than the Mint version, or try one of
the others.

All of the above does NOT apply to the Ubuntu-based versions of Mint.
They run Lazarus without problems, too.


Brian.



On 03/18/2012 08:36 AM, brian wrote:

I've recently switched distros to Mint Debian 12 64-bit XFCE. This is
on an AMD Phenom *4, 4 GB of RAM. When I was reinstalling stuff I
noticed that the latest version of Lazarus that they have in the repo
is 0.9.28, a bit old I know, but it works for what I do.

So I installed 0.9.28, which also brought in FPC 2.4.0-2.

When I try to run Lazarus from the menus, I get the splash screen and
then nothing, the IDE never comes up.

So, I switched to a terminal, ran startlazarus and got the following
output.

[WARNING] Out of OEM specific VK codes, changing to unassigned
[WARNING] Out of unassigned VK codes, assigning $FF
TLazarusManager.Run starting /usr/lib/lazarus/0.9.28.2/lazarus ...
Runtime error 203 at $00736A16
$00736A16
$00720991


OK, maybe it's an old version. I downloaded the latest .DEBs from
SourceForge, and installed those. No change in the symptoms (well, OK,
I can't say the addresses were exactly the same, but the bit about the
VK codes was, and it was still a runtime error 203).

I cleaned out everything to do with Lazarus and FPC that I could find
(using KFind to make sure I got everything) and had one more try with
0.9.28. As expected, still the same error. I know that 0.9.28 used to
run on Mint 9 64-bit, but that was the Ubuntu-based version, not the
Debian-based one.

Anyone have any ideas how to fix this, please?


Brian.


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




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




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


Re: [Lazarus] Lazarus crashing reproducibly on startup (64-bit Linux)

2012-03-29 Thread brian


For anyone still interested in this thread, sorry it's taking me so 
long to post again but I'm on a satellite internet connection, I only 
have unrestricted downloads between 0200 and 0700, and so it takes me 
quite a while to set up virtual machines and do the updates.


While I've had one reply from a posting to the Mint Debian forums from 
someone who is tracking the unstable repositories and is able to run 
Lazarus without a problem, there seems to be no doubt that there is a 
basic incompatibility between Lazarus and either the stable or testing 
distros of Mint Debian. I haven't been able to get Lazarus to start on 
either distro, whether 32 bit or 64 bit, but plain Debian stable or 
testing runs Lazarus just fine.


I'm going to try pointing at the unstable repositories now, and I'll 
post again in 3-4 days when I've had time to do the final set of 
updates and try all the different permutations.


For the moment, I strongly advise anyone who wants to run Lazarus 
*NOT* to install Linux Mint Debian. If you want a rolling distro, 
stick with plain Debian rather than the Mint version, or try one of 
the others.


All of the above does NOT apply to the Ubuntu-based versions of Mint. 
They run Lazarus without problems, too.



Brian.



On 03/18/2012 08:36 AM, brian wrote:

I've recently switched distros to Mint Debian 12 64-bit XFCE. This is
on an AMD Phenom *4, 4 GB of RAM. When I was reinstalling stuff I
noticed that the latest version of Lazarus that they have in the repo
is 0.9.28, a bit old I know, but it works for what I do.

So I installed 0.9.28, which also brought in FPC 2.4.0-2.

When I try to run Lazarus from the menus, I get the splash screen and
then nothing, the IDE never comes up.

So, I switched to a terminal, ran startlazarus and got the following
output.

[WARNING] Out of OEM specific VK codes, changing to unassigned
[WARNING] Out of unassigned VK codes, assigning $FF
TLazarusManager.Run starting /usr/lib/lazarus/0.9.28.2/lazarus ...
Runtime error 203 at $00736A16
$00736A16
$00720991


OK, maybe it's an old version. I downloaded the latest .DEBs from
SourceForge, and installed those. No change in the symptoms (well, OK,
I can't say the addresses were exactly the same, but the bit about the
VK codes was, and it was still a runtime error 203).

I cleaned out everything to do with Lazarus and FPC that I could find
(using KFind to make sure I got everything) and had one more try with
0.9.28. As expected, still the same error. I know that 0.9.28 used to
run on Mint 9 64-bit, but that was the Ubuntu-based version, not the
Debian-based one.

Anyone have any ideas how to fix this, please?


Brian.


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




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


Re: [Lazarus] RE : Lazarus crashing reproducibly on startup (64-bitLinux)

2012-03-24 Thread brian

On 03/20/2012 04:59 AM, Mark Morgan Lloyd wrote:

brian wrote:


I fairly regularly build both FPC trunk and the current release on
multiple platforms (but markedly /not/ on x86-64) and in many cases
drop libgdb from FPC since it's only required for the fp IDE. Looking
at your list of undefineds, I think the right question would have been
how can I build a vanilla libgdb that doesn't require a whole lot of
Python libraries etc.- and I'm afraid that's one for the gdb
developers rather than us.



So you're telling me that *any* program which I need to build myself
and which pulls in libgdb is going to have all those undefineds?
That does sound to be a bit of a shortcoming if so! I did try
installing a bunch of Python libraries as well, but didn't get
anywhere.


I'm not going back to the October stuff right now, this could well be
a distro issue particularly if it's got a libgdb package but not the
underlying Python libraries. I'm afraid I've never been into Python:
my style's more Horne :-)


Anyway, I shall keep bashing away at trying to get the svn versions
to build and install, and see whether they cure the latest problem.
It will take me a little while to get it done, but I'll report back
if I manage to fix it - I'm not too keen on the alternative, which
is trying to resurrect my Fortran from umpty-mumble years ago.


I'd suggest getting a working FPC 2.6.0, either as a binary (from the
FPC servers) or building it yourself although this might require that
you start with 2.4.4. In the latter case use something like

$ make NOGDB=1 OPT='-gl' all

followed by a make install , after which you'll probably want to make
sure that you've got /usr/local/bin/ppc386 -
/usr/local/lib/fpc/2.6.0/ppc386 or similar (make install doesn't mess
with that symlink: I'm not sure that's a wise omission but it's the
way it is).

The NOGDB will make sure that there is no reference to libgdb, but as
I said earlier it is only required by the fp text-mode IDE.

Having to that point, get a recent Lazarus. Now I'm sure you've got
your own preferences, but the one that I've built most recently was
the fixes RC from SVN

svn co
http://svn.freepascal.org/svn/lazarus/branches/branches/release_0_9_30_4
./lazarus-fixed

If you decide that you really do need libgdb, which you DO NOT if your
interest is Lazarus, then I suggest finding or building a copy around
v6.7.1 and then using make GDB_V607=1 OPT='... since this definitely
works on Debian (Etch/Lenny/Squeeze) x86 and others. HTH.



Hi Mark,

I tried rebuilding gdb and libgdb.a from source, making sure I had all 
the Python libraries installed. That seemed to work OK, no errors. I 
installed everything and tried rebuilding FPC with no switches. There 
were less undefined globals, but still a lot of them.


So then I followed your instructions.

1) Yes, FPC from svn will build correctly with the NOGDB switch you 
provided. I did so, and installed it.


2) I downloaded the Lazarus that you indicate above. It built without 
errors, but when I try to run it, it still comes up with the error 
203. Running under the debugger produces this output


paste

Runtime error 203 at $006EFFDA
  $006EFFDA
  $006D90ED

[Inferior 1 (process 4558) exited with code 0313]


/paste

I've taken a look on the Linux Mint forums, and I certainly don't seem 
to be the only one seeing this problem, as David's posting also 
suggested.


I have two friends who are total non-programmers. Neither FPC nor 
Lazarus will have been anywhere near their machines. One of them is 
running Debian Testing, on which Linux Mint Debian (LMDE) is built, 
the other is running LMDE as I am. Both are on 64-bit distros.


I'm going to ask them both to try installing Lazarus and then try to 
run it. If, as I suspect, the LMDE user sees the crash and the plain 
Debian user doesn't, then I think that will be fairly conclusive.


In the short term, I guess the best way out will be to set up a 
virtual machine with a copy of some other distro and do any Lazarus 
work in that.


I'm still a relative novice at Linux, though I've long experience with 
Borland/CodeGear/Embarcadero Pascal/Delphi under Windows. If any of 
the developers want me to try compilations etc. under LMDE, I'd be 
happy to devote up to a couple of hours a day in doing so, but I'd 
need to be led through most of it.


Thanks for your help, and I'll report back when I hear from my 
friends, although I will be very surprised if they do anything other 
than confirm what I've found, i.e. Lazarus will run just fine on plain 
Debian but not on LMDE.



Brian.


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


Re: [Lazarus] RE : Lazarus crashing reproducibly on startup (64-bitLinux)

2012-03-20 Thread brian

On 03/20/2012 03:45 AM, Mark Morgan Lloyd wrote:

brian wrote:


This is the Debian-based version of Mint. Standard Mint is
Ubuntu-based but the Debian version is for those who prefer a
rolling distribution. AFAIK, the current build is based on Debian
Wheezy.

I've tried downloading the svn version, and there's some problem
with libgdb.a, I can't even get FPC to build, let alone Lazarus.
There are YARDS of undefined globals. I finally got an answer from
someone on the FPC list (after just being told fix your GDB) and
I'm trying to work my way through that at the moment.


Granted that not all messages get through our gateway, but is that the
thread from October last year? I only ask because your recounting of
that advice does sound somewhat... brutal.



Yes. I'm certain that the first answer I got said precisely and ONLY 
that, but I can't find it in the folder now I look back. Either I'm 
going ga-ga or it was a private reply or I just nuked it in disgust. 
If that's all you have to say, why bother posting? I can't even 
remember the name of the responder now. Apologies to you as you did 
try to help - but it's not until I looked back and saw Pierre's 
message that I've made any progress.



I fairly regularly build both FPC trunk and the current release on
multiple platforms (but markedly /not/ on x86-64) and in many cases
drop libgdb from FPC since it's only required for the fp IDE. Looking
at your list of undefineds, I think the right question would have been
how can I build a vanilla libgdb that doesn't require a whole lot of
Python libraries etc.- and I'm afraid that's one for the gdb
developers rather than us.



So you're telling me that *any* program which I need to build myself 
and which pulls in libgdb is going to have all those undefineds? That 
does sound to be a bit of a shortcoming if so! I did try installing a 
bunch of Python libraries as well, but didn't get anywhere.


Anyway, I shall keep bashing away at trying to get the svn versions to 
build and install, and see whether they cure the latest problem. It 
will take me a little while to get it done, but I'll report back if I 
manage to fix it - I'm not too keen on the alternative, which is 
trying to resurrect my Fortran from umpty-mumble years ago.



Brian.

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


Re: [Lazarus] Lazarus crashing reproducibly on startup (64-bit Linux)

2012-03-19 Thread brian

On 03/19/2012 03:02 PM, Mattias Gaertner wrote:

On Mon, 19 Mar 2012 17:13:11 +
Mark Morgan Lloydmarkmll.laza...@telemetry.co.uk  wrote:


brian wrote:

On 03/18/2012 11:45 AM, Mark Morgan Lloyd wrote:

brian wrote:

I've recently switched distros to Mint Debian 12 64-bit XFCE. This
is on an AMD Phenom *4, 4 GB of RAM. When I was reinstalling stuff I
noticed that the latest version of Lazarus that they have in the
repo is 0.9.28, a bit old I know, but it works for what I do.

So I installed 0.9.28, which also brought in FPC 2.4.0-2.


Have you tried 0.9.30.4 or 0.9.31?



Yes. I downloaded the latest .DEBs from SourceForge, 0.9.30.4. The 
symptoms were unchanged.


Brian.


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


Re: [Lazarus] RE : Lazarus crashing reproducibly on startup (64-bitLinux)

2012-03-19 Thread brian

On 03/19/2012 01:34 PM, Ludo Brands wrote:

I've recently switched distros to Mint Debian 12 64-bit

XFCE. This is

on an AMD Phenom *4, 4 GB of RAM. When I was reinstalling stuff I
noticed that the latest version of Lazarus that they have

in the repo

is 0.9.28, a bit old I know, but it works for what I do.

So I installed 0.9.28, which also brought in FPC 2.4.0-2.

When I try to run Lazarus from the menus, I get the splash

screen and

then nothing, the IDE never comes up.

So, I switched to a terminal, ran startlazarus and got the

following

output.

[WARNING] Out of OEM specific VK codes, changing to unassigned
[WARNING] Out of unassigned VK codes, assigning $FF
TLazarusManager.Run starting /usr/lib/lazarus/0.9.28.2/lazarus ...
Runtime error 203 at $00736A16 $00736A16
$00720991


OK, maybe it's an old version. I downloaded the latest .DEBs from
SourceForge, and installed those. No change in the symptoms (well,
OK, I can't say the addresses were exactly the same, but the bit
about the VK codes was, and it was still a runtime error 203).

I cleaned out everything to do with Lazarus and FPC that I

could find

(using KFind to make sure I got everything) and had one

more try with

0.9.28. As expected, still the same error. I know that

0.9.28 used to

run on Mint 9 64-bit, but that was the Ubuntu-based

version, not the

Debian-based one.

Anyone have any ideas how to fix this, please?


Starting at a shell prompt, if you load Lazarus in gdb, run

it, wait

for the crash and then use GDB's bt command to get a

backtrace, do the

first few lines say anything useful?



Probably not, but this is what was produced using V0.9.28

paste

run
Starting program: /usr/bin/startlazarus
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x005a2879 in ?? ()
(gdb) bt
#0  0x005a2879 in ?? ()
#1  0x7fffe1c0 in ?? ()
#2  0x77de902c in ?? () from
/lib64/ld-linux-x86-64.so.2 #3  0x00502b31 in ?? ()
#4  0x7577dead in __libc_start_main () from
/lib/x86_64-linux-gnu/libc.so.6
#5  0x in ?? ()
(gdb)


/paste




There was a problem with ubuntu 12 and gtk (glib2-2.31). A patch was created
and committed http://bugs.freepascal.org/view.php?id=21129 . If mint 12 is
derived from ubuntu 12 you'll probably running into this problem. Try
lazarus from svn.



This is the Debian-based version of Mint. Standard Mint is 
Ubuntu-based but the Debian version is for those who prefer a rolling 
distribution. AFAIK, the current build is based on Debian Wheezy.


I've tried downloading the svn version, and there's some problem with 
libgdb.a, I can't even get FPC to build, let alone Lazarus. There are 
YARDS of undefined globals. I finally got an answer from someone on 
the FPC list (after just being told fix your GDB) and I'm trying to 
work my way through that at the moment.


Brian.


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


[Lazarus] Lazarus crashing reproducibly on startup (64-bit Linux)

2012-03-18 Thread brian
I've recently switched distros to Mint Debian 12 64-bit XFCE. This is 
on an AMD Phenom *4, 4 GB of RAM. When I was reinstalling stuff I 
noticed that the latest version of Lazarus that they have in the repo 
is 0.9.28, a bit old I know, but it works for what I do.


So I installed 0.9.28, which also brought in FPC 2.4.0-2.

When I try to run Lazarus from the menus, I get the splash screen and 
then nothing, the IDE never comes up.


So, I switched to a terminal, ran startlazarus and got the following 
output.


[WARNING] Out of OEM specific VK codes, changing to unassigned
[WARNING] Out of unassigned VK codes, assigning $FF
TLazarusManager.Run starting /usr/lib/lazarus/0.9.28.2/lazarus ...
Runtime error 203 at $00736A16
  $00736A16
  $00720991


OK, maybe it's an old version. I downloaded the latest .DEBs from 
SourceForge, and installed those. No change in the symptoms (well, OK, 
I can't say the addresses were exactly the same, but the bit about the 
VK codes was, and it was still a runtime error 203).


I cleaned out everything to do with Lazarus and FPC that I could find 
(using KFind to make sure I got everything) and had one more try with 
0.9.28. As expected, still the same error. I know that 0.9.28 used to 
run on Mint 9 64-bit, but that was the Ubuntu-based version, not the 
Debian-based one.


Anyone have any ideas how to fix this, please?


Brian.


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


Re: [Lazarus] Lazarus crashing reproducibly on startup (64-bit Linux)

2012-03-18 Thread brian

On 03/18/2012 11:45 AM, Mark Morgan Lloyd wrote:

brian wrote:

I've recently switched distros to Mint Debian 12 64-bit XFCE. This
is on an AMD Phenom *4, 4 GB of RAM. When I was reinstalling stuff I
noticed that the latest version of Lazarus that they have in the
repo is 0.9.28, a bit old I know, but it works for what I do.

So I installed 0.9.28, which also brought in FPC 2.4.0-2.

When I try to run Lazarus from the menus, I get the splash screen
and then nothing, the IDE never comes up.

So, I switched to a terminal, ran startlazarus and got the following
output.

[WARNING] Out of OEM specific VK codes, changing to unassigned
[WARNING] Out of unassigned VK codes, assigning $FF
TLazarusManager.Run starting /usr/lib/lazarus/0.9.28.2/lazarus ...
Runtime error 203 at $00736A16
$00736A16
$00720991


OK, maybe it's an old version. I downloaded the latest .DEBs from
SourceForge, and installed those. No change in the symptoms (well,
OK, I can't say the addresses were exactly the same, but the bit
about the VK codes was, and it was still a runtime error 203).

I cleaned out everything to do with Lazarus and FPC that I could
find (using KFind to make sure I got everything) and had one more
try with 0.9.28. As expected, still the same error. I know that
0.9.28 used to run on Mint 9 64-bit, but that was the Ubuntu-based
version, not the Debian-based one.

Anyone have any ideas how to fix this, please?


Starting at a shell prompt, if you load Lazarus in gdb, run it, wait
for the crash and then use GDB's bt command to get a backtrace, do the
first few lines say anything useful?



Probably not, but this is what was produced using V0.9.28

paste

run
Starting program: /usr/bin/startlazarus
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x005a2879 in ?? ()
(gdb) bt
#0  0x005a2879 in ?? ()
#1  0x7fffe1c0 in ?? ()
#2  0x77de902c in ?? () from /lib64/ld-linux-x86-64.so.2
#3  0x00502b31 in ?? ()
#4  0x7577dead in __libc_start_main () from 
/lib/x86_64-linux-gnu/libc.so.6

#5  0x in ?? ()
(gdb)


/paste


Brian.



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


[Lazarus] repository error

2011-09-18 Thread brian
Not sure whether this is the right place to post this, or whether 
anyone cares about it, but my update manager has been failing for a 
couple of weeks now, I'm running Linux Mint 9 64-bit, the error 
message is


Failed to fetch 
http://www.hu.freepascal.org/lazarus/dists/lazarus-stable/universe/binary-amd64/Packages.bz2 
 Hash Sum mismatch



Brian.

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


Re: [Lazarus] repository error

2011-09-18 Thread brian

On 09/18/2011 01:55 PM, Vincent Snijders wrote:

2011/9/18 brianbr...@meadows.pair.com:

Not sure whether this is the right place to post this, or whether anyone
cares about it, but my update manager has been failing for a couple of weeks
now, I'm running Linux Mint 9 64-bit, the error message is

Failed to fetch
http://www.hu.freepascal.org/lazarus/dists/lazarus-stable/universe/binary-amd64/Packages.bz2
  Hash Sum mismatch


Thanks for reporting.

I think I fixed it.



Hi Vincent,

Just to confirm an apt-get update now completes without errors.

Thanks,

Brian.



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


Re: [Lazarus] Problems with the v0.9.30 AMD 64 DEBs on Sourceforge

2011-04-08 Thread brian

On 04/07/2011 01:31 PM, Flávio Etrusco wrote:

...


You could use the lazarus repository for debian/ubuntu:
http://wiki.lazarus.freepascal.org/Lazarus_release_version_for_Ubuntu



At the point at which I started trying to do the installation, the 
repositories were still offering 0.9.28-2



Brian.

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


[Lazarus] Problems with the v0.9.30 AMD 64 DEBs on Sourceforge

2011-04-05 Thread brian

Hi all,

I downloaded and installed the AMD 64 DEBs from Sourceforge, cleaned 
off my 0.9.28 setup onto DVD and then installed v0.9.30 from scratch. 
The process has been a bit fraught. :( This is all using Linux Mint 9, 
which is a fork from Ubuntu.


The first problem was that installing the DEBs gives a couple of 
unresolved dependencies, basically the QT4 stuff. Don't use QT4, so I 
can ignore that, Lazarus still started up OK after a apt-get -f, so no 
worries there.


Next thing missing was one package, pack_powerpdf or something like 
that, but I knew I'd seen that in the CCR, so no problems, download 
and install that. Then there were a few file and directory permissions 
to be changed.


Now the problem which has got me stuck - trying to rebuild Lazarus 
from within the IDE, I get an error


/usr/lib/lazarus/0.9.30/ide/idecmdline.pas(1,1) Fatal: Can't find unit 
exploreidemenu used by Lazarus


This is NOT some kind of mangled path problem - I used Dolphin to do a 
*case-insensitive* search of my *entire* file system for exploreidemenu.*


No files were found.

So, my question - I did, yes **I DID**, install all the .DEBs within 
those two files on Sourceforge, including both the FPC and the Lazarus 
sources. I don't want to end up with an incompatible set of sources, 
and I've not enough experience with Lazarus to want to work through 
building everything from an SVN download. Does anyone know if/where I 
can get a set of the sources used to build the release of Lazarus 
that's available on Sourceforge, so that I can try to fix the problem 
myself?



Thanks,

Brian.



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


Re: [Lazarus] Problems with the v0.9.30 AMD 64 DEBs on Sourceforge

2011-04-05 Thread brian

Hi Mattias,

On 04/05/2011 06:48 AM, Mattias Gaertner wrote:

brian br...@meadows.pair.com hat am 5. April 2011 um 11:11 geschrieben:

  Hi all,
 
  I downloaded and installed the AMD 64 DEBs from Sourceforge, cleaned
  off my 0.9.28 setup onto DVD and then installed v0.9.30 from scratch.
  The process has been a bit fraught. :( This is all using Linux Mint 9,
  which is a fork from Ubuntu.
 
  The first problem was that installing the DEBs gives a couple of
  unresolved dependencies, basically the QT4 stuff. Don't use QT4, so I
  can ignore that, Lazarus still started up OK after a apt-get -f, so no
  worries there.

Perhaps you tried to install the

lcl-qt4-0.9.30_0.9.30-0_i386.deb

?



Unquestionably. As you know, the files on SourceForge unpack to 19 
.debs (FreePascal) and 13 .debs (Lazarus) with no indication as to 
whether there's any particular order in which to install them. I just 
took the unsubtle approach, unpacked each into their own subdirectory 
and then ran a couple of sudo dpkg -i *.deb, first on the FreePascal 
directory and then on the Lazarus directory, figuring that if there 
was any sensitivity as to the installation order, the second pass 
would probably fix it.






  Next thing missing was one package, pack_powerpdf or something like
  that, but I knew I'd seen that in the CCR, so no problems, download
  and install that. Then there were a few file and directory permissions
  to be changed.

Can you give some more details?

Maybe this can be added to the installation hints.



I'm afraid I didn't keep a note of them. I do remember that there was 
an x86_64-linux somewhere in the path, but that won't come as too much 
of a surprise to you. :) Since I'm the only user of this PC, I just 
said the hell with it, did a recursive chown on

/usr/lib/lazarus  and had no further problems.



The unit Exploreidemenu is an example package (examples/exploremenu).
It is not installed by default. Problably you had it installed in a
former version and the IDE tried to restore your old set of packages.



It's hard for me to prove a negative, but I really did take pains to 
remove the old version - I did an apt-get purge on both fpc and 
lazarus, and then did a search on both and removed anything else I 
could find.



The debian package maintainer has set all packages (lpk files) to
compile manually, even those that the debian packages not provided
in compiled form (ppu files).

Either uninstall the package exploreidemenu or open the package and
compile it manually.



I will give that a try, thanks.



On Sourceforge are debs, rpms and zip. The zip contains only the sources.



Ah. I'd missed the zip file. Thanks for the pointer.


Brian.

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


Re: [Lazarus] Problems with the v0.9.30 AMD 64 DEBs on Sourceforge

2011-04-05 Thread brian

On 04/05/2011 09:20 AM, Mattias Gaertner wrote:

brian br...@meadows.pair.com hat am 5. April 2011 um 14:54 geschrieben:

 ...

The dpkg is clever enough to order the packages automatically.

Unfortunately the debian packages are made for repositories, which is
somewhat awkward for downloaders.

OTOH if you use repositories the debian packages are really great.



The repositories configured for Mint are still offering 0.9.28-2.



The old lazarus stored your user configs in ~/.lazarus. There is also
the list of your installed packages. This list is applied when you
rebuild the IDE.



I just checked the timestamps in that directory, and of course you're 
correct. Obviously apt-get's attempt to purge the configuration files 
from the previous installation was a bit short of comprehensive. I 
should have thought of a hidden directory and checked... :(




Eventually there should be a check and a dialog to help migrating old
package sets. Although I'm not sure how this should work.



The one thing I did note is that I had the 'build lazarus' 
configuration set to NOT do anything with the examples.



Brian.


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


[Lazarus] fpchess

2011-03-17 Thread Brian Chalega da Silva

To communicate with internet chess servers that are compatible with ICC/FICS I 
know zippy
but it is for engines, and not for human players, the code are embedded in the 
xbord/winboard interfaces:
http://tim-mann.org/zippy.html
(and, of course, it is not written in Pascal)
But the software behind FICS is free software, and many interfaces are free too.

I will try to improve the project but I'm still a newbie in Lazarus.

And I don't know if I should do that but I comment the line {$R *.res} to make
the program to compile, I'm using Fedora 14 64bits. I guess you compiled in 
windows, right?.

Regards,

Brian Chalega da Silva


 Date: Thu, 17 Mar 2011 10:23:11 +0100
 Subject: Re: [Lazarus] fpchess
 From: felipemonteiro.carva...@gmail.com
 To: brianchal...@hotmail.com
 
 On Wed, Mar 16, 2011 at 6:53 PM, Brian Chalega da Silva
 brianchal...@hotmail.com wrote:
  The compiler don't find the TUNBPage component.
 
 Rename it to TPage in the pas file and in the LFM file
 
 The same for TUntabbedNotebook - TNotebook
 
  Would be more difficult, but I think that will be necessary to add 
  connection with
  one server like FICS or ICC to make this program more atractive.
 
 You mean one of those internet chess servers? I read that this is an
 option, but I couldn't find any documentation about how to communicate
 with them.
 
 -- 
 Felipe Monteiro de Carvalho
  --
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] fpchess

2011-03-16 Thread Brian Chalega da Silva

Hi, I read here: 
http://wiki.lazarus.freepascal.org/Free_Pascal_Application_Suite
About the fpChess an chess application under development by Felipe Monteiro 
de Carvalho,
but I don't find information about that in anywhere else, this project still 
exist?


Regards.
Brian Chalega
  --
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] fpchess

2011-03-16 Thread Brian Chalega da Silva

I'm having this problem: 
http://forum.lazarus.freepascal.org/index.php?topic=12148.0
The compiler don't find the TUNBPage component.

Also I had to add the class Process in the uses clause of the chesstcputils.

Would be more difficult, but I think that will be necessary to add connection 
with
one server like FICS or ICC to make this program more atractive.

Thanks for the reply,
Brian Chalega.


 Date: Wed, 16 Mar 2011 09:54:32 +0100
 Subject: Re: [Lazarus] fpchess
 From: felipemonteiro.carva...@gmail.com
 To: lazarus@lists.lazarus.freepascal.org
 CC: brianchal...@hotmail.com
 
 I put a link where you can download it here:
 
 http://wiki.lazarus.freepascal.org/fpChess
 
 I started writing it, but at some point got stuck trying to implement
 internet playing and recently I've been very busy at work, so I had no
 time for anything...
 
 You can download and build it and check what is missing. I think that
 the drawing is implemented, and even basic piece moving, although
 probably without restrictions. patches are welcome =)
 
 -- 
 Felipe Monteiro de Carvalho
  --
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] VK codes error message

2011-03-14 Thread brian
I have a fairly simple Lazarus program, just a few edit boxes on a 
form to enter some filenames and then it's doing a bunch of simple 
manipulations on a text file.


Using Linux Mint 9 (a fork from Ubuntu), Free Pascal 2.4.0 and Lazarus 
0.9.28.2, all 64-bit versions, when I run the program from konsole 
(run from within GNOME) I get the following messages, before the 
program (appears to?) run correctly



[WARNING] Out of OEM specific VK codes, changing to unassigned
[WARNING] Out of unassigned VK codes, assigning $FF


Can anyone tell me what's going on? The only things I can find about 
VK codes pertain to Windows.



Thanks,


Brian.

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


Re: [Lazarus] Tagging 0.9.30

2011-02-22 Thread Brian Prentice
Vincent,

Does this proposed new release run all the included examples on all the 
supported operating systems correctly?
I am particularly interested in the Mac OS X i386 version.

Brian Prentice

On Feb 22, 2011, at 4:51 AM, Vincent Snijders wrote:

 Hi,
 
 The last call for testing on the Lazarus list didn't reveal any
 important new issues, I propose to tag the current fixes_0_9_30 branch
 without any further additions for the 0.9.30 release tonight or
 tomorrow. Any objections?
 
 Vincent
 
 --
 ___
 Lazarus mailing list
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


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


Re: [Lazarus] Project conversion Delphi - FreePascal: success!

2011-01-08 Thread brian

On 01/05/2011 10:18 PM, waldo kitty wrote:

On 1/5/2011 12:33, Micha Nelissen wrote:

Bo Berglund wrote:

2) The fortran code failed to translate when it turned out that
Fortran could change the type of a matrix multiplication depending on
the dimensions of the two input matrices.


You couldn't translate the code or the function declarations?
Calling the
fortran code from freepascal might be possible, then you don't have
to translate
the code itself, just call it.


this was discussed but IIRC it seemed that determining the proper
calling procedures came up... if the library wasn't callable in
pascal or C format or some such... one would need to be able to
compile those libraries in a FPC/Lazarus compatible format for the
normal callouts (is that the proper term) to work... since this
was hard to do (ie: no compiler with this capability??) it was looked
into that those routines could be recoded in pascal format... this too
has not been able to be done because there's no available FORTRAN -
PASCAL coder who can make the conversion...



Many moons ago, when I was writing projects in both FORTRAN and Pascal 
on a DEC PDP-11, the limitations of the hardware were such that we 
used to have to compile to assembler and then patch breakpoints into 
the code in order to debug it.


Things have almost certainly changed since those days, but I do 
remember that while the Pascal compiler we used pushed and popped 
parameters via the stack, as you would expect, the FORTRAN compiler 
instead pointed a register at a parameter list in memory.


The compilers then were DEC's FORTRAN-IV-PLUS and Oregon Pascal, which 
DEC later bought and renamed RSX Pascal.


I also had to do some digging into assembly language listings from 
Hewlett-Packard's FORTRAN-1000 compiler running under RTE-A, and found 
that used the same technique, passing a pointer to a parameter list 
via a register.


This is all ancient history now, I'm talking about back in the 1980s, 
but it may be relevant to doing parameter list conversions. I don't 
know how much of my FORTRAN I can remember, but I do know that 
mismatched COMMON blocks were a superb way of having your program 
disappear up its own CPU stack, I ended up putting in place a standard 
whereby all COMMON blocks had to be declared in an INCLUDE file, so 
that there was no possibility of mismatches.


FORTRAN's parameter and type checking made C (note, no ++) look good.


Brian.



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


Re: [Lazarus] Message dialogs in Lazarus

2010-12-19 Thread Brian Prentice
Vincent,

That is a ridiculous statement and is one of the main reasons  why this project 
is such a miserable failure.  All formal releases should be stable.  What is 
needed is a comprehensive test suit that covers all features of Lazarus.  This 
test software should be used for regression testing and run on all platforms 
whenever new features are added. Also new tests should be added to the suit to 
test these new features. If this is done all that is required is to obtain a 
clean run of this test suit on all platforms before each formal release.  As a 
bonus the test suit should be included with each release to provide clear 
examples of how to use Lazarus.

The other main reason why this project is going nowhere is because the stated 
goal to write once and compile everywhere is completely incompatible with the 
desire to follow the native interface and design guidelines of each operating 
system that is supported.

The project is further badly hindered by the stubborn  refusal of the designers 
to implement Layout Managers.

Brian Prentice 

On Sun 19/12/10 06:40 , Vincent Snijders vincent.snijd...@gmail.com sent:

2010/12/18 Graeme Geldenhuys graemeg.li...@gmail.com:
 To Vincent,

 This is the exact thing I am talking about. Saying a stable release
 is a few weeks away, things like this should not be happening in
 Trunk. The mailing list is full of such reports.


I guess I am eager to release when it is ready. If it is ready, I
don't want to wait for weeks to be sure it is stable.

Vincent


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


[Lazarus] Error message

2010-07-22 Thread Brian Smart
Hi,

I get the following error message when I try to run a test program:

 

C:\Lazarus\LcL\forms.pp(45,3) Error: source not found: unit
C\Lazarus\fpc\2.2.4\units\i386-win32\flc-base\gettext.ppu

 

The file referred to gettext.ppu is in the folder indicated by the error
message.

How do I resolve this error?

 

Thanks for your help.

 

Brian Smart

 

 

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


[Lazarus] Resolve an error message

2010-07-22 Thread Brian Smart
Hi,

When I try to add an event to a  button added to my program, I get the
following error message:

 

C:\Lazarus\LcL\forms.pp(45,3) Error: source not found: unit
C\Lazarus\fpc\2.2.4\units\i386-win32\flc-base\gettext.ppu

 

The file indicated is in the directory listed.

How to I resolve this error?

 

Thanks

 

BrianS

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


Re: [Lazarus] Embedded database for Lazarus/Linux

2010-06-17 Thread brian
Michael Van Canneyt wrote:
 
 
 On Wed, 16 Jun 2010, brian wrote:
 
 Birger Jansen wrote:
 Something like Firebird Embedded?

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


 It seems not. Quoting from the first line of the introduction

 Currently, fb_embedded2.pas works only on Windows.

 As per my post, I already know the answer if I have to use Windows.
 I'm looking for something which works under ***Linux***.
 
 I don't know where you read it, but it's definitely false.
 or outdated. firebird embedded works on linux, windows, mac.
 

Follow the link which Birger sent me (above). The introduction is
right near the top of the Wiki article.

But anyway, if you say it works, OK, I'll give FB embedded a try.


Brian.


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


[Lazarus] Embedded database for Lazarus/Linux

2010-06-16 Thread brian
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

I suspect I already know the answer to this, but is anyone aware of an
*embedded* database for Lazarus and Linux, similar to NexusDB for
Delphi and Windows for example (http://www.nexusdb.com)? The need is
to be able to distribute a database application as a single program,
no installation of MySQL or similar can be assumed.

Thanks,

Brian.



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkwYuxMACgkQDLwN6j3kblbgfQCfeEzsFQ3R0s1EgAkS+MyoRuZ1
GQ4AoMt3BN8QvVPh2wS4ZO0HkfCJT4ph
=THc6
-END PGP SIGNATURE-

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


Re: [Lazarus] Embedded database for Lazarus/Linux

2010-06-16 Thread brian
Henry Vermaak wrote:
 On 16 June 2010 12:53, brian br...@meadows.pair.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi all,

 I suspect I already know the answer to this, but is anyone aware of an
 *embedded* database for Lazarus and Linux, similar to NexusDB for
 Delphi and Windows for example (http://www.nexusdb.com)? The need is
 to be able to distribute a database application as a single program,
 no installation of MySQL or similar can be assumed.
 
 Try sqlite.  It's completely free and only requires one dll (afaik).
 

Well, sqlite does at least have a Linux distribution! Thanks - I'll do
a bit of digging.


Brian.



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


Re: [Lazarus] Misleading error message

2010-02-27 Thread brian

Mattias Gaertner wrote:

On Fri, 26 Feb 2010 17:33:30 -0500
brian br...@meadows.pair.com wrote:


Hi all,

Since it seems I have some kind of compatibility problem preventing my 
using mantis, I'm going to describe what seems at least a VERY 
misleading error message, if not actually a bug. Hopefully someone 
associated with the software will notice it.


I'm using Lazarus 64-bit v 0.9.28.2-0 beta (so it says) and FPC 2.2.4 
under Kubuntu 9.1, BTW. I know it's old, but that's apparently the 
latest that has been packaged for 64-bit Kubuntu.


I should also say that I started with computers in the mid-1970s, so I 
have some archaic ways of doing things. :) One of those is putting an 
include file with some global definitions in ALL of my source units, 
and I include it with an absolute path, 
/home/brian/sources/Lazarus/defines.inc to be exact.


I changed a $define in there a few days ago, and when I next compiled 
the project, I got a dialog pop up stating that the include file 
couldn't be found. Huh? *Of course* it was there...


After much head-scratching, I looked carefully through the file, and
found that I must have used the scroll wheel on my mouse, because 
pasted in the middle of the include file was a chunk of obviously 
invalid text (the scroll wheel acts as the center button, and if I 
press rather than scroll, it does a 'paste').


I deleted the text, and all was back to normal, but that's the 
problem. An obvious syntax error in an include file, instead of 
generating an error, pops up a dialog saying that there's no such 
include file. In my case, it looked to the compiler like an identifier 
when 'interface' was expected. It would be an improvement to have no 
pop-up dialog at all, then I would have looked at the underlying 
messages, and found the syntax error.


Please create a FPC bug report and add a small example. This way it
will be fixed soon.



Please read again the first sentence of my posting. I have forwarded 
you more details via private e-mail.




Brian.

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


[Lazarus] Misleading error message

2010-02-26 Thread brian

Hi all,

Since it seems I have some kind of compatibility problem preventing my 
using mantis, I'm going to describe what seems at least a VERY 
misleading error message, if not actually a bug. Hopefully someone 
associated with the software will notice it.


I'm using Lazarus 64-bit v 0.9.28.2-0 beta (so it says) and FPC 2.2.4 
under Kubuntu 9.1, BTW. I know it's old, but that's apparently the 
latest that has been packaged for 64-bit Kubuntu.


I should also say that I started with computers in the mid-1970s, so I 
have some archaic ways of doing things. :) One of those is putting an 
include file with some global definitions in ALL of my source units, 
and I include it with an absolute path, 
/home/brian/sources/Lazarus/defines.inc to be exact.


I changed a $define in there a few days ago, and when I next compiled 
the project, I got a dialog pop up stating that the include file 
couldn't be found. Huh? *Of course* it was there...


After much head-scratching, I looked carefully through the file, and
found that I must have used the scroll wheel on my mouse, because 
pasted in the middle of the include file was a chunk of obviously 
invalid text (the scroll wheel acts as the center button, and if I 
press rather than scroll, it does a 'paste').


I deleted the text, and all was back to normal, but that's the 
problem. An obvious syntax error in an include file, instead of 
generating an error, pops up a dialog saying that there's no such 
include file. In my case, it looked to the compiler like an identifier 
when 'interface' was expected. It would be an improvement to have no 
pop-up dialog at all, then I would have looked at the underlying 
messages, and found the syntax error.



Brian.

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


Re: [Lazarus] Installing Lazarus

2009-11-16 Thread Brian Smart
Hi,
Thanks for all the help re the installation of Lazarus. All OK now.
Regards

Brian Smart


-Original Message-
From: John vd Waeter [mailto:j...@jvdw.nl] 
Sent: 16 November 2009 11:33
To: Lazarus mailing list
Subject: Re: [Lazarus] Installing Lazarus

Hi Brian,

I had the about the same problem... found this one:

http://unplugd.com/install_lazarus.html

but not sure if its completely ok..

Also make sure you don't have older versions of lazarus or older 
versions of settings .lazaraus in homedir hanging around

goodluck,
John


Brian Smart wrote:
 Hi,
 
 As a new Linux user with Ubuntu 9.04, I am trying to install Lazarus.
 
 I am becoming totally confused. Can somebody explain in simple steps, 
 exactly what I need to do, including the installation of any required 
 packages. I have looked on the list but all the instructions seen to 
 assume that the reader is an experienced Linux user.
 
 Thanks for your help.
 
  
 
 Brian
 
  
 
 
 
 
 --
 ___
 Lazarus mailing list
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


-- 
John vd Waeter
www.jvdw.nl
www.gps-carpool.net
www.shotinthedark.nl
www.pdaforms.nl
www.dbapocket.nl

j...@jvdw.nl

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



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


Re: [Lazarus] Lazarus Goal

2009-11-12 Thread Brian Prentice
My point about showing the differences in the dialogs, one acceptable  
and one clearly not acceptable, is that the solution seems to require  
the construction of two dialogs one for OS X and one for WindowsXP.   
Perhaps I'm wrong here but if I'm right this violates the Lazarus and  
FPC goal of write once. I don't want to start a war here but as you  
probably know Java has solved this problem nicely with layout  
managers.  If layout managers were implemented in Lazarus the IDE  
would also be simpler, an additional advantage.


Earlier in this thread it was stated that when designing an  
application consideration should be given to the differences in the  
underlying operating systems.  This might be true but if you do this  
you severly weaken the stated goal which would then read something like:


'Lazarus and Free Pascal aim to be write once, compile anywhere for  
those programs which only use the supported operating system features  
that share a common design'.


Surely a better approach for Lazarus and FPC is to hide operating  
system difference from users.


Brian

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


[Lazarus] Lazarus Goal

2009-11-11 Thread Brian Prentice
Is this statement 'Lazarus and Free Pascal aim to be write once,  
compile anywhere' still a goal? If so can someone please provide me  
with the source code of a non trivial program which runs on Windows,  
Linux and OS X (Intel) using the current stable software available at


http://sourceforge.net/projects/lazarus/files/

Brian Prentice

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


Re: [Lazarus] Lazarus Examples

2009-11-11 Thread Brian Prentice

Here is the result of opening the first example address_book

http://linuxenvy.com/bprentice/Lazarus/Snapshot%202009-11-11%2006-18-48.jpg

Brian

On Nov 11, 2009, at 6:09 AM, Vincent Snijders wrote:


Brian Prentice schreef:
I have recently installed fpc 2.2.4 and lazarus 0.9.28.2 on my  
intel mac which is running OS X 10.5.8 from here:

http://sourceforge.net/projects/lazarus/files/
Included with this software are examples which are installed in  
directory

/Developer/lazarus/examples.
I've tried some of these examples and those that I've tried don't  
work!
Can someone please tell me which examples should work,  which  
examples require modification to get them to work and which  
examples will not work.


In general all example in that directory should work.

What error messages do you get? What problems do you have?

Vincent

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



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


Re: [Lazarus] Lazarus Examples

2009-11-11 Thread Brian Prentice
Thank you for your replies on this matter.   No one addressed the  
underlying problem here.  I believe that all the examples should be  
run prior to a major release and those that do not run should be  
removed.  This should be a significant part of regression testing.   
This was clearly not done on the Intel Mac version and from your  
replies has never been done for this version.


My original request repeated below remains unanswered.

I have recently installed fpc 2.2.4 and lazarus 0.9.28.2 on my intel  
mac which is running OS X 10.5.8 from here:


http://sourceforge.net/projects/lazarus/files/

Included with this software are examples which are installed in  
directory


/Developer/lazarus/examples.

I've tried some of these examples and those that I've tried don't work!

Can someone please tell me which examples should work,  which examples  
require modification to get them to work and which examples will not  
work.


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


Re: [Lazarus] Lazarus Goal

2009-11-11 Thread Brian Prentice


On Nov 11, 2009, at 6:18 AM, Vincent Snijders wrote:

I don't believe that Lazarus is an example.  Here is a program that  
Compiles and runs under Windows XP and compiles but does not run under  
OS X on an Intel Mac.


http://linuxenvy.com/bprentice/Lazarus/LazarusSquareCell.zip

I suspect that there are many more examples.

Brian


2009/11/11 Brian Prentice bprent...@webenet.net:
Is this statement 'Lazarus and Free Pascal aim to be write once,  
compile
anywhere' still a goal? If so can someone please provide me with  
the source
code of a non trivial program which runs on Windows, Linux and OS X  
(Intel)

using the current stable software available at

http://sourceforge.net/projects/lazarus/files/


One of the them is Lazarus, download the source from
http://sourceforge.net/projects/lazarus/files/ :-)

Vincent

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



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


Re: [Lazarus] Latest version of Lazarus for Mandriva 2008.0?

2009-11-01 Thread brian

Vincent Snijders wrote:

brian schreef:



Thanks, Vincent, but unfortunately getting GTK 2.8 to build also 
requires a whole bunch of upgrades - it needs a later GLIB than I have 
for starters, and it all cascades down from there.


What version of gtk 2.x and gtk 1.x is installed on your system?



2.4 and 1.2


Brian.

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


Re: [Lazarus] Latest version of Lazarus for Mandriva 2008.0?

2009-11-01 Thread brian

Vincent Snijders wrote:

brian schreef:

Vincent Snijders wrote:

brian schreef:



Thanks, Vincent, but unfortunately getting GTK 2.8 to build also 
requires a whole bunch of upgrades - it needs a later GLIB than I 
have for starters, and it all cascades down from there.


What version of gtk 2.x and gtk 1.x is installed on your system?



2.4 and 1.2


Then you have the option to use gtk1 and compile Lazarus with:
make all LCL_PLATFORM=gtk



Thank you. I will give it a whirl.


Brian.

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


[Lazarus] Latest version of Lazarus for Mandriva 2008.0?

2009-10-31 Thread brian


I have a PC which seems to have some strange feature whereby versions 
of the Linux kernel newer than 2.6.22.19 will give clusters of NMIs 
because it thinks my CPU is in some strange mode (so the error message 
tells me). Mandriva's tech support have given up on the problem, and 
told me to flag it as a kernel bug, which I've done, but it means that 
my planned upgrade is a non-starter, and I'm locked into Mandriva 
2008.0 (even 2008.1 will cause the problem). I tried the latest 
version of Mint as an alternative, but the same problem occurs.


So, a simple question. Does anyone know what would be the latest 
version of Lazarus and Free Pascal that I can run? Yes, there *is* a 
limit - for example, I tried to install WINE, and couldn't do so 
without the installer wanted to wipe out half of my base KDE setup as 
part of the upgrade. :( Trying to install the latest Lazarus caused 
the same type of problem.


Thanks,

Brian.

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