DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 10th September 2008
Marred Marred is offline
Real Name: Hutchinson
HUTCHY
 
Join Date: Jun 2008
Location: MY-HUMBLE-ABODE
Posts: 14
Default GCC causing problems it seems.

Hi, I seem to be getting errors in relation to GCC it seems as I cant upgrade alot of pkgs until I can upgrade or use a later version of GCC.
The error I get is along the lines of ( cc1: error: unrecognized command line option "-Wno-pointer-sign"
*** Error code 1 )
Anyway I was wondering if anyone could tell me how I can get My FreeBSD to use a newer version of GCC. I was thinking of upgrading to GCC 4.4.0
I also have GCC2.8.1_3 installed & I also have GCC4.2.5 which I think I upgraded to along time ago but it either isnt recognised or isnt high enough as I still get these errors.
So I was wondering how to go about fixing this error so I can begin to upgrade my software again,
Like do I have to force a deletion of the old GCC first or is there a way to cause a later version to be recognised after upgrading GCC ,as I am not sure if its OK to have multiple versions installed etc...
Thanks anyOne.
Reply With Quote
  #2   (View Single Post)  
Old 10th September 2008
robbak's Avatar
robbak robbak is offline
Real Name: Robert Backhaus
VPN Cryptographer
 
Join Date: May 2008
Location: North Queensland, Australia
Posts: 366
Default

If you have multiple versions installed, the ports will generally select the one they prefer. You also must use the default gcc version to build the world and system. It won't work any other way. Some ports will build with different versions, but if you force matters, you can expect problems. Ports that require non-default gcc versions will list them as dependencies, install them, and build with them.

Having multiple gcc versions installed on a system is no problem: they all get installed with ddifferent suffixes (gcc44, etc), and the libraries keep themselves separately. I believe you can set the gcc version in /etc/make.conf (GCC?=gcc44, perhaps??), but I would not reccomend it.

