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.

Mailing lists / fpc-pascal / 2007-06
14 messages · 4 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
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.
Op Fri, 8 Jun 2007, schreef pineal:
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.
Op Fri, 8 Jun 2007, schreef pineal: Please a look at the earlier e-mail today about the…
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.
The source RPM installs an archive file in /usr/src/packages/SOURCES you must unpack this archive yourself. This is standard behaviour for RPM.
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.
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:
/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.
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
The source RPM installs an archive file in /usr/src/packages/SOURCES you must unpack this…
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.
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.
OK, I finally found the src tar mentioned and it contains everything by the looks of it,…
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.
Op Sun, 10 Jun 2007, schreef pineal: /usr/src/packages/SOURCES should already exist. If…
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.
Nevertheless the package file is correct and contains the sources: rpm -q -p…
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.
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.
No it doesn't. That's why I stated the source doesn't install anything. Due to the…
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.