Sign in Join

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

Mailing lists / lazarus / 2008-10

Cannot install Lazarus-0.9.26/fpc-2.2.2 on Suse 10.0, help needed

14 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

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

Bart

Hi,

On my rather old computer I run Suse 10.0 (as my second OS). I tried to upgrade my existing Lazarus (0.9.24) to 0.9.26. I downloaded the rpm's for fpc, fpc-src and lazarus, then tried:

simenon:/home/bart/downloads # rpm -Uvh fpc-2.2.2-0.i386.rpm fpc-src-2.2.2-081004.i386.rpm lazarus-0.9.26-0.i386.rpm

which gave me
error: Failed dependencies: libc.so.6(GLIBC_2.4) is needed by fpc-2.2.2-0

I queried rpm for the version of glibc:
simenon:/home/bart/downloads # rpm -q glibc
glibc-2.3.5-40

As far as I can see, there is no glibc-2.4 available for Suse 10.0 Does this mean I have to upgrade Suse to 10.2 (10.3) in order to get the latest Lazarus working again? That would be rather frustrating. I still can run Lazarus on my WinME, but I really enjoy having it on linux too. I even wrote one minor patch for fpc, which was also nice. I would really miss it, if I could not even try to contribute to the project anymore...

Anyone knows why 2.2.2 now needs glibc-2.4, when 2.2.0 was quite happy with glibc-2.3? I found nothing in the release notes about this.

Is there a way to get around this problem?

Note, I'm rather new at Linux, but I'm not afraid of the console...

Bart

Reply by email

Norman Schwirz
to Bart
Show quoted text 36 lines
Hi, On my rather old computer I run Suse 10.0 (as my second OS). I tried to upgrade my existing Lazarus (0.9.24) to 0.9.26. I downloaded the rpm's for fpc, fpc-src and lazarus, then tried: simenon:/home/bart/downloads # rpm -Uvh fpc-2.2.2-0.i386.rpm fpc-src-2.2.2-081004.i386.rpm lazarus-0.9.26-0.i386.rpm which gave me error: Failed dependencies: libc.so.6(GLIBC_2.4) is needed by fpc-2.2.2-0 I queried rpm for the version of glibc: simenon:/home/bart/downloads # rpm -q glibc glibc-2.3.5-40 As far as I can see, there is no glibc-2.4 available for Suse 10.0 Does this mean I have to upgrade Suse to 10.2 (10.3) in order to get the latest Lazarus working again? That would be rather frustrating. I still can run Lazarus on my WinME, but I really enjoy having it on linux too. I even wrote one minor patch for fpc, which was also nice. I would really miss it, if I could not even try to contribute to the project anymore... Anyone knows why 2.2.2 now needs glibc-2.4, when 2.2.0 was quite happy with glibc-2.3? I found nothing in the release notes about this. Is there a way to get around this problem? Note, I'm rather new at Linux, but I'm not afraid of the console... Bart _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Hi Bart,

I'm using OpenSuse 11 and the new Lazarus 0.9.26 and it works. Installed per RPM (YaST and some little tricks) because of my installed glibc 2.8, there was no Problem with dependencies.

On my old Suse-Linux 10.3- Live-DVD it seems to be a glibc 2.6 included. Maybe this info can help a little.

Since there are bugfixes mainly per SVN and not per updated RPM-Packages (Why???) I will try to check the newest version of lazarus&Free-Pascal using a fresh and hot Live-DVD from OpenSuse. Maybe it can work for you too.

P.S.: Is there any kind of plugin- Framework planned for Lazarus?

Reply by email

Bart
to Norman Schwirz

I'm not keen on upgrading my Suse to 11.0 (or 10.3), because I run it on an old computer (Celeron 700 Mhz, 512 Mb), and getting X to recognise and setting up my LCD monitor was a PITA.

Does anyone know if it is at all possible to build fpc 2.2.2 form source with glibc 2.3?
If so, I could tarts trying to work my way around this.

Bart

Reply by email

Florian Klaempfl
to Bart
Show quoted text 7 lines
I'm not keen on upgrading my Suse to 11.0 (or 10.3), because I run it on an old computer (Celeron 700 Mhz, 512 Mb), and getting X to recognise and setting up my LCD monitor was a PITA. Does anyone know if it is at all possible to build fpc 2.2.2 form source with glibc 2.3? If so, I could tarts trying to work my way around this.

Building everything from source should work, even more for FPC itself you can use the tar archive to install.

Reply by email

Bart
to Florian Klaempfl
Florian Klaempfl wrote
Building everything from source should work, even more for FPC itself you can use the tar archive to install.

Ok, I'll try that then, but I haven some questions about how to proceed. Some time ago I tried to build fpc from source on Windows. I did a make cycle, and then a make install. This worked in the sense that I now had a working compiler and fp IDE. However I never was able to use this version with Lazarus, since the source-tree (from the tar archive) did not remotely resemble the source-tree \Lazarus\fpc\2.2.2\source, and I could not jump into the fpc source (ctrl-click in the Lazarus IDE) anymore.

Firts the task of setting up a working fpc 2.2.2 from source. We'll see about setting up Lazarus from SVN later (I've done that on Windows, so I guess I'll be able to do that on Linux too).

