Re: [Lazarus] Installing Lazarus on Raspbian Jessie on a Pi2B?

2015-10-03 Thread Mark Morgan Lloyd

Bo Berglund wrote:

On Sat, 03 Oct 2015 10:20:39 +, Mark Morgan Lloyd
 wrote:

Have you sorted out your earlier problems understanding what can be done 
over SSH etc.?



I did all of the installation of fpc-lazarus-vnc on the command line
using PuTTY over SSH.
When I was in the USA I also connected back home (other side of the
Atlantic) using OpenVPN (server is a Pi) then connected PuTTY again to
the remote Pi and installed VNC. Then I connected the desktop via VNC
over the VPN tunnel.
All worked very well.


Good. You might find that some X11 programs (including some versions of 
Lazarus) are significantly faster over VNC than over a remote X11 link 
(i.e. tunnelled over SSH, or set up using XDMCP). This usually happens 
because something starts polling input devices more rapidly than is 
reasonable, and VNC effectively caches things.


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

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

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


Re: [Lazarus] Installing Lazarus on Raspbian Jessie on a Pi2B?

2015-10-03 Thread Bo Berglund
On Sat, 03 Oct 2015 10:20:39 +, Mark Morgan Lloyd
 wrote:

>Have you sorted out your earlier problems understanding what can be done 
>over SSH etc.?
>
I did all of the installation of fpc-lazarus-vnc on the command line
using PuTTY over SSH.
When I was in the USA I also connected back home (other side of the
Atlantic) using OpenVPN (server is a Pi) then connected PuTTY again to
the remote Pi and installed VNC. Then I connected the desktop via VNC
over the VPN tunnel.
All worked very well.

-- 
Bo Berglund
Developer in Sweden


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


Re: [Lazarus] Installing Lazarus on Raspbian Jessie on a Pi2B?

2015-10-03 Thread Mark Morgan Lloyd

Bo Berglund wrote:

On Fri, 02 Oct 2015 21:45:50 +, Mark Morgan Lloyd
 wrote:

If you have problems with gtk2, I suggest also trying with Qt which will 
require the libqt4pas-dev (Debian) package. Please keep us updated since 
you're the local expert: I didn't even know that Raspbian had progressed 
to Jessie, and am far too busy to play with it at the moment.



Just to update:
After changing to Raspbian Wheezy the tutorial I linked to worked fine
and I now have fpc 3.1.1 and Lazarus trunk installed from sources
retrieved with svn. :)


Well done :-)

I intermittently run Lazarus on a range of architectures from ARM to 
x86_64 using Linux and (where appropriate) Solaris, and it's rare to 
find any significant differences between them. Maintaining code that 
also has to run on Windows can be a bit more difficult, and having 
something that will compile on either Lazarus or Delphi benefits from a 
cautious approach.


Have you sorted out your earlier problems understanding what can be done 
over SSH etc.?


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

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

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


Re: [Lazarus] Installing Lazarus on Raspbian Jessie on a Pi2B?

2015-10-03 Thread Mark Morgan Lloyd

Bo Berglund wrote:

On Fri, 02 Oct 2015 21:54:40 +, Mark Morgan Lloyd
 wrote:

Go back to discussion in The Other Place and start off with the right 
FPC binary. Once you've got it you can recompile FPC if you like (I 
prefer to), then once you're happy with that compiling Lazarus is a 
no-brainer /provided/ that you have enough RAM+swap set up.


I assumed that by "The Other Place" you meant the free-pascal.general
mailing list/newsgroup (I am using the Gmane news mirror) so I went
there and tried to find something regarding this but failed.

Could you specify the subject of the thread please?


See http://lists.freepascal.org/pipermail/fpc-pascal/2015-August/045156.html

Now that was when I was starting off with "Wheezy" dated 2014, which had 
some library problems which were not apparent with one dated 2015. So 
get the binaries tailored for the Rpi from the link I've given, if you 
want to recompile (e.g. from Subversion) don't put in the -FL and -Fl 
options until you need them.


After installation, check that there's a symlink in /usr/local/bin 
pointing to your new compiler (expect this to be in something like 
/usr/local/lib/fpc/3.0.1 if building the v3 release candidate).


Get the Lazarus source, but make sure you have enough memory before 
trying to build using  make bigide  or whatever. If the IDE appears to 
give problems with gtk2 try Qt, shout here if that doesn't make 
immediate sense to you.


It's fairly painless, but as you'll see people saying on a regular basis 
you've either got to start off with the right binaries for the RPi or 
you've got to cross-build them yourself.


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

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

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


Re: [Lazarus] Installing Lazarus on Raspbian Jessie on a Pi2B?

2015-10-03 Thread Bo Berglund
On Fri, 02 Oct 2015 21:45:50 +, Mark Morgan Lloyd
 wrote:

>If you have problems with gtk2, I suggest also trying with Qt which will 
>require the libqt4pas-dev (Debian) package. Please keep us updated since 
>you're the local expert: I didn't even know that Raspbian had progressed 
>to Jessie, and am far too busy to play with it at the moment.
>
Just to update:
After changing to Raspbian Wheezy the tutorial I linked to worked fine
and I now have fpc 3.1.1 and Lazarus trunk installed from sources
retrieved with svn. :)


-- 
Bo Berglund
Developer in Sweden


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


Re: [Lazarus] Installing Lazarus on Raspbian Jessie on a Pi2B?

2015-10-03 Thread Bo Berglund
On Fri, 02 Oct 2015 22:11:48 +0200, Bo Berglund
 wrote:

>On Fri, 02 Oct 2015 18:49:23 +0200, Bo Berglund
> wrote:
>
>>Will Lazarus/FPC run properly on a Raspberry Pi2B with Raspbian
>>Jessie?
>>
>Just to complete my inquiry here is a link to a setup guide:
>http://www.tweaking4all.com/hardware/raspberry-pi/install-lazarus-pascal-on-raspberry-pi-2/
>
>But it is specifically said to be working on Raspbian Wheezy. The
>tutorial was written before Raspbian Jessie was out, though, so the
>reservations in the tutorial might be against other distros different
>from Raspbian. But I don't know this so I would like to find out if I
>should downgrade to Wheezy?
>Or if the installation procedure will work also on Jessie...

I will answer myself:
--
After a number of hours spent in vain to install in Raspbian Jessie I
reverted to Raspbian Wheezy from May 5, 2015 and with that the
tutorial linked to above works just fine!
So the problems I had was caused by me using the wrong version of
Raspbian!

I now have Lazarus running with FPC 3.1.1 on my Raspberry Pi2B and I
can access the desktop if need be using VNC.

All so far seems to work fine (only made a small Hello world program
to chack that it does work).

The tutorial describes installing averything from sources downloaded
using subversion, so I guess that means I now have the bleeding edge
trunk version of both fpc and lazarus for ARM. :)


-- 
Bo Berglund
Developer in Sweden


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


Re: [Lazarus] Installing Lazarus on Raspbian Jessie on a Pi2B?

2015-10-02 Thread Bo Berglund
On Fri, 02 Oct 2015 23:48:05 +0200, Bo Berglund
 wrote:

>Executing command "/usr/local/bin/plex h2pas/scan.l h2pas/scan.pas"
>The installer encountered the following error:
>External command "/usr/local/bin/plex h2pas/scan.l h2pas/scan.pas"
>failed with exit code 256. Console output:
>TP Lex Version 4.1a [April 2000], Copyright (c) 1990-2000 Albert Graef
>
>FATAL: cannot open file /usr/lib/fpc/lexyacc/yylex.cod

I went looking for /usr/lib/fpc/lexyacc/yylex.cod and found that the
directory /usr/lib/fpc did not even exist!

Is that part of the install of fpc 2.6.4 for arm???
If so why is it missing?
Otherwise did I get the wrong compiler to compile trunk with?
It was retrieved thusly:
wget
http://sourceforge.net/projects/freepascal/files/Linux/2.6.4/fpc-2.6.4.arm-linux.tar


-- 
Bo Berglund
Developer in Sweden


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


Re: [Lazarus] Installing Lazarus on Raspbian Jessie on a Pi2B?

2015-10-02 Thread Bo Berglund
On Fri, 02 Oct 2015 21:54:40 +, Mark Morgan Lloyd
 wrote:

>Go back to discussion in The Other Place and start off with the right 
>FPC binary. Once you've got it you can recompile FPC if you like (I 
>prefer to), then once you're happy with that compiling Lazarus is a 
>no-brainer /provided/ that you have enough RAM+swap set up.

I assumed that by "The Other Place" you meant the free-pascal.general
mailing list/newsgroup (I am using the Gmane news mirror) so I went
there and tried to find something regarding this but failed.

Could you specify the subject of the thread please?


-- 
Bo Berglund
Developer in Sweden


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


Re: [Lazarus] Installing Lazarus on Raspbian Jessie on a Pi2B?

2015-10-02 Thread Bo Berglund
On Fri, 02 Oct 2015 23:53:45 +0200, Bo Berglund
 wrote:

>As I already posted I followed the tutorial and got to a make error
>basically complaining about a missing file in the fpc source tree.
>This is in the first make command in the tutorial where fpc trunk is
>going to be built from sources using fpc 2.6.4 for arm-linux.
>
>This is a problem I have no chance to fix

BTW, should I post this problem on the fpc list instead of here?
It seems to be an fpc build problem, Lazarus has not yet been
downloaded...



-- 
Bo Berglund
Developer in Sweden


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


Re: [Lazarus] Installing Lazarus on Raspbian Jessie on a Pi2B?