(oh, most important: Give us your freebsd version (full uname -a output is reccomended.)
__________________
The only dumb question is a question not asked.
The only dumb answer is an answer not given.
Reply With Quote
  #3   (View Single Post)  
Old 10th September 2008
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,056
Default

Quote:
Originally Posted by robbak View Post
If you have multiple versions installed, the ports will generally select the one they prefer.
You can override that by CC and CXX variables in /etc/make.conf or by command line: make CC=/usr/local/bin/gcc43 install clean
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote
  #4   (View Single Post)  
Old 10th September 2008
Marred Marred is offline
Real Name: Hutchinson
HUTCHY
 
Join Date: Jun 2008
Location: MY-HUMBLE-ABODE
Posts: 14
Default

Thanks for advice on giving output

jasons-braain# uname -a
FreeBSD jasons-braain 6.3-RC2 FreeBSD 6.3-RC2 #30: Sun Jan 6 01:30:27 UTC 2008 root@tinderbox.3c-consulting.lokal:/usr/obj/usr/src/sys/GENERIC i386

Also a Copy of my Make.conf. is there anything unusual about it for freeBSD6.3

# Disable VuXML checks, vulnerable ports are marked FORBIDDEN anyway and
# this prevents installing with non-vulnerable options (see win32-codecs)
DISABLE_VULNERABILITIES=yes

# Compile with cups support
WITH_CUPS=yes

# Makes cups shadow printing support in the base system
CUPS_OVERWRITE_BASE=yes

# Use Firefox's gecko engine since it's preinstalled
WITH_MOZILLA=firefox
WITH_GECKO=firefox

The problem seems to be that none of the pkgs I try to upgrade doesnt upgrade GCC but gives out the error I gave.
So I am wondering if I am at the stage now where I need to upgrade my system
(FreeBSD-RELENG-upgrade + BUILDWORLD process).
Do I upgrade to 7. I have never succeded doing an upgrade. Maybe the error will go or do I have to fix this error so my system will upgrade , but then this aint Linux.
I will need to read up on this.

Heres a copy of one of the errors as an example.

---> Checking for the latest package of 'x11/nvidia-driver'
---> Fetching the package(s) for 'nvidia-driver-173.14.09' (x11/nvidia-driver)
---> Fetching nvidia-driver-173.14.09
fetch: ftp://packageftp.desktopbsd.net/pub/...173.14.09.tbz: File unavailable (e.g., file not found, no access)
** The command returned a non-zero exit status: 1
** Failed to fetch ftp://packageftp.desktopbsd.net/pub/...-173.14.09.tbz
fetch: ftp://packageftp.desktopbsd.net/pub/...173.14.09.tgz: File unavailable (e.g., file not found, no access)
** The command returned a non-zero exit status: 1
** Failed to fetch ftp://packageftp.desktopbsd.net/pub/...-173.14.09.tgz
** Failed to fetch nvidia-driver-173.14.09
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! nvidia-driver-173.14.09 (fetch error)
** Could not find the latest version (173.14.09)
---> Using the port instead of a package
---> Upgrading 'nvidia-driver-100.14.19' to 'nvidia-driver-173.14.09' (x11/nvidia-driver)
---> Building '/usr/ports/x11/nvidia-driver'
===> Cleaning for nvidia-driver-173.14.09
===> Found saved configuration for nvidia-driver-100.14.19
=> NVIDIA-FreeBSD-x86-173.14.09.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://jp.download.nvidia.com/freebsd/173.14.09/.
NVIDIA-FreeBSD-x86-173.14.09.tar.gz 0% of NVIDIA-FreeBSD-x86-173.14.09.tar.gz 1% of NVIDIA-FreeBSD-x86-173.14.09.tar.gz 4% of NVIDIA-FreeBSD-x86-173.14.09.tar.gz 8% of NVIDIA-FreeBSD-x86-173.14.09.tar.gz 12% of NVIDIA-FreeBSD-x86-173.14.09.tar.gz 16% of NVIDIA-FreeBSD-x86-173.14.09.tar.gz 20% of NVIDIA-FreeBSD-x86-173.14.09.tar.gz 24% of NVIDIA-FreeBSD-x86-173.14.09.tar.gz 29% of NVIDIA-FreeBSD-x86-173.14.09.tar.gz 33% of NVIDIA-FreeBSD-x86-173.14.09.tar.gz 37% of NVIDIA-FreeBSD-x86-173.14.09.tar.gz 41% of NVIDIA-FreeBSD-x86-173.14.09.tar.gz 45% of NVIDIA-FreeBSD-x86-173.14.09.tar.gz 50% of NVIDIA-FreeBSD-x86-173.14.09.tar.gz 54% of NVIDIA-FreeBSD-x86-173.14.09.tar.gz 58% of NVIDIA-FreeBSD-x86-173.14.09.tar.gz 61% of NVIDIA-FreeBSD-x86-173.14.09.tar.gz 65% of NVIDIA-FreeBSD-x86-173.14.09.tar.gz 69% of NVIDIA-FreeBSD-x86-173.14.09.tar.gz 73% of NVIDIA-FreeBSD-x86-173.14.09.tar.gz 76% of NVIDIA-FreeBSD-x86-173.14.09.tar.gz 80% of NVIDIA-FreeBSD-x86-173.14.09.tar.gz 84% of NVIDIA-FreeBSD-x86-173.14.09.tar.gz 88% of NVIDIA-FreeBSD-x86-173.14.09.tar.gz 92% of NVIDIA-FreeBSD-x86-173.14.09.tar.gz 96% of NVIDIA-FreeBSD-x86-173.14.09.tar.gz 100% of 15 MB 602 kBps 00m00s
===> Extracting for nvidia-driver-173.14.09
=> MD5 Checksum OK for NVIDIA-FreeBSD-x86-173.14.09.tar.gz.
=> SHA256 Checksum OK for NVIDIA-FreeBSD-x86-173.14.09.tar.gz.
===> Patching for nvidia-driver-173.14.09
===> Applying FreeBSD patches for nvidia-driver-173.14.09
===> nvidia-driver-173.14.09 depends on shared library: m.3 - found
===> nvidia-driver-173.14.09 depends on shared library: GL.1 - found
===> Configuring for nvidia-driver-173.14.09
===> Building for nvidia-driver-173.14.09
===> src (all)
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h
cc -O2 -fno-strict-aliasing -pipe -DNV_VERSION_STRING=\"173.14.09\" -D__KERNEL__ -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -Werror -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I/src -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c nvidia_ctl.c
cc1: error: unrecognized command line option "-Wno-pointer-sign"
*** Error code 1

Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-173.14.09/src.
*** Error code 1

Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-173.14.09.
*** Error code 1

Stop in /usr/ports/x11/nvidia-driver.
*** Error code 1

Stop in /usr/ports/x11/nvidia-driver.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.16922.0 env DIALOG=/usr/local/bin/kdialog-ports-wrapper UPGRADE_TOOL=portupgrade UPGRADE_PORT=nvidia-driver-100.14.19 UPGRADE_PORT_VER=100.14.19 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! x11/nvidia-driver (nvidia-driver-100.14.19) (unknown build error)

Last edited by Marred; 10th September 2008 at 08:04 AM.
Reply With Quote
  #5   (View Single Post)  
Old 10th September 2008
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,056
Default

@Marred

Try updating the Ports tree.
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote
  #6   (View Single Post)  
Old 10th September 2008
Marred Marred is offline
Real Name: Hutchinson
HUTCHY
 
Join Date: Jun 2008
Location: MY-HUMBLE-ABODE
Posts: 14
Default

Ive been updating the ports etc for months & still get these errors.
I update my ports using portsnap & the following procedures just about everytime I login.
Reply With Quote
  #7   (View Single Post)  
Old 10th September 2008
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Real Name: Ben
Spam Refugee
 
Join Date: Jul 2008
Location: Rotterdam, The Netherlands
Posts: 336
Default

Code:
Found saved configuration for nvidia-driver-100.14.19
Try 'make rmconfig' in /usr/ports/x11/nvidia-driver first? That upgrade looks like a major jump ... (nvidia-driver-100.14.19 -> nvidia-driver-173.14.09)
Reply With Quote
  #8   (View Single Post)  
Old 10th September 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Default

whats the o/p of:

# printf '0:\n\t${CC} -v' | make -sf-
Reply With Quote
  #9   (View Single Post)  
Old 11th September 2008
BSDKaffee's Avatar
BSDKaffee BSDKaffee is offline
Real Name: Jason Hale
Coffee Addict
 
Join Date: May 2008
Location: Wintersville, Ohio
Posts: 212
Default

You need kernel sources installed to build the nvidia module. That is why you are getting "cc1: error: unrecognized command line option "-Wno-pointer-sign""

EDIT: I should clarify. You need to have the same sources installed as the current system you are running. It sounds like you might have cvsuped your sources to a newer version of FreeBSD.

Last edited by BSDKaffee; 11th September 2008 at 03:22 AM.
Reply With Quote
Old 11th September 2008
Marred Marred is offline
Real Name: Hutchinson
HUTCHY
 
Join Date: Jun 2008
Location: MY-HUMBLE-ABODE
Posts: 14
Default

This is my Printout
jasons-braain# printf '0:\n\t${CC} -v' | make -sf-
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.6 [FreeBSD] 20060305

I have found part of the answer it seems by changing back to using cvsup for now as I didn't mention I was getting the "refuse" files.) error" when running # portsdb -Uu after updating my ports & found after doing some searching that I only need to now run #cd /usr/ports
# make fetchindex instead

My "refuse" files.) error"

