Reply
 
Thread Tools Display Modes
  #11  
Old 06-07-2012, 04:11 PM
fluca1978 fluca1978 is offline
Senior Member
 
Join Date: Mar 2011
Posts: 352
Thanks: 2
Thanked 18 Times in 14 Posts
Default
Originally Posted by kmoore134 View Post
My guess here would be that its failing due to trying to compile QT
4.8.2 on a system that already has QT 4.7.x packages installed. I bet
its picking up old headers / packages and doing the wrong thing. Can you
try building these packages in a clean jail / chroot and see if it
works there?
I'm compiling a jail right now, but is going to take a lot. Effectively I installed the pcbsd version selecting the development tools, so chances are that the qt libraries have been installed along the system. However a pkg_info -a gives me no result at all. I found all the qt4 headers in /usr/local/include/qt4 but I'm not sure which versions they are (I suspect not the latest from the ports, since the installation fails I guess no headers will be installed at all). I found also a plugins directory with the .so under /usr/local/lib/qt4 and a qtcreator (2.0.1) in /usr/local/bin.
How can I remove such program and libraries since they are not listed as regular packages?
Reply With Quote
  #12  
Old 06-07-2012, 08:17 PM
kmoore134's Avatar
kmoore134 kmoore134 is offline
Administrator
 
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,428
Thanks: 0
Thanked 103 Times in 85 Posts
Default cannot get qtcreator from ports
How did you create this jail? It should be pretty much empty in
/usr/local if its a brand new one.
__________________
----
Kris Moore
PC-BSD Founder
Reply With Quote
  #13  
Old 06-08-2012, 06:14 AM
fluca1978 fluca1978 is offline
Senior Member
 
Join Date: Mar 2011
Posts: 352
Thanks: 2
Thanked 18 Times in 14 Posts
Default
Originally Posted by kmoore134 View Post
How did you create this jail? It should be pretty much empty in
/usr/local if its a brand new one.
Sorry, I was not referring to the jail, that is still compiling (sob!).
I mean the real system was installed picking up the development tools, that I guess fired the qt4.7 libraries that I don't know how to remove. It's just a guess.
Reply With Quote
  #14  
Old 06-08-2012, 10:50 AM
fluca1978 fluca1978 is offline
Senior Member
 
Join Date: Mar 2011
Posts: 352
Thanks: 2
Thanked 18 Times in 14 Posts
Default
Uhm... I did a new virtual machine with the same operating system (9.0-RELEASE) with only the KDE desktop and nothing more (no development tools at all). I fetched the latest port tree and then start the compilation again, but the same result happens:

Code:
.obj/release-shared/main.o: In function `main':
main.cpp:(.text+0x1d0): undefined reference to `QCoreApplication::QCoreApplication(int&, char**, int)'
*** Error code 1

Stop in /usr/ports/devel/qt4-qdoc3/work/qt-everywhere-opensource-src-4.8.2/tools/qdoc3.
*** Error code 1

Stop in /usr/ports/devel/qt4-qdoc3.
*** Error code 1

Stop in /usr/ports/devel/qtcreator.
The jail is still compiling, ok, that I set up a virtual machine with 1GB of ram and 1 processor, but it seems a little too long...
Reply With Quote
  #15  
Old 06-08-2012, 01:05 PM
kmoore134's Avatar
kmoore134 kmoore134 is offline
Administrator
 
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,428
Thanks: 0
Thanked 103 Times in 85 Posts
Default cannot get qtcreator from ports
Well, the older qt kind are included with the base system. Do you see them in pkg_info?
__________________
----
Kris Moore
PC-BSD Founder
Reply With Quote
  #16  
Old 06-11-2012, 06:14 AM
fluca1978 fluca1978 is offline
Senior Member
 
Join Date: Mar 2011
Posts: 352
Thanks: 2
Thanked 18 Times in 14 Posts
Default
Yes, I can see now a lot of 4.7.4 packages when running pkg_info (see the attached screenshot). Can I remove such packages (and if yes what is the faster way) so to install fresh new from ports?
Reply With Quote
  #17  
Old 06-15-2012, 06:41 AM
fluca1978 fluca1978 is offline
Senior Member
 
Join Date: Mar 2011
Posts: 352
Thanks: 2
Thanked 18 Times in 14 Posts
Default
In the meantime I fired up a
Code:
portjail init
using the build instead of downloading. However, after almost 24 hours it is still compiling. I'm running it in a virtual machine with 1 GB of RAM, sounds a little too much time. Is this regular?
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 01:42 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.