2015-10-02 Thread Mark Morgan Lloyd

Bo Berglund wrote:

On Fri, 02 Oct 2015 22:11:48 +0200, Bo Berglund
 wrote:


Just to complete my inquiry here is a link to a setup guide:
http://www.tweaking4all.com/hardware/raspberry-pi/install-lazarus-pascal-on-raspberry-pi-2/



I went ahead and followed the tutorial for installing Lazarus/FPC but
did it on Raspbian-Jessie.

It failed at the first make step


Go back to discussion in The Other Place and start off with the right 
FPC binary. Once you've got it you can recompile FPC if you like (I 
prefer to), then once you're happy with that compiling Lazarus is a 
no-brainer /provided/ that you have enough RAM+swap set up.


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

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

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


Re: [Lazarus] Installing Lazarus on Raspbian Jessie on a Pi2B?

2015-10-02 Thread Bo Berglund
On Fri, 02 Oct 2015 21:45:50 +, Mark Morgan Lloyd
 wrote:

>Bo Berglund wrote:
>> I have now returned home and got myself the hardware for starting the
>> development in FPC of my controller software for the Raspberry Pi2B.
>> When I installed RaspBian it turned out to be the latest version
>> Jessie and when I realized that I think I need to get confirmation
>> here before I waste time:
>> Will Lazarus/FPC run properly on a Raspberry Pi2B with Raspbian
>> Jessie?
>> 
>> If so is there a tutorial for that case somewhere?
>
>If it runs properly, why should you need a tutorial?
>
>Note my comment elsewhere:
>
> >> The major "gotcha" is that you can't (by default) SSH into it
> >> as root, which causes problems if you need to run a GUI (i.e.
> >> not just console I/O) program as root with the X11 stuff passing
> >> over the SSH connection.
>
>If you have problems with gtk2, I suggest also trying with Qt which will 
>require the libqt4pas-dev (Debian) package. Please keep us updated since 
>you're the local expert: I didn't even know that Raspbian had progressed 
>to Jessie, and am far too busy to play with it at the moment.
>

The tutorial is quoting the Lazarus GUI but at a later point in time
in the steps to install FPC and Lazarus. I have managed to get VTK
server running but only after manually starting it. But it is not yet
needed.
I am now in an SSH PuTTY shell trying to install fpc and Lazarus.

As I already posted I followed the tutorial and got to a make error
basically complaining about a missing file in the fpc source tree.
This is in the first make command in the tutorial where fpc trunk is
going to be built from sources using fpc 2.6.4 for arm-linux.

This is a problem I have no chance to fix

-- 
Bo Berglund
Developer in Sweden


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


Re: [Lazarus] Installing Lazarus on Raspbian Jessie on a Pi2B?

2015-10-02 Thread Bo Berglund
On Fri, 02 Oct 2015 22:11:48 +0200, Bo Berglund
 wrote:

>Just to complete my inquiry here is a link to a setup guide:
>http://www.tweaking4all.com/hardware/raspberry-pi/install-lazarus-pascal-on-raspberry-pi-2/
>

I went ahead and followed the tutorial for installing Lazarus/FPC but
did it on Raspbian-Jessie.

It failed at the first make step

These were the steps I took following the configuration of the Pi2
including setting swap to 1000 MB and rebooting:

Install Subversion:

sudo su
apt-get update
apt-get install -y subversion

Retrieve the boot version of FPC:

mkdir /usr/local/fpc
cd /usr/local/fpc
wget
http://sourceforge.net/projects/freepascal/files/Linux/2.6.4/fpc-2.6.4.arm-linux.tar
tar xvf fpc-2.6.4.arm-linux.tar
cd fpc-2.6.4.arm-linux
./install.sh  (Reply /usr/local to the first question)

Download latest FPC sources:
---
cd /usr/local/fpc
svn co http://svn.freepascal.org/svn/fpc/trunk source
cd source

Compile the FPC compiler:
-
make all OPT=-dFPC_ARMHF

This is the step that fails after some considerable time and the
message displayed at the bottom of the screen is:


[ 53%] Compiled package utils-fprcp
Start compiling package utils-h2pas for target arm-linux.
Executing command "/usr/local/bin/plex h2pas/scan.l h2pas/scan.pas"
The installer encountered the following error:
External command "/usr/local/bin/plex h2pas/scan.l h2pas/scan.pas"
failed with exit code 256. Console output:
TP Lex Version 4.1a [April 2000], Copyright (c) 1990-2000 Albert Graef

FATAL: cannot open file /usr/lib/fpc/lexyacc/yylex.cod

Makefile:2403: recipe for target 'all' failed
make[2]: *** [all] Error 1
make[2]: Leaving directory '/usr/local/fpc/source/utils'
Makefile:2650: recipe for target 'utils_all' failed
make[1]: *** [utils_all] Error 2
make[1]: Leaving directory '/usr/local/fpc/source'
Makefile:2895: recipe for target 'build-stamp.arm-linux' failed
make: *** [build-stamp.arm-linux] Error 2


What could I do to get over this error so the make can complete??
Obviously the make in the source dir should work, but maybe not with
the FPC version 2.6.4?
If that is the case, how could I get an ARM7 version of the compiler
to use for compiling the trunk version of fpc?


-- 
Bo Berglund
Developer in Sweden


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


Re: [Lazarus] Installing Lazarus on Raspbian Jessie on a Pi2B?

2015-10-02 Thread Mark Morgan Lloyd

Bo Berglund wrote:

I have now returned home and got myself the hardware for starting the
development in FPC of my controller software for the Raspberry Pi2B.
When I installed RaspBian it turned out to be the latest version
Jessie and when I realized that I think I need to get confirmation
here before I waste time:
Will Lazarus/FPC run properly on a Raspberry Pi2B with Raspbian
Jessie?

If so is there a tutorial for that case somewhere?


If it runs properly, why should you need a tutorial?

Note my comment elsewhere:

>> The major "gotcha" is that you can't (by default) SSH into it
>> as root, which causes problems if you need to run a GUI (i.e.
>> not just console I/O) program as root with the X11 stuff passing
>> over the SSH connection.

If you have problems with gtk2, I suggest also trying with Qt which will 
require the libqt4pas-dev (Debian) package. Please keep us updated since 
you're the local expert: I didn't even know that Raspbian had progressed 
to Jessie, and am far too busy to play with it at the moment.


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

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

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


Re: [Lazarus] Installing Lazarus on Raspbian Jessie on a Pi2B?

2015-10-02 Thread Bo Berglund
On Fri, 02 Oct 2015 18:49:23 +0200, Bo Berglund
 wrote:

>I have now returned home and got myself the hardware for starting the
>development in FPC of my controller software for the Raspberry Pi2B.
>When I installed RaspBian it turned out to be the latest version
>Jessie and when I realized that I think I need to get confirmation
>here before I waste time:
>Will Lazarus/FPC run properly on a Raspberry Pi2B with Raspbian
>Jessie?
>
>If so is there a tutorial for that case somewhere?

Just to complete my inquiry here is a link to a setup guide:
http://www.tweaking4all.com/hardware/raspberry-pi/install-lazarus-pascal-on-raspberry-pi-2/

But it is specifically said to be working on Raspbian Wheezy. The
tutorial was written before Raspbian Jessie was out, though, so the
reservations in the tutorial might be against other distros different
from Raspbian. But I don't know this so I would like to find out if I
should downgrade to Wheezy?
Or if the installation procedure will work also on Jessie...


-- 
Bo Berglund
Developer in Sweden


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


Re: [Lazarus] Installing Lazarus

2013-03-10 Thread Reinier Olislagers
On 10-3-2013 23:03, "Arí Ricardo Ody" wrote:
> Believe me: I seek exhaustively via Google and the Lazarus CCR doesn't
> appear. I swear.
> 
> I would like to understand why.
> 

Well, don't look through Google then [1].
Have a look here
http://wiki.lazarus.freepascal.org/Main_Page
http://wiki.lazarus.freepascal.org/Installing_Lazarus
etc

The search box on the wiki also works well.


[1] ... but you can use Google effectively with queries like
ccr site:freepascal.org

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


Re: [Lazarus] Installing Lazarus

2013-03-10 Thread Arí Ricardo Ody
Believe me: I seek exhaustively via Google and the Lazarus CCR doesn't appear. 
I swear.

I would like to understand why.

I am not familiar with Lazarus environment.

Thank you very much.

Cheers

Ricardo
- Original Message -
From: leledumbo
Sent: 03/10/13 06:54 PM
To: lazarus@lists.lazarus.freepascal.org
Subject: Re: [Lazarus] Installing Lazarus

Where did you search? It's 0.6.5 in Lazarus-CCR (I have 0.6.6 from svn): 
http://sourceforge.net/projects/lazarus-ccr/files/lNet/ -- View this message in 
context: 
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Installing-Lazarus-tp4029785p4029790.html
 Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com. -- 
___ 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] Installing Lazarus

2013-03-10 Thread leledumbo
Where did you search? It's 0.6.5 in Lazarus-CCR (I have 0.6.6 from svn):
http://sourceforge.net/projects/lazarus-ccr/files/lNet/



--
View this message in context: 
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Installing-Lazarus-tp4029785p4029790.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.

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


Re: [Lazarus] Installing Lazarus 1.1 with fpc 2.6.2 on Ubuntu

2013-03-04 Thread Bart
On 3/4/13, Jorge Gonçalves  wrote:

