Installation of Lazarus Pascal

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

Installation of Lazarus Pascal

Postby MikeFinch » Jul 25th, '17, 03:59

I am having trouble installing Lazarus Pascal 1.6.4 64bit on the new Mageia 6.
fpc and fpc-src (3.0.2) seem to install OK, but the third file (the IDE) complains "A requested package cannot be installed:
lazarus-1.6.4-0.x86_64 (due to unsatisfied gtk2-devel)
Continue installation anyway? (Y/n)". I chose 'n'.
"urpmi gtk2' says that gtk2 is installed and bash doesn't recognise "gtk2-devel".
I notice that in "/usr/share/fpcsrc/3.0.2/packages/gtk2/gtk2forlazarus.lpk" the lpk file exists.
Am I supposed to install the .lpk file? If so, how?
I had no problems with Mageia 5. (Well, maybe I had to install a file or two - can't remember).
Both my laptop and desktop computers are having the problem.
Can someone help please?
MikeFinch
 
Posts: 61
Joined: Apr 12th, '12, 07:20

Re: Installation of Lazarus Pascal

Postby doktor5000 » Jul 25th, '17, 09:01

MikeFinch wrote:"A requested package cannot be installed:
lazarus-1.6.4-0.x86_64 (due to unsatisfied gtk2-devel)
Continue installation anyway? (Y/n)". I chose 'n'.

That is because no package is called or provides gtk2-devel, and you're trying to install a package that was not adapted for Mageia. We only have lazarus-1.2.4 in our repos

You probably need to use urpmi --allow-nodeps to install this package.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18255
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Installation of Lazarus Pascal

Postby MikeFinch » Jul 26th, '17, 05:52

Thanks doktor5000 for responding (no-one else has!). Please note that Laz Pas works OK on Mageia 5 (so why only 1.2.4 on the repos?). [I have complained over the years about the linux display not behaving like Windows does ... etc, and seem to be stuck with the unsolved problems.]
I have tried your suggestion of 'urpmi --allow-nodeps', and was warned about "Some strange problems may happen". Was given a choice of 1) urpmi-debuginfo-install..... and 2) dnf-utils-2.1.1-2.mga6.noarch: Yum-utils ...; I chose 1. It seemed to take three goes to install the first 8 of 9 files but not the 9th (lazarus!). Same old complaint about gtk2-devel..... SHOULD I TRY 2. as well? I am unsure about what this dnf business is about.
Why do I have this problem with M6? I am having to use LPascal on M5 still and without any trouble - except for my programming bugs!
MikeFinch
 
Posts: 61
Joined: Apr 12th, '12, 07:20

Re: Installation of Lazarus Pascal

Postby doktor5000 » Jul 26th, '17, 13:12

Please show the output of
Code: Select all
urpmq --list-media active --list-url
urpmi --allow-nodeps lazarus-1.6.4-0.x86_64.rpm
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18255
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Installation of Lazarus Pascal

Postby MikeFinch » Jul 28th, '17, 08:12

Code: Select all
urpmq --list-media active --list-url
"Core Release cdrom://x86_64/media/core
Nonfree Release cdrom://x86_64/media/nonfree"


Code: Select all
urpmi --allow-nodeps lazarus-1.6.4-0.x86_64.rpm
"SECURITY: The following package is _NOT_ signed (OK ((none))): lazarus-1.6.4-0.x86_64.rpm                                                                                   
installing lazarus-1.6.4-0.x86_64.rpm                                                                                                                                       
Installation failed:                                                                                                                                                       
        gtk2-devel is needed by lazarus-1.6.4-0.x86_64                                                                                                                     
Try installation without checking dependencies? (y/N)"


Does this tell you anything?
Last edited by doktor5000 on Jul 28th, '17, 14:25, edited 1 time in total.
Reason: added code tags
MikeFinch
 
Posts: 61
Joined: Apr 12th, '12, 07:20

Re: Installation of Lazarus Pascal

Postby doktor5000 » Jul 28th, '17, 14:26

Yes, you don't have a full set of online repos configured. See https://wiki.mageia.org/en/Installing_a ... rrectly.3F and maybe https://wiki.mageia.org/en/Install_medi ... _beginners

And you haven't answered Yes to the question
Try installation without checking dependencies? (y/N)
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18255
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Installation of Lazarus Pascal

Postby MikeFinch » Jul 29th, '17, 03:27

Thanks for putting me right : I embarrassingly had "not set my sources". Only had the two; now using Laz Pascal as normal.
But for some reason I cannot send emails using Thunderbird. Receive them OK. But presumably nothing to do with M6.
Thanks again for your help. [I still have the problem of Linux not behaving like Windows for my pascal programs - see previous posts of mine!]
Whilst I'm here : 1 observation >>
At my linux group meeting yesterday, no-one seemed to understand the virtual absence of the "bouncing icon" when clicking on a Desktop icon.
For instance, Thunderbird starts 3 secs after clicking but no bouncing icon to be seen. The "Home" icon displays two little bounces of a small icon, the "Konsole" one quick bounce of a larger icon. Presumably it is possible to delay the time between the click (double-click for me) and the appearance of the program? (Probably so I could see a few bounces!) I'm using the Plasma display.
Do you care to comment? One of our members actually wants to NOT see the any bouncing icons!
MikeFinch
 
Posts: 61
Joined: Apr 12th, '12, 07:20

Re: Installation of Lazarus Pascal

Postby isadora » Jul 29th, '17, 07:32

MikeFinch, in general it is advised to create separate topics for different issues.
It makes searching in the forum easier for somebody else, who might run into the same problem in future,
and chances people are picking up your issue are greater.
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2780
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: Installation of Lazarus Pascal

Postby MikeFinch » Jul 30th, '17, 04:37

Isadora : OK, I guess you are right. But the bouncing icon is not all that important. So I'll leave it at that!
MikeFinch
 
Posts: 61
Joined: Apr 12th, '12, 07:20

Re: Installation of Lazarus Pascal

Postby doktor5000 » Jul 30th, '17, 11:03

Please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18255
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest