Re: [fpc-pascal] Installing FPC 2.4.4 for Ubuntu / Mint + other thoughts

2011-06-16 Thread Rainer Stratmann
Am Thursday 16 June 2011 00:34:15 schrieb Juha Manninen:
 Linux is still a superior platform for open-source software. Unfortunately
 for commercial software it is not.
That's not true. Look at http://www.cadsoft.de
 There is not one Linux but many variations, and supporting binary installs
 for all is quite impossible.
If you repeat the things of some people who wants to choke discussions about 
userfriendly and easy handling, compatibility and so on that becomes not 
true.
I wrote an commercial application that runs with embedded Linux and every 
other Linux and also with Windows.
Yes it is some work to reach this independent state.
And if you don't want to take the road you say it is impossible.
 Source code can be made portable more easily but commercial software must
 deploy binaries.

 I have a new job (http://www.cadworkssoftware.com/) and realized how big
 problem it is. Even the big mechanical CAD programs support Windows only,
 although it used to be the domain of Unix.

 Seems like Linux will remain an open-source domain. Ok then, no problem...

 Juha


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Installing FPC 2.4.4 for Ubuntu / Mint + other thoughts

2011-06-16 Thread Juha Manninen
2011/6/16 Rainer Stratmann rainerstratm...@t-online.de

 Am Thursday 16 June 2011 00:34:15 schrieb Juha Manninen:
  Linux is still a superior platform for open-source software.
 Unfortunately
  for commercial software it is not.
 That's not true. Look at http://www.cadsoft.de


Interesting. I still believe you have spent lots of time with deployment
issues.

Good luck with your CAD.

Regards,
Juha
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Installing FPC 2.4.4 for Ubuntu / Mint + other thoughts

2011-06-16 Thread Rainer Stratmann
Am Thursday 16 June 2011 14:59:31 schrieb Juha Manninen:
 2011/6/16 Rainer Stratmann rainerstratm...@t-online.de

  Am Thursday 16 June 2011 00:34:15 schrieb Juha Manninen:
   Linux is still a superior platform for open-source software.
 
  Unfortunately
 
   for commercial software it is not.
 
  That's not true. Look at http://www.cadsoft.de

 Interesting. I still believe you have spent lots of time with deployment
 issues.
That is not my company.
And as far as I know this software is written in C.

 Good luck with your CAD.

 Regards,
 Juha


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Installing FPC 2.4.4 for Ubuntu / Mint + other thoughts

2011-06-15 Thread Bart
Juha,

 I just want to
 have a working compiler for Lazarus SVN versions but it is difficult.

Yes, I recognize this from the past...
This is how I set it up on Suse 10.0
(I cannot use the rpm's my Suse is just too old, it refuses installing
fpc rpm's since long time ago)

Go to the general download page from fpc:
http://freepascal.org/download.var

From binaries select your processor (mine is Intel/i386)
and click on your OS (Linux)

In my case (Intel/i386) this will lead me to
http://freepascal.org/down/i386/linux.var

Select a Mirror:

From Download in 1 big file select:
fpc-2.4.4.i386-linux.tar

This file contains an installscript, which will install the compiler.

At this point you have a working compiler on your system.
So you can build Lazarus from SVN.


In addition, for Lazarus Codetools you need the fpc sources, which you
can obtain easily:

http://freepascal.org/down/source/sources.var
Select a Mirror, then one of these (if you do not need the sources for
the compiler)

Zip file:
fpc-2.4.4.source.zip (26 MB)
Gzipped Tar file:
fpc-2.4.4.source.tar.gz (22 MB)

The drawback for this method is that your package manager has no idea
nymore about which version of Fpc (binary and sources) is installed,
and you'll have to delet old versions yourself.

It works for me though (I've been doing this since Laz 0.9.26/fpc 2.2.2)

Hope this helps in any way.

Bart
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


RE : [fpc-pascal] Installing FPC 2.4.4 for Ubuntu / Mint + other thoughts

2011-06-15 Thread Ludo Brands
A quick improvement for
ftp://ftp.hu.freepascal.org/pub/fpc/dist/2.4.4/i386-linux/deb/
ftp://ftp.hu.freepascal.org/pub/fpc/dist/2.4.4/i386-linux/deb/ is to
upgrade it to a repository. 
Include the attached file in the above directory and you can access it as
normal repository by adding deb
ftp://ftp.hu.freepascal.org/pub/fpc/dist/2.4.4/i386-linux/deb/
ftp://ftp.hu.freepascal.org/pub/fpc/dist/2.4.4/i386-linux/deb/ ./ to
/etc/apt/sources.list (or using the Software Sources application in
ubuntu). The file is created with dpkg-scanpackages and compressed. I've
tried this on my local ftp server after having copied all deb's and both a
fresh install and the upgrade from 2.4.0 (original ubuntu one) to 2.4.4
worked fine by installing/upgrading the meta package fpc. 
Since I don't know the PGP key used to create the deb's I do get NOT
AUTHENTICATED warnings when installing fpc. The key is different from the
one used for the old lazarus repository
http://wiki.lazarus.freepascal.org/Lazarus_release_version_for_Ubuntu.
 
Ludo

-Message d'origine-
De : fpc-pascal-boun...@lists.freepascal.org
[mailto:fpc-pascal-boun...@lists.freepascal.org] De la part de Juha Manninen
Envoyé : mardi 14 juin 2011 19:12
À : FPC-Pascal users discussions
Objet : [fpc-pascal] Installing FPC 2.4.4 for Ubuntu / Mint + other thoughts


I found the packages for Debian / Ubuntu / Mint :
ftp://ftp.hu.freepascal.org/pub/fpc/dist/2.4.4/i386-linux/deb/

How to install it?
Am I really supposed to download those ~40 packages separately and then
install them in some specific order?
Other people have brougt this up, too, and I understand why. I just want to
have a working compiler for Lazarus SVN versions but it is difficult.

I had to change my machine configuration, USB web-stick doesn't work on my
Linux, I have a new Windows 7, Mint Linux on VirtualBox etc.
It makes me angry that I can't install FPC and Lazarus easily.
I know how the casual visitors feel when they can't install easily. For 90%
of them it is a turn-off and they go to test something else.
That is why I wrote earlier that an easy installation would be a
killer-feature for both FPC and Lazarus. There would be 10 times more
people trying it (100% instead of 10%).

How to improve it?
For windows, I have explained some errors in the installation instructions.
The source link leads to a wrong place.
Also, the sources are not included in the default package even they are
needed practically always. I wrote earlier about it.
Also, if someone wants a compiler fo 64-bit Windows, he certainly selects
the wrong cross-compiler because it is mentioned only in the very end. I did
the same mistake again just few days ago.

On Linux, even a major distro like Ubuntu has so old versions of FPC and
Lazarus. Why? I guess the releases should be advertized more to some
maintainers. How does it work in practice? Who advertizes to who?

Next I will try Suse and Sabayon under VirtualBox, I hope they work. At
least they have easy-to-install, recent FPC packages. I really don't know
why Ubuntu is so popular...

Juha





Packages.gz
Description: Binary data
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

RE : [fpc-pascal] Installing FPC 2.4.4 for Ubuntu / Mint + other thoughts

2011-06-15 Thread Ludo Brands
Resend: Outlook keeps converting to html messages...

A quick improvement for
ftp://ftp.hu.freepascal.org/pub/fpc/dist/2.4.4/i386-linux/deb/ is to
upgrade it to a repository. 
Include the attached file in the above directory and you can access it as
normal repository by adding deb
ftp://ftp.hu.freepascal.org/pub/fpc/dist/2.4.4/i386-linux/deb/ ./ to
/etc/apt/sources.list (or using the Software Sources application in
ubuntu). The file is created with dpkg-scanpackages and compressed. I've
tried this on my local ftp server after having copied all deb's and both a
fresh install and the upgrade from 2.4.0 (original ubuntu one) to 2.4.4
worked fine by installing/upgrading the meta package fpc. 
Since I don't know the PGP key used to create the deb's I do get NOT
AUTHENTICATED warnings when installing fpc. The key is different from the
one used for the old lazarus repository
http://wiki.lazarus.freepascal.org/Lazarus_release_version_for_Ubuntu.
 
Ludo


Packages.gz
Description: Binary data
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Installing FPC 2.4.4 for Ubuntu / Mint + other thoughts

2011-06-15 Thread Peter

 Am I really supposed to download those ~40 packages separately


Usually, in situations like this, one just installs a meta package with a 
package manager.
The meta package is just a list of required dependencies, and downloads other 
packages as needed.

I installed this one.
http://packages.debian.org/sid/fpc-2.4.4

Easy  painless.


Also, the Debian package is dated May-23, the date of the release.

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Installing FPC 2.4.4 for Ubuntu / Mint + other thoughts

2011-06-15 Thread Juha Manninen
Thanks, there are many ways to install.
I used the Bart's system which is easy although it bypasses the package
manager.

I believe the Linux installation could be improved with build-servers like
Suse has and other distros, too.
There is no fundamental problem with it.

Linux is still a superior platform for open-source software. Unfortunately
for commercial software it is not.
There is not one Linux but many variations, and supporting binary installs
for all is quite impossible.
Source code can be made portable more easily but commercial software must
deploy binaries.

I have a new job (http://www.cadworkssoftware.com/) and realized how big
problem it is. Even the big mechanical CAD programs support Windows only,
although it used to be the domain of Unix.

Seems like Linux will remain an open-source domain. Ok then, no problem...

Juha
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Installing FPC 2.4.4 for Ubuntu / Mint + other thoughts

2011-06-14 Thread Jonas Maebe

On 14 Jun 2011, at 19:12, Juha Manninen wrote:

 I found the packages for Debian / Ubuntu / Mint :
 ftp://ftp.hu.freepascal.org/pub/fpc/dist/2.4.4/i386-linux/deb/
 
 How to install it?
 Am I really supposed to download those ~40 packages separately

Yes. I guess we can also add a tar file that contains all of them.

 and then
 install them in some specific order?

No. This was answered in the previous thread: 
http://lists.freepascal.org/lists/fpc-pascal/2011-May/029139.html


Jonas___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


RE : [fpc-pascal] Installing FPC 2.4.4 for Ubuntu / Mint + other thoughts

2011-06-14 Thread Ludo Brands
Has anybody looked into creating an Ubuntu PPA? 
 
Ludo 

-Message d'origine-
De : fpc-pascal-boun...@lists.freepascal.org
[mailto:fpc-pascal-boun...@lists.freepascal.org] De la part de Juha Manninen
Envoyé : mardi 14 juin 2011 19:12
À : FPC-Pascal users discussions
Objet : [fpc-pascal] Installing FPC 2.4.4 for Ubuntu / Mint + other thoughts


I found the packages for Debian / Ubuntu / Mint :
ftp://ftp.hu.freepascal.org/pub/fpc/dist/2.4.4/i386-linux/deb/

How to install it?
Am I really supposed to download those ~40 packages separately and then
install them in some specific order?
Other people have brougt this up, too, and I understand why. I just want to
have a working compiler for Lazarus SVN versions but it is difficult.

I had to change my machine configuration, USB web-stick doesn't work on my
Linux, I have a new Windows 7, Mint Linux on VirtualBox etc.
It makes me angry that I can't install FPC and Lazarus easily.
I know how the casual visitors feel when they can't install easily. For 90%
of them it is a turn-off and they go to test something else.
That is why I wrote earlier that an easy installation would be a
killer-feature for both FPC and Lazarus. There would be 10 times more
people trying it (100% instead of 10%).

How to improve it?
For windows, I have explained some errors in the installation instructions.
The source link leads to a wrong place.
Also, the sources are not included in the default package even they are
needed practically always. I wrote earlier about it.
Also, if someone wants a compiler fo 64-bit Windows, he certainly selects
the wrong cross-compiler because it is mentioned only in the very end. I did
the same mistake again just few days ago.

On Linux, even a major distro like Ubuntu has so old versions of FPC and
Lazarus. Why? I guess the releases should be advertized more to some
maintainers. How does it work in practice? Who advertizes to who?

Next I will try Suse and Sabayon under VirtualBox, I hope they work. At
least they have easy-to-install, recent FPC packages. I really don't know
why Ubuntu is so popular...

Juha



___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal