fc47 [Solved] after run pkg_delete -rf pkg-config\* kde4.2 can not install - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old February 18th, 2009, 09:19
mfaridi's Avatar
mfaridi mfaridi is offline
Member
 
Join Date: Nov 2008
Location: Afghanistan
Posts: 622
Thanks: 161
Thanked 12 Times in 12 Posts
Default after run pkg_delete -rf pkg-config\* kde4.2 can not install

I use FreeBSD 7 and I run this command
Code:
pkg_delete -rf pkg-config\*
this command delete all thing was depend on X , and I install Xorg 7.4 from scratch and it install good
So I try install KDE4 but when I want install it , I see this error

Code:
opensource-src-4.4.3/src/tools/moc/moc.pro
/bin/mkdir -p /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.4.3/src/tools/moc/../../../mkspecs
/bin/ln -sf /usr/local/bin/qmake-qt4 /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.4.3/src/tools/moc/../../../bin/qmake

This is the Qt/X11 Open Source Edition.


   The specified system/compiler is not supported:

      /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.4.3/mkspecs/freebsd-g++

   Please see the README file for a complete list.

===>  Script "configure" failed unexpectedly.
Please report the problem to kde@FreeBSD.org [maintainer] and attach the
"/usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.4.3/src/tools/moc/../../..//config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. an `ls /var/db/pkg`).
*** Error code 1

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

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

Stop in /usr/ports/x11/kdebase4-runtime.
*** Error code 1

Stop in /usr/ports/x11/kdebase4-runtime.
*** Error code 1

Stop in /usr/ports/x11/kde4.
*** Error code 1

Stop in /usr/ports/x11/kde4.
I want install QT4 and I see this error again and everything are depend on KDE and QT , I see this error , I install this paclage for compile
Code:
cc-3.4.6_3,1       GNU Compiler Collection 3.4
gcc-4.2.5_20081126  GNU Compiler Collection 4.2
gccmakedep-1.0.2    Create dependencies in makefiles using 'gcc -M'
mips-rtems-gcc-4.2.3_1 GNU gcc for cross-target development




after that I delete my ports directory from
Code:
/usr
and with portsnap fetch and update it with cvsup and portsnap
but I see this problem again
I do not know which package must install again

Last edited by mfaridi; February 21st, 2009 at 08:04.
Reply With Quote
  #2  
Old February 18th, 2009, 11:10
SirDice's Avatar
SirDice SirDice is online now
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,852
Thanks: 48
Thanked 2,061 Times in 1,890 Posts
Default

It looks like it's using the wrong compiler. Remove all those gcc packages. Use the one in the base OS.
Reply With Quote
The Following User Says Thank You to SirDice For This Useful Post:
mfaridi (February 18th, 2009)
  #3  
Old February 18th, 2009, 14:41
mfaridi's Avatar
mfaridi mfaridi is offline
Member
 
Join Date: Nov 2008
Location: Afghanistan
Posts: 622
Thanks: 161
Thanked 12 Times in 12 Posts
Default

Quote:
Originally Posted by SirDice View Post
It looks like it's using the wrong compiler. Remove all those gcc packages. Use the one in the base OS.
But which one is base of system ?
but these compiler is installed by package and I do not install them manually .
Reply With Quote
  #4  
Old February 18th, 2009, 16:21
mfaridi's Avatar
mfaridi mfaridi is offline
Member
 
Join Date: Nov 2008
Location: Afghanistan
Posts: 622
Thanks: 161
Thanked 12 Times in 12 Posts
Default

Please help me
Reply With Quote
  #5  
Old February 18th, 2009, 17:20
SirDice's Avatar
SirDice SirDice is online now
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,852
Thanks: 48
Thanked 2,061 Times in 1,890 Posts
Default

What does gcc -v tell you?
Reply With Quote
The Following User Says Thank You to SirDice For This Useful Post:
mfaridi (February 21st, 2009)
  #6  
Old February 18th, 2009, 17:23
mfaridi's Avatar
mfaridi mfaridi is offline
Member
 
Join Date: Nov 2008
Location: Afghanistan
Posts: 622
Thanks: 161
Thanked 12 Times in 12 Posts
Default

Quote:
Originally Posted by SirDice View Post
What does gcc -v tell you?
this is out put

Code:
Using built-in specs.
Target: i386-undermydesk-freebsd
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 4.2.1 20070719  [FreeBSD]
Reply With Quote
  #7  
Old February 21st, 2009, 08:03
mfaridi's Avatar
mfaridi mfaridi is offline
Member
 
Join Date: Nov 2008
Location: Afghanistan
Posts: 622
Thanks: 161
Thanked 12 Times in 12 Posts
Default

Quote:
Originally Posted by SirDice View Post
What does gcc -v tell you?
Thanks I delete gcc 3 and deinstall gcc 4.2 and everything go good and right now I user KDE 42
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
What do pkg_delete -rf pkg-config\* mfaridi Installation and Maintenance of FreeBSD Ports or Packages 4 February 8th, 2009 22:14
KDE4.1.4 Install/Configure Question Trebuchet KDE 16 February 4th, 2009 02:21
if I install KDE4 package without going to /usr/ports/x11/kde4 mfaridi Installation and Maintenance of FreeBSD Ports or Packages 3 February 1st, 2009 14:59
Change Config Options After Failed Install ter2007 Installing & Upgrading 9 December 23rd, 2008 14:59
KDE4 Install unixostamer KDE 11 December 6th, 2008 23:42


All times are GMT +1. The time now is 15:05.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0