[unixODBC-support] Unix ODBC - Qt/X11 4.3.0 - Configuration - CC error

Leland Flox Leland.Flox at safeguardproperties.com
Thu Jul 19 22:05:35 BST 2007


Unix ODBC folks,

I'm having difficulty configuring the Qt/X11 software require for Unix
ODBC GUI components.  The fvisibility test failed with 'CC: not found'
error, but my environment looks okay.  See below.

-- Leland


Downloaded:

http://ftp.iasi.roedu.net/mirrors/ftp.trolltech.com/qt/source/qt-x11-ope
nsource-src-4.3.0.tar.gz

# echo $PATH
/usr/local/Trolltech/Qt-4.1.3/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr
/local/sbin:/usr/ucb:/usr/ccs/bin:/usr/xpg4/bin


# cp qt-x11-opensource-src-4.3.0.tar.gz /tmp
# cd /tmp
# gunzip qt-x11-opensource-src-4.3.0.tar.gz
# tar xvf qt-x11-opensource-src-4.3.0.tar
# cd qt-x11-opensource-src-4.3.0

# echo $PATH
/usr/local/Trolltech/Qt-4.1.3/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr
/local/sbin:/usr/ucb:/usr/ccs/bin:/usr/xpg4/bin

# echo $CC
gcc

# which cc gcc
/usr/ucb/cc
/usr/local/bin/gcc


# ./configure

This is the Qt/X11 Open Source Edition.

/tmp/qt-x11-opensource-src-4.3.0/config.tests/unix/fvisibility.test: CC:
not found
You are licensed to use this software under the terms of either
the Q Public License (QPL) or the GNU General Public License (GPL).

Type 'Q' to view the Q Public License.
Type 'G' to view the GNU General Public License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.

Do you accept the terms of either license? yes

Creating qmake. Please wait...
CC -c -o project.o  -DQMAKE_OPENSOURCE_EDITION -I. -Igenerators
-Igenerators/unix -Igenerators/win32 -Igenerators/mac
-I/tmp/qt-x11-opensource-src-4.3.0/src/corelib/arch/generic
-I/tmp/qt-x11-opensource-src-4.3.0/include
-I/tmp/qt-x11-opensource-src-4.3.0/include/QtCore
-I/tmp/qt-x11-opensource-src-4.3.0/include
-I/tmp/qt-x11-opensource-src-4.3.0/include/QtCore
-I/tmp/qt-x11-opensource-src-4.3.0/src/corelib/global
-I/tmp/qt-x11-opensource-src-4.3.0/src/script -DQT_NO_PCRE
-DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL
-DQT_BUILD_QMAKE  -DQT_NO_COMPRESS
-I/tmp/qt-x11-opensource-src-4.3.0/mkspecs/solaris-cc -DHAVE_QCONFIG_CPP
-DQT_NO_THREAD -DQT_NO_QOBJECT  -DQT_NO_GEOM_VARIANT  project.cpp
sh: CC: not found
*** Error code 1
make: Fatal error: Command failed for target `project.o'



More information about the unixODBC-support mailing list