> Hi,
> Here can I find information about installing lazarus 1.1 with fpc 2.6.2 on
> Ubuntu ?
>
>
> Regards
> jGoncalves
>
Download 
ftp://freepascal.stack.nl/pub/fpc/dist/2.6.2/i386-linux/fpc-2.6.2.i386-linux.tar
(or install fpc 2.6.2 from repository, if it is already there) and
install fpc.

Follow instructions from
http://wiki.lazarus.freepascal.org/Getting_Lazarus#Getting_Lazarus_SVN_development_version
to get sources from Lazarus trunk, Then build Lazarus from
commandline.
(You need svn client and binutils for all this).

make bigide "OPT=-gl"  (this enables debug information in IDE and LCL,
whic as a dveloper you want)

Bart

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


Re: [Lazarus] Installing Lazarus on Ubuntu 12.04LTS

2012-12-04 Thread William Oliveira Ferreira
I don´t use Ubuntu but i use Mint that is a Debian derivated. On it, i
first do "apt-get install lazarus" to install the outdated version. Later,
I install the debian version file on Lazarus' home page using the dpkg. If
it get somekind of error, generally is solved with a "apt-get -f install".
But, well to tell something more precise, we must know what heappens with
your system during installation


Ps.: sorry about any english mistakes...

2012/12/2 Curt Carpenter <1cjcarpen...@att.net>

> Does anyone know a knowledgeable Ubuntu/Linux person in the Dallas, Texas
> area that could help me install Lazarus
> on that OS?  I could afford to pay modestly for the help.
>
> I have Ubuntu 12.04 working on a PC and have read everything I can find on
> the net about this install -- but I'm new to
> Linux, so much of what I read is foreign to me (example:  one set of
> instructions tells me that I must install the
> Lazarus meta-package using Synaptic -- but I don't know what a
> meta-package is, or where to find the Lazarus meta-package
> (don't see it on Source Forge) -- or how to use Synaptic (although I do
> seem to have installed it using sudo!)
>
> I think I can eventually figure this out (my goal is to learn to use Linux
> anyway) -- but having a guide in this particular case would,
> I think, be 300 - 400% more efficient!
>
> Thanks for any help.
>
>
>
> --
> __**_
> Lazarus mailing list
> Lazarus@lists.lazarus.**freepascal.org
> http://lists.lazarus.**freepascal.org/mailman/**listinfo/lazarus
>



-- 

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


Re: [Lazarus] Installing Lazarus on Ubuntu 12.04LTS

2012-12-02 Thread Curt Carpenter
Does anyone know a knowledgeable Ubuntu/Linux person in the Dallas, 
Texas area that could help me install Lazarus

on that OS?  I could afford to pay modestly for the help.

I have Ubuntu 12.04 working on a PC and have read everything I can find 
on the net about this install -- but I'm new to
Linux, so much of what I read is foreign to me (example:  one set of 
instructions tells me that I must install the
Lazarus meta-package using Synaptic -- but I don't know what a 
meta-package is, or where to find the Lazarus meta-package
(don't see it on Source Forge) -- or how to use Synaptic (although I do 
seem to have installed it using sudo!)


I think I can eventually figure this out (my goal is to learn to use 
Linux anyway) -- but having a guide in this particular case would,

I think, be 300 - 400% more efficient!

Thanks for any help.



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


Re: [Lazarus] Installing lazarus on Windows, horror story goes on

2010-07-30 Thread José Mejuto
Hello Lazarus-List,

Friday, July 30, 2010, 3:11:02 PM, you wrote:

RG> I know a much better story:
RG> About ten years ago I subscribed to a technical mailing list
RG> about an open source pascal IDE in development.
[...]
RG> please stop making fun of non tech savy people.

Totally uneeded rant. The last sentence is enought to catch the
message (catched).

-- 
Best regards,
 José


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


Re: [Lazarus] Installing lazarus on Windows, horror story goes on

2010-07-30 Thread Reimar Grabowski
I know a much better story:

About ten years ago I subscribed to a technical mailing list about an open 
source pascal IDE in development.
The years went by and all was fine.
Until some day, not so long ago, I found out that it is no technical mailing 
list but a chat room.
I felt really stupid for not realizing it faster and not knowing the difference 
between a technical list and a chat room. This shows that even coders, like me, 
can fail very hard, so please stop making fun of non tech savy people.

R.
-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

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


Re: [Lazarus] Installing lazarus on Windows, horror story goes on

2010-07-29 Thread waldo kitty

On 7/29/2010 19:49, Wildfire wrote:

A few years ago I worked for a large internet technical support dept for
business customers. One call I recieved went something like this...

Caller: So what does this super duper line give me that's better than a normal 
one.
Me: Instead of 56kb/s you can download up to 2mb/s
Caller: What's download?
Me: Basically retrieving files etc off the internet, your broadband line could
allow it to go around 40 times faster
Caller: Ahh, so you need a computer for that then

Turns out he was cold called from the sales dept and he had broadband activated
withought even having a computer. Fortunatly I was able to cancel the contract
as a mis-sell or he would have been stuck paying £20/month for 18 months.



somehow i can actually see that happening... i have several friends who could 
sell ice to those who live in the permanently frozen north/south...


when i was "in the biz" i had to deal with a few similar to those listed in the 
original post... one solution i was told to make involved going to a large law 
firm and applying rub off decal letters to the space bars of every machine that 
had one... the result was that "ANY" in nice bright and shiny gold letters was 
on them all... we never got another call about the "ANY key" from them and they 
were one of our best clients for years to come ;)


i should also mention that this was back in the mid to late '80s and they had 
just purchased ~50-75 brand new 486 machines along with a large 8 or 12 ppm HP 
laser printer from us for their typing pool :)


those were the real heydays of the computer world :lol:

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


Re: [Lazarus] Installing lazarus on Windows, horror story goes on

2010-07-29 Thread Wildfire


- Original Message - 
From: "José Mejuto" 

To: "Lazarus mailing list" 
Sent: Friday, July 30, 2010 12:13 AM
Subject: Re: [Lazarus] Installing lazarus on Windows, horror story goes on


Hello Lazarus-List,

Thursday, July 29, 2010, 6:00:49 PM, you wrote:

JM> I personally managed to install it. Lucky me :-)
JM> I think I underestimated the difficulty of installation for a
JM> non-programmer.

A non-programmer or system admin (or at least personal system admin)
takes different mental rules about almost everything in a computer
environment (examples):

* Compaq is considering changing the command "Press Any Key" to "Press
Return Key" because of the flood of calls asking where the "Any" key
is.



A few years ago I worked for a large internet technical support dept for 
business customers. One call I recieved went something like this...


Caller: So what does this super duper line give me that's better than a 
normal one.

Me: Instead of 56kb/s you can download up to 2mb/s
Caller: What's download?
Me: Basically retrieving files etc off the internet, your broadband line 
could allow it to go around 40 times faster

Caller: Ahh, so you need a computer for that then

Turns out he was cold called from the sales dept and he had broadband 
activated withought even having a computer. Fortunatly I was able to cancel 
the contract as a mis-sell or he would have been stuck paying £20/month for 
18 months. 



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


Re: [Lazarus] Installing lazarus on Windows, horror story goes on

2010-07-29 Thread José Mejuto
Hello Lazarus-List,

Thursday, July 29, 2010, 6:00:49 PM, you wrote:

JM> I personally managed to install it. Lucky me :-)
JM> I think I underestimated the difficulty of installation for a
JM> non-programmer.

A non-programmer or system admin (or at least personal system admin)
takes different mental rules about almost everything in a computer
environment (examples):

* Compaq is considering changing the command "Press Any Key" to "Press
Return Key" because of the flood of calls asking where the "Any" key
is.

* AST technical support had a caller complaining that her mouse was
hard to control with the dust cover on. The cover turned out to be the
plastic bag the mouse was packaged in.

* Another Compaq technician received a call from a man complaining
that the system wouldn't read word processing files from his old
diskettes. After trouble-shooting for magnets and heat failed to
diagnose the problem, it was found that the customer had labeled the
diskettes' then rolled them into the typewriter to type the labels.
(the old flexible 5" floppies)

* Another AST customer was asked to send a copy of her defective
diskettes. A few days later a letter arrived from the customer along
with photocopies of the floppies...

* A Dell technician advised his customer to put his troubled floppy
back in the drive and close the door. The customer asked the tech to
hold on, and was heard putting the phone down, getting up and crossing
the room to close the door to his room.

And for me the best one!:

Novell NetWire SysOp:

Caller: "Hello, is this Tech Support?"

Tech: "Yes, it is. How may I help you?"

Caller: "The cup holder on my PC is broken and I am within my warranty
period. How do I go about getting that fixed?"

Tech: "I'm sorry, but did you say a cup holder?"

Caller: "Yes, it's attached to the front of my computer."

Tech: "Please excuse me if I seem a bit stumped, It's because I am.
Did you receive this as part of a promotional, at a trade show? How
did you get this cup holder? Does it have any trademark on it?"

Caller: "It came with my computer, I don't know anything about a
promotional. It just has '4X' on it."

At this point the Tech Rep had to mute the caller, because he couldn't
stand it. He was laughing too hard. The caller had been using the load
drawer of the CD-ROM drive as a cup holder, and snapped it off the
drive!
---

So after a few smiles :) next time install some remote desktop
software like VNC and install it yourself or at least supervise and
capture error screens. I had suffered your same problem several times,
like installing in Vista and the user changing "C:\Program
files\SoftwareName" by "C:\C:\Your usual install folder without the
quotes\" because he thinks it matches more exactly what my email tells
him :)

-- 
Best regards,
 José


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


Re: [Lazarus] Installing Lazarus on Windows, my own experiences

2010-07-29 Thread Juha Manninen
2010/7/29 Michael Van Canneyt 

> I'm sorry to say, but it is your own fault that it fails.
>
> You should never use the released version of Lazarus to compile a program
> developed in the latest (SVN) version.
> That can never work. (the unknown property should already have given you a
> clue, actually).
>
> One of the reasons is that the streaming system has changed, and this is
> why you get the error:
>
>
>  Compiling resource C:\SW\jorma\unit1.lfm
>> windres: can't open file `TForm1': No such file or directory
>>
>
> This is where you get an error related to streaming (windres is used to
> compile resources)
>

Damn yes. I thought it can't make such a big difference.

I tested with a new program and it works. I still don't know why my friend
could not compile even a new project. Anyway we will work with binaries now
and return to Lazarus installation later, if he is still interested.

Again it looks like the Windows installer works after all.
Thanks.

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


Re: [Lazarus] Installing lazarus on Windows, horror story goes on

2010-07-29 Thread waldo kitty

On 7/29/2010 10:14, Juha Manninen wrote:

  I really don't know what went wrong. The fact is however that something went
wrong for a person who can install most other SW. It means the installation is
not as easy as it should be.


i kinda have to disagree there... it is not the installation or the installer 
that is the problem... quite simply is seems to be, based on your very brief 
error message(s), a permissions problem... you've seen this in the *nix world if 
you've installed the normal .deb or .rpm lazarus packages... they go in as admin 
and then users trying to use the libs can't get them (re)compiled because they 
don't have write access in the lib directories and similar... this is one of the 
main frustrations for all the different OS' when the packages aren't or can't be 
installed by the users in their own working directories...



BTW, do you think my idea of compiling a program using Lazarus by a
non-programmer is a stupid idea? I honestly thought it was a cool idea.


considering that it is SOP in the *nix world, i don't think it a bad idea at 
all... especially when *nix users can generally get to a command line and type 
"make; make install"... all in all, i think it is a GoodIdea but there are 
some situations and problems to be handled... you've just found them and they 
are some of what i and others have complained about before ;)



But, maybe Lazarus should be touched only by programmers and it kind of
justifies the difficult installation. It works as an intelligence test. If you
can't install it, you are too stupid to program.


again, it is not the install that's the problem... it seems, from your post, to 
be purely permissions... indeed, if this was a fresh install then there were 
likely libraries that needed to be compiled and their output directory was a 
place where he had restricted permissions...


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


Re: [Lazarus] Installing Lazarus on Windows, my own experiences

2010-07-29 Thread Michael Van Canneyt



On Thu, 29 Jul 2010, Juha Manninen wrote:


I booted Windows XP on a mini-laptop. It is practically non-touched since I 
bought the machine. I installed and used Linux since then.
For the first time I downloaded and installed the official Lazarus Windows 
installer. It goes smootly, SourceForge offers you a Download Now link and the
installation is easy like in other Windows programs. I accepted the defaults 
for everything.

Then I copied my own source under a new C:\SW directory, just like I told my 
friend to do earlier.
I just created the directories so I must have write access for them, right?

I open my project. There is a stream error about an unknown property 
TForm1.Anchors because I used the latest delelopment version for making the 
prog. I choose
Continue Loading and it opens without problems.
Then I try to run it and get the errors below. I don't have any spaces in 
paths. I really don't know what is wrong.
Are you people really saying the default installation is OK?


Yes.

I'm sorry to say, but it is your own fault that it fails.

You should never use the released version of Lazarus to compile a program 
developed in the latest (SVN) version.
That can never work. (the unknown property should already have given you a 
clue, actually).

One of the reasons is that the streaming system has changed, and this is why 
you get the error:


Compiling resource C:\SW\jorma\unit1.lfm
windres: can't open file `TForm1': No such file or directory


This is where you get an error related to streaming (windres is used to compile 
resources)

Michael.

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


Re: [Lazarus] Installing lazarus on Windows, horror story goes on

2010-07-29 Thread Juha Manninen
2010/7/29 dmitry boyarintsev 

> 2010/7/29 Juha Manninen :
> > I personally managed to install it. Lucky me :-)
>
> Glad to hear, that everything works as expected.
>

Yes, it works in my machines for my own development. I will look at the
friend's Lazarus installation later (if he still wants it) and get him
binaries first.


Btw, is your project close sourced?
>

No, it is very open. Actually it is a small experimental program but I am
proud of it because it is so fast. Initially it had a very tiny loop for the
main calculation. Then I optimized it so that 2 values are checked / round.
Still, it is a tiny program.
I can copy it also here if someone wants to look at it.


You also need let Andrew Brunner know what OSX version your friend using.
> If Andrew's OSX is 10.6, and your friend's is 10.5, the project must
> be compiled with 10.5 SDK.
>
> http://wiki.freepascal.org/Carbon_interface_FAQ#User_friendly_OS_version_requirement
>

Ok, thanks. I must ask it myself first.


Juha


Ohjelma.tar.gz
Description: GNU Zip compressed data
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Installing lazarus on Windows, horror story goes on

2010-07-29 Thread Juha Manninen
2010/7/29 Andreas Schneider 

> Either way it
> taught me that I definitely can't trust Java to "just run everywhere".
>

Yes, I have heard of similar cases. The slogan is changed to:
"Write once, debug everywhere"

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


Re: [Lazarus] Installing lazarus on Windows, horror story goes on

2010-07-29 Thread dmitry boyarintsev
2010/7/29 Juha Manninen :
> I personally managed to install it. Lucky me :-)

Glad to hear, that everything works as expected.

Btw, is your project close sourced?

You also need let Andrew Brunner know what OSX version your friend using.
If Andrew's OSX is 10.6, and your friend's is 10.5, the project must
be compiled with 10.5 SDK.
http://wiki.freepascal.org/Carbon_interface_FAQ#User_friendly_OS_version_requirement

thanks,
dmitry

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


Re: [Lazarus] Installing lazarus on Windows, horror story goes on

2010-07-29 Thread Juha Manninen
2010/7/29 Henry Vermaak 

>
> Yawn.  Nobody will help you if you don't give specific
> errors/screenshots.  Also, take your peazip complaints somewhere else.
>
> If you can't even manage to install it, how will you be able to
> program useful software?
>

I personally managed to install it. Lucky me :-)

I think I underestimated the difficulty of installation for a
non-programmer.
Now I take a different approach and build a binary for Win32 and maybe even
get Mac binary to test.

In the end nothing serious is happening, it is a hobby and an experiment for
us. But still the program can turn out to be useful for a real life problem.

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


Re: [Lazarus] Installing lazarus on Windows, horror story goes on

2010-07-29 Thread Juha Manninen
2010/7/29 Andrew Brunner 

>
> That IS a good one... But at least for the topic of this case... Juha,
> send me the zip of the project and I'll send you the binary.
>

Thanks. I will send it private.

Actually I asked this already on a mail to skalogryz:

Do the OSX binaries have much variation?
It is a recent x86 Mac. Is that info enough to build a binary for it?

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


Re: [Lazarus] Installing lazarus on Windows, horror story goes on

2010-07-29 Thread Juha Manninen
2010/7/29 dmitry boyarintsev 

> Please, provide more accurate information:
> * Lazarus/FPC version being installed.
> * exact error messages
> * where the Lazarus was installed. (it feels like project's working
> directories contained spaces and/or nont Ansi chars)
>
> I could also help your friend getting Lazarus work on both Win and OSX
> via skype.
>

If I understand right the version is the default when clicking Download link
on Lazarus home page and then again the default link on SourceForge page.
Other details I don't really know. I thought the installation is easy and I
was not prepared for this hassle.
Now I will take a different strategy and create the binary for Win32. Then
we will see later if he still wants to install Lazarus.

In the end this episode will not be a big problem. He will make a
philosophical theory about how things should work but how they don't. :-)

A skype session with you would have problems because of the language
barrier.
He could use a binary for Mac though. Do the OSX binaries have much
variation? It is a recent x86 Mac. Is that info enough to build a binary for
it?


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


Re: [Lazarus] Installing lazarus on Windows, horror story goes on

2010-07-29 Thread Andreas Schneider

On Thu, 29 Jul 2010 11:24:46 -0300, Marcos Douglas  wrote:

>> I think I must learn GUI programming with Java and port the code. Java

is

>> already installed on those machines and runs for sure.

>> The other choise is to boot Windows XP on my mini-laptop, install

Lazarus

>> there and build the program, then send the binary to my friend. He

lives

>> 250

>> km away and I don't drive there now.

> 

> If you don't have Java installed then broke. If you use another

> version of Java then broke. If you change anything.. broke!

> Java works, this is true. But he has the same (even worst) problems.

> 

>> Write once, compile everywhere. Right yeah...

>>

> 

> This is more true (and more realistic) than Java: write and run

everywhere.



Indeed. I wrote several extensions for OpenOffice.org in Java and for some

time even tried to use the GUI Widgets from Java (Swing). It worked fine on

both of my development machines and I assumed, it would just run everywhere

else too (where Java is available). Then a Mac user came by and told me

that my extension crashed his installation. After getting my hands on a Mac

I was able to see the problem: the Java VM that is shipped with MacOS is a

bit different from the others ... some packages are different and the rules

for opening new dialogs/frames were completely different. In the end I had

to either handle Mac completely different or rewrite the whole extension to

use more calls to the OpenOffice.org API instead of relying on it's native

packages. I have no idea how I would have handled that if it wasn't just an

extension/plugin but should have been a full standalone app. Either way it

taught me that I definitely can't trust Java to "just run everywhere".

Without testing and if necessary platform specific workarounds/fixes, it

just doesn't/can't work, if the apps are complex enough. In the end I'm

still faster writing apps in Lazarus and compiling them for the target

platform than I am writing them in Java and searching workaround for all

those corner cases.



Just my two cents.



Best Regards,

Andreas.

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


Re: [Lazarus] Installing lazarus on Windows, horror story goes on

2010-07-29 Thread Andrew Brunner
On Thu, Jul 29, 2010 at 9:26 AM, Bernd Kreuss  wrote:

> [Idea:] Maybe somebody with a Mac and a lot of traffic quota and free
> electricity could setup a server that would receive zipped Lazarus
> projects via email, automatically build them and mail the resulting
> binary back to where it came from. Mac is the only OS that needs such a
> thing, everything else can be installed and run or virtualized/emulated
> on "normal" cheap PC hardware.

That IS a good one... But at least for the topic of this case... Juha,
send me the zip of the project and I'll send you the binary.

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


Re: [Lazarus] Installing lazarus on Windows, horror story goes on

2010-07-29 Thread Andrew Brunner
2010/7/29 Juha Manninen :
> 2010/7/29 Andrew Brunner 

> You understood the situation little wrong. He is not planning to write SW,
> he only wants to build and run the program I made, on his platform (OSX)
> which is different from mine (Linux).
> Remember the ad: Write once, compile everywhere.

It does change my opinion a bit.  Hmm...  I switch between
Linux/Mac/Win7 daily with no problems.  I use FPC and Lazarus from SVN
with no problems.

> Actually it is me pushing this Lazarus thing for him. He asked me earlier if
> a computer program could solve his problem. I became interested and promised
> to write a small prog. I really thought Lazarus was a good idea because he
> could build a Mac version with it. Later the Windows laptop was just a
> rescue plan when everything failed.
> I am not going to ask money from him, this is more a question of pride now.
> I don't want to push crap to anyone.

There is no way Lazarus/FPC will end up being crap.  If there is an
issue it's most likely something the dev community has not encountered
or a problem that they will end up telling you/him to fix.


>> Software development requires a basic understanding of how computers
>> work...
>
> I understand that. Still, Lazarus should be easy to install also for people
> who don't program themselves!
> In a sense it is comparable to Java if the purpose really is to compile
> existing code for other platforms.
>
>  I really don't know what went wrong. The fact is however that something
> went wrong for a person who can install most other SW. It means the
> installation is not as easy as it should be.
>
> BTW, do you think my idea of compiling a program using Lazarus by a
> non-programmer is a stupid idea? I honestly thought it was a cool idea.
> But, maybe Lazarus should be touched only by programmers and it kind of
> justifies the difficult installation. It works as an intelligence test. If
> you can't install it, you are too stupid to program.
>
>
Well Juha, you certainly raise an interesting issue.  I think that
requiring FPC/Lazarus to build an open source project is understood.
I do think that having an understanding of OS permissions/issues
common to specific deployment platforms is a core requirement.  I do
think that FPC/Lazarus is far to complicated for this relatively small
group of developers to anticipate localized problems with operating
systems and end-users to focus on issues that can be solved -
trivially - by someone who has experience (remotely or directly) with
the target platform to get around non-developmental problems such as
the ones you are describing.

That being said I have personally encountered problems with install
Linux specifically that the make scripts could have handled but I was
forced to.  It was with multiple instances of FPC.  I had to re-route
symbolic links - but I was able to get past those issues once I was
familiar with FPC AND LINUX.

I've personally never had file permission problems on XP only b/c XP
has limited security options and only with NTFS deployed.

It's interesting for me, to hear of your issue but I can assure you
that what ever the problem is - it's only b/c a user did something
that wasn't anticipated by the install scripts/batch/program and not
an issue with the Development of Lazarus or FPC as it pertains to core
development.  And if it can be avoided - you will see it will be
resolved - but you have to reproduce the issue - which I suspect you
can't.

WOW.  Good luck with this.  Can't you just give him the Binary for him
to place in his applications folder?  Then, zip the source for his
entertainment?

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


Re: [Lazarus] Installing lazarus on Windows, horror story goes on

2010-07-29 Thread Bernd Kreuss
Juha Manninen wrote:
> Ok,
> we had a Skype phone+chat session with my friend again trying to install
> Lazarus

I would not try (not even think about it!) to let an end user install my
entire development environment on his machine, only to compile a program
I wrote for him.

I would try *everything* to produce a binary of my application that the
end user can easily use/install. For Linux and Windows I can already do
this on one of my own (virtual) machines and if my end user had a Mac I
would rather try to find somebody (not 250km away) who owns one and
would be willing to help me with compiling and testing it there.

My end user would never ever be confronted with any of these ugly details.


[Idea:] Maybe somebody with a Mac and a lot of traffic quota and free
electricity could setup a server that would receive zipped Lazarus
projects via email, automatically build them and mail the resulting
binary back to where it came from. Mac is the only OS that needs such a
thing, everything else can be installed and run or virtualized/emulated
on "normal" cheap PC hardware.

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


Re: [Lazarus] Installing lazarus on Windows, horror story goes on

2010-07-29 Thread Marcos Douglas
Hi Juha,

2010/7/29 Juha Manninen :
> [snip]
> Before that we were fighting with zip packages. The Windows machine didn't
> have a zip program installed. I made a mistake first and recommended Peazip
> "because it is made with Lazarus". My friend installed it but the UI is so
> weird that he couldn't use it. Finally he installed a decent archiver, jzip,
> and could extract my source package.

AFAIK, WinXP has a zip program, look: http://support.microsoft.com/kb/306531

> Now I have read many comments that Lazarus Windows installer is a really
> easy one-click system. I admit that the installation is easy but the result
> was a broken system so it doesn't help much.
> How do you people explain this episode with the "idiot proof" Windows
> installer? Do you think I made up the story. No, it really happened to a
> real person, on a real Windows XP laptop and I really tried to help him
> through a Skype session.
> And yes, he has been able to install other SW when he wanted.

Always I installed Lazarus on Windows (just for tests or showing
somebody) I used the installer and never I found any error (always in
Win XP).

> His feeling is of course "why do you give me this crappy SW. Is it some kind
> of joke?". I would have the same feeling if someone handed me a program I
> can't even install. I can myself be very irritated sometimes when a system
> doesn't work while it should.

Not a joke. We believe in you, but we need more (tech) informations
about this errors.

> I think I must learn GUI programming with Java and port the code. Java is
> already installed on those machines and runs for sure.
> The other choise is to boot Windows XP on my mini-laptop, install Lazarus
> there and build the program, then send the binary to my friend. He lives 250
> km away and I don't drive there now.

If you don't have Java installed then broke. If you use another
version of Java then broke. If you change anything.. broke!
Java works, this is true. But he has the same (even worst) problems.

> Write once, compile everywhere. Right yeah...
>

This is more true (and more realistic) than Java: write and run everywhere.


Regards,
Marcos Douglas

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


Re: [Lazarus] Installing lazarus on Windows, horror story goes on

2010-07-29 Thread Michael Van Canneyt



On Thu, 29 Jul 2010, Juha Manninen wrote:


2010/7/29 Andrew Brunner 


2010/7/29 Juha Manninen :

I'm going to go out on a limb here and say what I think is the
obvious.  If installing software on a computer is hard - writing
software for said computer is going to be even harder.



You understood the situation little wrong. He is not planning to write SW,
he only wants to build and run the program I made, on his platform (OSX)
which is different from mine (Linux).
Remember the ad: Write once, compile everywhere.


... By programmers, of course.

The intended audience for Lazarus is strictly programmers.

I doubt I could explain how to install (let alone use) Delphi, VB , Access or whatever 
to my wife or child, even though they use a computer daily :-)


Michael.

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


Re: [Lazarus] Installing lazarus on Windows, horror story goes on

2010-07-29 Thread Juha Manninen
2010/7/29 Andrew Brunner 

> 2010/7/29 Juha Manninen :
>
> I'm going to go out on a limb here and say what I think is the
> obvious.  If installing software on a computer is hard - writing
> software for said computer is going to be even harder.
>

You understood the situation little wrong. He is not planning to write SW,
he only wants to build and run the program I made, on his platform (OSX)
which is different from mine (Linux).
Remember the ad: Write once, compile everywhere.


Perhaps the person you are working with could pay you money to develop
> the application instead of dragging this ON and ON.  If getting the
> Lazarus packaged version installed is this challenging perhaps
> expecting said user to write software with Lazarus is going to be -
> impossible?
>

Actually it is me pushing this Lazarus thing for him. He asked me earlier if
a computer program could solve his problem. I became interested and promised
to write a small prog. I really thought Lazarus was a good idea because he
could build a Mac version with it. Later the Windows laptop was just a
rescue plan when everything failed.
I am not going to ask money from him, this is more a question of pride now.
I don't want to push crap to anyone.


Software development requires a basic understanding of how computers work...
>

I understand that. Still, Lazarus should be easy to install also for people
who don't program themselves!
In a sense it is comparable to Java if the purpose really is to compile
existing code for other platforms.



> I've had my problems with particular issues but the write once compile
> everywhere works on Linux, Mac, and Windows.  What more can someone
> ask for w/o using interpreted stuff?  You can't expect Lazarus to
> write the software too once you get it installed. ;-)
>

