Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2007-06

installing latest stable

14 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

pineal

I have downloaded a tar archive,

fpc-2.1.4.i386-linux.tar

there are no install instructions that I can find. Can anyone give me some guidance or perhaps a link.

thanks

neal.

Reply by email

Daniël Mantione
to pineal

Op Fri, 8 Jun 2007, schreef pineal:

Show quoted text 7 lines
I have downloaded a tar archive, fpc-2.1.4.i386-linux.tar there are no install instructions that I can find. Can anyone give me some guidance or perhaps a link.

Please a look at the earlier e-mail today about the rebuild of this release.

The instructions are right next to the download link on the website: "After untarring the archive into a temporary location, you can run the install script by issuing the command "sh install.sh".

So:
* Open a terinal.
* Untar the file, i.e. type "tar xvzf fpc-2.1.4.i386-linux.tar".
* Type "sh install.sh".

Daniël

Reply by email

pineal
to Daniël Mantione
Daniël Mantione wrote 21 lines
Op Fri, 8 Jun 2007, schreef pineal: > I have downloaded a tar archive, > > fpc-2.1.4.i386-linux.tar > > there are no install instructions that I can find. Can anyone give me > some guidance or perhaps a link. Please a look at the earlier e-mail today about the rebuild of this release. The instructions are right next to the download link on the website: "After untarring the archive into a temporary location, you can run the install script by issuing the command "sh install.sh". So: * Open a terinal. * Untar the file, i.e. type "tar xvzf fpc-2.1.4.i386-linux.tar". * Type "sh install.sh". Daniël

Thanks Daniel,

bearing in mind the rebuild I'll download that and check instructions too.

neal.

Reply by email

pineal
to Daniël Mantione: Op Fri, 8 Jun 2007, schreef pineal: Please a look at the earlier e-mail today about the…
Daniël Mantione wrote 21 lines
Op Fri, 8 Jun 2007, schreef pineal: > I have downloaded a tar archive, > > fpc-2.1.4.i386-linux.tar > > there are no install instructions that I can find. Can anyone give me > some guidance or perhaps a link. Please a look at the earlier e-mail today about the rebuild of this release. The instructions are right next to the download link on the website: "After untarring the archive into a temporary location, you can run the install script by issuing the command "sh install.sh". So: * Open a terinal. * Untar the file, i.e. type "tar xvzf fpc-2.1.4.i386-linux.tar". * Type "sh install.sh". Daniël

Hi Daniel,

I have spent the whole afternoon trying to install fpc. :(

First I downloaded the .rpm files. The compiler and docs install fine but the source doesn't install anything and there is no error or warning.

So I tried the same source rpm from a different mirror with the same result.

So I removed those, downloaded the new 2.1.4a archive, unpacked it and ran the install script (which I had to interrupt and run a second time as root) which ran without showing an error and yet I still have no source installed.

any ideas please?

neal.

Reply by email

Michael Van Canneyt
to pineal
pineal wrote 29 lines
On Friday 08 June 2007 18:46, Daniël Mantione wrote: > Op Fri, 8 Jun 2007, schreef pineal: > > I have downloaded a tar archive, > > > > fpc-2.1.4.i386-linux.tar > > > > there are no install instructions that I can find. Can anyone give me > > some guidance or perhaps a link. > > Please a look at the earlier e-mail today about the rebuild of this > release. > > The instructions are right next to the download link on the website: > "After untarring the archive into a temporary location, you can run the > install script by issuing the command "sh install.sh". > > So: > * Open a terinal. > * Untar the file, i.e. type "tar xvzf fpc-2.1.4.i386-linux.tar". > * Type "sh install.sh". > > Daniël Hi Daniel, I have spent the whole afternoon trying to install fpc. :( First I downloaded the .rpm files. The compiler and docs install fine but the source doesn't install anything and there is no error or warning.

The source RPM installs an archive file in /usr/src/packages/SOURCES you must unpack this archive yourself. This is standard behaviour for RPM.

Show quoted text 6 lines
So I tried the same source rpm from a different mirror with the same result. So I removed those, downloaded the new 2.1.4a archive, unpacked it and ran the install script (which I had to interrupt and run a second time as root) which ran without showing an error and yet I still have no source installed.

That is because it does not install the sources. The .tar.gz does not contain the sources: it would more than double the size. The sources are available as a separate download.

Michael.

Reply by email

Daniël Mantione
to pineal: No it doesn't. That's why I stated the source doesn't install anything. Due to the…

Op Sun, 10 Jun 2007, schreef pineal:

Show quoted text 15 lines
On Sunday 10 June 2007 10:15, Michael Van Canneyt wrote: > > > > I have spent the whole afternoon trying to install fpc. :( > > > > First I downloaded the .rpm files. The compiler and docs install fine but > > the source doesn't install anything and there is no error or warning. > > The source RPM installs an archive file in /usr/src/packages/SOURCES > you must unpack this archive yourself. This is standard behaviour for RPM. > No it doesn't. That's why I stated the source doesn't install anything. Due to the problems I looked in the install script and found a reference to /src (which I guessed is appended to the main install dir /usr) and looked there too, but nothing is installed. There is no packages directory created.

/usr/src/packages/SOURCES should already exist. If it doesn't your system uses a non standard RPM location; you will find the source in this non standard location in such case.

Show quoted text 9 lines
> That is because it does not install the sources. The .tar.gz does not > contain the sources: it would more than double the size. The sources > are available as a separate download. > > Michael. According to the downloads page the .tar is one big file with "everything in 1 big package", or the other options are .rpm files. There is no tar for just the sources.

On http://www.freepascal.org/download.var, there is a link to the sources download, and yes, it is a tar.

I did extract the source tar from the source rpm, but I don't know where it should be installed. Previously fpcsrc was installed in /usr/share/fpcsrc, if that is now different, shouldn't a change such as this be documented?

Install it wherever you like, the compiler doesn't look for the sources during normal operation. I suggest $HOME/fpcsource.

Daniël

Reply by email

pineal
to Michael Van Canneyt: The source RPM installs an archive file in /usr/src/packages/SOURCES you must unpack this…
Michael Van Canneyt wrote 9 lines
> > I have spent the whole afternoon trying to install fpc. :( > > First I downloaded the .rpm files. The compiler and docs install fine but > the source doesn't install anything and there is no error or warning. The source RPM installs an archive file in /usr/src/packages/SOURCES you must unpack this archive yourself. This is standard behaviour for RPM.

No it doesn't. That's why I stated the source doesn't install anything. Due to the problems I looked in the install script and found a reference to /src (which I guessed is appended to the main install dir /usr) and looked there too, but nothing is installed. There is no packages directory created.

Show quoted text 13 lines
> So I tried the same source rpm from a different mirror with the same > result. > > So I removed those, downloaded the new 2.1.4a archive, unpacked it and > ran the install script (which I had to interrupt and run a second time as > root) which ran without showing an error and yet I still have no source > installed. That is because it does not install the sources. The .tar.gz does not contain the sources: it would more than double the size. The sources are available as a separate download. Michael.

According to the downloads page the .tar is one big file with "everything in 1 big package", or the other options are .rpm files. There is no tar for just the sources.

I did extract the source tar from the source rpm, but I don't know where it should be installed. Previously fpcsrc was installed in /usr/share/fpcsrc, if that is now different, shouldn't a change such as this be documented?

neal.

Reply by email

Michael Van Canneyt
to pineal: OK, I finally found the src tar mentioned and it contains everything by the looks of it,…
pineal wrote 54 lines
On Sunday 10 June 2007 13:20, Daniël Mantione wrote: > Op Sun, 10 Jun 2007, schreef pineal: > > On Sunday 10 June 2007 10:15, Michael Van Canneyt wrote: > > > > I have spent the whole afternoon trying to install fpc. :( > > > > > > > > First I downloaded the .rpm files. The compiler and docs install fine > > > > but the source doesn't install anything and there is no error or > > > > warning. > > > > > > The source RPM installs an archive file in /usr/src/packages/SOURCES > > > you must unpack this archive yourself. This is standard behaviour for > > > RPM. > > > > No it doesn't. That's why I stated the source doesn't install anything. > > Due to the problems I looked in the install script and found a reference > > to /src (which I guessed is appended to the main install dir /usr) and > > looked there too, but nothing is installed. There is no packages > > directory created. > > /usr/src/packages/SOURCES should already exist. If it doesn't your system > uses a non standard RPM location; you will find the source in this non > standard location in such case. > > > > That is because it does not install the sources. The .tar.gz does not > > > contain the sources: it would more than double the size. The sources > > > are available as a separate download. > > > > > > Michael. > > > > According to the downloads page the .tar is one big file with "everything > > in 1 big package", or the other options are .rpm files. There is no tar > > for just the sources. > > On http://www.freepascal.org/download.var, there is a link to the sources > download, and yes, it is a tar. > > > I did extract the source tar from the source rpm, but I don't know where > > it should be installed. Previously fpcsrc was installed in > > /usr/share/fpcsrc, if that is now different, shouldn't a change such as > > this be documented? > > Install it wherever you like, the compiler doesn't look for the sources > during normal operation. I suggest $HOME/fpcsource. > > Daniël Hi Daniel, OK, I finally found the src tar mentioned and it contains everything by the looks of it, including an install script so I shall remove everything so far and try a fresh install from this. *But*, please note when I stated nothing was installed from the source rpm file, it did not get put somewhere else, *nothing* was installed!

Nevertheless the package file is correct and contains the sources:

rpm -q -p fpc-2.1.4-0.src.rpm -l
fpc-2.1.4-src.tar.gz
fpc-2.1.4.spec

So either something went wrong when you installed it (disk space ?), or It was installed in a strange location.

Michael.

Reply by email

pineal
to Daniël Mantione: Op Sun, 10 Jun 2007, schreef pineal: /usr/src/packages/SOURCES should already exist. If…
Daniël Mantione wrote 44 lines
Op Sun, 10 Jun 2007, schreef pineal: > On Sunday 10 June 2007 10:15, Michael Van Canneyt wrote: > > > I have spent the whole afternoon trying to install fpc. :( > > > > > > First I downloaded the .rpm files. The compiler and docs install fine > > > but the source doesn't install anything and there is no error or > > > warning. > > > > The source RPM installs an archive file in /usr/src/packages/SOURCES > > you must unpack this archive yourself. This is standard behaviour for > > RPM. > > No it doesn't. That's why I stated the source doesn't install anything. > Due to the problems I looked in the install script and found a reference > to /src (which I guessed is appended to the main install dir /usr) and > looked there too, but nothing is installed. There is no packages > directory created. /usr/src/packages/SOURCES should already exist. If it doesn't your system uses a non standard RPM location; you will find the source in this non standard location in such case. > > That is because it does not install the sources. The .tar.gz does not > > contain the sources: it would more than double the size. The sources > > are available as a separate download. > > > > Michael. > > According to the downloads page the .tar is one big file with "everything > in 1 big package", or the other options are .rpm files. There is no tar > for just the sources. On http://www.freepascal.org/download.var, there is a link to the sources download, and yes, it is a tar. > I did extract the source tar from the source rpm, but I don't know where > it should be installed. Previously fpcsrc was installed in > /usr/share/fpcsrc, if that is now different, shouldn't a change such as > this be documented? Install it wherever you like, the compiler doesn't look for the sources during normal operation. I suggest $HOME/fpcsource. Daniël

Hi Daniel,

OK, I finally found the src tar mentioned and it contains everything by the looks of it, including an install script so I shall remove everything so far and try a fresh install from this.

*But*, please note when I stated nothing was installed from the source rpm file, it did not get put somewhere else, *nothing* was installed!

neal.

Reply by email

pineal
to Michael Van Canneyt: Nevertheless the package file is correct and contains the sources: rpm -q -p…
Michael Van Canneyt wrote 8 lines
> *But*, please note when I stated nothing was installed from the source > rpm file, it did not get put somewhere else,  *nothing* was installed! Nevertheless the package file is correct and contains the sources: rpm -q -p fpc-2.1.4-0.src.rpm -l fpc-2.1.4-src.tar.gz fpc-2.1.4.spec

I agree the rpm does contain those.

So either something went wrong when you installed it (disk space ?),

No it didn't! Nothing went wrong, no error was reported and the package contents were not installed, anywhere.

, or It was installed in a strange location.

Sure, like someone else's computer. ;)

Michael.

Micheal, I'm not trying to have an argument or be funny, please just accept the fact that the rpm does not work on my system.

neal.

Reply by email

Michael Van Canneyt
to pineal
pineal wrote 28 lines
On Sunday 10 June 2007 18:13, Michael Van Canneyt wrote: > > *But*, please note when I stated nothing was installed from the source > > rpm file, it did not get put somewhere else,  *nothing* was installed! > > Nevertheless the package file is correct and contains the sources: > > rpm -q -p fpc-2.1.4-0.src.rpm > -l fpc-2.1.4-src.tar.gz > fpc-2.1.4.spec I agree the rpm does contain those. > > So either something went wrong when you installed it (disk space ?), No it didn't! Nothing went wrong, no error was reported and the package contents were not installed, anywhere. > , or > It was installed in a strange location. Sure, like someone else's computer. ;) > > Michael. Micheal, I'm not trying to have an argument or be funny, please just accept the fact that the rpm does not work on my system.

Yes, of course: I'm just trying to analyse why it would not work ? The rpm itself seems fine ?

Michael.

Reply by email

pineal
to Michael Van Canneyt
Michael Van Canneyt wrote 33 lines
On Mon, 11 Jun 2007, pineal wrote: > On Sunday 10 June 2007 18:13, Michael Van Canneyt wrote: > > > *But*, please note when I stated nothing was installed from the > > > source rpm file, it did not get put somewhere else,  *nothing* was > > > installed! > > > > Nevertheless the package file is correct and contains the sources: > > > > rpm -q -p > > fpc-2.1.4-0.src.rpm -l fpc-2.1.4-src.tar.gz > > fpc-2.1.4.spec > > I agree the rpm does contain those. > > > So either something went wrong when you installed it (disk space ?), > > No it didn't! Nothing went wrong, no error was reported and the package > contents were not installed, anywhere. > > > , or > > It was installed in a strange location. > > Sure, like someone else's computer. ;) > > > Michael. > > Micheal, I'm not trying to have an argument or be funny, please just > accept the fact that the rpm does not work on my system. Yes, of course: I'm just trying to analyse why it would not work ? The rpm itself seems fine ? Michael.

Hi Micheal,

I now have everything installed and my Lazarus compiles with a GTK2 ide, Great! Alas my zeos components will not compile though.

I have had another look at the source rpm and during the installation part, there are a couple of messages about "user 'Joost' (IIRC) is not available, using root." and there is one other user name with the same message. The install process completes and returns a successful completion code.

If I then check the list of files installed, the two source files already named are both listed, but with a big question mark before their names *where the path name should be*, i.e. they went nowhere.

hth

neal.

Reply by email

Joost van der Sluis
to pineal: No it doesn't. That's why I stated the source doesn't install anything. Due to the…
pineal wrote 37 lines
On Sunday 10 June 2007 10:15, Michael Van Canneyt wrote: > > > > I have spent the whole afternoon trying to install fpc. :( > > > > First I downloaded the .rpm files. The compiler and docs install fine but > > the source doesn't install anything and there is no error or warning. > > The source RPM installs an archive file in /usr/src/packages/SOURCES > you must unpack this archive yourself. This is standard behaviour for RPM. > No it doesn't. That's why I stated the source doesn't install anything. Due to the problems I looked in the install script and found a reference to /src (which I guessed is appended to the main install dir /usr) and looked there too, but nothing is installed. There is no packages directory created. > > So I tried the same source rpm from a different mirror with the same > > result. > > > > So I removed those, downloaded the new 2.1.4a archive, unpacked it and > > ran the install script (which I had to interrupt and run a second time as > > root) which ran without showing an error and yet I still have no source > > installed. > > That is because it does not install the sources. The .tar.gz does not > contain the sources: it would more than double the size. The sources > are available as a separate download. > > Michael. According to the downloads page the .tar is one big file with "everything in 1 big package", or the other options are .rpm files. There is no tar for just the sources. I did extract the source tar from the source rpm, but I don't know where it should be installed. Previously fpcsrc was installed in /usr/share/fpcsrc, if that is now different, shouldn't a change such as this be documented?

You're confusing the RPM with the fpc-sources provided by Lazarus. Normally there's no need for the sources, only Lazarus uses them. So the Lazarus-team made a RPM with the fpc-sources in /usr/share/fpcsrc. This rpm are also provided for several distributions, like Fedora.

But those rpm's are not available on the freepascal-website, as they are not provided by the fpc-team.

Joost.

Reply by email

pineal
to Joost van der Sluis
Joost van der Sluis wrote 14 lines
> I did extract the source tar from the source rpm, but I don't know where > it should be installed. Previously fpcsrc was installed in > /usr/share/fpcsrc, if that is now different, shouldn't a change such as > this be documented? You're confusing the RPM with the fpc-sources provided by Lazarus. Normally there's no need for the sources, only Lazarus uses them. So the Lazarus-team made a RPM with the fpc-sources in /usr/share/fpcsrc. This rpm are also provided for several distributions, like Fedora. But those rpm's are not available on the freepascal-website, as they are not provided by the fpc-team. Joost.

OK, thanks for the clarification.

neal.

Reply by email