View previous topic :: View next topic |
Author |
Message |
ad-hoc
Joined: 15 Feb 2006 Posts: 8
|
Posted: Wed Feb 15, 2006 3:01 pm Post subject: Wview 3.1.4 make problem with --enable-mysql |
|
|
Hello all...
I am new in the forum and 1st time tried to install wview in my Linux system.
Specifications:
Slackware
Kernel 2.6.10
Wview 3.1.4
Mysql 5.0.18
Radlib 2.6.2
Radlib installation
./configure --prefix=/usr/local/wview
make
make install
Wview installation
./configure --prefix=/usr/local/wview --enable-station-vpro --enable-mysql --enable-wunderground
make
During "make" I get the following error
Making all in sqld
make[2]: Entering directory `/home/downloads/weather/wview-3.1.4/sqld'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../common -I/usr/local/wview/include -D_GNU_SOURCE -DBUILD_WVSQLDD.....................................................................
In file included from sqld.h:58,
from ../sqld/sqld.c:36:
../common/dbdatabase.h:40:25: raddatabase.h: No such file or directory
In file included from sqld.h:58,
from ../sqld/sqld.c:36:
../common/dbdatabase.h:61: error: parse error before "DATABASE_ID"
../common/dbdatabase.h:61: warning: no semicolon at end of struct or union
../common/dbdatabase.h:70: error: parse error before '}' token
../common/dbdatabase.h:70: warning: data definition has no type or storage class
make[2]: *** [sqld.o] Error 1
make[2]: Leaving directory `/home/downloads/weather/wview-3.1.4/sqld'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/downloads/weather/wview-3.1.4'
make: *** [all] Error 2
I don't know if I am doing something wrong so any help is acceptable
Thank you |
|
Back to top |
|
|
bhnb
Joined: 28 Nov 2005 Posts: 127
|
Posted: Wed Feb 15, 2006 3:33 pm Post subject: |
|
|
Hi and welcome to the forum.
To fix this you need to rebuild radlib with MySQL support, e.g.
./configure --enable-mysql
I'd be careful about setting a prefix unless you really need to as this tends to make things a bit more complicated later on.
Good luck with getting started.
Cheers
Jon |
|
Back to top |
|
|
ad-hoc
Joined: 15 Feb 2006 Posts: 8
|
Posted: Wed Feb 15, 2006 3:55 pm Post subject: |
|
|
Ahh...sorry didn't see that feature in radlib
*Radlib installation
./configure --prefix=/usr/local/wview
Sorry mistypping (I normally make the default installation in /usr/local)
Thx for the help |
|
Back to top |
|
|
|