jasons-braain# portsdb -Uu
Updating the ports index ... Generating INDEX.tmp - please wait.."/usr/ports/print/ghostscript-gpl-nox11/../ghostscript-gpl/Makefile", line 132: warning: drivers incompatible with WITHOUT_X11 will be removed automatically
"Makefile", line 61: Need an operator
make: fatal errors encountered -- cannot continue
===> textproc/docproj failed
*** Error code 1
1 error


Before reporting this error, verify that you are running a supported
version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you
have a complete and up-to-date ports collection. (INDEX builds are
not supported with partial or out-of-date ports collections -- in
particular, if you are using cvsup, you must cvsup the "ports-all"
collection, and have no "refuse" files.) If that is the case, then
report the failure to ports@FreeBSD.org together with relevant
details of your ports configuration (including FreeBSD version,
your architecture, your environment, and your /etc/make.conf
settings, especially compiler flags and WITH/WITHOUT settings).

Note: the latest pre-generated version of INDEX may be fetched
automatically with "make fetchindex".

*** Error code 1

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

Stop in /usr/ports.
failed to generate INDEX!
portsdb: index generation error

################################################## ####

I have found pkgs are now upgrading again except for odd error.

Something else I found amiss is I notice I can never seem to recieve updates through pkgs but only from ports as you can see in error below & with the Nvidia error I gave earlier above.
Sorry for long error below but I thought it might give some more insight into what I was getting as it also seems to confirm what BSDKaffee said about kernel sources etc.
I must have some mirrors set up wrong somewhere as I havnt seen pkgs installed yet only ports that I can remember since I installed my OS ,it could hopefully speed up my upgrades & installs if I can sort it out I hope.

