Ich versuche unter SuSE 8.2 KMusicDB zu verwenden. Holte mir also kmusicdb-0.11.0-1.src.rpm libdbmusic-0.7.0-1src.rpm von sourceforge. Beim ./configure von libdbmusic lief alles ohne problem; beim make aber kriegte ich folgendes: --- make all-recursive make[1]: Entering directory `/usr/src/packages/SOURCES/libdbmusic-0.7.0' Making all in lib make[2]: Entering directory `/usr/src/packages/SOURCES/libdbmusic-0.7.0/lib' /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/opt/kde3/include -I/usr/local/qt/include -I/usr/include/pgsql -Wall -pipe -O2 -c musicqlistviewitem.cpp c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/opt/kde3/include -I/usr/local/qt/include -I/usr/include/pgsql -Wall -pipe -O2 -c musicqlistviewitem.cpp -fPIC -DPIC -o musicqlistviewitem.lo /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/opt/kde3/include -I/usr/local/qt/include -I/usr/include/pgsql -Wall -pipe -O2 -c dbmusicvalidator.cpp c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/opt/kde3/include -I/usr/local/qt/include -I/usr/include/pgsql -Wall -pipe -O2 -c dbmusicvalidator.cpp -fPIC -DPIC -o dbmusicvalidator.lo /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/opt/kde3/include -I/usr/local/qt/include -I/usr/include/pgsql -Wall -pipe -O2 -c artist.cpp c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/opt/kde3/include -I/usr/local/qt/include -I/usr/include/pgsql -Wall -pipe -O2 -c artist.cpp -fPIC -DPIC -o artist.lo In file included from /usr/include/pgsql/libpq++.h:30, from ../include/dbmusic.h:22, from artist.cpp:18: /usr/include/pgsql/libpq++/pgconnection.h:30:22: libpq-fe.h: No such file or directory In file included from /usr/include/pgsql/libpq++.h:30, from ../include/dbmusic.h:22, from artist.cpp:18: /usr/include/pgsql/libpq++/pgconnection.h:49: error: syntax error before `{' token /usr/include/pgsql/libpq++/pgconnection.h:52: error: syntax error before `*' token /usr/include/pgsql/libpq++/pgconnection.h:55: error: parse error before `public ' /usr/include/pgsql/libpq++/pgconnection.h:57: error: destructors must be member functions /usr/include/pgsql/libpq++/pgconnection.h:57: error: virtual outside class declaration /usr/include/pgsql/libpq++/pgconnection.h:60: error: parse error before `)' token /usr/include/pgsql/libpq++/pgconnection.h:61: error: non-member function `bool ConnectionBad()' cannot have `const' method qualifier /usr/include/pgsql/libpq++/pgconnection.h:62: error: non-member function `const char* ErrorMessage()' cannot have `const' method qualifier /usr/include/pgsql/libpq++/pgconnection.h:65: error: non-member function `const char* DBName()' cannot have `const' method qualifier /usr/include/pgsql/libpq++/pgconnection.h:68: error: parse error before `char' /usr/include/pgsql/libpq++/pgconnection.h:71: error: syntax error before `*' token /usr/include/pgsql/libpq++/pgconnection.h:74: error: `PQnoticeProcessor' was not declared in this scope /usr/include/pgsql/libpq++/pgconnection.h:74: error: parse error before `,' token /usr/include/pgsql/libpq++/pgconnection.h:81: error: ISO C++ forbids declaration of `PgConnection' with no type /usr/include/pgsql/libpq++/pgconnection.h:81: error: new declaration `int PgConnection()' /usr/include/pgsql/libpq++/pgconnection.h:57: error: ambiguates old declaration `void PgConnection()' /usr/include/pgsql/libpq++/pgconnection.h:83: error: parse error before ` private' /usr/include/pgsql/libpq++/pgconnection.h:87: error: syntax error before `&' token In file included from /usr/include/pgsql/libpq++.h:31, from ../include/dbmusic.h:22, from artist.cpp:18: /usr/include/pgsql/libpq++/pgdatabase.h:37: error: syntax error before `:' token /usr/include/pgsql/libpq++/pgdatabase.h:45: error: destructors must be member functions /usr/include/pgsql/libpq++/pgdatabase.h:51: error: non-member function ` size_type Tuples()' cannot have `const' method qualifier /usr/include/pgsql/libpq++/pgdatabase.h:52: error: non-member function ` size_type CmdTuples()' cannot have `const' method qualifier /usr/include/pgsql/libpq++/pgdatabase.h:54: error: non-member function `const char* FieldName(int)' cannot have `const' method qualifier /usr/include/pgsql/libpq++/pgdatabase.h:55: error: non-member function `int FieldNum(const char*)' cannot have `const' method qualifier /usr/include/pgsql/libpq++/pgdatabase.h:56: error: parse error before `)' token /usr/include/pgsql/libpq++/pgdatabase.h:57: error: parse error before `char' /usr/include/pgsql/libpq++/pgdatabase.h:58: error: non-member function `int FieldSize(int)' cannot have `const' method qualifier /usr/include/pgsql/libpq++/pgdatabase.h:59: error: non-member function `int FieldSize(const char*)' cannot have `const' method qualifier /usr/include/pgsql/libpq++/pgdatabase.h:60: error: non-member function `const char* GetValue(int, int)' cannot have `const' method qualifier /usr/include/pgsql/libpq++/pgdatabase.h:61: error: non-member function `const char* GetValue(int, const char*)' cannot have `const' method qualifier /usr/include/pgsql/libpq++/pgdatabase.h:62: error: non-member function `bool GetIsNull(int, int)' cannot have `const' method qualifier /usr/include/pgsql/libpq++/pgdatabase.h:63: error: non-member function `bool GetIsNull(int, const char*)' cannot have `const' method qualifier /usr/include/pgsql/libpq++/pgdatabase.h:64: error: non-member function `int GetLength(int, int)' cannot have `const' method qualifier /usr/include/pgsql/libpq++/pgdatabase.h:65: error: non-member function `int GetLength(int, const char*)' cannot have `const' method qualifier /usr/include/pgsql/libpq++/pgdatabase.h:69: error: non-member function `void DisplayTuples(FILE*, bool, const char*, bool, bool)' cannot have `const' method qualifier /usr/include/pgsql/libpq++/pgdatabase.h:71: error: non-member function `void PrintTuples(FILE*, bool, bool, bool)' cannot have `const' method qualifier /usr/include/pgsql/libpq++/pgdatabase.h:76: error: non-member function `const char* OidStatus()' cannot have `const' method qualifier /usr/include/pgsql/libpq++/pgdatabase.h:79: error: parse error before ` protected' /usr/include/pgsql/libpq++/pgdatabase.h:88: error: syntax error before `&' token In file included from /usr/include/pgsql/libpq++.h:32, from ../include/dbmusic.h:22, from artist.cpp:18: /usr/include/pgsql/libpq++/pglobject.h:38: error: syntax error before `:' token /usr/include/pgsql/libpq++/pglobject.h:42: error: 'Oid' is used as a type, but is not defined as a type. /usr/include/pgsql/libpq++/pglobject.h:44: error: `Oid' was not declared in this scope /usr/include/pgsql/libpq++/pglobject.h:44: error: parse error before `=' token /usr/include/pgsql/libpq++/pglobject.h:48: error: `Oid' was not declared in this scope /usr/include/pgsql/libpq++/pglobject.h:48: error: parse error before `,' token /usr/include/pgsql/libpq++/pglobject.h:48: error: ISO C++ forbids declaration of `PgLargeObject' with no type /usr/include/pgsql/libpq++/pglobject.h:48: error: only declarations of constructors can be `explicit' /usr/include/pgsql/libpq++/pglobject.h:49: error: destructors must be member functions /usr/include/pgsql/libpq++/pglobject.h:57: error: non-member function `int Tell()' cannot have `const' method qualifier /usr/include/pgsql/libpq++/pglobject.h:59: error: parse error before `)' token /usr/include/pgsql/libpq++/pglobject.h:60: error: parse error before `char' /usr/include/pgsql/libpq++/pglobject.h:62: error: non-member function ` std::string Status()' cannot have `const' method qualifier /usr/include/pgsql/libpq++/pglobject.h:64: error: parse error before `private' /usr/include/pgsql/libpq++/pglobject.h:68: error: syntax error before `&' token In file included from /usr/include/pgsql/libpq++.h:33, from ../include/dbmusic.h:22, from artist.cpp:18: /usr/include/pgsql/libpq++/pgtransdb.h:38: error: syntax error before `:' token /usr/include/pgsql/libpq++/pgtransdb.h:44: error: destructors must be member functions /usr/include/pgsql/libpq++/pgtransdb.h:46: error: parse error before `)' token /usr/include/pgsql/libpq++/pgtransdb.h:47: error: parse error before `)' token /usr/include/pgsql/libpq++/pgtransdb.h:59: error: parse error before `&' token /usr/include/pgsql/libpq++/pgtransdb.h:59: error: ISO C++ forbids declaration of `PgTransaction' with no type /usr/include/pgsql/libpq++/pgtransdb.h:60: error: syntax error before `&' token In file included from /usr/include/pgsql/libpq++.h:34, from ../include/dbmusic.h:22, from artist.cpp:18: /usr/include/pgsql/libpq++/pgcursordb.h:44: error: syntax error before `:' token /usr/include/pgsql/libpq++/pgcursordb.h:50: error: destructors must be member functions /usr/include/pgsql/libpq++/pgcursordb.h:56: error: new declaration `int Close() ' /usr/include/pgsql/libpq++/pglobject.h:53: error: ambiguates old declaration ` void Close()' /usr/include/pgsql/libpq++/pgcursordb.h:60: error: non-member function `const char* Cursor()' cannot have `const' method qualifier /usr/include/pgsql/libpq++/pgcursordb.h: In function `const char* Cursor()': /usr/include/pgsql/libpq++/pgcursordb.h:61: error: `pgCursor' undeclared (first use this function) /usr/include/pgsql/libpq++/pgcursordb.h:61: error: (Each undeclared identifier is reported only once for each function it appears in.) /usr/include/pgsql/libpq++/pgcursordb.h: At global scope: /usr/include/pgsql/libpq++/pgcursordb.h:70: error: parse error before ` protected' /usr/include/pgsql/libpq++/pgcursordb.h:85: error: syntax error before `&' token In file included from artist.cpp:18: ../include/dbmusic.h:56: error: parse error before `{' token ../include/dbmusic.h:73: error: destructors must be member functions ../include/dbmusic.h:110: error: non-member function `bool checkConnect()' cannot have `const' method qualifier ../include/dbmusic.h:347: error: parse error before `private' ../include/dbmusic.h:366: error: non-member function `int execCheck()' cannot have `const' method qualifier ../include/dbmusic.h:373: error: 'ExecStatusType' is used as a type, but is not defined as a type. ../include/dbmusic.h:378: error: parse error before `}' token ../include/dbmusic.h:393: error: parse error before `*' token ../include/dbmusic.h:638: error: 'ExecStatusType' is used as a type, but is not defined as a type. ../include/dbmusic.h:640: error: syntax error before `*' token artist.cpp:26: error: invalid use of undefined type `class dbMusic' ../include/dbmusic.h:56: error: forward declaration of `class dbMusic' artist.cpp: In member function `int dbMusic::addArtist(artistInfo*)': artist.cpp:49: error: `stat' undeclared (first use this function) artist.cpp:49: error: `Exec' undeclared (first use this function) artist.cpp: At global scope: artist.cpp:67: error: invalid use of undefined type `class dbMusic' ../include/dbmusic.h:56: error: forward declaration of `class dbMusic' artist.cpp:88: error: invalid use of undefined type `class dbMusic' ../include/dbmusic.h:56: error: forward declaration of `class dbMusic' artist.cpp:109: error: invalid use of undefined type `class dbMusic' ../include/dbmusic.h:56: error: forward declaration of `class dbMusic' artist.cpp:141: error: invalid use of undefined type `class dbMusic' ../include/dbmusic.h:56: error: forward declaration of `class dbMusic' /usr/include/pgsql/libpq++/pgconnection.h:79: warning: `std::string IntToString(int)' declared `static' but never defined make[2]: *** [artist.lo] Error 1 make[2]: Leaving directory `/usr/src/packages/SOURCES/libdbmusic-0.7.0/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/packages/SOURCES/libdbmusic-0.7.0' make: *** [all-recursive-am] Error 2 -------- Ich habe (laut rpm -q) postgresql-7.3.2-24 Hat jemand da eine ahnung? ich danke im voraus. e