> That being said - perhaps you downloaded a specific version w/o the
> FPC binaries.
>

 I really don't know what went wrong. The fact is however that something
went wrong for a person who can install most other SW. It means the
installation is not as easy as it should be.

BTW, do you think my idea of compiling a program using Lazarus by a
non-programmer is a stupid idea? I honestly thought it was a cool idea.
But, maybe Lazarus should be touched only by programmers and it kind of
justifies the difficult installation. It works as an intelligence test. If
you can't install it, you are too stupid to program.


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


Re: [Lazarus] Installing lazarus on Windows, horror story goes on

2010-07-29 Thread Martin

On 29/07/2010 14:26, Juha Manninen wrote:

Ok,
we had a Skype phone+chat session with my friend again trying to 
install Lazarus, this time on a Windows XP laptop. I thought it must 
be an easy task and we are done quickly. I was wrong again!


He managed to install Lazarus by himself. So yes, it is easy to 
install but read on...  First he made a directory for my program under 
C:\. Then he opened the project with Lazarus. Everything looked good. 
Then he clicked "Run" button --> "cannot write to directory lib" ... 
or something. Apparently he did't have enough rights for the folder. 
But now, why was he able to create the folder through "My Computer" if 
he has no rights for it? I just don't know Windows enough to 
understand it.


 I admit that the installation is easy but the result was a broken 
system so it doesn't help much.


So it isn't about the installer => it is about the space-in-path problem 
(which caused the permission issue, because he couldn't use the "normal" 
location , in his user directory/


Anyway let me start a bit different => I first used Lazarus maybe 2 or 3 
years back => never encountered any of those issues (but I do today know 
they exist, and I do not deny them).


But why is that I didn't encounter them?

- Well first of all: Long before I ever heard of Lazarus, I started to 
use windows only as Admin user. Because when ever I tried otherwise It 
wouldn't be a week, until I run into some issue, that was cause by not 
being admin.
In a corporate environment, where you use no more than 3 or 4 fixed 
applications, and where the company admin comes by every no and then, 
logs in as admin, and updates your system => you the user can work as user.

At home, where I must admin my system myself => that just doesn't cut it.
 -2nd since it is a single user system, I always create my c:\data 
folder and thats where I work. It's too long back, I don't know when and 
why I stopped using the user dir.


So yes, I am not your average user, but windows got me there, long 
before I knew Lazarus. So I cant blame Lazarus for the problems I have 
with windows...



Anyway, as I said the problem is caused by the space-in-path issue, 
solve this, then we can use C:program files./lazarus (even with the 
current installer), and then the problem is gone.


I remember there wher mail-threads about that, and why it wasn't that 
easy, and all that => but it's to long back, I don't know the details 
anymore.


Repeating your quote:
 I admit that the installation is easy but the result was a broken 
system so it doesn't help much.
How to you fix this with a different installer, that creates the same 
broken result?


Martin


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


Re: [Lazarus] Installing lazarus on Windows, horror story goes on

2010-07-29 Thread dmitry boyarintsev
2010/7/29 Juha Manninen :
> ... I thought it must be an easy task and we are done quickly. I was wrong 
> again!...
> ... Then we both were so pissed off that we closed the Skype session. F**k!...
> ... My friend installed it but the UI is so weird that he couldn't use it. ...
> ... Why this Lazarus must be such a weirdo-land? ...
> ... How do you people explain this episode with the "idiot proof" Windows
> installer?...

Please, provide more accurate information:
* Lazarus/FPC version being installed.
* exact error messages
* where the Lazarus was installed. (it feels like project's working
directories contained spaces and/or nont Ansi chars)

I could also help your friend getting Lazarus work on both Win and OSX
via skype.

> ...I think I must learn GUI programming with Java and port the code. Java is
> already installed on those machines and runs for sure
You're right: Java, C++, C#, Delphi or whatever else is solution :)

thanks,
abnormal dmitry

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


Re: [Lazarus] Installing lazarus on Windows, horror story goes on

2010-07-29 Thread Henry Vermaak
2010/7/29 Juha Manninen :
> Ok,
> we had a Skype phone+chat session with my friend again trying to install
> Lazarus, this time on a Windows XP laptop. I thought it must be an easy task
> and we are done quickly. I was wrong again!
>
> He managed to install Lazarus by himself. So yes, it is easy to install but
> read on...  First he made a directory for my program under C:\. Then he
> opened the project with Lazarus. Everything looked good. Then he clicked
> "Run" button --> "cannot write to directory lib" ... or something.
> Apparently he did't have enough rights for the folder. But now, why was he
> able to create the folder through "My Computer" if he has no rights for it?
> I just don't know Windows enough to understand it.
>
> Then he made an empty test project and saved it under the user's default
> directory and tried to run it. There was an error about executing ppc or
> something. Then we both were so pissed off that we closed the Skype session.
> F**k!
>
> Before that we were fighting with zip packages. The Windows machine didn't
> have a zip program installed. I made a mistake first and recommended Peazip
> "because it is made with Lazarus". My friend installed it but the UI is so
> weird that he couldn't use it. Finally he installed a decent archiver, jzip,
> and could extract my source package.
>
> Why this Lazarus must be such a weirdo-land? The only known program made
> with Lazarus, excluding Lazarus itself, is Peazip and it is so weird that a
> "normal" person can't use it.
> The installation of FPC + Lazarus fails on 2 major platforms: Windows and
> OSX (again for a "normal" person). I would say a mainstream Linux distro is
> the only place where is actually works "for sure" (after one manages to
> install the distro I mean).
>
> Now I have read many comments that Lazarus Windows installer is a really
> easy one-click system. I admit that the installation is easy but the result
> was a broken system so it doesn't help much.
> How do you people explain this episode with the "idiot proof" Windows
> installer? Do you think I made up the story. No, it really happened to a
> real person, on a real Windows XP laptop and I really tried to help him
> through a Skype session.
> And yes, he has been able to install other SW when he wanted.
>
> His feeling is of course "why do you give me this crappy SW. Is it some kind
> of joke?". I would have the same feeling if someone handed me a program I
> can't even install. I can myself be very irritated sometimes when a system
> doesn't work while it should.
>
> I think I must learn GUI programming with Java and port the code. Java is
> already installed on those machines and runs for sure.
> The other choise is to boot Windows XP on my mini-laptop, install Lazarus
> there and build the program, then send the binary to my friend. He lives 250
> km away and I don't drive there now.
>
> Write once, compile everywhere. Right yeah...

Yawn.  Nobody will help you if you don't give specific
errors/screenshots.  Also, take your peazip complaints somewhere else.

If you can't even manage to install it, how will you be able to
program useful software?

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


Re: [Lazarus] Installing lazarus on Windows, horror story goes on

2010-07-29 Thread Michael Van Canneyt



On Thu, 29 Jul 2010, Juha Manninen wrote:


Ok,
we had a Skype phone+chat session with my friend again trying to install
Lazarus, this time on a Windows XP laptop. I thought it must be an easy task
and we are done quickly. I was wrong again!

He managed to install Lazarus by himself. So yes, it is easy to install but
read on...  First he made a directory for my program under C:\. Then he
opened the project with Lazarus. Everything looked good. Then he clicked
"Run" button --> "cannot write to directory lib" ... or something.
Apparently he did't have enough rights for the folder. But now, why was he
able to create the folder through "My Computer" if he has no rights for it?
I just don't know Windows enough to understand it.


If you really think it is a permission problem, why do you blame this on 
Lazarus,
when you should be complaining to Microsoft ?

And if peazip has a weird interface, again: why blame this on Lazarus ?
You should contact the peazip maintainer and complain to him; 
Lazarus does not enforce a particular interface.


I've installed Lazarus on many windows PC's, including Vista (with all it's
strange security settings) and I never had any problems. And this was with the
vanilla installer, no special tricks.

I fully understand that such things are frustrating, but I hardly think it is 
fair
to blame these experiences on Lazarus.

If you want, I can show you similar problems as you experience with just about any 
program on windows. They are not hard to reproduce.


Michael.

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


Re: [Lazarus] Installing lazarus on Windows, horror story goes on

2010-07-29 Thread Andrew Brunner
2010/7/29 Juha Manninen :

I'm going to go out on a limb here and say what I think is the
obvious.  If installing software on a computer is hard - writing
software for said computer is going to be even harder.

Perhaps the person you are working with could pay you money to develop
the application instead of dragging this ON and ON.  If getting the
Lazarus packaged version installed is this challenging perhaps
expecting said user to write software with Lazarus is going to be -
impossible?

Software development requires a basic understanding of how computers work...

I've had my problems with particular issues but the write once compile
everywhere works on Linux, Mac, and Windows.  What more can someone
ask for w/o using interpreted stuff?  You can't expect Lazarus to
write the software too once you get it installed. ;-)

That being said - perhaps you downloaded a specific version w/o the
FPC binaries.

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


Re: [Lazarus] installing lazarus 64bit on snow leopard

2010-05-21 Thread Bee Jay

On 21 Mei 2010, at 23:19, Bee Jay wrote:

>> 5. where did the SQLdb tab and components go?
> 
> I haven't found it yet why it doesn't appear on the component tabs.

It's weird. Rebuild the Lazarus from scratch (clean all, remove dir, etc), 
suddenly the package installation went fine! Well, another digital anomaly, I 
suppose. :D

