Re: SimpleList test fails with beta 0.92



On Tue, 2003-08-05 at 21:14, Tudor Vinereanu wrote:
Ross McFarland wrote:
my other question would be if the old stuff is still laying around on
the system. by old stuff i either mean older versions of gtk2-perl-xs or
gtk2-perl. there are no GType.pm, Widget.pm, Container.pm modules in
gtk2-perl-xs, i guess there must be in gtk2-perl why it would be looking
for it at that point i don't know. the two won't co-exist with out
taking special care.

The answer is yes: I didn't uninstall the Inline stuff, and I didn't uninstall
the previous versions of gtk2-perl-xs... Is there a safe way to uninstall them?
And is it the right way, uninstalling them before a new version is out?

you shouldn't need to uninstall the old versions of gtk2-perl-xs when
building and installing new versions, but it really shouldn't hurt.

if there's nothing using the old inline stuff then it should be
perfectly safe to remove it (talk about obvious statements, but correct
nonetheless) basically if you're on a version of mandrake that uses the
old inline version for it's installer and tools then don't uninstall,
you're best off using locally installed copies in non-system
directories, or at least ones that aren't in the default paths for perl
modules/libraries/etc.

there's a make uninstall target created in Makefile by perl Makefile.PL
if you still have the src laying around, but i've never had success with
it. 

I've been using Gtk2-Perl for a few months now, without any problems due to Inline
and XS coexisting, so I didn't think that was a problem.

i don't know what to tell you here, i never installed the old stuff b/c
i couldn't get it to build and it had a really complicated non-standard
process, which is what lead me to start working with muppet on
gtk2-perl-xs.

To be honest, I don't really care if the tests fail as long as the package itself
works properly. I didn't try the SimpleList though...

if you use simplelist it probably won't work. my real question is if you
are really using gtk2-perl-xs. that sounds stupid, but it would take
non-trivial code to tell the difference. (sorry if you've already
checked this out, but) try the following (hitting control-d not typing
it) and see what version number prints.

$ perl
use Gtk2;
print $Gtk2::VERSION."\n";
<ctrl-d>
0.92

if it's < 20 (or doesn't work i don't have the old code to try it with)
then you've been using the old inline stuff all along.

If you point me out to an example I should run to verify SimpleList works fine,
I'll try it. There were a couple of examples on this list recently, would they be
conclusive?

examples/simplelist.pl should use it, but if the test doesn't work it's
very unlikely that that script will as it's almost the same code.

we really need to put something in the README/INSTALL files about going
from the inline version to the new stuff. we also need to mention the
issues, whatever they may be, about installing it on mandrake systems.
i'd put it all in myself, but i don't know the exact issues and what to
say about them.

I've followed every release of Gtk2-Perl since the Inline stuff, but it seems
all other tests pass, it's only SimpleList that fails.

don't know what to say. i'm guessing it's due to conflicts with the
old/new stuff, but i'm not 100% sure.

On my Solaris machine, I use to have problems with CodeGen.pm (grep failed, only 
a matter of quotes), but that was fixed by muppet a few releses ago (thanks!).

it sure looks my first idea is the problem, but if not do you have the
latest Glib package? 

Yes, I have version 0.92 of Glib too. As you said, it's probably the Inline stuff.
I'd try removing that, but what's a clean way to do it?

i'd hate to suggest something and be liable for messing you're world up.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]