Recent

Author Topic: Install frustration  (Read 7343 times)

cabbage

  • Newbie
  • Posts: 4
Install frustration
« on: July 16, 2009, 07:47:13 pm »
[CentOS 4.7]

1) installed fpc as instructed: 2.2.4-1

2) installing laz I get:

     rpm -Uvh lazarus-0.9.26.2-0.i386.rpm

     error: Failed dependencies:
        fpc = 2.2.2-0 is needed by lazarus-0.9.26.2-0.i386
        fpc-src = 2.2.2 is needed by lazarus-0.9.26.2-0.i386

  ok, so I found 2.2.2-0

   rpm -Uvh fpc-2.2.2-0.i386.rpm
      error: Failed dependencies:
          libc.so.6(GLIBC_2.4) is needed by fpc-2.2.2-0.i386

Feel like I'm chasing my tail here..
Is there a way to override and install laz with fpc 2.2.4-1? Shouldn't it be able to work with a newer fpc ?





LazaruX

  • Hero Member
  • *****
  • Posts: 597
  • Lazarus original cheetah.The cheetah doesn't cheat
Re: Install frustration
« Reply #1 on: July 16, 2009, 09:22:25 pm »
As far I understand you need libc.so.6(GLIBC_2.4), and maybe that will have other dependencies, this is the Linux hell , welcome  >:D

I dont' have any expericence with Cent OS and not that much with Linux, but why don't you use a package manager?

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: Install frustration
« Reply #2 on: July 17, 2009, 12:27:16 am »
Compile Lazarus from sources, using the "Getting from source" link in the menu on the left.

The binaries from lazarus-0.9.26.2-0.i386.rpm are compiled with fpc 2.2.2 and incompatible with fpc 2.2.4.


Chronos

  • Sr. Member
  • ****
  • Posts: 252
    • PascalClassLibrary
Re: Install frustration
« Reply #3 on: July 17, 2009, 10:26:18 pm »
On Fedora you can simply install lazarus by yum install lazarus. CentOS should have yum rpm installer too as it is based on redhat. yum will silmply instal required dependency rpms.

You can browse rpm content by mc to view another rpm dependency or you can search for rpm dependencies on internet. libc library could be installed in rpm glibc.

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1932
Re: Install frustration
« Reply #4 on: July 18, 2009, 04:27:02 am »
I'd just like to tell how easy it is to install Lazarus with OpenSuSE 11.1.
Add Packman as a repository then just install Lazarus via Yast and you have it running with all dependencies.
You may upgrade later with whatever method you like, the basic dependencies are already there. It's really as easy as on Windows.
http://www.opensuse.org/

Troodon

  • Sr. Member
  • ****
  • Posts: 484
Re: Install frustration
« Reply #5 on: July 18, 2009, 04:40:20 am »
I'd just like to tell how easy it is to install Lazarus with OpenSuSE 11.1.

I agree. The only problem with installing through Yast or Synaptic is, someone needs to keep those repository packages up to date. In my experience that is not the case.

For example, on Ubuntu 8 the Lazarus version available through Synaptic is still the very first 0.9.26. If you want newer packages they are only available for Ubuntu 9, which is not an LTS release. Fortunately, a forum user made Ubuntu 8 packages based on fpc-2.3.1 available through a repository he maintains.
« Last Edit: July 18, 2009, 06:50:58 am by Troodon »
Lazarus/FPC on Linux

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1932
Re: Install frustration
« Reply #6 on: July 18, 2009, 05:00:16 am »
The snapshot RPM's are easily installable under OpenSuSE once the dependencies are resolved via Packman.
http://www.hu.freepascal.org/lazarus/
« Last Edit: July 18, 2009, 05:03:02 am by theo »

 

TinyPortal © 2005-2018