[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Gtk2 1.160 build errors
- From: Torsten Schoenfeld <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: Gtk2 1.160 build errors
- Date: Thu, 27 Sep 2007 22:47:36 +0200
On Thu, 2007-09-20 at 09:45 -0700, MICHAEL MCGINN wrote:
>
> /usr/bin/ld: cannot find -lgtk-x11-2.0
>
> "gtk-x11-2.0" is in /usr/lib
There should be a file named "libgtk-x11-2.0.so". Do you have that? If
yes, then your linker is not looking into /usr/lib for some reason.
> Scalar found where operator expected at blib/lib/Gtk2.pm line 139,
> near "$connect_object ? $connect_object"
> (Missing operator before $connect_object?)
> syntax error at blib/lib/Gtk2.pm line 139, near "$connect_object ?"
> (Might be a runaway multi-line ?? string starting on line 131)
> Global symbol "$func" requires explicit package name at
> blib/lib/Gtk2.pm line 131.
> BEGIN not safe after errors--compilation aborted at blib/lib/Gtk2.pm line 160.
> Compilation failed in require.
> BEGIN failed--compilation aborted.
Does anyone know what's up with that? I can't see the error. Relevant lines:
123 sub _do_connect {
my ($object,
$signal_name,
$user_data,
$connect_object,
$flags,
$handler) = @_;
131 my $func = $flags & qw/after/ ? 'signal_connect_after' : 'signal_connect';
# we get connect_object when we're supposed to call
# signal_connect_object, which ensures that the data (an object)
# lives as long as the signal is connected. the bindings take
# care of that for us in all cases, so we only have signal_connect.
# if we get a connect_object, just use that instead of user_data.
$object->$func($signal_name => $handler,
139 $connect_object ? $connect_object : $user_data);
}
--
Bye,
-Torsten
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]