View previous topic :: View next topic |
Author |
Message |
raid517 l33t
Joined: 06 Mar 2003 Posts: 946
|
Posted: Thu Jun 19, 2003 12:16 pm Post subject: Cannot install/compile KDE. |
|
|
Does anyone know what this means and how to fix it?
Code: | # emerge kde
Calculating dependencies ...done!
>>> emerge (1 of 14) dev-db/mysql-4.0.13-r3 to /
>>> md5 src_uri ;-) mysql-4.0.13.tar.gz
*
* If you're upgrading from MySQL-3.x, you must recompile the other
* packages on your system that link with libmysqlclient after the
* upgrade completes. To obtain such a list of packages for your
* system, you may use the: /usr/portage/dev-db/mysql/files/rebuilder.sh
* script.
*
>>> Unpacking source...
static
ssl
* MySQL does not support building statically with SSL support
!!! ERROR: dev-db/mysql-4.0.13-r3 failed.
!!! Function src_unpack, Line 54, Exitcode 0
!!! MySQL does not support building statically with SSL support |
Its not just KDE that is failing, its a lot of stuff, including Gnome and the drivers for my ati-video card. I always get the same error.
Please can someone tell me what's going on? I edited my USE flags and removed the entry for SSL, but this was after most of the system had been installed. In any case it hasn't made any difference, as I still keep getting this error.
All advice is welcome.
Q |
|
Back to top |
|
|
brain Apprentice
Joined: 16 May 2002 Posts: 229 Location: Farmington Hills, MI
|
Posted: Thu Jun 19, 2003 12:20 pm Post subject: |
|
|
Is there any reason you need MySQL to install KDE? you could always add
to your /etc/make.conf.
On the other hand, if you do want MySQL, the error itself just states that MySQL doesn't support being build statically with SSL support, meaning that you need to add
to your make.conf during the MySQL merge. _________________ --brain |
|
Back to top |
|
|
raid517 l33t
Joined: 06 Mar 2003 Posts: 946
|
Posted: Thu Jun 19, 2003 12:28 pm Post subject: |
|
|
Thanks man that worked like a dream...
Thanks very much!
Q |
|
Back to top |
|
|
paranode l33t
Joined: 06 Mar 2003 Posts: 679 Location: Texas
|
Posted: Thu Jun 19, 2003 12:29 pm Post subject: |
|
|
Or take off the static USE flag if you have it set. I'm guessing this might be the issue with that and other packages. _________________ Meh. |
|
Back to top |
|
|
raid517 l33t
Joined: 06 Mar 2003 Posts: 946
|
Posted: Thu Jun 19, 2003 12:41 pm Post subject: |
|
|
Where would I do that? I looked at the that file again, maybe i'm blind or something (no suprise maybe after going at this so long) but I didn't spot it. This could be an issue with other things I try to build, so I'd like to avoid it.
Q |
|
Back to top |
|
|
raid517 l33t
Joined: 06 Mar 2003 Posts: 946
|
Posted: Thu Jun 19, 2003 1:14 pm Post subject: |
|
|
Ok I'm going to have to try to exclude MySQL support for now. I opted to include it without SSL support and here's what happend.
Code: | g++ -c -pipe -fno-exceptions -I/usr/include/mysql -I/usr/include/postgresql/server -Wall -W -O2 -D_REENTRANT -fPIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -I/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../../../../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/main.o main.cpp
mv -f libqsqlpsql.so ../../../sqldrivers/
make[3]: Leaving directory `/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/plugins/src/sqldrivers/psql'
g++ -c -pipe -fno-exceptions -I/usr/include/mysql -I/usr/include/postgresql/server -Wall -W -O2 -D_REENTRANT -fPIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -I/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../../../../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/qsql_odbc.o ../../../../src/sql/drivers/odbc/qsql_odbc.cpp
In file included from main.cpp:38:
../../../../src/sql/drivers/odbc/qsql_odbc.h:57:17: sql.h: No such file or directory
../../../../src/sql/drivers/odbc/qsql_odbc.h:58:22: sqlucode.h: No such file or directory
../../../../src/sql/drivers/odbc/qsql_odbc.h:59:20: sqlext.h: No such file or directory
In file included from main.cpp:38:
../../../../src/sql/drivers/odbc/qsql_odbc.h:72: syntax error before `)' token
../../../../src/sql/drivers/odbc/qsql_odbc.h:114: syntax error before `)' token
../../../../src/sql/drivers/odbc/qsql_odbc.h:115: syntax error before `)' token
make[3]: *** [.obj/main.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from ../../../../src/sql/drivers/odbc/qsql_odbc.cpp:37:
../../../../src/sql/drivers/odbc/qsql_odbc.h:57:17: sql.h: No such file or directory
../../../../src/sql/drivers/odbc/qsql_odbc.h:58:22: sqlucode.h: No such file or directory
../../../../src/sql/drivers/odbc/qsql_odbc.h:59:20: sqlext.h: No such file or directory
In file included from ../../../../src/sql/drivers/odbc/qsql_odbc.cpp:37:
../../../../src/sql/drivers/odbc/qsql_odbc.h:72: syntax error before `)' token
../../../../src/sql/drivers/odbc/qsql_odbc.h:114: syntax error before `)' token
../../../../src/sql/drivers/odbc/qsql_odbc.h:115: syntax error before `)' token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:63: 'SQLHANDLE' is used as a
type, but is not defined as a type.
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:64: 'SQLHANDLE' is used as a
type, but is not defined as a type.
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:65: 'SQLHANDLE' is used as a
type, but is not defined as a type.
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In constructor
`QODBCPrivate::QODBCPrivate()':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:57: class `QODBCPrivate' does
not have any field named `hEnv'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:57: class `QODBCPrivate' does
not have any field named `hDbc'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:57: class `QODBCPrivate' does
not have any field named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: At global scope:
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:97: type specifier omitted for
parameter `SQLHANDLE'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:97: syntax error before `)'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In function `QString
qWarnODBCHandle(...)':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:99: `SQLINTEGER' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:99: (Each undeclared identifier
is reported only once for each function it appears in.)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:99: syntax error before `;'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:100: `SQLSMALLINT' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:101: `SQLRETURN' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:102: `SQLTCHAR' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:104: `r' undeclared (first use
this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:104: `handleType' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:105: `handle' undeclared (first
use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:107: syntax error before `)'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:112: `SQL_SUCCESS' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:112: `SQL_SUCCESS_WITH_INFO'
undeclared (first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:116: `description_' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In function `QString
qODBCWarn(const QODBCPrivate*)':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:123: `SQL_HANDLE_ENV' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:123: `class QODBCPrivate' has no
member named `hEnv'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:123: `SQL_HANDLE_DBC' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:123: `class QODBCPrivate' has no
member named `hDbc'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:123: `SQL_HANDLE_STMT'
undeclared (first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:123: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: At global scope:
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:140: `SQLSMALLINT' was not
declared in this scope
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:140: syntax error before `,'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In function `QVariant::Type
qDecodeODBCType(...)':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:143: `sqltype' undeclared (first
use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:144: `SQL_DECIMAL' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:145: `SQL_NUMERIC' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:146: `SQL_REAL' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:147: `SQL_FLOAT' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:148: `SQL_DOUBLE' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:149: `SQL_BIGINT' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:152: `SQL_SMALLINT' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:153: `SQL_INTEGER' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:154: `SQL_BIT' undeclared (first
use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:155: `SQL_TINYINT' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:158: `SQL_BINARY' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:159: `SQL_VARBINARY' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:160: `SQL_LONGVARBINARY'
undeclared (first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:163: `SQL_DATE' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:164: `SQL_TYPE_DATE' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:167: `SQL_TIME' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:168: `SQL_TYPE_TIME' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:171: `SQL_TIMESTAMP' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:172: `SQL_TYPE_TIMESTAMP'
undeclared (first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:175: `SQL_WCHAR' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:176: `SQL_WVARCHAR' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:177: `SQL_WLONGVARCHAR'
undeclared (first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:180: `SQL_CHAR' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:181: `p' undeclared (first use
this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:183: `SQL_VARCHAR' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:186: `SQL_LONGVARCHAR'
undeclared (first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: At global scope:
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:196: `SQLHANDLE' was not
declared in this scope
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:196: syntax error before `,'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In function `QString
qGetStringData(...)':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:199: syntax error before `='
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:200: `SQLINTEGER' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:202: `colSize' undeclared (first
use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:208: `unicode' undeclared (first
use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:214: `hStmt' undeclared (first
use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:215: `column' undeclared (first
use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:216: `SQL_C_WCHAR' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:216: `SQL_C_CHAR' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:217: `SQLPOINTER' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:217: syntax error before `,'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:221: `lengthIndicator'
undeclared (first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:221: `SQL_NULL_DATA' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:221: `SQL_NO_TOTAL' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:223: `isNull' undeclared (first
use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:242: `SQL_NO_DATA' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: At global scope:
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:256: syntax error before `,'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In function `QByteArray
qGetBinaryData(...)':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:259: `SQLSMALLINT' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:259: syntax error before `;'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:266: `SQLTCHAR' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:269: `colName' undeclared (first
use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:271: `colNameLen' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:272: `colType' undeclared (first
use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:274: `colScale' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:275: `nullable' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:275: `SQLDescribeCol' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:291: `SQL_C_BINARY' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:292: syntax error before `,'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: At global scope:
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:326: syntax error before `,'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In function `int
qGetIntData(...)':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:328: `SQLINTEGER' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:328: syntax error before `='
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:330: syntax error before `='
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:341: `intbuf' undeclared (first
use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: At global scope:
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:346: syntax error before `,'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In function `QSqlFieldInfo
qMakeFieldInfo(...)':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:353: `SQL_NO_NULLS' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:355: `SQL_NULLABLE' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In function `QSqlFieldInfo
qMakeFieldInfo(const QODBCPrivate*, int)':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:367: syntax error before `;'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:374: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:377: syntax error before `,'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In destructor `virtual
QODBCResult::~QODBCResult()':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:457: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:458: syntax error before `='
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In member function `virtual
bool QODBCResult::reset(const QString&)':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:472: syntax error before `;'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:477: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:478: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:478: `SQLFreeHandle' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:487: `class QODBCPrivate' has no
member named `hDbc'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:488: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:488: `SQLAllocHandle' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:497: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:498: `SQL_ATTR_CURSOR_TYPE'
undeclared (first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:499: syntax error before `,'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:502: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:504: syntax error before `,'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:520: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:521: `SQLCHAR' undeclared (first
use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:521: syntax error before `)'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:528: `SQLSMALLINT' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:528: syntax error before `;'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:529: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:529: `count' undeclared (first
use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:529: `SQLNumResultCols'
undeclared (first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In member function `virtual
bool QODBCResult::fetch(int)':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:555: syntax error before `;'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:562: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:563: `SQL_FETCH_ABSOLUTE'
undeclared (first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:564: `SQLFetchScroll' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In member function `virtual
bool QODBCResult::fetchNext()':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:575: syntax error before `;'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:578: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:579: `SQL_FETCH_NEXT' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In member function `virtual
bool QODBCResult::fetchFirst()':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:591: syntax error before `;'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:597: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:598: `SQL_FETCH_FIRST'
undeclared (first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In member function `bool
QODBCResult::fetchPrior()':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:610: syntax error before `;'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:613: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:614: `SQL_FETCH_PRIOR'
undeclared (first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In member function `virtual
bool QODBCResult::fetchLast()':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:624: syntax error before `;'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:637: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:638: `SQL_FETCH_LAST' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:643: `SQLINTEGER' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:643: syntax error before `;'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:644: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:645: `SQL_ROW_NUMBER' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:646: `currRow' undeclared (first
use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:647: `SQL_IS_INTEGER' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:648: `SQLGetStmtAttr' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In member function `virtual
QVariant QODBCResult::data(int)':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:663: syntax error before `('
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:672: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:676: `DATE_STRUCT' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:676: syntax error before `;'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:677: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:679: `SQL_C_DATE' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:680: `dbuf' undeclared (first
use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:682: `SQLGetData' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:692: `TIME_STRUCT' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:692: syntax error before `;'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:693: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:695: `SQL_C_TIME' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:696: `tbuf' undeclared (first
use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:708: `TIMESTAMP_STRUCT'
undeclared (first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:708: syntax error before `;'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:709: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:711: `SQL_C_TIMESTAMP'
undeclared (first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:712: `dtbuf' undeclared (first
use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:725: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:731: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:739: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:746: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In member function `virtual int
QODBCResult::numRowsAffected()':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:773: `SQLINTEGER' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:773: syntax error before `('
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:776: `affectedRowCount'
undeclared (first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In member function `bool
QODBCResult::prepare(const QString&)':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:788: syntax error before `;'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:791: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:792: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:801: `class QODBCPrivate' has no
member named `hDbc'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:802: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:811: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:813: syntax error before `,'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:816: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:818: syntax error before `,'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:834: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:835: syntax error before `)'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In member function `bool
QODBCResult::exec()':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:850: syntax error before `;'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:858: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:864: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:864: `SQL_CLOSE' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:864: `SQLFreeStmt' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:878: `ind' undeclared (first use
this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:878: syntax error before `('
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:885: `dt' undeclared (first use
this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:885: syntax error before `;'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:891: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:893: `SQL_PARAM_INPUT'
undeclared (first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:900: `SQLBindParameter'
undeclared (first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:903: syntax error before `;'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:909: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:921: syntax error before `;'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:931: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:945: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:948: `SQL_C_SLONG' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:959: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:962: `SQL_C_DOUBLE' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:975: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:992: `class QODBCPrivate' has no
member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1008: `class QODBCPrivate' has
no member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1030: `class QODBCPrivate' has
no member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1030: `SQLExecute' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1038: syntax error before `;'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1039: `class QODBCPrivate' has
no member named `hStmt'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In member function `virtual
bool QODBCDriver::hasFeature(QSqlDriver::DriverFeature) const':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1076: `class QODBCPrivate' has
no member named `hDbc'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1078: `SQLUSMALLINT' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1078: syntax error before `;'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1079: `SQLSMALLINT' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1080: `class QODBCPrivate' has
no member named `hDbc'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1081: syntax error before `,'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1085: `txn' undeclared (first
use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1085: `SQL_TC_NONE' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In member function `virtual
bool QODBCDriver::open(const QString&, const QString&, const QString&, const
QString&, int)':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1113: syntax error before `;'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1115: `SQL_NULL_HANDLE'
undeclared (first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1116: `class QODBCPrivate' has
no member named `hEnv'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1124: `class QODBCPrivate' has
no member named `hEnv'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1125: `SQL_ATTR_ODBC_VERSION'
undeclared (first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1126: syntax error before `,'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1129: `class QODBCPrivate' has
no member named `hEnv'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1130: `class QODBCPrivate' has
no member named `hDbc'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1147: `SQLSMALLINT' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1147: syntax error before `;'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1148: `SQLTCHAR' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1149: `class QODBCPrivate' has
no member named `hDbc'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1154: syntax error before `)'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In member function `void
QODBCDriver::cleanup()':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1189: syntax error before `;'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1191: `class QODBCPrivate' has
no member named `hDbc'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1193: `class QODBCPrivate' has
no member named `hDbc'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1193: `SQLDisconnect' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1198: `class QODBCPrivate' has
no member named `hDbc'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1203: `class QODBCPrivate' has
no member named `hDbc'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1205: `class QODBCPrivate' has
no member named `hEnv'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1206: `class QODBCPrivate' has
no member named `hEnv'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1211: `class QODBCPrivate' has
no member named `hEnv'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In member function `void
QODBCPrivate::checkUnicode()':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1226: syntax error before `;'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1227: `SQLUINTEGER' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1230: `hDbc' undeclared (first
use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1231: `SQL_CONVERT_CHAR'
undeclared (first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1232: `fFunc' undeclared (first
use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1234: `SQLGetInfo' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1235: `SQL_CVT_WCHAR' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1241: `SQL_CONVERT_VARCHAR'
undeclared (first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1245: `SQL_CVT_WVARCHAR'
undeclared (first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1251: `SQL_CONVERT_LONGVARCHAR'
undeclared (first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1255: `SQL_CVT_WLONGVARCHAR'
undeclared (first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In member function `bool
QODBCPrivate::checkDriver() const':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1265: ISO C++ forbids
declaration of `SQLUSMALLINT' with no type
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1265: uninitialized const `
SQLUSMALLINT'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1265: syntax error before `['
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1265: warning: unused variable `
const int SQLUSMALLINT'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: At global scope:
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1272: syntax error before `['
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1276: 'SQLRETURN' is used as a
type, but is not defined as a type.
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1277: 'SQLUSMALLINT' is used as
a type, but is not defined as a type.
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1282: syntax error before `for'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1282: syntax error before `!='
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1302: syntax error before `!='
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In member function `virtual
bool QODBCDriver::beginTransaction()':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1337: `SQLUINTEGER' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1337: syntax error before `('
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In member function `virtual
bool QODBCDriver::commitTransaction()':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1357: syntax error before `='
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In member function `virtual
bool QODBCDriver::rollbackTransaction()':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1375: syntax error before `='
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In member function `bool
QODBCDriver::endTrans()':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1387: `SQLUINTEGER' undeclared
(first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1387: syntax error before `('
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In member function `virtual
QStringList QODBCDriver::tables(const QString&) const':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1404: syntax error before `;'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1417: syntax error before `,'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1432: syntax error before `)'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In member function `virtual
QSqlIndex QODBCDriver::primaryIndex(const QString&) const':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1466: syntax error before `;'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1480: syntax error before `,'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1486: syntax error before `)'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1507: `SQL_BEST_ROWID'
undeclared (first use this function)
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1511: syntax error before `)'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In member function `virtual
QSqlRecordInfo QODBCDriver::recordInfo(const QString&) const':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1581: syntax error before `;'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1585: syntax error before `='
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1596: syntax error before `,'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1602: syntax error before `)'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: At global scope:
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1655: syntax error before `::'
token
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1660: syntax error before `::'
token
make[3]: *** [.obj/qsql_odbc.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/plugins/src/sqldrivers/odbc'
make[2]: *** [sub-odbc] Error 2
make[2]: Leaving directory `/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/plugins/src/sqldrivers'
make[1]: *** [sub-sqldrivers] Error 2
make[1]: Leaving directory `/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/plugins/src'
make: *** [sub-plugins] Error 2
!!! ERROR: x11-libs/qt-3.1.2-r3 failed.
!!! Function src_compile, Line 117, Exitcode 2
!!! (no error message) |
I would like to understand what this error means and how to correct it.
Q |
|
Back to top |
|
|
brain Apprentice
Joined: 16 May 2002 Posts: 229 Location: Farmington Hills, MI
|
Posted: Thu Jun 19, 2003 1:18 pm Post subject: |
|
|
Weird...
Can you post your make.conf file? _________________ --brain |
|
Back to top |
|
|
raid517 l33t
Joined: 06 Mar 2003 Posts: 946
|
Posted: Thu Jun 19, 2003 1:40 pm Post subject: |
|
|
Ok, but don't laugh at me for enabling so much, this is only my second attempt and about 3 months or so into using Linux. This is intened to be a general purpose machine mainly focused on the web and home entertainment. I thought if I enabled most stuff now I would be less likely to run into problems in the future.
# Host Setting
# ============
#
# If you are using a Pentium Pro or greater processor, leave this line as-is;
# otherwise, change to i586, i486 or i386 as appropriate. All modern systems
# (even Athlons) should use "i686-pc-linux-gnu"
#
#CHOST="i686-pc-linux-gnu"
# Host and optimization settings
# ==============================
#
# For optimal performance, enable a CFLAGS setting appropriate for your CPU.
#
# Please note that if you experience strange issues with a package, it may be
# due to gcc's optimizations interacting in a strange way. Please test the
# package (and in some cases the libraries it uses) at default optimizations
# before reporting errors to developers.
#
# -mcpu=<cpu-type> means optimize code for the particular type of CPU without
# breaking compatibility with other CPUs.
#
# -march=<cpu-type> means to take full advantage of the ABI and instructions
# for the particular CPU; this will break compatibility with older CPUs (for
# example, -march=athlon-xp code will not run on a regular Athlon, and
# -march=i686 code will not run on a Pentium Classic.
#
# CPU types supported in gcc-3.2 and higher: athlon-xp, athlon-mp,
# athlon-tbird, athlon, k6, k6-2, k6-3, i386, i486, i586 (Pentium), i686
# (PentiumPro), pentium, pentium-mmx, pentiumpro, pentium2 (Celeron), pentium3.
# Note that Gentoo Linux 1.4 and higher include at least gcc-3.2.
# ATHLON-4 will generate invalid SSE instructions; use 'athlon' instead.
# PENTIUM4 will generate invalid instructions; use 'pentium3' instead.
#
# CPU types supported in gcc-2.95*: k6, i386, i486, i586 (Pentium), i686
# (Pentium Pro), pentium, pentiumpro Gentoo Linux 1.2 and below use gcc-2.95*
#
# Decent examples:
USE="3dnow aalib acl -ssl -mysql acpi alsa arts avi berkdb bonobo canna cdr cups
curl dga directfb dvb dvd emacs encode esd ethereal evo fbcon firebird flash freetds freewnn gb gd gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile icc icc-pgo imap imlib innodb informix ipv6 jack java jikes jpeg kde kerberos krb4 ladcca lcms ldap leim libg++ libgda libwww lirc maildir matrox mbox mcal mikmod memlimit mmx motif mozilla mpeg mpi mule mysql nas ncurses nhc98 nls oav oci8 odbc oggvorbis opengl oss pam pda pdflib perl plotutils png pnp postgres prebuilt python qt quicktime readline ruby samba sasl scanner sdl slang slp snmp socks5 spell static svga tcltk tcpd tetex tiff truetype trusted usb voodoo3 wavelan wmf X Xaw3d xface xinerama xml xml2 xmms xv zeo zlib"
CFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
# Advanced Masking
# ================
#
# Gentoo is using a new masking system to allow for easier stability testing
# on packages. KEYWORDS are used in ebuilds to mask and unmask packages based
# on the platform they are set for. A special form has been added that
# indicates packages and revisions that are expected to work, but have not yet
# been approved for the stable set. '~arch' is a superset of 'arch' which
# includes the unstable, in testing, packages. Users of the 'x86' architecture
# would add '~x86' to ACCEPT_KEYWORDS to enable unstable/testing packages.
# '~ppc', '~sparc', '~sparc64' are the unstable KEYWORDS for their respective
# platforms. DO NOT PUT ANYTHING BUT YOUR SPECIFIC ~ARCHITECTURE IN THE LIST.
# IF YOU ARE UNSURE OF YOUR ARCH, OR THE IMPLICATIONS, DO NOT MODIFY THIS.
#
ACCEPT_KEYWORDS="~x86"
# Portage Directories
# ===================
#
# Each of these settings controls an aspect of portage's storage and file
# system usage. If you change any of these, be sure it is available when
# you try to use portage. *** DO NOT INCLUDE A TRAILING "/" ***
#
# PORTAGE_TMPDIR is the location portage will use for compilations and
# temporary storage of data. This can get VERY large depending upon
# the application being installed.
#PORTAGE_TMPDIR=/var/tmp
#
# PORTDIR is the location of the portage tree. This is the repository
# for all profile information as well as all ebuilds. This directory
# itself can reach 200M. WE DO NOT RECOMMEND that you change this.
#PORTDIR=/usr/portage
#
# DISTDIR is where all of the source code tarballs will be placed for
# emerges. The source code is maintained here unless you delete
# it. The entire repository of tarballs for gentoo is 9G. This is
# considerably more than any user will ever download. 2-3G is
# a large DISTDIR.
#DISTDIR=${PORTDIR}/distfiles
#
# PKGDIR is the location of binary packages that you can have created
# with '--buildpkg' or '-b' while emerging a package. This can get
# upto several hundred megs, or even a few gigs.
#PKGDIR=${PORTDIR}/packages
#
# PORT_LOGDIR is the location where portage will store all the logs it
# creates from each individual merge. They are stored as YYMMDD-$PF.log
# in the directory specified. This is disabled until you enable it by
# providing a directory. Permissions will be modified as needed IF the
# directory exists, otherwise logging will be disabled.
#PORT_LOGDIR=/var/log/portage
#
# PORTDIR_OVERLAY is a directory where local ebuilds may be stored without
# concern that they will be deleted by rsync updates. Default is not
# defined.
#PORTDIR_OVERLAY=/usr/local/portage
# Fetching files
# ==============
#
# If you need to set a proxy for wget or lukemftp, add the appropriate "export
# ftp_proxy=<proxy>" and "export http_proxy=<proxy>" lines to /etc/profile if
# all users on your system should use them.
#
# Portage uses wget by default. Here are some settings for some alternate
# downloaders -- note that you need to merge these programs first before they
# will be available.
#
# Default fetch command (5 tries, passive ftp for firewall compatibility)
#FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp \${URI} -P \${DISTDIR}"
#RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp \${URI} -P \${DISTDIR}"
#
# Using wget, ratelimiting downloads
#FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp --limit-rate=200k \${URI} -P \${DISTDIR}"
#RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp --limit-rate=200k \${URI} -P \${DISTDIR}"
#
# Lukemftp (BSD ftp):
#FETCHCOMMAND="/usr/bin/lukemftp -s -a -o \${DISTDIR}/\${FILE} \${URI}"
#RESUMECOMMAND="/usr/bin/lukemftp -s -a -R -o \${DISTDIR}/\${FILE} \${URI}"
#
# Prozilla (turbo downloader)
#FETCHCOMMAND='/usr/bin/proz --no-getch -s ${URI} -P ${DISTDIR}'
#
# Portage uses GENTOO_MIRRORS to specify mirrors to use for source retrieval.
# The list is a space seperated list which is read left to right. If you use
# another mirror we highly recommend leaving the default mirror at the end of
# the list so that portage will fall back to it if the files cannot be found
# on your specified mirror. We _HIGHLY_ recommend that you change this setting
# to a nearby mirror by merging and using the 'mirrorselect' tool.
#GENTOO_MIRRORS="<your_mirror_here> http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
# Advanced Features
# =================
#
# MAKEOPTS provides extra options that may be passed to 'make' when a
# program is compiled. Presently the only use is for specifying
# the number of parallel makes (-j) to perform. The suggested number
# for parallel makes is CPUs+1.
#MAKEOPTS="-j2"
#
# AUTOCLEAN enables portage to automatically clean out older or overlapping
# packages from the system after every successful merge. This is the
# same as running 'emerge -c' after every merge. Set with: "yes" or "no".
# This does not affect the unpacked source. See 'noclean' below.
AUTOCLEAN="yes"
#
# FEATURES are settings that affect the functionality of portage. Most of
# these settings are for developer use, but some are available to non-
# developers as well. 'buildpkg' is an always-on setting for the emerge
# flag of the same name. It causes binary packages to be created of all
# packages that are merged. 'distcc' enables distcc support for via CC.
# 'userpriv' allows portage to drop root privleges while it is compiling
# as a security measure, and as a side effect this can remove sandbox
# access violations for users. 'usersandbox' enables sandboxing while
# portage is running under userpriv. 'notitles' disables xterm titlebar
# updates (which contain status info). 'noclean' prevents portage from
# removing the source and temporary files after a merge -- for debugging
# purposes only. 'noauto' is a feature which causes ebuild to perform
# the action requested and not any other required actions like clean or
# unpack -- for debugging purposes only. 'cvs' is a feature for developers
# that causes portage to enable full settings and USE flags in SRC_URI and
# has wide effects -- don't set this unless you're ready for it. 'keeptemp'
# prevents the clean phase from deleting the temp files ($T) from a merge.
# 'keepwork' prevents the clean phase from deleting the $WORKDIR.
#FEATURES="sandbox buildpkg ccache distcc userpriv usersandbox notitles noclean noauto cvs keeptemp keepwork"
#
# CCACHE_SIZE sets the space use limitations for ccache. The default size is
# 2G, and will be set if not defined otherwise and ccache is in features.
# Portage will set the default ccache dir if it is not present in the
# user's environment: ${PORTAGE_TMPDIR}/ccache (/var/tmp/ccache).
# Sizes are specified with 'G' 'M' or 'K'.
# '4G' for 4 gigabytes, '4096M' for 4 gigabytes, etc... Default is 2G
#CCACHE_SIZE="2G"
#
# RSYNC_RETRIES sets the number of times portage will attempt to retrieve
# a current portage tree before it exits with an error. This allows
# for a more successful retrieval without user intervention most times.
RSYNC_RETRIES="5"
#
# RSYNC_TIMEOUT sets the length of time rsync will wait before it times out
# on a connection. Most users will benefit from this setting as it will
# reduce the amount of 'dead air' they experience when they run across
# the occasional, unreachable mirror. Dialup users might want to set this
# value up around the 300 second mark.
RSYNC_TIMEOUT=180
#
# RSYNC_EXCLUDEFROM is a file that portage will pass to rsync when it updates
# the portage tree. Specific chucks of the tree may be excluded from
# consideration. This may cause dependency failures if you are not careful.
# The file format is one pattern per line, blanks and ';' or '#' lines are
# comments. See 'man rsync' for more details on the exclude-from format.
#RSYNC_EXCLUDEFROM=/etc/portage/rsync_excludes
So is there anything weirrd here or not? Again your opinion is welcome. I notice in the error its saying it it looking in the Xfree directory 9or something to that effect) I don't have X installed yet. Do you think this is significant?
Q |
|
Back to top |
|
|
paranode l33t
Joined: 06 Mar 2003 Posts: 679 Location: Texas
|
Posted: Thu Jun 19, 2003 1:49 pm Post subject: |
|
|
raid517 wrote: |
So is there anything weirrd here or not? Again your opinion is welcome. I notice in the error its saying it it looking in the Xfree directory 9or something to that effect) I don't have X installed yet. Do you think this is significant?
|
Take static out of your USE flags in /etc/make.conf!
You might also want to settle down on the CFLAGS. _________________ Meh. |
|
Back to top |
|
|
brain Apprentice
Joined: 16 May 2002 Posts: 229 Location: Farmington Hills, MI
|
Posted: Thu Jun 19, 2003 2:06 pm Post subject: |
|
|
Holy cow...
Code: |
USE="3dnow aalib acl -ssl -mysql acpi alsa arts avi berkdb bonobo canna cdr cups
curl dga directfb dvb dvd emacs encode esd ethereal evo fbcon firebird flash freetds freewnn gb gd gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile icc icc-pgo imap imlib innodb informix ipv6 jack java jikes jpeg kde kerberos krb4 ladcca lcms ldap leim libg++ libgda libwww lirc maildir matrox mbox mcal mikmod memlimit mmx motif mozilla mpeg mpi mule mysql nas ncurses nhc98 nls oav oci8 odbc oggvorbis opengl oss pam pda pdflib perl plotutils png pnp postgres prebuilt python qt quicktime readline ruby samba sasl scanner sdl slang slp snmp socks5 spell static svga tcltk tcpd tetex tiff truetype trusted usb voodoo3 wavelan wmf X Xaw3d xface xinerama xml xml2 xmms xv zeo zlib"
|
You shouldn't need all that. The only time you should need to explictly set a USE is if you really need to include a feature in packages. I have a feeling you don't need all that! Try blanking it out, setting USE="". I was trying to figure out why `emerge kde` was attempting to install mySQL... this kind of explains a lot!
Also cut down these
Code: |
CFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays"
|
to this:
Code: |
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
|
And see where that gets you... _________________ --brain |
|
Back to top |
|
|
raid517 l33t
Joined: 06 Mar 2003 Posts: 946
|
Posted: Thu Jun 19, 2003 2:44 pm Post subject: |
|
|
Yeah man thanks. Maybe I did go a bit far, I don't know. But there is no advisory on how many flags you can use on the page that discusses them. I thought they were all optional, and after reading about them, most of them sounded pretty useful.
So ok as far as the USE flags are concerned, if I wanted a multi media, fast gaming /music dvd video entertainment centre, what would be your recommended choices? Also I couldn't find much official information about what were considered usable CFlags, so what I added came from a purely unofficial source. What you printed seems like a very conservative approach - but at the same time I'm concerned if I have gone too far and optimised things to death. In both cases I need advice on how to achive a good ballance between optimisation and good stability.
Also if I have come this far, to the final stages of installing KDE - and I find things aren't running too well, can I rebuild everything with new safer flags, or will I have to start from the bootstrapping process again?
Q |
|
Back to top |
|
|
brain Apprentice
Joined: 16 May 2002 Posts: 229 Location: Farmington Hills, MI
|
Posted: Thu Jun 19, 2003 3:43 pm Post subject: |
|
|
raid517 wrote: |
So ok as far as the USE flags are concerned, if I wanted a multi media, fast gaming /music dvd video entertainment centre, what would be your recommended choices? Also I couldn't find much official information about what were considered usable CFlags, so what I added came from a purely unofficial source. What you printed seems like a very conservative approach - but at the same time I'm concerned if I have gone too far and optimised things to death. In both cases I need advice on how to achive a good ballance between optimisation and good stability.
|
As a general rule, setting USE flags is in a way overriding Portage's best behaviour. When you install KDE, for example; the ebuild maintainer has already gone through the exhaustive process of determining the minimum dependancies for all the packages that need installing. USE flags should be used sparingly in my opinion... think of it as a DIP switch of sorts to flip on features you need, only when you need them. As an example, I compiled PHP with MySQL support, instead I just set the USE flag in an environment variable before emerging mod_php, instead of setting it in make.conf--affecting all packages on the system.
raid517 wrote: |
Also if I have come this far, to the final stages of installing KDE - and I find things aren't running too well, can I rebuild everything with new safer flags, or will I have to start from the bootstrapping process again?
Q |
You should be fine the way you are, if you've gotten this far. If you really want to recompile everything, you can... it will just take awhile. You should be able to follow [url=http://www.gentoo.org/doc/en/new-upgrade-to-gentoo-1.4.xml]this doc[/page] for upgrading to 1.4 from 1.2, just skip the upgrade sections and focus on the recompiling sections... _________________ --brain |
|
Back to top |
|
|
paranode l33t
Joined: 06 Mar 2003 Posts: 679 Location: Texas
|
Posted: Thu Jun 19, 2003 3:43 pm Post subject: |
|
|
raid517 wrote: | Yeah man thanks. Maybe I did go a bit far, I don't know. But there is no advisory on how many flags you can use on the page that discusses them. I thought they were all optional, and after reading about them, most of them sounded pretty useful.
So ok as far as the USE flags are concerned, if I wanted a multi media, fast gaming /music dvd video entertainment centre, what would be your recommended choices? Also I couldn't find much official information about what were considered usable CFlags, so what I added came from a purely unofficial source. What you printed seems like a very conservative approach - but at the same time I'm concerned if I have gone too far and optimised things to death. In both cases I need advice on how to achive a good ballance between optimisation and good stability.
Also if I have come this far, to the final stages of installing KDE - and I find things aren't running too well, can I rebuild everything with new safer flags, or will I have to start from the bootstrapping process again?
Q |
I think you can do an emerge -e world to recompile your system again with new flags. _________________ Meh. |
|
Back to top |
|
|
brain Apprentice
Joined: 16 May 2002 Posts: 229 Location: Farmington Hills, MI
|
Posted: Thu Jun 19, 2003 3:44 pm Post subject: |
|
|
raid517 wrote: |
So ok as far as the USE flags are concerned, if I wanted a multi media, fast gaming /music dvd video entertainment centre, what would be your recommended choices? Also I couldn't find much official information about what were considered usable CFlags, so what I added came from a purely unofficial source. What you printed seems like a very conservative approach - but at the same time I'm concerned if I have gone too far and optimised things to death. In both cases I need advice on how to achive a good ballance between optimisation and good stability.
|
As a general rule, setting USE flags is in a way overriding Portage's best behaviour. When you install KDE, for example; the ebuild maintainer has already gone through the exhaustive process of determining the minimum dependancies for all the packages that need installing. USE flags should be used sparingly in my opinion... think of it as a DIP switch of sorts to flip on features you need, only when you need them. As an example, I compiled PHP with MySQL support, instead I just set the USE flag in an environment variable before emerging mod_php, instead of setting it in make.conf--affecting all packages on the system.
raid517 wrote: |
Also if I have come this far, to the final stages of installing KDE - and I find things aren't running too well, can I rebuild everything with new safer flags, or will I have to start from the bootstrapping process again?
Q |
You should be fine the way you are, if you've gotten this far. If you really want to recompile everything, you can... it will just take awhile. You should be able to follow [url=http://www.gentoo.org/doc/en/new-upgrade-to-gentoo-1.4.xml]this doc[/page] for upgrading to 1.4 from 1.2, just skip the upgrade sections and focus on the recompiling sections... _________________ --brain |
|
Back to top |
|
|
brain Apprentice
Joined: 16 May 2002 Posts: 229 Location: Farmington Hills, MI
|
Posted: Thu Jun 19, 2003 3:44 pm Post subject: |
|
|
raid517 wrote: |
So ok as far as the USE flags are concerned, if I wanted a multi media, fast gaming /music dvd video entertainment centre, what would be your recommended choices? Also I couldn't find much official information about what were considered usable CFlags, so what I added came from a purely unofficial source. What you printed seems like a very conservative approach - but at the same time I'm concerned if I have gone too far and optimised things to death. In both cases I need advice on how to achive a good ballance between optimisation and good stability.
|
As a general rule, setting USE flags is in a way overriding Portage's best behaviour. When you install KDE, for example; the ebuild maintainer has already gone through the exhaustive process of determining the minimum dependancies for all the packages that need installing. USE flags should be used sparingly in my opinion... think of it as a DIP switch of sorts to flip on features you need, only when you need them. As an example, I compiled PHP with MySQL support, instead I just set the USE flag in an environment variable before emerging mod_php, instead of setting it in make.conf--affecting all packages on the system.
raid517 wrote: |
Also if I have come this far, to the final stages of installing KDE - and I find things aren't running too well, can I rebuild everything with new safer flags, or will I have to start from the bootstrapping process again?
Q |
You should be fine the way you are, if you've gotten this far. If you really want to recompile everything, you can... it will just take awhile. You should be able to follow this doc for upgrading to 1.4 from 1.2, just skip the upgrade sections and focus on the recompiling sections... _________________ --brain |
|
Back to top |
|
|
raid517 l33t
Joined: 06 Mar 2003 Posts: 946
|
Posted: Thu Jun 19, 2003 3:56 pm Post subject: |
|
|
Can you print the link again? It seems to have messed up?
Ok,
Thanks you fixed it.
Last edited by raid517 on Thu Jun 19, 2003 4:28 pm; edited 1 time in total |
|
Back to top |
|
|
brain Apprentice
Joined: 16 May 2002 Posts: 229 Location: Farmington Hills, MI
|
Posted: Thu Jun 19, 2003 3:59 pm Post subject: |
|
|
Yea, just saw that... looks like phpBB puked for a moment, it posted my message twice! The second one has the right link. _________________ --brain |
|
Back to top |
|
|
raid517 l33t
Joined: 06 Mar 2003 Posts: 946
|
Posted: Thu Jun 19, 2003 9:13 pm Post subject: |
|
|
Well everything seems to be going fairly well by simly ommiting -ssl and -mysql, so rather than make any radical changes as this late stage I'll just go with what I have. So far the only problem I have had is with MySQL (which I also had problems with in Red Hat) so i guess ommiting it now will allow me to investigate further in the future, should the need arrise.
In any case your advice will certainly be useful for future reference!
Q |
|
Back to top |
|
|
raid517 l33t
Joined: 06 Mar 2003 Posts: 946
|
Posted: Fri Jun 20, 2003 8:22 am Post subject: |
|
|
Ahh rats... it seems like you were 100% right. It looks like I'm going to have to eat my words. The problem is now half way through building KDE (yep that's right I'm still only half way - the speed on the portage defualt Berkly db server sucks) I have now changed the flags to something much more conservative. Isn't that liable to cause problems? I mean swtiching comipler flags half way through can't be good, right? Does this mean I will have to unmerge KDE and start again from the begiinging? (Boy that would suck). How do I check that a program that's beein installed contains no errors? I'd like to be able to predict potential trouble spots before they happen.
And finally, those CFLags still look very conservative to me. I have a nice fast system, Athlon 2600+ CPU 512 MB Ram, 360 Gig HDD space. What flags can I use fairly safely, while getting good optimisation and good stability. What do you guys think would be a good ballance?
Q |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|