>> 7. how is the GDB debugger integration status with FPC/Lazarus 64 bit?
> 
> I haven't found it yet. So, for now I have to live with Lazarus without gdb 
> support. Quite a pain, actually. :(

A clean Lazarus installation from SVN as I described before is able to work 
with GDB. But once I touch the compiler options, change any of it, would make 
the IDE hang up every time I click run/build/compile. I found no other way to 
resolve this except rebuild Lazarus from scratch again. Well, I think I could 
live with that. Final binary can be created from the command line.

It seems only me who uses Lazarus on Mac SL 64 bit here since nobody else 
replied to this thread. Thanks anyway. :)

-Bee-


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


Re: [Lazarus] installing lazarus 64bit on snow leopard

2010-05-21 Thread Bee Jay

On 21 Mei 2010, at 21:39, Bee Jay wrote:

After rethinking about it... I don't think I won't be able to use 64 bit 
Lazarus as long as I use Carbon since Carbon is 32 bit anyway. Unless Lazarus 
support for Cocoa goes beta (at least) while it's still on alpha today. 
However, I still able to create 64 bit app on Mac if I don't use Carbon i.e. 
web app or console app. Well, that's what I use Lazarus for anyway. I use 
Lazarus only as IDE since I have no need to build GUI app on Mac. So, 32 bit 
Lazarus on SL is alright. :D

> 1. how to install 64 bit FPC 2.4.0 on Mac SL (64 bit) through the .dmg 
> installer? is there any special option or param?
> 2. since I also plan to switch to FPC fixes branch (through SVN), then... how 
> to install 64 bit FPC 2.4.1 on Mac SL (64 bit) through 'make' command?

I have found -P param. Sorry. :D

> 3. since I don't want to use stable release, then... how to install 64 bit 
> Lazarus on Mac SL through 'make' command?

No need until Cocoa is mature enough to be used to build Lazarus IDE.

> 4. how to make sure Lazarus 64 bit will produce 64 bit app on Mac SL?

This time only to produce non-GUI 64 bit app, use -P param (compiler option).

> 5. where did the SQLdb tab and components go?

I haven't found it yet why it doesn't appear on the component tabs.

> 6. is FPC and Lazarus 64 bit ready to be used on 64 bit Mac-intel to produce 
> stable apps?

FPC is ready, I suppose. But, Lazarus isn't. :(

> 7. how is the GDB debugger integration status with FPC/Lazarus 64 bit?

I haven't found it yet. So, for now I have to live with Lazarus without gdb 
support. Quite a pain, actually. :(

Well... I think I have answered most of my own questions. :D

But, I'm still waiting for any suggestions on the unanswered ones. ;)

-Bee-


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


Re: [Lazarus] installing lazarus 64bit on snow leopard

2010-05-21 Thread Bee Jay

On 21 Mei 2010, at 21:46, Mattias Gaertner wrote:

> Use make clean after a svn update.

This is my first check out on my newly fresh installed Mac SL.

> Or even better: use lazbuild.

I usually use IDE to rebuild Lazarus. I only use 'make' once in a while when 
the IDE isn't yet available (I never installed Lazarus from installer package, 
always from SVN) or the IDE somehow goes wrong (to reproduce a clean IDE).

> I doubt that it created the executable.

I think the compilation stopped when it tried to compile Lazarus with a package 
(jcf package?). Before that, it seemed that the executable already been created 
but without any additional packages linked in.

> Maybe the old was not deleted?

There was no old Lazarus on the machine. This is a clean fresh Mac SL machine, 
no fpc nor Lazarus installed before. And it was the first time I run the 'make'.

> Probably because you started the old one.

No Lazarus was installed before. I'm very sure of it.

> I never tried 64bit on Mac.

Thanks for the help.

-Bee-


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


Re: [Lazarus] installing lazarus 64bit on snow leopard

2010-05-21 Thread Mattias Gaertner
On Fri, 21 May 2010 21:39:25 +0700
Bee Jay  wrote:

> Hi all,
> 
> I'm just doing a clean upgrade to Mac OS X 10.6.3 (Snow Leopard 64 bit) from 
> Mac OS X 10.5.8 (Leopard 32 bit) on my Intel-based Mac machine. I used to 
> have FPC 2.2.4 and Lazarus SVN for 32 bit on Leopard 32 bit and all went fine 
> there. Since now I'm on 64 bit environment, I'd like to also have 64 bit FPC 
> and Lazarus. This is my first experience with FPC/Lazarus on 64 bit 
> environment.
> 
> For FPC, I installed FPC 2.4.0 for Mac Intel, downloaded from SourceForge. 
> The installer (fpc-2.4.0.intel-macosx.dmg) note said that it includes both 
> FPC for 32 and 64 bit. FPC installation all went good.
> 
> For Lazarus, I choose to use the SVN trunk. After updated the SVN, as I 
> usually did on Leopard, I installed Lazarus using 'make' command:
> 
> make all bigide LCL_PLATFORM=carbon

Use make clean after a svn update.
Or even better: use lazbuild.

 
> It usually went fine on Leopard, but this time I faced this error message:
> 
> ...
> Free Pascal Compiler version 2.4.0 [2009/12/20] for i386
> Copyright (c) 1993-2009 by Florian Klaempfl
> Target OS: Darwin for i386
> Compiling lazarus.pp
> Compiling /Volumes/User Data/Bee/Repository/laz-devel/packager/pkgmanager.pas
> Assembling pkgmanager
> Fatal: Can't find unit JcfSettings used by TokenUtils
> Fatal: Compilation aborted
> make[2]: *** [lazarus] Error 1
> make[1]: *** [bigide] Error 2
> make: *** [idebig] Error 2
> 
> ... and the compilation stopped here.
> 
> Despite the error message, the Lazarus executable still produced, so I 
> continued with the next

I doubt that it created the executable.
Maybe the old was not deleted?


> 'make' command:
> 
> make install
> 
> The installation went fine and the Lazarus installed on 
> /usr/local/share/lazarus as it used to be on Leopard. Then, I run the Lazarus 
> (.app) and it went fine. Since I knew the building through 'make' isn't went 
> smooth, I rebuild Lazarus from IDE (Tools } Build Lazarus menu). Before 
> build, I installed SQLdb package first. Then, rebuild.
> 
> The rebuild process went fine and a empty form can be compiled and run fine. 
> But... there are some problems:
> 
> - the Lazarus seems to be still 32 bit app (I knew it from Activity Monitor).

Probably because you started the old one.


> - Lazarus still produces 32 bit app as well.
> - the SQLdb tab and components is not there though Lazarus Package Manager 
> clearly shows that it's installed.
> - when I enabled the debugger (GDB), Lazarus went hang every time I 
> compile/run an app (empty form). It made Lazarus completely unusable, so I 
> disabled it again.
> 
> I think I must did something wrong with both FPC and Lazarus installation on 
> 64 bit. So, here I ask:

I never tried 64bit on Mac.

 
> 1. how to install 64 bit FPC 2.4.0 on Mac SL (64 bit) through the .dmg 
> installer? is there any special option or param?
> 2. since I also plan to switch to FPC fixes branch (through SVN), then... how 
> to install 64 bit FPC 2.4.1 on Mac SL (64 bit) through 'make' command?
> 3. since I don't want to use stable release, then... how to install 64 bit 
> Lazarus on Mac SL through 'make' command?
> 4. how to make sure Lazarus 64 bit will produce 64 bit app on Mac SL?
> 5. where did the SQLdb tab and components go?
> 6. is FPC and Lazarus 64 bit ready to be used on 64 bit Mac-intel to produce 
> stable apps?
> 7. how is the GDB debugger integration status with FPC/Lazarus 64 bit?
> 
> For any hints and replies, I thank you in advance.


Mattias

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


Re: [Lazarus] Installing lazarus with fpc 2.4.0

2010-01-02 Thread Juha Manninen
On lauantai, 2. tammikuuta 2010 06:34:58 Doug Chamberlin wrote:
> IntelliAdmin Support wrote:
> > If you already have Lazarus installed, you can simply install the new
> > compiler, with the sources...then launch Lazarus. Go to tools, and
> > build Lazarus. After the build is finished you should be working with
> > the new compiler
> 
> OK, I get that. But I don't have Lazarus already installed and I don't
> really want to install it with an older fpc version.
> 
> I'm wondering if Lazarus can be installed without also including an fpc
> install at the same time. Seems like a logical thing to have it be
> separate. Or at least an option. But that does not appear to be available.

FPC and Lazarus are separate installations. However, Lazarus needs FPC and 
your distro's package manager takes care of that dependency. You can install 
the old FPC now and update it when the new packages are available. Things are 
easy with package managers.

In another mail you wrote that you plan to "commit to FPC and Lazarus". Then 
you need the latest development version from SVN.
The Lazarus SVN version is very easy to get and build. You could start with 
that. Installing the devel version of FPC needs little more effort but not too 
much (now that I have learned it).

Regards,
Juha Manninen

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


Re: [Lazarus] Installing lazarus with fpc 2.4.0

2010-01-01 Thread Hans-Peter Diettrich

Doug Chamberlin schrieb:


If you already have Lazarus installed, you can simply install the new
compiler, with the sources...then launch Lazarus. Go to tools, and
build Lazarus. After the build is finished you should be working with
the new compiler


OK, I get that. But I don't have Lazarus already installed and I don't 
really want to install it with an older fpc version.


Install FPC first, then build Lazarus from the makefile.

Since the latest FPC version breaks some old code, an older Lazarus 
distribution may fail to compile with a new compiler. If you want to be 
up to date, checkout the latest version (trunk) from the repositories, 
and install from the command line.


