[Padre-dev] Padre and FreeBSD
Cezary Morga
cm at therek.net
Sat Mar 21 00:20:10 PDT 2009
Oren Maurer wrote:
> I re-installed the ports needed.
> And now I get the following error:
>
> ===> Configuring for p5-Padre-0.28
> Found Wx.pm 0.89
> Found wxWidgets 2.8.8
> Error: Unable to initialize gtk, is DISPLAY set properly?
> Error while autoloading 'Wx::wxUNICODE' at
> inc/Module/Install/PRIVATE/Padre.pm line 81
> *** Error code 22
Because Wx is a GUI element it needs a $DISPLAY variable to be set even
during port compilation. If you're running this as a root on your
GUI-enabled workstation set $IDSPLAY and $XAUTHORITY to point to the
your own account. For tcsh:
setenv XAUTHORITY /home/therek/.Xauthority
setenv DISPLAY :0.0
This is useful to be able to run graphical applications from root
account after doing su.
You might try compiling Padre through sudo, this should leave $DISPLAY
set properly.
If you're compiling on headless, GUI-less station try setting $DISPLAY
variable.
Out of curosity. Could you mail me an output of following command?
cd /usr/ports/editors/p5-Padre && make -n configure
--
Cezary Morga
"Indecision may or may not be my problem." (Jimmy Buffett)
More information about the Padre-dev
mailing list