##################################

[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 985 packages found (-1 +0) (...) done]
---> Installing the new version via the port
===> Installing for qt4-qmake-4.4.1
===> Generating temporary packing list
===> Checking if devel/qmake4 already installed
mkdir -p "/usr/local/share/qt4"
cp -Rp /usr/ports/devel/qmake4/work/qt-x11-opensource-src-4.4.1/mkspecs /usr/local/share/qt4
install -s -o root -g wheel -m 555 qmake-qt4 /usr/local/bin
/bin/ln -sf /usr/local/share/qt4/mkspecs/freebsd-g++ /usr/local/share/qt4/mkspecs/default
===> Registering installation for qt4-qmake-4.4.1
===> Cleaning for qt4-qmake-4.4.1
---> Cleaning out obsolete shared libraries
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 986 packages found (-0 +1) . done]
---> Checking for the latest package of 'devel/qt4-uic'
---> Fetching the package(s) for 'qt4-uic-4.4.1' (devel/qt4-uic)
---> Fetching qt4-uic-4.4.1
fetch: ftp://packageftp.desktopbsd.net/pub/...uic-4.4.1.tbz: File unavailable (e.g., file not found, no access)
** The command returned a non-zero exit status: 1
** Failed to fetch ftp://packageftp.desktopbsd.net/pub/...-uic-4.4.1.tbz
fetch: ftp://packageftp.desktopbsd.net/pub/...uic-4.4.1.tgz: File unavailable (e.g., file not found, no access)
** The command returned a non-zero exit status: 1
** Failed to fetch ftp://packageftp.desktopbsd.net/pub/...-uic-4.4.1.tgz
** Failed to fetch qt4-uic-4.4.1
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! qt4-uic-4.4.1 (fetch error)
** Could not find the latest version (4.4.1)
---> Using the port instead of a package
---> Upgrading 'qt4-uic-4.3.4' to 'qt4-uic-4.4.1' (devel/qt4-uic)
---> Building '/usr/ports/devel/qt4-uic'
===> Cleaning for qt4-uic-4.4.1
===> Extracting for qt4-uic-4.4.1
=> MD5 Checksum OK for KDE/qt-x11-opensource-src-4.4.1.tar.gz.
=> SHA256 Checksum OK for KDE/qt-x11-opensource-src-4.4.1.tar.gz.
===> Patching for qt4-uic-4.4.1
===> qt4-uic-4.4.1 depends on package: qt4-qmake>=4.4.1 - found
===> Configuring for qt4-uic-4.4.1
/bin/cp /usr/ports/devel/qt4-uic/../../devel/qt4/files/configure /usr/ports/devel/qt4-uic/work/qt-x11-opensource-src-4.4.1/src/tools/uic/../../../
/usr/bin/sed -i.bak -e 's|target.path.*|target.path=/usr/local/bin|g' -e 's|^TARGET.*|TARGET=uic-qt4|g' /usr/ports/devel/qt4-uic/work/qt-x11-opensource-src-4.4.1/src/tools/uic/uic.pro
/bin/mkdir -p /usr/ports/devel/qt4-uic/work/qt-x11-opensource-src-4.4.1/src/tools/uic/../../../mkspecs
/bin/ln -sf /usr/local/bin/qmake-qt4 /usr/ports/devel/qt4-uic/work/qt-x11-opensource-src-4.4.1/src/tools/uic/../../../bin/qmake