DoDi


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


Re: [Lazarus] Installing lazarus with fpc 2.4.0

2010-01-01 Thread Doug Chamberlin

IntelliAdmin Support wrote:

If you already have Lazarus installed, you can simply install the new
compiler, with the sources...then launch Lazarus. Go to tools, and
build Lazarus. After the build is finished you should be working with
the new compiler


OK, I get that. But I don't have Lazarus already installed and I don't 
really want to install it with an older fpc version.


I'm wondering if Lazarus can be installed without also including an fpc 
install at the same time. Seems like a logical thing to have it be 
separate. Or at least an option. But that does not appear to be available.


--
Doug C.
-
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

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


Re: [Lazarus] Installing lazarus with fpc 2.4.0

2010-01-01 Thread IntelliAdmin Support
> I'm thinking if I first install fpc 2.4.0 and then install Lazarus 0.9.28.2...

If you already have Lazarus installed, you can simply install the new
compiler, with the sources...then launch Lazarus. Go to tools, and
build Lazarus. After the build is finished you should be working with
the new compiler

At least that worked for me today with the OSX version...

Joel Sundquist
http://www.intelliadmin.com

--
___
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] Installing Lazarus

2009-11-16 Thread Brian Smart
Hello Henry,
Brilliant! Took about two minutes and worked straight away.
Regards

Brian Smart


-Original Message-
From: Henry Vermaak [mailto:henry.verm...@gmail.com] 
Sent: 16 November 2009 11:40
To: Lazarus mailing list
Subject: Re: [Lazarus] Installing Lazarus

2009/11/16 Brian Smart :
> 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.

>From the wiki:

http://wiki.lazarus.freepascal.org/Getting_Lazarus#Getting_Lazarus_from_our_
Ubuntu_repository

More information on that page re building from source.

Henry

--
___
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] Installing Lazarus

2009-11-16 Thread Francis (Grizzly) Smit

Henry Vermaak wrote:

2009/11/16 Brian Smart :
  

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.



>From the wiki:

http://wiki.lazarus.freepascal.org/Getting_Lazarus#Getting_Lazarus_from_our_Ubuntu_repository

More information on that page re building from source.

Henry

  
if ur willing to be a few versions behind u can install lazarus from the 
repositories



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


Re: [Lazarus] Installing Lazarus

2009-11-16 Thread Henry Vermaak
2009/11/16 Brian Smart :
> 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.

>From the wiki:

http://wiki.lazarus.freepascal.org/Getting_Lazarus#Getting_Lazarus_from_our_Ubuntu_repository

More information on that page re building from source.

Henry

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


Re: [Lazarus] Installing Lazarus

2009-11-16 Thread John vd Waeter

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


Re: [Lazarus] Installing Lazarus 0.9.29 trunk on fpc 2.5.1 trunk: can't "make clean all"?

2009-10-25 Thread Thierry Coq
That could be it. I'll do a full clean and rebuild and check. I've kept 
the debs I've done this morning, it should be easy to revert.


Vincent Snijders wrote:

Thierry Coq schreef:

I did this at around 4 o'clock this morning...

svn co http://svn.freepascal.org/svn/lazarus/trunk lazarus

Is this OK?


That seems ok. Is that also your lazarus directory in the environment 
options? Maybe you are compiling other sources.


This is the file you are supposed to have:
http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/lclmemmanager.pas?view=annotate&root=lazarus 



Note that line 100 doesn't contain any private Fields.

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] Installing Lazarus 0.9.29 trunk on fpc 2.5.1 trunk: can't "make clean all"?

2009-10-25 Thread Vincent Snijders

Thierry Coq schreef:

I did this at around 4 o'clock this morning...

svn co http://svn.freepascal.org/svn/lazarus/trunk lazarus

Is this OK?


That seems ok. Is that also your lazarus directory in the environment 
options? Maybe you are compiling other sources.


This is the file you are supposed to have:
http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/lclmemmanager.pas?view=annotate&root=lazarus

Note that line 100 doesn't contain any private Fields.

Vincent

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


Re: [Lazarus] Installing Lazarus 0.9.29 trunk on fpc 2.5.1 trunk: can't "make clean all"?

2009-10-25 Thread Thierry Coq

I did this at around 4 o'clock this morning...

svn co http://svn.freepascal.org/svn/lazarus/trunk lazarus

Is this OK?


Paul Ishenin wrote:

Thierry Coq wrote:
I wasn't able to install FPC trunk and lazarus trunk using the 
procedure described for lazarus. I was able to do it for FPC 2.4.0 
and lazarus trunk. I described the issue with the private fields not 
accessible. I'm just reporting what I did, and what were the results. 
If somebody can check that, that'll be fine.
It is seems to me that you are using not the trunk but 0.9.28 branch. 
Or maybe your trunk is not uptodate?


Best regards,
Paul Ishenin.

--
___
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] Installing Lazarus 0.9.29 trunk on fpc 2.5.1 trunk: can't "make clean all"?

2009-10-25 Thread Paul Ishenin

Thierry Coq wrote:
I wasn't able to install FPC trunk and lazarus trunk using the 
procedure described for lazarus. I was able to do it for FPC 2.4.0 and 
lazarus trunk. I described the issue with the private fields not 
accessible. I'm just reporting what I did, and what were the results. 
If somebody can check that, that'll be fine.
It is seems to me that you are using not the trunk but 0.9.28 branch. Or 
maybe your trunk is not uptodate?


Best regards,
Paul Ishenin.

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


Re: [Lazarus] Installing Lazarus 0.9.29 trunk on fpc 2.5.1 trunk: can't "make clean all"?

2009-10-25 Thread Mattias Gaertner
On Sun, 25 Oct 2009 05:58:32 +0100
Thierry Coq  wrote:

> FPC svn : 13949
> Lazarus svn : 22279
> Ubuntu 8.04
> 
> Installing FPC and Lazarus from the trunk seems fine. But...
> 
> the units directories in Lazarus are not created.
> 
> So when I do a "make clean all" to recompile lazarus, I get:
> "lclmemmanager.pas(100,37) Error: Cannot access a private field of an 
> object here
> lclmemmanager.pas(100,53) Error: Cannot access a private field of an 
> object here
> lclmemmanager.pas(104,1) Fatal: There were 2 errors compiling module, 
> stopping
> Fatal: Compilation aborted
> make[1]: *** [alllclunits.ppu] Erreur 1
> make[1]: quittant le répertoire « /usr/lib/lazarus/0.9.28/lcl »
> make: *** [lcl] Erreur 2"
> 
> Has somebody seen this before? Is it reproducible? Can I make it a
> bug?

Looks like something I fixed a few weeks ago. 

Make sure your svn does not have local modifications.

Mattias

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


Re: [Lazarus] Installing Lazarus 0.9.29 trunk on fpc 2.5.1 trunk: can't "make clean all"?

2009-10-25 Thread Thierry Coq

Hello Paul,

I wasn't able to install FPC trunk and lazarus trunk using the procedure 
described for lazarus. I was able to do it for FPC 2.4.0 and lazarus 
trunk. I described the issue with the private fields not accessible. I'm 
just reporting what I did, and what were the results. If somebody can 
check that, that'll be fine.


Best regards,
Thierry

Paul Ishenin wrote:

Thierry Coq wrote:
So I installed lazarus trunk on FPC 2.4.0 (RC1). Apart from a few 
issues (debian script does not recognize patch version 0, lazarus and 
fpc installed in /usr/share instead of /usr/lib), it now works.


There seems to be an issue between FPC 2.5.1 and Lazarus.

There is no such issue in the lazarus trunk.

Best regards,
Paul Ishenin.

--
___
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] Installing Lazarus 0.9.29 trunk on fpc 2.5.1 trunk: can't "make clean all"?

2009-10-25 Thread Paul Ishenin

Thierry Coq wrote:
So I installed lazarus trunk on FPC 2.4.0 (RC1). Apart from a few 
issues (debian script does not recognize patch version 0, lazarus and 
fpc installed in /usr/share instead of /usr/lib), it now works.


There seems to be an issue between FPC 2.5.1 and Lazarus.

There is no such issue in the lazarus trunk.

Best regards,
Paul Ishenin.

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


Re: [Lazarus] Installing Lazarus 0.9.29 trunk on fpc 2.5.1 trunk: can't "make clean all"?

2009-10-25 Thread Thierry Coq
So I installed lazarus trunk on FPC 2.4.0 (RC1). Apart from a few issues 
(debian script does not recognize patch version 0, lazarus and fpc 
installed in /usr/share instead of /usr/lib), it now works.


There seems to be an issue between FPC 2.5.1 and Lazarus.

Thierry.

Thierry Coq wrote:

FPC svn : 13949
Lazarus svn : 22279
Ubuntu 8.04

Installing FPC and Lazarus from the trunk seems fine. But...

the units directories in Lazarus are not created.

So when I do a "make clean all" to recompile lazarus, I get:
"lclmemmanager.pas(100,37) Error: Cannot access a private field of an 
object here
lclmemmanager.pas(100,53) Error: Cannot access a private field of an 
object here
lclmemmanager.pas(104,1) Fatal: There were 2 errors compiling module, 
stopping

Fatal: Compilation aborted
make[1]: *** [alllclunits.ppu] Erreur 1
make[1]: quittant le répertoire « /usr/lib/lazarus/0.9.28/lcl »
make: *** [lcl] Erreur 2"

Has somebody seen this before? Is it reproducible? Can I make it a bug?

Thierry


--
___
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