Page 1 of 1

[solved] Mageia4 - gtk2-devel

PostPosted: Jun 19th, '14, 19:25
by endat
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

Re: Mageia4 - gtk2-devel

PostPosted: Jun 19th, '14, 23:30
by ozky
urpmi libgtk+2.0-devel or if you have 64bit urpmi lib64gtk+2.0-devel.

Re: Mageia4 - gtk2-devel

PostPosted: Jun 20th, '14, 23:16
by doktor5000
@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

Re: Mageia4 - gtk2-devel

PostPosted: Jun 21st, '14, 00:21
by ozky
You are right it installs it with gtk2-devel.

Re: Mageia4 - gtk2-devel

PostPosted: Jun 21st, '14, 02:55
by endat
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]#

Re: Mageia4 - gtk2-devel

PostPosted: Jun 21st, '14, 03:08
by doktor5000
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,

Re: Mageia4 - gtk2-devel

PostPosted: Jun 21st, '14, 05:22
by endat
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.