|
wviewweather.com wview and Weather Topics
|
View previous topic :: View next topic |
Author |
Message |
IslandLife
Joined: 30 Jul 2005 Posts: 58 Location: Guam (USA)
|
Posted: Sat Jul 30, 2005 3:35 pm Post subject: Newby Questions/Missing C Compiler |
|
|
I just read the Davis WeatherClub e-Newsletter and I'm SO happy that there now appears to be an alternative to the horrible Mac OS X software that I bought with my VPP!
But, I (and others that may not be so familiar with the command line interface) may need some hand-holding initially. For instance, after trying to run the configuration files of either the "required" radlib and wview, my terminal application tells me that the configuration didn't happen because of a missing "C Compiler?!" I'm running a G5 1.8 DP 1.5Gb with 10.4.2.
I'm looking forward to dissing the WeatherLink software entirely since between midnight and 5:00 a.m. it will not work...
Paul |
|
Back to top |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Sat Jul 30, 2005 9:32 pm Post subject: |
|
|
Paul,
Thank you for the questions.
In order to build source packages on your Mac, you need to install the xcode package for Mac OSX - see http://www.apple.com/macosx/features/xcode/
Also, you will need to install the other prerequisites as listed in the wview User Manual (http://www.wviewweather.com/release-notes/wview-User-Manual.html)
To do this, it was easiest for me to use the DarwinPorts package management system (http://darwinports.opendarwin.org/). You will need to install it then use it to install the wview prerequisites.
I am always glad to help anyone who is trying to get wview installed. I will plan to add a special section to the wview User Manual to address Mac OSX installation. Feel free to join the wview mailing list (http://www.wviewweather.com/) and post questions - other wview users and I will be glad to answer your questions.
Mark |
|
Back to top |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Sun Jul 31, 2005 9:25 am Post subject: |
|
|
I have created a new wview Quick Start Guide for Macintosh - it will be included in the next wview release.
In the meantime, reference it online from the wview home page or at:
http://www.wviewweather.com/release-notes/wview-Quick-Start-MacOSX.html
Comments or suggestions from the Mac community are welcomed.
If someone can write up a procedure for configuring boot time start up of wview and provide it to me, I will include it in this new document.
Mark |
|
Back to top |
|
|
IslandLife
Joined: 30 Jul 2005 Posts: 58 Location: Guam (USA)
|
Posted: Sun Jul 31, 2005 8:02 pm Post subject: MacOS X |
|
|
mteel wrote: | I have created a new wview Quick Start Guide for Macintosh - it will be included in the next wview release.
|
Thanks Mark I'll make sure to download the appropriate software and give it a go. It's obviously more involved than dragging an app onto the desktop and double clicking to install. I'll let you know how it progresses and I'll volunteer as your Guinea Pig for the OS X side, if you need one.
Also, with your permission, I can send an e-mail to www.macintouch.com to announce the availability of wview. I know that there are some weather enthusiasts that are desperately trying to find an alternative to the Mac version of Weatherlink that frequent that site.
Paul |
|
Back to top |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Sun Jul 31, 2005 8:09 pm Post subject: |
|
|
Please feel free to notify anyone you like - the procedure may need some fine tuning, but we will get it squared away so that those that follow will not have any problems...
No, it certainly isn't a drag and drop application - welcome to unix
Seriously, this application is designed as a server class solution - always on, 24x7x365. To that end it is designed as a collection of daemons - no GUI involved at all. That is a feature, not a liability for server applications, but it takes a bit of getting used to for desktop users. Once you get it set up and running, I think you will be very pleased with the stability and reliability.
Thanks,
Mark |
|
Back to top |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Sun Jul 31, 2005 8:10 pm Post subject: |
|
|
By the way, if you have any feedback on the procedure please let me know...
Mark |
|
Back to top |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Sun Jul 31, 2005 10:24 pm Post subject: |
|
|
OK, based on some feedback from a user and some formatting improvements, I have updated the Quick Start Guide for Mac. Give the new one a whirl.
I will be adding a MacOSX startup script and detailed setup description for starting wview at boot automatically in the next release.
Thanks,
Mark |
|
Back to top |
|
|
IslandLife
Joined: 30 Jul 2005 Posts: 58 Location: Guam (USA)
|
Posted: Wed Sep 07, 2005 5:11 am Post subject: Okay, I'm stuck |
|
|
I installed Wview 1.7.7 and all prerequisites on my MacOS X G5, but could not get it to install into the proper directory (/opt/local). After a couple of deletes and re-installs I get these error messages:
Password:
Making install in daemon
test -z "/opt/local/bin" || /wview-1.7.7/install-sh -d "/opt/local/bin"
/usr/bin/install -c 'wviewd' '/opt/local/bin/wviewd'
make[2]: Nothing to be done for `install-data-am'.
Making install in htmlgenerator
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../common -I/opt/local/include -D_GNU_SOURCE -DBUILD_HTMLGEND -g -O2 -MT htmlMgr.o -MD -MP -MF ".deps/htmlMgr.Tpo" -c -o htmlMgr.o `test -f '../htmlgenerator/htmlMgr.c' || echo './'`../htmlgenerator/htmlMgr.c; \
then mv -f ".deps/htmlMgr.Tpo" ".deps/htmlMgr.Po"; else rm -f ".deps/htmlMgr.Tpo"; exit 1; fi
In file included from /opt/local/include/radtimeUtils.h:47,
from ../htmlgenerator/htmlMgr.c:30:
/opt/local/include/radsysdefs.h:52:1: warning: "NULL" redefined
In file included from /usr/include/sys/time.h:232,
from /opt/local/include/radtimeUtils.h:45,
from ../htmlgenerator/htmlMgr.c:30:
/usr/include/time.h:69:1: warning: this is the location of the previous definition
In file included from ./glmultichart.h:26,
from ./htmlGenerate.h:51,
from ../htmlgenerator/htmlMgr.c:37:
./glchart.h:26:16: error: gd.h: No such file or directory
In file included from ./glmultichart.h:26,
from ./htmlGenerate.h:51,
from ../htmlgenerator/htmlMgr.c:37:
./glchart.h:51: error: parse error before 'gdImagePtr'
./glchart.h:51: warning: no semicolon at end of struct or union
./glchart.h:81: error: parse error before '}' token
./glchart.h:81: warning: data definition has no type or storage class
./glchart.h:90: error: parse error before 'chartCreate'
./glchart.h:97: warning: data definition has no type or storage class
./glchart.h:98: error: parse error before 'id'
./glchart.h:99: error: parse error before 'id'
./glchart.h:100: error: parse error before 'id'
./glchart.h:101: error: parse error before 'id'
./glchart.h:102: error: parse error before 'id'
./glchart.h:103: error: parse error before 'id'
./glchart.h:104: error: parse error before 'id'
./glchart.h:105: error: parse error before 'id'
./glchart.h:106: error: parse error before 'id'
./glchart.h:107: error: parse error before 'id'
./glchart.h:108: error: parse error before 'id'
./glchart.h:109: error: parse error before 'id'
./glchart.h:110: error: parse error before 'id'
./glchart.h:111: error: parse error before 'id'
In file included from ./htmlGenerate.h:51,
from ../htmlgenerator/htmlMgr.c:37:
./glmultichart.h:40: error: parse error before 'gdImagePtr'
./glmultichart.h:40: warning: no semicolon at end of struct or union
./glmultichart.h:69: error: parse error before '}' token
./glmultichart.h:69: warning: data definition has no type or storage class
./glmultichart.h:78: error: parse error before 'multiChartCreate'
./glmultichart.h:85: warning: data definition has no type or storage class
./glmultichart.h:86: error: parse error before 'id'
./glmultichart.h:87: error: parse error before 'id'
./glmultichart.h:88: error: parse error before 'id'
./glmultichart.h:89: error: parse error before 'id'
./glmultichart.h:90: error: parse error before 'id'
./glmultichart.h:91: error: parse error before 'id'
./glmultichart.h:92: error: parse error before 'id'
./glmultichart.h:93: error: parse error before 'id'
./glmultichart.h:94: error: parse error before 'id'
./glmultichart.h:95: error: parse error before 'id'
./glmultichart.h:96: error: parse error before 'id'
./glmultichart.h:97: error: parse error before 'id'
./glmultichart.h:98: error: parse error before 'id'
./glmultichart.h:99: error: parse error before 'id'
In file included from ../htmlgenerator/htmlMgr.c:38:
./glbucket.h:49: error: parse error before 'gdImagePtr'
./glbucket.h:49: warning: no semicolon at end of struct or union
./glbucket.h:76: error: parse error before '}' token
./glbucket.h:76: warning: data definition has no type or storage class
./glbucket.h:81: error: parse error before 'bucketCreate'
./glbucket.h:81: warning: data definition has no type or storage class
./glbucket.h:82: error: parse error before 'id'
./glbucket.h:83: error: parse error before 'id'
./glbucket.h:84: error: parse error before 'id'
./glbucket.h:85: error: parse error before 'id'
./glbucket.h:86: error: parse error before 'id'
./glbucket.h:87: error: parse error before 'id'
./glbucket.h:88: error: parse error before 'id'
./glbucket.h:89: error: parse error before 'id'
./glbucket.h:90: error: parse error before 'id'
./glbucket.h:91: error: parse error before 'id'
./glbucket.h:92: error: parse error before 'id'
./glbucket.h:93: error: parse error before 'id'
./glbucket.h:94: error: parse error before 'id'
./glbucket.h:95: error: parse error before 'id'
make[1]: *** [htmlMgr.o] Error 1
make: *** [install-recursive] Error 1
Is there a way to make a "Clean Install" and start from scratch? I have finally found the img folder that was created yesterday in the (hidden) /private/var/wview directory, but I can't seem to force the install of the htmlgen etc. into my opt/local drectory created by the radlib application.
Thanks for bearing with me ... |
|
Back to top |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Wed Sep 07, 2005 5:31 am Post subject: |
|
|
The problem is that gd is NOT installed, or it is not installed on the /opt/local prefix. Did you install gd with DarwinPorts?
Please post the output of:
find / -name "gd.h" -print
find / -name "libgd.h" -print
htmlgend will not install because it cannot build because it cannot find the gd header files.
radlib shouldn't have had to create the /opt/local directory - the DarwinPorts install of libz, libpng and libgd create it and install into it. As the Quick Start Guide indicates, DarwinPorts will install all three if you install gd because the other two are pre-requisites for gd.
Mark |
|
Back to top |
|
|
IslandLife
Joined: 30 Jul 2005 Posts: 58 Location: Guam (USA)
|
Posted: Wed Sep 07, 2005 4:23 pm Post subject: |
|
|
Hi Mark:
I tried re-installing the Darwinports this morning, whicg did create the proper folders, etc., but the error messages stay the same. I tried the find command (below) and get a long list of denied permissions. Do I need to become "root" or something first?
Thanks for your help!
Paul
mteel wrote: |
Please post the output of:
find / -name "gd.h" -print
find / -name "libgd.h" -print
Mark |
find / -name "gd.h" -print
find: /.Spotlight-V100: Permission denied
find: /.Trashes: Permission denied
find: /private/etc/cups/certs: Permission denied
find: /private/var/backups: Permission denied |
|
Back to top |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Wed Sep 07, 2005 4:28 pm Post subject: |
|
|
yes, or use sudo in front of those commands, i.e:
sudo find / -name "gd.h" -print
you will have to enter your password...
You can also look in /opt/local/include for gd.h and in /opt/local/lib for libgd.a, that is where DarwinPorts installs them.
You do know (based on the MacOSX Quick Start Guide) that you must use sudo when you are building/installing? |
|
Back to top |
|
|
IslandLife
Joined: 30 Jul 2005 Posts: 58 Location: Guam (USA)
|
Posted: Wed Sep 07, 2005 4:47 pm Post subject: |
|
|
This is what happens after I delete the entire /opt directory (folder), reinstall DarwinPorts, and then reinstall radlib and wview-1.77:
G5-Tower:/wview-1.7.7 paul$ cd /radlib-2.2.4
G5-Tower:/radlib-2.2.4 paul$ ./configure --prefix=/opt/local
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for strncpy in -lc... yes
checking for exp in -lm... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing slash... no
checking whether stat accepts an empty string... no
checking for vprintf... yes
checking for _doprnt... no
checking for getcwd... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for memset... yes
checking for mkdir... yes
checking for mkfifo... yes
checking for select... yes
checking for strchr... yes
checking for strerror... yes
checking for strrchr... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
G5-Tower:/radlib-2.2.4 paul$ sudo make install
Password:
test -z "/opt/local/lib" || /radlib-2.2.4/install-sh -d "/opt/local/lib"
/usr/bin/install -c -m 644 'librad.a' '/opt/local/lib/librad.a'
ranlib '/opt/local/lib/librad.a'
test -z "/opt/local/include" || /radlib-2.2.4/install-sh -d "/opt/local/include"
/usr/bin/install -c -m 644 './h/radbuffers.h' '/opt/local/include/radbuffers.h'
/usr/bin/install -c -m 644 './h/radconffile.h' '/opt/local/include/radconffile.h'
/usr/bin/install -c -m 644 './h/raddebug.h' '/opt/local/include/raddebug.h'
/usr/bin/install -c -m 644 './h/radevents.h' '/opt/local/include/radevents.h'
/usr/bin/install -c -m 644 './h/radlist.h' '/opt/local/include/radlist.h'
/usr/bin/install -c -m 644 './h/radmsgLog.h' '/opt/local/include/radmsgLog.h'
/usr/bin/install -c -m 644 './h/radprocess.h' '/opt/local/include/radprocess.h'
/usr/bin/install -c -m 644 './h/radproclist.h' '/opt/local/include/radproclist.h'
/usr/bin/install -c -m 644 './h/radprocutils.h' '/opt/local/include/radprocutils.h'
/usr/bin/install -c -m 644 './h/radqueue.h' '/opt/local/include/radqueue.h'
/usr/bin/install -c -m 644 './h/radsemaphores.h' '/opt/local/include/radsemaphores.h'
/usr/bin/install -c -m 644 './h/radshmem.h' '/opt/local/include/radshmem.h'
/usr/bin/install -c -m 644 './h/radsocket.h' '/opt/local/include/radsocket.h'
/usr/bin/install -c -m 644 './h/radsortlist.h' '/opt/local/include/radsortlist.h'
/usr/bin/install -c -m 644 './h/radstack.h' '/opt/local/include/radstack.h'
/usr/bin/install -c -m 644 './h/radstates.h' '/opt/local/include/radstates.h'
/usr/bin/install -c -m 644 './h/radsysdefs.h' '/opt/local/include/radsysdefs.h'
/usr/bin/install -c -m 644 './h/radsystem.h' '/opt/local/include/radsystem.h'
/usr/bin/install -c -m 644 './h/radsysutils.h' '/opt/local/include/radsysutils.h'
/usr/bin/install -c -m 644 './h/radtimers.h' '/opt/local/include/radtimers.h'
/usr/bin/install -c -m 644 './h/radtimeUtils.h' '/opt/local/include/radtimeUtils.h'
G5-Tower:/radlib-2.2.4 paul$ cd /wview-1.7.7
G5-Tower:/wview-1.7.7 paul$ ./configure --prefix=/opt/local
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking whether byte ordering is bigendian... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for strncpy in -lc... yes
checking for gdImageCreate in -lgd... no
checking for exp in -lm... yes
checking for png_write_chunk in -lpng... no
checking for radSystemGetUpTimeMS in -lrad... yes
checking for inflate in -lz... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... yes
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing slash... no
checking whether stat accepts an empty string... no
checking for localtime_r... yes
checking for memset... yes
checking for mkdir... yes
checking for pow... yes
checking for strrchr... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating daemon/Makefile
config.status: creating htmlgenerator/Makefile
config.status: creating alarms/Makefile
config.status: creating cwop/Makefile
config.status: creating wunderground/Makefile
config.status: creating ftp/Makefile
config.status: creating ssh/Makefile
config.status: creating vpconfig/Makefile
config.status: creating wviewconfig/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
G5-Tower:/wview-1.7.7 paul$ sudo make install
Making install in daemon
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../common -I/opt/local/include -DUSE_DATABASE=0 -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
In file included from /opt/local/include/radmsgLog.h:49,
from ../common/wvutils.c:42:
/opt/local/include/radsysdefs.h:52:1: warning: "NULL" redefined
In file included from ../common/wvutils.c:25:
/usr/include/stdio.h:80:1: warning: this is the location of the previous definition
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../common -I/opt/local/include -DUSE_DATABASE=0 -D_GNU_SOURCE -DBUILD_WVIEWD -g -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
In file included from /opt/local/include/radmsgLog.h:49,
from ../common/dbfiles.c:39:
/opt/local/include/radsysdefs.h:52:1: warning: "NULL" redefined
In file included from ../common/dbfiles.c:25:
/usr/include/unistd.h:130:1: warning: this is the location of the previous definition
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../common -I/opt/local/include -DUSE_DATABASE=0 -D_GNU_SOURCE -DBUILD_WVIEWD -g -O2 -MT windAverage.o -MD -MP -MF ".deps/windAverage.Tpo" -c -o windAverage.o `test -f '../common/windAverage.c' || echo './'`../common/windAverage.c; \
then mv -f ".deps/windAverage.Tpo" ".deps/windAverage.Po"; else rm -f ".deps/windAverage.Tpo"; exit 1; fi
In file included from /opt/local/include/radmsgLog.h:49,
from ../common/windAverage.c:25:
/opt/local/include/radsysdefs.h:52:1: warning: "NULL" redefined
In file included from /opt/local/include/radmsgLog.h:46,
from ../common/windAverage.c:25:
/usr/include/stdio.h:80:1: warning: this is the location of the previous definition
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../common -I/opt/local/include -DUSE_DATABASE=0 -D_GNU_SOURCE -DBUILD_WVIEWD -g -O2 -MT daemon.o -MD -MP -MF ".deps/daemon.Tpo" -c -o daemon.o `test -f '../daemon/daemon.c' || echo './'`../daemon/daemon.c; \
then mv -f ".deps/daemon.Tpo" ".deps/daemon.Po"; else rm -f ".deps/daemon.Tpo"; exit 1; fi
In file included from /opt/local/include/radsystem.h:70,
from ../daemon/daemon.c:33:
/opt/local/include/radsysdefs.h:52:1: warning: "NULL" redefined
In file included from ../daemon/daemon.c:28:
/usr/include/unistd.h:130:1: warning: this is the location of the previous definition
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../common -I/opt/local/include -DUSE_DATABASE=0 -D_GNU_SOURCE -DBUILD_WVIEWD -g -O2 -MT daemonStates.o -MD -MP -MF ".deps/daemonStates.Tpo" -c -o daemonStates.o `test -f '../daemon/daemonStates.c' || echo './'`../daemon/daemonStates.c; \
then mv -f ".deps/daemonStates.Tpo" ".deps/daemonStates.Po"; else rm -f ".deps/daemonStates.Tpo"; exit 1; fi
In file included from ../common/sysdefs.h:29,
from ../common/services.h:41,
from ../daemon/daemonStates.c:33:
/opt/local/include/radsysdefs.h:52:1: warning: "NULL" redefined
In file included from ../common/services.h:28,
from ../daemon/daemonStates.c:33:
/usr/include/unistd.h:130:1: warning: this is the location of the previous definition
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../common -I/opt/local/include -DUSE_DATABASE=0 -D_GNU_SOURCE -DBUILD_WVIEWD -g -O2 -MT serial.o -MD -MP -MF ".deps/serial.Tpo" -c -o serial.o `test -f '../daemon/serial.c' || echo './'`../daemon/serial.c; \
then mv -f ".deps/serial.Tpo" ".deps/serial.Po"; else rm -f ".deps/serial.Tpo"; exit 1; fi
In file included from /opt/local/include/radmsgLog.h:49,
from ../daemon/serial.c:51:
/opt/local/include/radsysdefs.h:52:1: warning: "NULL" redefined
In file included from ../daemon/serial.c:34:
/usr/include/unistd.h:130:1: warning: this is the location of the previous definition
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../common -I/opt/local/include -DUSE_DATABASE=0 -D_GNU_SOURCE -DBUILD_WVIEWD -g -O2 -MT ethernet.o -MD -MP -MF ".deps/ethernet.Tpo" -c -o ethernet.o `test -f '../daemon/ethernet.c' || echo './'`../daemon/ethernet.c; \
then mv -f ".deps/ethernet.Tpo" ".deps/ethernet.Po"; else rm -f ".deps/ethernet.Tpo"; exit 1; fi
In file included from /opt/local/include/radmsgLog.h:49,
from ../daemon/ethernet.c:54:
/opt/local/include/radsysdefs.h:52:1: warning: "NULL" redefined
In file included from ../daemon/ethernet.c:37:
/usr/include/unistd.h:130:1: warning: this is the location of the previous definition
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../common -I/opt/local/include -DUSE_DATABASE=0 -D_GNU_SOURCE -DBUILD_WVIEWD -g -O2 -MT computedData.o -MD -MP -MF ".deps/computedData.Tpo" -c -o computedData.o `test -f '../daemon/computedData.c' || echo './'`../daemon/computedData.c; \
then mv -f ".deps/computedData.Tpo" ".deps/computedData.Po"; else rm -f ".deps/computedData.Tpo"; exit 1; fi
In file included from /opt/local/include/radmsgLog.h:49,
from ../daemon/computedData.c:44:
/opt/local/include/radsysdefs.h:52:1: warning: "NULL" redefined
In file included from ../daemon/computedData.c:27:
/usr/include/unistd.h:130:1: warning: this is the location of the previous definition
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../common -I/opt/local/include -DUSE_DATABASE=0 -D_GNU_SOURCE -DBUILD_WVIEWD -g -O2 -MT vpinterface-be.o -MD -MP -MF ".deps/vpinterface-be.Tpo" -c -o vpinterface-be.o `test -f '../daemon/vpinterface-be.c' || echo './'`../daemon/vpinterface-be.c; \
then mv -f ".deps/vpinterface-be.Tpo" ".deps/vpinterface-be.Po"; else rm -f ".deps/vpinterface-be.Tpo"; exit 1; fi
In file included from /opt/local/include/radmsgLog.h:49,
from ../daemon/vpinterface-be.c:43:
/opt/local/include/radsysdefs.h:52:1: warning: "NULL" redefined
In file included from ../daemon/vpinterface-be.c:26:
/usr/include/unistd.h:130:1: warning: this is the location of the previous definition
gcc -g -O2 -o wviewd -L/opt/local/lib wvutils.o dbfiles.o windAverage.o daemon.o daemonStates.o serial.o ethernet.o computedData.o vpinterface-be.o -lc -lm -lrad -lz -lrad -lm -lc
test -z "/opt/local/bin" || /wview-1.7.7/install-sh -d "/opt/local/bin"
/usr/bin/install -c 'wviewd' '/opt/local/bin/wviewd'
make[2]: Nothing to be done for `install-data-am'.
Making install in htmlgenerator
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../common -I/opt/local/include -D_GNU_SOURCE -DBUILD_HTMLGEND -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
In file included from /opt/local/include/radmsgLog.h:49,
from ../common/wvutils.c:42:
/opt/local/include/radsysdefs.h:52:1: warning: "NULL" redefined
In file included from ../common/wvutils.c:25:
/usr/include/stdio.h:80:1: warning: this is the location of the previous definition
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../common -I/opt/local/include -D_GNU_SOURCE -DBUILD_HTMLGEND -g -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
In file included from /opt/local/include/radmsgLog.h:49,
from ../common/dbfiles.c:39:
/opt/local/include/radsysdefs.h:52:1: warning: "NULL" redefined
In file included from ../common/dbfiles.c:25:
/usr/include/unistd.h:130:1: warning: this is the location of the previous definition
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../common -I/opt/local/include -D_GNU_SOURCE -DBUILD_HTMLGEND -g -O2 -MT windAverage.o -MD -MP -MF ".deps/windAverage.Tpo" -c -o windAverage.o `test -f '../common/windAverage.c' || echo './'`../common/windAverage.c; \
then mv -f ".deps/windAverage.Tpo" ".deps/windAverage.Po"; else rm -f ".deps/windAverage.Tpo"; exit 1; fi
In file included from /opt/local/include/radmsgLog.h:49,
from ../common/windAverage.c:25:
/opt/local/include/radsysdefs.h:52:1: warning: "NULL" redefined
In file included from /opt/local/include/radmsgLog.h:46,
from ../common/windAverage.c:25:
/usr/include/stdio.h:80:1: warning: this is the location of the previous definition
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../common -I/opt/local/include -D_GNU_SOURCE -DBUILD_HTMLGEND -g -O2 -MT html.o -MD -MP -MF ".deps/html.Tpo" -c -o html.o `test -f '../htmlgenerator/html.c' || echo './'`../htmlgenerator/html.c; \
then mv -f ".deps/html.Tpo" ".deps/html.Po"; else rm -f ".deps/html.Tpo"; exit 1; fi
In file included from /opt/local/include/radsystem.h:70,
from ../htmlgenerator/html.c:37:
/opt/local/include/radsysdefs.h:52:1: warning: "NULL" redefined
In file included from ../htmlgenerator/html.c:26:
/usr/include/stdio.h:80:1: warning: this is the location of the previous definition
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../common -I/opt/local/include -D_GNU_SOURCE -DBUILD_HTMLGEND -g -O2 -MT htmlStates.o -MD -MP -MF ".deps/htmlStates.Tpo" -c -o htmlStates.o `test -f '../htmlgenerator/htmlStates.c' || echo './'`../htmlgenerator/htmlStates.c; \
then mv -f ".deps/htmlStates.Tpo" ".deps/htmlStates.Po"; else rm -f ".deps/htmlStates.Tpo"; exit 1; fi
In file included from ../common/sysdefs.h:29,
from ../common/services.h:41,
from ../htmlgenerator/htmlStates.c:33:
/opt/local/include/radsysdefs.h:52:1: warning: "NULL" redefined
In file included from ../common/services.h:28,
from ../htmlgenerator/htmlStates.c:33:
/usr/include/unistd.h:130:1: warning: this is the location of the previous definition
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../common -I/opt/local/include -D_GNU_SOURCE -DBUILD_HTMLGEND -g -O2 -MT htmlMgr.o -MD -MP -MF ".deps/htmlMgr.Tpo" -c -o htmlMgr.o `test -f '../htmlgenerator/htmlMgr.c' || echo './'`../htmlgenerator/htmlMgr.c; \
then mv -f ".deps/htmlMgr.Tpo" ".deps/htmlMgr.Po"; else rm -f ".deps/htmlMgr.Tpo"; exit 1; fi
In file included from /opt/local/include/radtimeUtils.h:47,
from ../htmlgenerator/htmlMgr.c:30:
/opt/local/include/radsysdefs.h:52:1: warning: "NULL" redefined
In file included from /usr/include/sys/time.h:232,
from /opt/local/include/radtimeUtils.h:45,
from ../htmlgenerator/htmlMgr.c:30:
/usr/include/time.h:69:1: warning: this is the location of the previous definition
In file included from ./glmultichart.h:26,
from ./htmlGenerate.h:51,
from ../htmlgenerator/htmlMgr.c:37:
./glchart.h:26:16: error: gd.h: No such file or directory
In file included from ./glmultichart.h:26,
from ./htmlGenerate.h:51,
from ../htmlgenerator/htmlMgr.c:37:
./glchart.h:51: error: parse error before 'gdImagePtr'
./glchart.h:51: warning: no semicolon at end of struct or union
./glchart.h:81: error: parse error before '}' token
./glchart.h:81: warning: data definition has no type or storage class
./glchart.h:90: error: parse error before 'chartCreate'
./glchart.h:97: warning: data definition has no type or storage class
./glchart.h:98: error: parse error before 'id'
./glchart.h:99: error: parse error before 'id'
./glchart.h:100: error: parse error before 'id'
./glchart.h:101: error: parse error before 'id'
./glchart.h:102: error: parse error before 'id'
./glchart.h:103: error: parse error before 'id'
./glchart.h:104: error: parse error before 'id'
./glchart.h:105: error: parse error before 'id'
./glchart.h:106: error: parse error before 'id'
./glchart.h:107: error: parse error before 'id'
./glchart.h:108: error: parse error before 'id'
./glchart.h:109: error: parse error before 'id'
./glchart.h:110: error: parse error before 'id'
./glchart.h:111: error: parse error before 'id'
In file included from ./htmlGenerate.h:51,
from ../htmlgenerator/htmlMgr.c:37:
./glmultichart.h:40: error: parse error before 'gdImagePtr'
./glmultichart.h:40: warning: no semicolon at end of struct or union
./glmultichart.h:69: error: parse error before '}' token
./glmultichart.h:69: warning: data definition has no type or storage class
./glmultichart.h:78: error: parse error before 'multiChartCreate'
./glmultichart.h:85: warning: data definition has no type or storage class
./glmultichart.h:86: error: parse error before 'id'
./glmultichart.h:87: error: parse error before 'id'
./glmultichart.h:88: error: parse error before 'id'
./glmultichart.h:89: error: parse error before 'id'
./glmultichart.h:90: error: parse error before 'id'
./glmultichart.h:91: error: parse error before 'id'
./glmultichart.h:92: error: parse error before 'id'
./glmultichart.h:93: error: parse error before 'id'
./glmultichart.h:94: error: parse error before 'id'
./glmultichart.h:95: error: parse error before 'id'
./glmultichart.h:96: error: parse error before 'id'
./glmultichart.h:97: error: parse error before 'id'
./glmultichart.h:98: error: parse error before 'id'
./glmultichart.h:99: error: parse error before 'id'
In file included from ../htmlgenerator/htmlMgr.c:38:
./glbucket.h:49: error: parse error before 'gdImagePtr'
./glbucket.h:49: warning: no semicolon at end of struct or union
./glbucket.h:76: error: parse error before '}' token
./glbucket.h:76: warning: data definition has no type or storage class
./glbucket.h:81: error: parse error before 'bucketCreate'
./glbucket.h:81: warning: data definition has no type or storage class
./glbucket.h:82: error: parse error before 'id'
./glbucket.h:83: error: parse error before 'id'
./glbucket.h:84: error: parse error before 'id'
./glbucket.h:85: error: parse error before 'id'
./glbucket.h:86: error: parse error before 'id'
./glbucket.h:87: error: parse error before 'id'
./glbucket.h:88: error: parse error before 'id'
./glbucket.h:89: error: parse error before 'id'
./glbucket.h:90: error: parse error before 'id'
./glbucket.h:91: error: parse error before 'id'
./glbucket.h:92: error: parse error before 'id'
./glbucket.h:93: error: parse error before 'id'
./glbucket.h:94: error: parse error before 'id'
./glbucket.h:95: error: parse error before 'id'
make[1]: *** [htmlMgr.o] Error 1
make: *** [install-recursive] Error 1
G5-Tower:/wview-1.7.7 paul$ |
|
Back to top |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Wed Sep 07, 2005 5:03 pm Post subject: |
|
|
You have to install gd WITH DarwinPorts after you get DarwinPorts installed and before installing radlib/wview. Did you install gd via DarwinPorts? It sure doesn't look like you did. The DarwinPorts docs tell you how to install packages like gd.
The Quick Start for Mac includes the following instructions to execute right after installing DarwinPorts:
Quote: | sudo port -d selfupdate (this may take a while)
sudo port install gd2 (this should install the zlib and libpng prerequisites automagically) |
Did you do that before wview?
Again, I don't think you did. |
|
Back to top |
|
|
IslandLife
Joined: 30 Jul 2005 Posts: 58 Location: Guam (USA)
|
Posted: Wed Sep 07, 2005 10:48 pm Post subject: |
|
|
Hi Mark: *sigh* so many nuances to watch ... I had re-installed Darwin Ports but skipped the install gd2 step ... tried it and received this error back:
G5-Tower:~ paul$ sudo port install gd2
---> Fetching XFree86
---> Attempting to fetch XFree86-4.5.0-src-1.tgz from http://distfiles-od.opendarwin.org/
---> Attempting to fetch XFree86-4.5.0-src-2.tgz from http://distfiles-od.opendarwin.org/
---> Attempting to fetch XFree86-4.5.0-src-3.tgz from http://distfiles-od.opendarwin.org/
---> Attempting to fetch XFree86-4.5.0-src-4.tgz from http://distfiles-od.opendarwin.org/
---> Attempting to fetch XFree86-4.5.0-src-5.tgz from http://distfiles-od.opendarwin.org/
---> Verifying checksum(s) for XFree86
---> Extracting XFree86
---> Applying patches to XFree86
---> Configuring XFree86
---> Building XFree86 with target World
---> Staging XFree86 into destroot
---> Packaging tgz archive for XFree86 4.5.0_2
---> Installing XFree86 4.5.0_2
---> Activating XFree86 4.5.0_2
Error: Target com.apple.activate returned: Image error: /usr/X11R6/include/DPS/ColorSB.h already exists and does not belong to a registered port. Unable to activate port XFree86.
Error: The following dependencies failed to build: XFree86 freetype zlib jpeg libpng
I'll try to find this ColorSB.h file and delete it next ... |
|
Back to top |
|
|
IslandLife
Joined: 30 Jul 2005 Posts: 58 Location: Guam (USA)
|
Posted: Wed Sep 07, 2005 11:23 pm Post subject: |
|
|
That did the trick, but wview is installed (again) in /private/etc instead of /opt/local/etc. I swear that I keep putting ./configure --prefix=/opt/local for radlib and wview. I believe that the script is looking for wview in the /opt/local directory. Can I just copy the entire wview folder from /private to /opt/local?
I'm sorry to keep hogging your time, but I REALLY want to get wview up and going. I have read the manual and OS X quick guides a couple of times, but I am "green" when it comes to Unix/ terminal installs.
Paul |
|
Back to top |
|
|
|
|
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
|