[MacPorts] #17196: wview 4.0.1 install missing daemons wvhttpd wviewsqld
MacPorts
noreply at macports.org
Wed Nov 12 06:55:21 PST 2008
#17196: wview 4.0.1 install missing daemons wvhttpd wviewsqld
-----------------------------+----------------------------------------------
Reporter: tshaw at oitc.com | Owner: mbrooksclark at mac.com
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Resolution: | Keywords: wview wvhttpd wviewsqld
Port: wview |
-----------------------------+----------------------------------------------
Comment(by tshaw at oitc.com):
Thanks. I tried (on a 10.4.11 OSX)
sudo port clean wview
sudo port install wview +mysql5 +http
and this build missed the radlib dependancy of +mysql5 and caused the
build error below. After correcting this I got
Nov 12 09:20:47 TR-Shaws-Computer SystemStarter[17189]:
"/Library/StartupItems" failed security check: not owned by GID 0
Nov 12 09:20:47 TR-Shaws-Computer SystemStarter[17189]: Unknown service:
wview
For some reason that I haven't run down, /Library/StartupItems and
/Library/StartupItems/wview had the owner/group as root:admin. I changed
them to root:wheel and all started up fine.
All seems to be well with one exception and that is that wvcwopd is
running and I have both deamon log and log wx packets on for CWOP yet I
cant find anything logged in syslog or at findu.com for CW2823. I checked
DNS and port numbers and all match findu. Any ideas on tracking this down?
Tom
sudo port install wview +mysql5 +http +vpro
---> Fetching wview
---> Verifying checksum(s) for wview
---> Extracting wview
---> Configuring wview
---> Building wview with target all
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_wview/work/wview-4.0.1"
&& make all " returned error 2
Command output: then mv -f ".deps/ethernet.Tpo" ".deps/ethernet.Po"; else
rm -f ".deps/ethernet.Tpo"; exit 1; fi
if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I../../common
-I../../stations/common -I/opt/local/include -DHOST_IS_BIGENDIAN=1
-D_GNU_SOURCE -DWV_CONFIG_DIR=\"/opt/local/etc/wview\"
-DWV_RUN_DIR=\"/opt/local/var/wview\" -DBUILD_WVIEWD
-I/opt/local/include -O2 -MT stormRain.o -MD -MP -MF
".deps/stormRain.Tpo" -c -o stormRain.o `test -f
'../../stations/common/stormRain.c' || echo
'./'`../../stations/common/stormRain.c; \
then mv -f ".deps/stormRain.Tpo" ".deps/stormRain.Po"; else rm -f
".deps/stormRain.Tpo"; exit 1; fi
if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I../../common
-I../../stations/common -I/opt/local/include -DHOST_IS_BIGENDIAN=1
-D_GNU_SOURCE -DWV_CONFIG_DIR=\"/opt/local/etc/wview\"
-DWV_RUN_DIR=\"/opt/local/var/wview\" -DBUILD_WVIEWD
-I/opt/local/include -O2 -MT vproInterface.o -MD -MP -MF
".deps/vproInterface.Tpo" -c -o vproInterface.o `test -f
'../../stations/VantagePro/vproInterface.c' || echo
'./'`../../stations/VantagePro/vproInterface.c; \
then mv -f ".deps/vproInterface.Tpo" ".deps/vproInterface.Po"; else rm -f
".deps/vproInterface.Tpo"; exit 1; fi
if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I../../common
-I../../stations/common -I/opt/local/include -DHOST_IS_BIGENDIAN=1
-D_GNU_SOURCE -DWV_CONFIG_DIR=\"/opt/local/etc/wview\"
-DWV_RUN_DIR=\"/opt/local/var/wview\" -DBUILD_WVIEWD
-I/opt/local/include -O2 -MT vproStates.o -MD -MP -MF
".deps/vproStates.Tpo" -c -o vproStates.o `test -f
'../../stations/VantagePro/vproStates.c' || echo
'./'`../../stations/VantagePro/vproStates.c; \
then mv -f ".deps/vproStates.Tpo" ".deps/vproStates.Po"; else rm -f
".deps/vproStates.Tpo"; exit 1; fi
/usr/bin/gcc-4.0 -O2 -L/opt/local/lib -L/opt/local/lib/mysql5/mysql -o
wviewd -L/usr/lib -L/usr/local/lib -L/opt/local/lib -L/opt/local/lib/mysql
-L/usr/lib/mysql sensor.o wvutils.o dbfiles.o windAverage.o
computedData.o daemon.o station.o serial.o ethernet.o stormRain.o
vproInterface.o vproStates.o -lc -lm -lrad -lmysqlclient
-lz -lrad -lpng -lm -lgd -lc
/usr/bin/ld: warning -L: directory name (/opt/local/lib/mysql) does not
exist
/usr/bin/ld: warning -L: directory name (/usr/lib/mysql) does not exist
make[3]: Nothing to be done for `all-am'.
Making all in sqld
if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I../common
-I/opt/local/include -D_GNU_SOURCE
-DWV_CONFIG_DIR=\"/opt/local/etc/wview\"
-DWV_RUN_DIR=\"/opt/local/var/wview\" -DBUILD_WVSQLDD
-I/opt/local/include -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
if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I../common
-I/opt/local/include -D_GNU_SOURCE
-DWV_CONFIG_DIR=\"/opt/local/etc/wview\"
-DWV_RUN_DIR=\"/opt/local/var/wview\" -DBUILD_WVSQLDD
-I/opt/local/include -O2 -MT dbfiles.o -MD -MP -MF ".deps/dbfiles.Tpo" -c
-o dbfiles.o `test -f '../common/dbfiles.c' || echo
'./'`../common/dbfiles.c; \
then mv -f ".deps/dbfiles.Tpo" ".deps/dbfiles.Po"; else rm -f
".deps/dbfiles.Tpo"; exit 1; fi
if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I../common
-I/opt/local/include -D_GNU_SOURCE
-DWV_CONFIG_DIR=\"/opt/local/etc/wview\"
-DWV_RUN_DIR=\"/opt/local/var/wview\" -DBUILD_WVSQLDD
-I/opt/local/include -O2 -MT sqld.o -MD -MP -MF ".deps/sqld.Tpo" -c -o
sqld.o `test -f '../sqld/sqld.c' || echo './'`../sqld/sqld.c; \
then mv -f ".deps/sqld.Tpo" ".deps/sqld.Po"; else rm -f ".deps/sqld.Tpo";
exit 1; fi
In file included from ./sqld.h:58,
from ../sqld/sqld.c:36:
../common/dbdatabase.h:40:25: error: 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[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Status 1 encountered during processing.
--
Ticket URL: <http://trac.macports.org/ticket/17196#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list