View previous topic :: View next topic |
Author |
Message |
weissewolke
Joined: 08 Jan 2006 Posts: 1
|
Posted: Wed Jan 18, 2006 12:57 pm Post subject: Install and path problems |
|
|
Hi all,
I am new at this forum.
incidentally I have seen in the Internet the Weather Program wview. All the programs which are necessary I have downloaded and tried to install them. Here are the paths:
/home/rt/wview-2.0.0
/home/rt/radlib-2.6.1/radlib-2.6.1
When I installed radlib the configure command ran without a message. The make command ran the first time okay. But after a while a lot of error messages came about MySQL: (MySQL is installed) (this is only a part of the messages)
../database/mysql/my_database.c:48:19: mysql.h: No such file or directory
../database/mysql/my_database.c:69: error: syntax error before "MYSQL"
../database/mysql/my_database.c:69: warning: no semicolon at end of struct or union
../database/mysql/my_database.c:71: error: syntax error before '}' token
../database/mysql/my_database.c:71: warning: data definition has no type or storage class
../database/mysql/my_database.c:77: error: syntax error before "id"
../database/mysql/my_database.c: In function `printError':
../database/mysql/my_database.c:79: error: `id' undeclared (first use in this function)
../database/mysql/my_database.c:79: error: (Each undeclared identifier is reported only once
../database/mysql/my_database.c:79: error: for each function it appears in.)
../database/mysql/my_database.c: At top level:
../database/mysql/my_database.c:112: error: syntax error before "id"
../database/mysql/my_database.c: In function `processResults':
../database/mysql/my_database.c:114: error: `MYSQL_FIELD' undeclared (first use in this function)
../database/mysql/my_database.c:114: error: `field' undeclared (first use in this function)
../database/mysql/my_database.c:115: error: `MYSQL_ROW' undeclared (first use in this function)
../database/mysql/my_database.c:115: error: syntax error before "row"
When I installed wview the configure command ran without a message. And the same as above the make command ran the first time well again. However, after a while a lot of error messages: (these are all messages)
make all-recursive
make[1]: Entering directory `/home/rt/wview-2.0.0'
Making all in daemon
make[2]: Entering directory `/home/rt/wview-2.0.0/daemon'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../common -I/usr/local/include -D_GNU_SOURCE -DBUILD_WVIEWD -g -O2 -MT wvutils.o -MD -MP -MF ".deps/wvutils.Tpo" -c -o wvutils.o `test -f '../common/wvutils.c' || echo './'`../common/wvutils.c; \
then mv -f ".deps/wvutils.Tpo" ".deps/wvutils.Po"; else rm -f ".deps/wvutils.Tpo"; exit 1; fi
../common/wvutils.c:42:23: radmsgLog.h: Datei oder Verzeichnis nicht gefunden
../common/wvutils.c:43:25: radconffile.h: Datei oder Verzeichnis nicht gefunden
In file included from ../common/wvutils.c:46:
../common/sysdefs.h:32:24: radsysdefs.h: Datei oder Verzeichnis nicht gefunden
In file included from ../common/wvutils.c:46:
../common/sysdefs.h:132: error: syntax error before "vptimeSunrise"
../common/wvutils.c: In function `wvutilsSetVerbosity':
../common/wvutils.c:60: error: `CF_ID' undeclared (first use in this function)
../common/wvutils.c:60: error: (Each undeclared identifier is reported only once
../common/wvutils.c:60: error: for each function it appears in.)
../common/wvutils.c:60: error: syntax error before "configFileId"
../common/wvutils.c:70: error: `configFileId' undeclared (first use in this function)
../common/wvutils.c:81: error: `ERROR' undeclared (first use in this function)
../common/wvutils.c:94: error: `OK' undeclared (first use in this function)
../common/wvutils.c: At top level:
../common/wvutils.c:252: error: syntax error before "vptimeSunrise"
../common/wvutils.c: In function `wvutilsIsDayTime':
../common/wvutils.c:259: error: `FALSE' undeclared (first use in this function)
../common/wvutils.c:265: error: `vptimeSunrise' undeclared (first use in this function)
../common/wvutils.c:267: error: `vptimeSunset' undeclared (first use in this function)
../common/wvutils.c:275: error: `TRUE' undeclared (first use in this function)
make[2]: *** [wvutils.o] Fehler 1
make[2]: Leaving directory `/home/rt/wview-2.0.0/daemon'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/rt/wview-2.0.0'
make: *** [all] Fehler 2
In the readme datas it shows: No special installation path is needed.
Because of this I cannot understand why I get so many error messages.
Can you please help me in this case, because I would like to install this
program as soon as possible.
Best regards and thank you in advance.
Reinhold Telink |
|
Back to top |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Wed Jan 18, 2006 1:10 pm Post subject: |
|
|
MySQL may be installed, but is libmysqlclient? This is what radlib needs to build against... It is not finding the development headers for libmysqlclient, thus bombing out.
The other messages (the best I can tell not speaking German) are because radlib failed to build and install, because of the problem I listed above.
Be sure you read the User Manual for building and install as well as configuration. |
|
Back to top |
|
|
|