I downloaded fpcbuild-2.2.2.tar.gz
I'll unpack it somewhere.

Since I do have a current working fpc 2.2.0, I guess it would not be a good idea to "install" the new one in the same directory (if something goes wrong, I might be left behind with no fpc at all)? My current fpc source is in /usr/share/fpcsrc.

I guess I'll first have to do
make cycle PP=/path/to/current/fpc (in the fpcbuild-2.2.2 directory), then a make clean all then a
make install INSTALL_PREFIX=/usr/local OPT='-gl'
to get a working fpc 2.2.2?

Does this sound like a good plan?
I read Marco's build-faq, but it's way to complicted for simple me {:-)

Bart

Reply by email

Marco van de Voort
to Bart
Bart wrote
Does this sound like a good plan? I read Marco's build-faq, but it's way to complicted for simple me {:-)

Then I recommend you to stick with the releases. A simpler approach was tested before the buildfaq, but it failed since people always got in to trouble because of little changes and variantions and didn't have enough background info to solve them. This is described in the introduction of the FAQ btw, so you apparently didn't get far :-)

Reply by email

Bart
to Marco van de Voort
Then I recommend you to stick with the releases.

But I cannot {:-(
As I described in my first posting, the RPM for fpc 2.2.2 will not install, because it wants glibc version 2.4, which is not available for my Suse 10.0
That is why I wantend to work around it by building fpc from source...

Show quoted text 5 lines
A simpler approach was tested before the buildfaq, but it failed since people always got in to trouble because of little changes and variantions and didn't have enough background info to solve them. This is described in the introduction of the FAQ btw, so you apparently didn't get far :-)

Well, I read the build-faq (from march 17, 2007) entirely at least once (as you suggest in it). Maybe I'm just not up to it. Mind you, I don't mind trying, and even failing, as long as I don't screw up my current stable Laz/Fpc configuration.

(I can hardly expect the person who builds the rpms to downgrade his Linux so he/she can do the buildprocess against glibc-2.3 now, can I?)

Bart

Reply by email

Lord Satan
to Bart
> Then I recommend you to stick with the releases. But I cannot {:-(

I think you can at least try.

As I described in my first posting, the RPM for fpc 2.2.2 will not install, because it wants glibc version 2.4, which is not available for my Suse 10.0

Use fpc-2.2.2.i386-linux.tar from your preferred fpc download location.

hih

Reply by email

Joost van der Sluis
to Bart: But I cannot {:-( As I described in my first posting, the RPM for fpc 2.2.2 will not…

Op woensdag 29-10-2008 om 18:04 uur [tijdzone +0100], schreef Bart:

Show quoted text 7 lines
> Then I recommend you to stick with the releases. But I cannot {:-( As I described in my first posting, the RPM for fpc 2.2.2 will not install, because it wants glibc version 2.4, which is not available for my Suse 10.0 That is why I wantend to work around it by building fpc from source...

Try to install with rpm -Uhv laza... --nodeps. I woudn't know though why glibc version < 2.4 won't work. Probably it has some bugs. But it will install.

Joost

Reply by email

Lord Satan
to Bart: As opposed to fpcbuild-2.2.2.tar.gz? And how to proceed then? Bart
Show quoted text 5 lines
On 10/29/08, Lord Satan wrote: > Use fpc-2.2.2.i386-linux.tar from your preferred fpc download location. As opposed to fpcbuild-2.2.2.tar.gz? And how to proceed then?

from the downloas page:

fpc-2.2.2.i386-linux.tar (30 MB) contains a standard tar archive, with an install script After untarring the archive into a temporary location, you can run the install script by issuing the command "sh install.sh".

A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?

Reply by email

Bart
to Lord Satan
Lord Satan wrote
fpc-2.2.2.i386-linux.tar (30 MB) contains a standard tar archive, with an install script After untarring the archive into a temporary location, you can run the install script by issuing the command "sh install.sh".

Thanks!!
I downloaded that one from SourceForge and ran the install script, installing it in /usr/local
Then I took a shot at installing the rpm's for fpc-src and lazarus (with --nodeps).
I had to tell Lazarus the directory for fpc-src and then it seems it runs fine.

Just one "problem", I have a shortcut for the fp ide on my (KDE) desktop, that now (of course) has lost it's icon/pixmap. I cannot find it anymore. Anyone knows where it might be located?

Bart

Reply by email

Bart
to Bart
Bart wrote 16 lines
On 10/30/08, Lord Satan wrote: > fpc-2.2.2.i386-linux.tar (30 MB) contains a standard tar archive, with an install script > After untarring the archive into a temporary location, you can run the install script by issuing the command "sh install.sh". Thanks!! I downloaded that one from SourceForge and ran the install script, installing it in /usr/local Then I took a shot at installing the rpm's for fpc-src and lazarus (with --nodeps). I had to tell Lazarus the directory for fpc-src and then it seems it runs fine. Just one "problem", I have a shortcut for the fp ide on my (KDE) desktop, that now (of course) has lost it's icon/pixmap. I cannot find it anymore. Anyone knows where it might be located?

Oops, I just found out that the fp ide depends on glibc-2.4, so I cannot use it. That's not a big problem though, as I tend to use the Lazarus IDE to write console programs anyway.
So for now, never mind the desktop icon for fp ...

Bart

Reply by email