Missing gtk-config binary issues when building from source (Gtk3 only)

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Missing gtk-config binary issues when building from source (Gtk3 only)

Gtk+ - Perl mailing list
Hello, i'm not subscribed to the list, but I need help compiling Gtk-perl.

I'm building Gtk-perl using flatpak-builder. Basically, it builds everything from source, including gtk itself. There is something I don't quite get though, and I am wondering if any of you know this problem.

gtk 3.24.1 only is installed. Probably the gtk-config binary is no longer relevant since we have pkg-config, so it's not included any more in newer Gtk releases. That's what I suppose. Then, why does Gtk-perl still needs it instead of using pkg-config. Do you know how to compile Gtk-perl without?

Thank you

Mildred
_______________________________________________
gtk-perl-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtk-perl-list
Reply | Threaded
Open this post in threaded view
|

Re: Missing gtk-config binary issues when building from source (Gtk3 only)

Gtk+ - Perl mailing list
On Fri, Nov 2, 2018 at 1:15 PM Mildred Ki'Lya via gtk-perl-list <[hidden email]> wrote:
Hello, i'm not subscribed to the list, but I need help compiling Gtk-perl.


As for "Gtk-perl", you mean https://metacpan.org/release/Gtk-Perl ? That's using gtk+2.x which is incompatible with you installed gtk 3.24.1.
Do you really want this old version of gtk?
For gtk+3.x you want https://metacpan.org/release/Gtk3 (which depends on Perl modules Glib, Cairo::GObject and Glib::Object::Introspection).

Cheers, Roderich


_______________________________________________
gtk-perl-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtk-perl-list
Reply | Threaded
Open this post in threaded view
|

Re: Missing gtk-config binary issues when building from source (Gtk3 only)

Gtk+ - Perl mailing list
You're probably better off asking in the flatpak list. Anyway, I have things building nicely, after quite a bit of help from that list. Here's a template I used, mainly for building perl:

Here's my current builder json file, which includes gtk-perl stuff:

I can't share all resources yet - I have open-source and commerical stuff all tangled up at the moment ... but hope to do a major open-source release soon :)

Dan

On Sat, Nov 3, 2018 at 12:08 AM Roderich Schupp via gtk-perl-list <[hidden email]> wrote:
On Fri, Nov 2, 2018 at 1:15 PM Mildred Ki'Lya via gtk-perl-list <[hidden email]> wrote:
Hello, i'm not subscribed to the list, but I need help compiling Gtk-perl.


As for "Gtk-perl", you mean https://metacpan.org/release/Gtk-Perl ? That's using gtk+2.x which is incompatible with you installed gtk 3.24.1.
Do you really want this old version of gtk?
For gtk+3.x you want https://metacpan.org/release/Gtk3 (which depends on Perl modules Glib, Cairo::GObject and Glib::Object::Introspection).

Cheers, Roderich

_______________________________________________
gtk-perl-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtk-perl-list

_______________________________________________
gtk-perl-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtk-perl-list
Reply | Threaded
Open this post in threaded view
|

Re: Missing gtk-config binary issues when building from source (Gtk3 only)

Gtk+ - Perl mailing list
In reply to this post by Gtk+ - Perl mailing list
On Fri, 2 Nov 2018 14:08:21 +0100
Roderich Schupp <[hidden email]> wrote:

> On Fri, Nov 2, 2018 at 1:15 PM Mildred Ki'Lya via gtk-perl-list <
> [hidden email]> wrote:
>
> > Hello, i'm not subscribed to the list, but I need help compiling Gtk-perl.
> >
> >  
> As for "Gtk-perl", you mean https://metacpan.org/release/Gtk-Perl ? That's
> using gtk+2.x which is incompatible with you installed gtk 3.24.1.
> Do you really want this old version of gtk?
> For gtk+3.x you want https://metacpan.org/release/Gtk3 (which depends on
> Perl modules Glib, Cairo::GObject and Glib::Object::Introspection).

You were right, I was not using the correct release. I got confused by
the fact that on CPAN ExtUtils::Depends is provided by two releases, and by default resolves to Gtk-Perl.

Build now works, see https://github.com/mildred/flatpak-irssi/

Thank you
_______________________________________________
gtk-perl-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtk-perl-list