[solved] Mageia4 - gtk2-devel

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[solved] Mageia4 - gtk2-devel

Postby endat » Jun 19th, '14, 19:25

I am trying to install Lazarus and I get a dependency message requesting gtk2-devel, but I can't seem to find it. Do I need to add some media sources?

Code: Select all
[root@localhost endat]# urpmi gtk2-devel
No package named gtk2-devel
Last edited by endat on Jun 21st, '14, 05:23, edited 1 time in total.
Machine: Alienware M14x R1
My Donations: http://treasurer.mageia.org/donations_p_140.html
endat
 
Posts: 49
Joined: Jun 24th, '13, 20:16

Re: Mageia4 - gtk2-devel

Postby ozky » Jun 19th, '14, 23:30

urpmi libgtk+2.0-devel or if you have 64bit urpmi lib64gtk+2.0-devel.
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: Mageia4 - gtk2-devel

Postby doktor5000 » Jun 20th, '14, 23:16

@ozky: Nope, gtk2-devel should be installable if repos are configured correctly, and it should be the preferred way to use virtual provides,

Code: Select all
[doktor5000@Mageia4 ~]$ sudo urpmi gtk2-devel
Package lib64gtk+2.0-devel-2.24.22-3.mga4.x86_64 is already installed
[doktor5000@Mageia4 ~]$


@endat:
Please show the output of
Code: Select all
urpmq --list-media active --list-url

Also, how do you try to install lazarus? It is contained in normal Mageia repositories, you don't need to install gtk-devel to compile it yourself.

Code: Select all
[doktor5000@Mageia4 ~]$ urpmf -m -f --name lazarus   
Core Release:lazarus-1.0.12-2.mga4.x86_64
Core 32bit Release:lazarus-1.0.12-2.mga4.i586
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: 18070
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia4 - gtk2-devel

Postby ozky » Jun 21st, '14, 00:21

You are right it installs it with gtk2-devel.
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: Mageia4 - gtk2-devel

Postby endat » Jun 21st, '14, 02:55

Downloaded the RPMs from sourceforge because nothing showed up when I tried "urpmi lazarus" as root.
http://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20x86_64%20RPM/Lazarus%201.2.4/

I chose the mirror that was automatically selected when I configured the sources through MCC..
Code: Select all
[root@localhost endat]# urpmq --list-media active --list-url
Core Release cdrom://x86_64/media/core
Nonfree Release cdrom://x86_64/media/nonfree
Core Updates (distrib1) http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/4/x86_64/media/core/updates
Nonfree Updates (distrib2) http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/4/x86_64/media/nonfree/updates
Core 32bit Updates (distrib4) http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/4/i586/media/core/updates
Nonfree 32bit Updates (distrib5) http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/4/i586/media/nonfree/updates


It doesn't return anything for "urpmf -m -f --name lazarus" either. Not much shows up on this mirror actually.. I guess i chose a bad mirror eh
Code: Select all
[root@localhost endat]# urpmf -m -f --name lazarus
[root@localhost endat]#
Machine: Alienware M14x R1
My Donations: http://treasurer.mageia.org/donations_p_140.html
endat
 
Posts: 49
Joined: Jun 24th, '13, 20:16

Re: Mageia4 - gtk2-devel

Postby doktor5000 » Jun 21st, '14, 03:08

No, you only selected a set of update repositories, and you've not enabled tainted repositories.

Best remove all your repos and add a full set of repos. Check https://wiki.mageia.org/en/Software_man ... ia_sources and maybe http://doc.mageia.org/mcc/4/en/content/ ... media.html
Please check our software management MAQeia for more information on software and package management,
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: 18070
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia4 - gtk2-devel

Postby endat » Jun 21st, '14, 05:22

I guess I wasn't paying attention.. the sources were setup in the updater, not software-management-sources.

I ended up installing Lazarus 1.2.4 from SourceForge and it works fine. Been using 1.0.12 for a while and I was looking forward to the update.

Thanks for the help, solved.
Machine: Alienware M14x R1
My Donations: http://treasurer.mageia.org/donations_p_140.html
endat
 
Posts: 49
Joined: Jun 24th, '13, 20:16


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest