Hallo,
ich habe mir den aktuellen tar.gz der kmusicdb gezogen und mit der Installation begonnen. Während make abgearbeitet wird, kommt folgende Fehlermeldung:
----schnipp----
In file included from validator.h:18,
from validator.cpp:18,
include.h:62: libpq++.h: No such file or directory
make<font size="2">: *** [validator.o] Error 1
make<font size="2">: Leaving directory '/opt/kde2/share/apps/kmusicdb-0.1/kmusicdb'
make<font size="1">: *** [all-recursive] Error 1
make<font size="2">: Leaving directory '/opt/kde2/share/apps/kmusicdb-0.1'
make: *** [all-recursive-am] Error 2
----schnapp----
Dieser Fehler trat auch bereits bei der vorherigen Version auf, die ich testen wollte. An der Stelle komme ich wirklich nicht weiter. Wer kann mir einen Tip geben?
Zur Information: postgresql ist installiert und angemeldet; Suse 7.1 mit KDE 2.1.1 mit allen ...devel.rpm's ist installiert.
Für eine Antwort wäre ich dankbar.
Gruß Frank
Installation
Re: Installation
du musst noch postgresql-lib und postgresql-devel installieren
und so komme ich zu dieser aussage:
[full-names] $ for i in postgresql*; do rpm -qlp $i | grep libpq++ && echo $i; done;
natürlich hätte man statt postgresql* auch * schreiben können, dann dauerts halt länger
und so komme ich zu dieser aussage:
[full-names] $ for i in postgresql*; do rpm -qlp $i | grep libpq++ && echo $i; done;
natürlich hätte man statt postgresql* auch * schreiben können, dann dauerts halt länger
Re: Installation
Ronny, schönen Dank
die postgre-devel fehlte tatsächlich noch, die lib war aber installiert.
Nun hat sich das Problem so auch noch nicht lösen lassen. Es werden weiterhin Fehlermeldungen ausgegeben in Zusammenhang mit libpg ausgegeben.
Für weitere Hinweise wäre ich also dankbar. Aber bitte, an sich bin ich nur ein einfacher Nutzer, der wenig Ahnung von Programmierung und damit auch compilieren etc. hat. Nur dieses Programm interessiert mich wirklich, weshalb ich auch nicht auf mögliche rpm's warten möchte/kann.
die postgre-devel fehlte tatsächlich noch, die lib war aber installiert.
Nun hat sich das Problem so auch noch nicht lösen lassen. Es werden weiterhin Fehlermeldungen ausgegeben in Zusammenhang mit libpg ausgegeben.
Für weitere Hinweise wäre ich also dankbar. Aber bitte, an sich bin ich nur ein einfacher Nutzer, der wenig Ahnung von Programmierung und damit auch compilieren etc. hat. Nur dieses Programm interessiert mich wirklich, weshalb ich auch nicht auf mögliche rpm's warten möchte/kann.
Re: Installation
Hi Ronny
hier die Meldung komplett nach erneuten anschieben von make:
----schnipp----
bash-2.04# make
make all-recursive
make<font size="1">: Entering directory `/opt/kde2/share/apps/kmusicdb-0.1'
Making all in kmusicdb
make<font size="2">: Entering directory `/opt/kde2/share/apps/kmusicdb-0.1/kmusicdb'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde2/include -I/usr/lib/qt2//include -I/usr/X11R6/include -I/usr/include/pgsql -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -Wnon-virtual-dtor -fno-builtin -c validator.cpp
In file included from /usr/include/pgsql/libpq++.h:27,
from include.h:62,
from validator.h:18,
from validator.cpp:18:
/usr/include/pgsql/libpq++/pgconnection.h:84: syntax error before `('
In file included from /usr/include/pgsql/libpq++.h:29,
from include.h:62,
from validator.h:18,
from validator.cpp:18:
/usr/include/pgsql/libpq++/pglobject.h:36: syntax error before `;'
/usr/include/pgsql/libpq++/pglobject.h:55: syntax error before `('
In file included from /usr/include/pgsql/libpq++.h:31,
from include.h:62,
from validator.h:18,
from validator.cpp:18:
/usr/include/pgsql/libpq++/pgcursordb.h:47: parse error before `&'
/usr/include/pgsql/libpq++/pgcursordb.h:54: parse error before `&'
/usr/include/pgsql/libpq++/pgcursordb.h:57: parse error before `&'
/usr/include/pgsql/libpq++/pgcursordb.h:60: syntax error before `;'
/usr/include/pgsql/libpq++/pgcursordb.h: In method `const char * PgCursor::Cursor() const':
/usr/include/pgsql/libpq++/pgcursordb.h:53: `pgCursor' undeclared (first use this function)
/usr/include/pgsql/libpq++/pgcursordb.h:53: (Each undeclared identifier is reported only once
/usr/include/pgsql/libpq++/pgcursordb.h:53: for each function it appears in.)
/usr/include/pgsql/libpq++/pgcursordb.h:53: warning: control reaches end of non-void function `PgCursor::Cursor() const'
/usr/include/pgsql/libpq++/pgcursordb.h: In method `void PgCursor::Cursor(...)':/usr/include/pgsql/libpq++/pgcursordb.h:54: `cursor' undeclared (first use this
function)
make<font size="2">: *** [validator.o] Error 1
make<font size="2">: Leaving directory `/opt/kde2/share/apps/kmusicdb-0.1/kmusicdb'
make<font size="1">: *** [all-recursive] Error 1
make<font size="1">: Leaving directory `/opt/kde2/share/apps/kmusicdb-0.1'
make: *** [all-recursive-am] Error 2
bash-2.04#
-----scnapp-----
Vielen Dank für Deine Mühe. Ich hoffe Du kannst mir helfen.
hier die Meldung komplett nach erneuten anschieben von make:
----schnipp----
bash-2.04# make
make all-recursive
make<font size="1">: Entering directory `/opt/kde2/share/apps/kmusicdb-0.1'
Making all in kmusicdb
make<font size="2">: Entering directory `/opt/kde2/share/apps/kmusicdb-0.1/kmusicdb'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde2/include -I/usr/lib/qt2//include -I/usr/X11R6/include -I/usr/include/pgsql -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -Wnon-virtual-dtor -fno-builtin -c validator.cpp
In file included from /usr/include/pgsql/libpq++.h:27,
from include.h:62,
from validator.h:18,
from validator.cpp:18:
/usr/include/pgsql/libpq++/pgconnection.h:84: syntax error before `('
In file included from /usr/include/pgsql/libpq++.h:29,
from include.h:62,
from validator.h:18,
from validator.cpp:18:
/usr/include/pgsql/libpq++/pglobject.h:36: syntax error before `;'
/usr/include/pgsql/libpq++/pglobject.h:55: syntax error before `('
In file included from /usr/include/pgsql/libpq++.h:31,
from include.h:62,
from validator.h:18,
from validator.cpp:18:
/usr/include/pgsql/libpq++/pgcursordb.h:47: parse error before `&'
/usr/include/pgsql/libpq++/pgcursordb.h:54: parse error before `&'
/usr/include/pgsql/libpq++/pgcursordb.h:57: parse error before `&'
/usr/include/pgsql/libpq++/pgcursordb.h:60: syntax error before `;'
/usr/include/pgsql/libpq++/pgcursordb.h: In method `const char * PgCursor::Cursor() const':
/usr/include/pgsql/libpq++/pgcursordb.h:53: `pgCursor' undeclared (first use this function)
/usr/include/pgsql/libpq++/pgcursordb.h:53: (Each undeclared identifier is reported only once
/usr/include/pgsql/libpq++/pgcursordb.h:53: for each function it appears in.)
/usr/include/pgsql/libpq++/pgcursordb.h:53: warning: control reaches end of non-void function `PgCursor::Cursor() const'
/usr/include/pgsql/libpq++/pgcursordb.h: In method `void PgCursor::Cursor(...)':/usr/include/pgsql/libpq++/pgcursordb.h:54: `cursor' undeclared (first use this
function)
make<font size="2">: *** [validator.o] Error 1
make<font size="2">: Leaving directory `/opt/kde2/share/apps/kmusicdb-0.1/kmusicdb'
make<font size="1">: *** [all-recursive] Error 1
make<font size="1">: Leaving directory `/opt/kde2/share/apps/kmusicdb-0.1'
make: *** [all-recursive-am] Error 2
bash-2.04#
-----scnapp-----
Vielen Dank für Deine Mühe. Ich hoffe Du kannst mir helfen.
Re: Installation
Möglicherweise passt die Postgre-devel in der Version nicht dazu. Sind denn auf der Homepage des Programms nicht die Requirements aufgelistet?
Re: Installation
Ich habe die Pakete zu postgresql alle von der Suse 7.1 installiert. Ich gehe hier doch mal davon aus, dass die Pakete auch zusammenpassen. Aktualisierungen gibt es zumindest von Suse noch nicht. Werde aber mal bei postgre nachschauen, was ich dort finde.