Reply
 
Thread Tools Display Modes
  #1  
Old 08-01-2012, 09:43 PM
dcole dcole is offline
Junior Member
 
Join Date: Aug 2012
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default qtcreator install awry in portjail
Hello,
I am a new PCBSD user trying to play around with using it as a developmetn environment.

I have just spent a few hours building qtcreator in portjail. This completed successfully as far as I can tell, as I can now "portjail run qtcreator" and the application launches.

The small problem is that anywhere there is supposed to be text showing in qtcreator, I am getting a square, as if the font is missing perhaps? Can someone advise how I can find out if/what something is missing, and get that repaired?

Thanks
Reply With Quote
  #2  
Old 08-02-2012, 02:08 PM
kmoore134's Avatar
kmoore134 kmoore134 is offline
Administrator
 
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,438
Thanks: 0
Thanked 105 Times in 87 Posts
Default qtcreator install awry in portjail
Yes, that sounds like missing fonts in the jail. You may wish to add these:

/usr/ports/x11-fonts/dejavu
/usr/ports/x11-fonts/webfonts
/usr/ports/x11-fonts/xorg-fonts
__________________
----
Kris Moore
PC-BSD Founder
Reply With Quote
  #3  
Old 08-02-2012, 09:18 PM
dcole dcole is offline
Junior Member
 
Join Date: Aug 2012
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Thanks, I will give that a try and report back...the fonts are installing now. I didn't think about it being a difference between the system and the portjail fonts - I had actually went ahead and installed gnome since that is where i have used qtcreator before, thinking it might install some different fonts and such as well.
Reply With Quote
  #4  
Old 08-02-2012, 09:55 PM
dcole dcole is offline
Junior Member
 
Join Date: Aug 2012
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Well, I have now gotten the fonts to show up, but something else weird is going on. When I run it, the application is flickering and spitting out an error message that says
Code:
"QNativeImages: Unable to attach to shared memory segment."
followed by a bunch of
Code:
"X Error: BadDrawable (invalid Pixmap or Window Parameter) 9......"
Any ideas? have you successfully installed this port before? I was thinking of trying again on a newer computer I have. This is an old centrino laptop, so I don't know if that could be causing an issue.
Reply With Quote
  #5  
Old 08-03-2012, 01:33 PM
Beanpole's Avatar
Beanpole Beanpole is offline
Senior Member
 
Join Date: May 2010
Posts: 1,650
Thanks: 3
Thanked 158 Times in 138 Posts
Default
We do have a PBI for QtCreator in the AppCafe if you want to run it on your main system instead of a portjail.
As to the portjail issue however: how are you starting up the program in the portjail? It almost looks like it is not seeing the X Window to display the program.
__________________
~ Ken Moore ~
PC-BSD/iXsystems
Reply With Quote
  #6  
Old 08-03-2012, 07:45 PM
dcole dcole is offline
Junior Member
 
Join Date: Aug 2012
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Well I had initially tried to pull QtCreator from the AppCafe and that's what got me going down the road of building the port because it was having issues as well. I was launching with
Code:
 portjail run qtcreator
, after having allowed my user with
Code:
xhost +local:user
I ended up upgrading to the 9.1 release, and using the AppCafe version of QtCreator and it worked right the first time.
Reply With Quote
  #7  
Old 08-03-2012, 07:57 PM
Beanpole's Avatar
Beanpole Beanpole is offline
Senior Member
 
Join Date: May 2010
Posts: 1,650
Thanks: 3
Thanked 158 Times in 138 Posts
Default qtcreator install awry in portjail
A new version of the QtCreator PBI was just approved within the last couple days, that is probably why it works properly for you now. If you run into any missing libs or anything, just let me know and I can get it fixed for you (although I am pretty sure that it has everything it needs now).
__________________
~ Ken Moore ~
PC-BSD/iXsystems
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 10:39 PM.


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.