[fpc-pascal] installing latest stable

Daniël Mantione daniel.mantione at freepascal.org
Sun Jun 10 15:20:20 CEST 2007

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.


More information about the fpc-pascal mailing list