On Mon, 26 Jun 2006 09:27:26 -0400
"Oberholtzer,Stephen" <ste...@fr...> wrote:
>
>
> >
> > > As an added bonus, this does NOT segfault:
> > > daemonic:~Wx-0.50$ DISPLAY=:0 perl -MWx -e0 -Iblib/lib -Iblib/arch
> > >
> > > What is it that I am doing wrong?
> >
> > The problem is that wxPerl can't initialize wxWidgets
> > if DISPLAY is not set. However this used to give an error message,
> > not segfault. Will investigate. Which wxWidgets version is this?
it turns out it was my error in not checking the return
value for a wxWidgets initialization function. Now:
mbarbon@cheshirecat:~/devel/wxPerl/wxPerl$ perl -Mblib -MWx -e 42
Error: Unable to initialize gtk, is DISPLAY set properly?
mbarbon@cheshirecat:~/devel/wxPerl/wxPerl$
Make test output is still a bit noisy, but at least now it
includes the error message above.
Thanks!
Mattia
|