This is the Qt/X11 Open Source Edition.


The specified system/compiler is not supported:

/usr/ports/devel/qt4-uic/work/qt-x11-opensource-src-4.4.1/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-uic/work/qt-x11-opensource-src-4.4.1/src/tools/uic/../../..//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-uic.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.46058.1 env DIALOG=/usr/local/bin/kdialog-ports-wrapper UPGRADE_TOOL=portupgrade UPGRADE_PORT=qt4-uic-4.3.4 UPGRADE_PORT_VER=4.3.4 make
** Fix the problem and try again.
---> Checking for the latest package of 'devel/qt4-rcc'
---> Fetching the package(s) for 'qt4-rcc-4.4.1' (devel/qt4-rcc)
---> Fetching qt4-rcc-4.4.1
fetch: ftp://packageftp.desktopbsd.net/pub/...rcc-4.4.1.tbz: File unavailable (e.g., file not found, no access)
** The command returned a non-zero exit status: 1
** Failed to fetch ftp://packageftp.desktopbsd.net/pub/...-rcc-4.4.1.tbz
fetch: ftp://packageftp.desktopbsd.net/pub/...rcc-4.4.1.tgz: File unavailable (e.g., file not found, no access)
** The command returned a non-zero exit status: 1
** Failed to fetch ftp://packageftp.desktopbsd.net/pub/...-rcc-4.4.1.tgz
** Failed to fetch qt4-rcc-4.4.1
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! qt4-rcc-4.4.1 (fetch error)
** Could not find the latest version (4.4.1)
---> Using the port instead of a package
---> Upgrading 'qt4-rcc-4.3.4' to 'qt4-rcc-4.4.1' (devel/qt4-rcc)
---> Building '/usr/ports/devel/qt4-rcc'
===> Cleaning for qt4-rcc-4.4.1
===> Extracting for qt4-rcc-4.4.1
=> MD5 Checksum OK for KDE/qt-x11-opensource-src-4.4.1.tar.gz.
=> SHA256 Checksum OK for KDE/qt-x11-opensource-src-4.4.1.tar.gz.
===> Patching for qt4-rcc-4.4.1
===> qt4-rcc-4.4.1 depends on package: qt4-qmake>=4.4.1 - found
===> Configuring for qt4-rcc-4.4.1
/bin/cp /usr/ports/devel/qt4-rcc/../../devel/qt4/files/configure /usr/ports/devel/qt4-rcc/work/qt-x11-opensource-src-4.4.1/src/tools/rcc/../../../
/usr/bin/sed -i.bak -e 's|target.path.*|target.path=/usr/local/bin|g' /usr/ports/devel/qt4-rcc/work/qt-x11-opensource-src-4.4.1/src/tools/rcc/rcc.pro
/bin/mkdir -p /usr/ports/devel/qt4-rcc/work/qt-x11-opensource-src-4.4.1/src/tools/rcc/../../../mkspecs
/bin/ln -sf /usr/local/bin/qmake-qt4 /usr/ports/devel/qt4-rcc/work/qt-x11-opensource-src-4.4.1/src/tools/rcc/../../../bin/qmake

This is the Qt/X11 Open Source Edition.


The specified system/compiler is not supported:

