Reply
 
Thread Tools Display Modes
  #1  
Old 07-26-2012, 06:26 AM
dasbuch dasbuch is offline
Junior Member
 
Join Date: Jul 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Question problems with compiling bluej
Hi,

I'd like to compile bluej ports on PC-BSD 9.0 release to understand the theory of creating .pbi package. After so long building, and almost near the end of building process, EasyPBI shows following errors:

"java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable."

google and try "xhost +" and other attempts all failure. I wonder how this problem is solved by official release, please give me some advice. ANY help will be appreciated.

Last edited by dasbuch; 07-26-2012 at 06:32 AM.
Reply With Quote
  #2  
Old 07-26-2012, 02:15 PM
dasbuch dasbuch is offline
Junior Member
 
Join Date: Jul 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy help me please
anyone there ?
Reply With Quote
  #3  
Old 07-26-2012, 08:46 PM
kmoore134's Avatar
kmoore134 kmoore134 is offline
Administrator
 
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,430
Thanks: 0
Thanked 104 Times in 86 Posts
Default problems with compiling bluej
Did you run xhost + as your user account beforehand?
__________________
----
Kris Moore
PC-BSD Founder
Reply With Quote
  #4  
Old 07-27-2012, 12:35 AM
dasbuch dasbuch is offline
Junior Member
 
Join Date: Jul 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Red face
Originally Posted by kmoore134 View Post
Did you run xhost + as your user account beforehand?
sure, logs in the terminal window as follows:

...
[fpe@pcbsd-932] ~> echo $SHELL
/bin/csh

fpe@pcbsd-932] ~> xhost
access control enabled, only authorized clients can connect

[fpe@pcbsd-932] ~> xhost +
access control disabled, clients can connect from any host

[fpe@pcbsd-932] ~> env
GDM_LANG=en_US.UTF-8
LANGUAGE=
KONSOLE_DBUS_SERVICE=:1.62
LOGNAME=fpe
WINDOWPATH=9
DBUS_SESSION_BUS_ADDRESS=unixath=/var/tmp/dbus-z4g0gpmCko,guid=dc864d83b17c841117e1338e00000090
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/local/kde4/bin:/home/fpe/bin
USER=fpe
GNOME_KEYRING_PID=2218
LANG=en_US.UTF-8
WINDOWID=35651679
XDG_CONFIG_DIRS=/usr/local/etc/xdg
ORBIT_SOCKETDIR=/var/tmp/orbit-fpe
XDG_DATA_DIRS=/share:/usr/share:/usr/local/share
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
DISPLAY=localhost:0.0
PWD=/home/fpe
GDMSESSION=02gnome
GDM_KEYBOARD_LAYOUT=us
GIO_LAUNCHED_DESKTOP_FILE_PID=3166
COLORFGBG=15;0
XAUTHORITY=/var/run/gdm/auth-for-fpe-94TLq7/database
ENV=/home/fpe/.shrc
XDG_SESSION_COOKIE=bdf4842e3c214a8c0d8b3b55000004f e-1343139194.775525-1504404706
PAGER=more
TERM=xterm
PROFILEHOME=
BLOCKSIZE=K
SESSION_MANAGER=local/pcbsd-932:/tmp/.ICE-unix/2235
SSH_AUTH_SOCK=/var/tmp/keyring-QaWTHw/ssh
KONSOLE_DBUS_SESSION=/Sessions/1
EDITOR=vi
GNOME_KEYRING_CONTROL=/var/tmp/keyring-QaWTHw
GIO_LAUNCHED_DESKTOP_FILE=/usr/local/share/applications/kde4/konsole.desktop
DESKTOP_SESSION=02gnome
USERNAME=fpe
SHELL_SESSION_ID=e673575741514592b225e4ed491553ac
HOME=/home/fpe
GPG_AGENT_INFO=/var/tmp/keyring-QaWTHw/gpg:0:1
SHELL=/bin/csh
HOSTTYPE=FreeBSD
VENDOR=intel
OSTYPE=FreeBSD
MACHTYPE=i386
SHLVL=1
GROUP=fpe
HOST=pcbsd-932
REMOTEHOST=
CLICOLOR=true

[fpe@pcbsd-932] ~>./EasyPBI
...

but NO help at all. Thanks for your kindly reply any way.
Reply With Quote
  #5  
Old 07-27-2012, 05:42 PM
Beanpole's Avatar
Beanpole Beanpole is offline
Senior Member
 
Join Date: May 2010
Posts: 1,605
Thanks: 2
Thanked 147 Times in 129 Posts
Default
It almost appear that the port is trying to open up an x window during the installation, when it really shouldn't since a PBI is a scripted installation built in a seperate chroot environment.

Just to make sure that it is not something with how EasyPBI is running the build process, could you try manually running the "pbi_makeport ....." command that EasyPBI generated for you directly from the command line?
__________________
~ Ken Moore ~
PC-BSD/iXsystems
Reply With Quote
  #6  
Old 07-28-2012, 05:50 AM
dasbuch dasbuch is offline
Junior Member
 
Join Date: Jul 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Wink pbi_makeport instead of EasyPBI
Originally Posted by Beanpole View Post
It almost appear that the port is trying to open up an x window during the installation, when it really shouldn't since a PBI is a scripted installation built in a seperate chroot environment.

Just to make sure that it is not something with how EasyPBI is running the build process, could you try manually running the "pbi_makeport ....." command that EasyPBI generated for you directly from the command line?
Thanks for your advertise! I'll give it a try and report later.

PS: I wonder why PC-BSD 9.0 team has canceld PBICreater application. I think it's convinent and efficient than EasyPBI. I don't know weather it will be back in coming PC-BSD relaese or not.

Last edited by dasbuch; 07-28-2012 at 05:57 AM.
Reply With Quote
  #7  
Old 07-28-2012, 12:47 PM
Beanpole's Avatar
Beanpole Beanpole is offline
Senior Member
 
Join Date: May 2010
Posts: 1,605
Thanks: 2
Thanked 147 Times in 129 Posts
Default
The PBICreator program was replaced with the "PBI Manager" suite of command-line tools[1] when PC-BSD 9.0 was released. EasyPBI is a completely separate tool that was created by Jesse Smith and myself later on, once we were looking for a simplified way to automatically generate modules for new PBI's. It then began to gain additional features (building PBI's, editing modules) and became much more useful for non-technical users as well.

I do not think that there are any plans to rebuild PBICreator at the moment, but the latest version of EasyPBI is going to be included in PC-BSD 9.1 as a system utility.

[1] http://wiki.pcbsd.org/index.php/PBI_Manager
__________________
~ Ken Moore ~
PC-BSD/iXsystems
Reply With Quote
  #8  
Old 07-30-2012, 04:18 PM
dasbuch dasbuch is offline
Junior Member
 
Join Date: Jul 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Wink problem keep on occuring
Originally Posted by dasbuch View Post
Thanks for your advertise! I'll give it a try and report later.

PS: I wonder why PC-BSD 9.0 team has canceld PBICreater application. I think it's convinent and efficient than EasyPBI. I don't know weather it will be back in coming PC-BSD relaese or not.
"pbi_makeport -c /home/fpe/EasyPBI/Modules/bluej -o /home/fpe/EasyPBI/PBI"

, still showing the same problem as before although "set path=(/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /root/bin /home/fpe/bin/java)" was executed to include java. I've decided give up trying anymore. Fareawell to PC-BSD as I'm tired.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:21 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.