[Padre-dev] Padre and FreeBSD

Oren Maurer meorero at gmail.com
Sat Mar 21 02:30:58 PDT 2009


I am doing the following as root:

meorero_fbsd03# env | grep DISPLAY
DISPLAY=:0.0
meorero_fbsd03# env | grep AUTH
XAUTHORITY=/home/meorero/.Xauthority
meorero_fbsd03#


Now:

cd /usr/ports/editors/p5-Padre && make install clean

I get this:
...
===>   p5-Padre-0.28 depends on file:
/usr/local/lib/perl5/site_perl/5.8.9/mach/Wx.pm - found
===>   p5-Padre-0.28 depends on file: /usr/local/bin/perl5.8.9 - found
===>   p5-Padre-0.28 depends on shared library: intl - found
===>   p5-Padre-0.28 depends on shared library: wx_baseu-2.8 - found
===>   p5-Padre-0.28 depends on shared library: wx_gtk2u_fl-2.8 - found
===>  Configuring for p5-Padre-0.28
Found Wx.pm     0.89
Found wxWidgets 2.8.8
No protocol specified
Error: Unable to initialize gtk, is DISPLAY set properly?
No protocol specified
Error while autoloading 'Wx::wxUNICODE' at
inc/Module/Install/PRIVATE/Padre.pm line 81
*** Error code 22

Stop in /usr/ports/editors/p5-Padre.
meorero_fbsd03#


   Oren

PS:
I sent you the output you requested.



On Sat, Mar 21, 2009 at 9:20 AM, Cezary Morga <cm at therek.net> wrote:

> 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)
> _______________________________________________
> Padre-dev mailing list
> Padre-dev at perlide.org
> http://mail.perlide.org/mailman/listinfo/padre-dev
>



-- 
________________________________
Oren  Maurer
http://meorero.wordpress.com
http://www.meorero.org.il
_______________________________
#  =======================|
#  Please avoid sending me Word |
#   or PowerPoint attachments      |
#  =======================|
# See: http://www.gnu.org/philosophy/no-word-attachments.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.perlide.org/pipermail/padre-dev/attachments/20090321/d6342e73/attachment.htm 


More information about the Padre-dev mailing list