wviewweather.com Forum Index wviewweather.com
wview and Weather Topics
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Wview 3.1.4 make problem with --enable-mysql

 
Post new topic   Reply to topic    wviewweather.com Forum Index -> Troubleshooting
View previous topic :: View next topic  
Author Message
ad-hoc



Joined: 15 Feb 2006
Posts: 8

PostPosted: Wed Feb 15, 2006 3:01 pm    Post subject: Wview 3.1.4 make problem with --enable-mysql Reply with quote

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 Smile

Thank you
Back to top
View user's profile Send private message
bhnb



Joined: 28 Nov 2005
Posts: 127

PostPosted: Wed Feb 15, 2006 3:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
ad-hoc



Joined: 15 Feb 2006
Posts: 8

PostPosted: Wed Feb 15, 2006 3:55 pm    Post subject: Reply with quote

Ahh...sorry didn't see that feature in radlib Confused

*Radlib installation
./configure --prefix=/usr/local/wview

Sorry mistypping (I normally make the default installation in /usr/local)

Thx for the help Wink
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    wviewweather.com Forum Index -> Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group