/usr/ports/devel/qt4-rcc/work/qt-x11-opensource-src-4.4.1/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-rcc/work/qt-x11-opensource-src-4.4.1/src/tools/rcc/../../..//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-rcc.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.46058.2 env DIALOG=/usr/local/bin/kdialog-ports-wrapper UPGRADE_TOOL=portupgrade UPGRADE_PORT=qt4-rcc-4.3.4 UPGRADE_PORT_VER=4.3.4 make
** Fix the problem and try again.
---> Checking for the latest package of 'devel/qt4-moc'
---> Fetching the package(s) for 'qt4-moc-4.4.1' (devel/qt4-moc)
---> Fetching qt4-moc-4.4.1
fetch: ftp://packageftp.desktopbsd.net/pub/...moc-4.4.1.tbz: File unavailable (e.g., file not found, no access)
** The command returned a non-zero exit status: 1
** Failed to fetch ftp://packageftp.desktopbsd.net/pub/...-moc-4.4.1.tbz
fetch: ftp://packageftp.desktopbsd.net/pub/...moc-4.4.1.tgz: File unavailable (e.g., file not found, no access)
** The command returned a non-zero exit status: 1
** Failed to fetch ftp://packageftp.desktopbsd.net/pub/...-moc-4.4.1.tgz
** Failed to fetch qt4-moc-4.4.1
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! qt4-moc-4.4.1 (fetch error)
** Could not find the latest version (4.4.1)
---> Using the port instead of a package
---> Upgrading 'qt4-moc-4.3.4' to 'qt4-moc-4.4.1' (devel/qt4-moc)
---> Building '/usr/ports/devel/qt4-moc'
===> Cleaning for qt4-moc-4.4.1
===> Extracting for qt4-moc-4.4.1
=> MD5 Checksum OK for KDE/qt-x11-opensource-src-4.4.1.tar.gz.
=> SHA256 Checksum OK for KDE/qt-x11-opensource-src-4.4.1.tar.gz.
===> Patching for qt4-moc-4.4.1
===> qt4-moc-4.4.1 depends on package: qt4-qmake>=4.4.1 - found
===> Configuring for qt4-moc-4.4.1
/bin/cp /usr/ports/devel/qt4-moc/../../devel/qt4/files/configure /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.4.1/src/tools/moc/../../../
/usr/bin/sed -i.bak -e 's|target.path.*|target.path=/usr/local/bin|g' -e 's|^TARGET.*|TARGET=moc-qt4|g' /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.4.1/src/tools/moc/moc.pro
/bin/mkdir -p /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.4.1/src/tools/moc/../../../mkspecs
/bin/ln -sf /usr/local/bin/qmake-qt4 /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.4.1/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.1/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.1/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.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.46058.3 env DIALOG=/usr/local/bin/kdialog-ports-wrapper UPGRADE_TOOL=portupgrade UPGRADE_PORT=qt4-moc-4.3.4 UPGRADE_PORT_VER=4.3.4 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! devel/qt4-uic (qt4-uic-4.3.4) (unknown build error)
! devel/qt4-rcc (qt4-rcc-4.3.4) (unknown build error)
! devel/qt4-moc (qt4-moc-4.3.4) (unknown build error)

Last edited by Marred; 11th September 2008 at 05:00 AM.
Reply With Quote
Old 11th September 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Default

Quote:
Originally Posted by Marred View Post
This is my Printout
jasons-braain# printf '0:\n\t${CC} -v' | make -sf-
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.6 [FreeBSD] 20060305
There lies your problem. "-Wno-pointer-sign" is not available in gcc 3.x.
try using the gcc 4.x compiler to compile nvidia (see post #3 by vermaden)
Reply With Quote
Old 11th September 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

The GCC online manual shows no-pointer-sign available in 4.0.4 and newer; FreeBSD has GCC 2.8.x, 2.9.5, 3.3.x, 3.4.x, 4.1.x, 4.2.x, 4.3.x, 4.4.x listed on this system. I'd suggest lang/gcc42 because FreeBSD 7 was released with gcc 4.2.1, so it should be fairly safe for building most C/C++ related ports.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
Old 11th September 2008
Marred Marred is offline
Real Name: Hutchinson
HUTCHY
 
Join Date: Jun 2008
Location: MY-HUMBLE-ABODE
Posts: 14
Default

Thanks a Million , will give it a shot tonight hopefully, Im now glad I posted after putting this off for to long, tip toeing around nvidia & this GCC problem ,I think I will be right now. it now seems alot clearer what I need to do.
Thanks
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 03:33 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick