Sign in Join

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

Mailing lists / fpc-devel / 2009-11

Installing "fpc-2.4.0-0.rc1.src.rpm" to OpenSuse 11.2

4 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Juha Manninen

Hi,

I installed FPC 2.4.0 rc1 from rpm packages for OpenSuse 11.2. I can't install the source package "fpc-2.4.0-0.rc1.src.rpm" though. "rpm -i fpc-2.4.0-0.rc1.src.rpm"
or
"rpm -i --force fpc-2.4.0-0.rc1.src.rpm"
give a warning about user joost and group joost missing and tells it uses root instead. It is a warning, not error, but still the files are not installed. The graphical rpm tools give an error but no explanation for it. Do anyone else have such problems?

Binary package "fpc-2.4.0-0.rc1.i386.rpm" installed fine after ignoring a dependency for libtinfo.so.5. It seems to affect the text IDE only, not the compiler and so is not a problem.

One more thing. Page
http://www.freepascal.org/develop.var
has tells how to get latest development version of FPC from SVN. However it does not tell how to compile it.
./compiler/README.txt tells to read "programmers manual" which is not included. Now I am running "make all" at the source root dir. It is compiling already a long time. Is it the right way?

Juha Manninen

Reply by email

Mattias Gaertner
to Juha Manninen
Show quoted text 11 lines
Hi, I installed FPC 2.4.0 rc1 from rpm packages for OpenSuse 11.2. I can't install the source package "fpc-2.4.0-0.rc1.src.rpm" though. "rpm -i fpc-2.4.0-0.rc1.src.rpm" or "rpm -i --force fpc-2.4.0-0.rc1.src.rpm" give a warning about user joost and group joost missing and tells it uses root instead. It is a warning, not error, but still the files are not installed. The graphical rpm tools give an error but no explanation for it. Do anyone else have such problems?

Probably the fpc spec file is missing somewhere:

%files
%defattr(-,root,root,-)

Mattias

Reply by email

Joost van der Sluis
to Juha Manninen: I installed FPC 2.4.0 rc1 from rpm packages for OpenSuse 11.2. I can't install the…
Juha Manninen wrote 11 lines
Hi, I installed FPC 2.4.0 rc1 from rpm packages for OpenSuse 11.2. I can't install the source package "fpc-2.4.0-0.rc1.src.rpm" though. "rpm -i fpc-2.4.0-0.rc1.src.rpm" or "rpm -i --force fpc-2.4.0-0.rc1.src.rpm" give a warning about user joost and group joost missing and tells it uses root instead. It is a warning, not error, but still the files are not installed. The graphical rpm tools give an error but no explanation for it. Do anyone else have such problems?

Well, I think the package is normally installed. But this package contains the sources to compile the package itself. Normally you don't need it. The package contains only two files: fpc-2.4.0rc1-src.tar.gz and fpc-2.4.0rc1.spec. It is installed in the packages-source dir of your system. On Fedora it is: /usr/src/REDHAT/... I think SuSe has another place for them.

That it is using my own name, well.. it shoudn't. But I think it has nothing to do with the %files section (as it is the source-rpm). I'll build it as fakeroot next time.

Binary package "fpc-2.4.0-0.rc1.i386.rpm" installed fine after ignoring a dependency for libtinfo.so.5. It seems to affect the text IDE only, not the compiler and so is not a problem.

Hmm. I thought it would add no dependencies to the package. I'll look if I can fix this.

Show quoted text 7 lines
One more thing. Page http://www.freepascal.org/develop.var has tells how to get latest development version of FPC from SVN. However it does not tell how to compile it. ./compiler/README.txt tells to read "programmers manual" which is not included. Now I am running "make all" at the source root dir. It is compiling already a long time. Is it the right way?

Yes.

Joost

Reply by email

Aleksa Todorovic
to Juha Manninen: I installed FPC 2.4.0 rc1 from rpm packages for OpenSuse 11.2. I can't install the…
Juha Manninen wrote 7 lines
Hi, [...] Binary package "fpc-2.4.0-0.rc1.i386.rpm" installed fine after ignoring a dependency for libtinfo.so.5. It seems to affect the text IDE only, not the compiler and so is not a problem.

I've just tried to install fpc-2.4.0-0.rc1.i386.rpm (downloaded from ftp://ftp.freepascal.org/pub/fpc/beta/2.4.0-rc1/i386-linux/rpm/fpc-2.4.0-0.rc1.i386.rpm) on CentOS 5, and I also get error about missing dependency to libtinfo.so.5. fpc versions 2.2.2 (default on CentOS 5) and 2.2.4 (installed from rpm) both install correctly.

BTW, I've found bug report about same issue -
http://bugs.freepascal.org/view.php?id=9734, only version is now 2.4.0, not 2.2.0 :-)

Best,
Aleksa

Reply by email