phil@raspberrypi:~/xtide-2.15.5 $ sudo apt install libfreetype6 Reading package lists... Done Building dependency tree... Done Reading state information... Done libfreetype6 is already the newest version (2.12.1+dfsg-5). libfreetype6 set to manually installed. The following packages were automatically installed and are no longer required: libcamera0.2 libraspberrypi0 libwpe-1.0-1 libwpebackend-fdo-1.0-1 Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. phil@raspberrypi:~/xtide-2.15.5 $
On Tuesday, June 18, 2024 at 8:01:12 PM UTC+1 John Kline wrote: > Try: > sudo apt install libfreetype6 > > And then re-run configure. Again, there is no need to run make (which you > did again) if the configure ends in an error. > > On Jun 18, 2024, at 11:37 AM, [email protected] <[email protected]> > wrote: > > This time i used the correct file but as you can see from the file Im > attaching going down your readme file when I get to make it seems to fail > so I didnt go any further > > > > On Tuesday, June 18, 2024 at 3:49:28 PM UTC+1 [email protected] wrote: > >> OOPs Yes I did >> Oh well 3rd time luck >> >> On Tuesday, June 18, 2024 at 2:42:45 PM UTC+1 John Kline wrote: >> >>> > Then used tar -zxvf xtide-2.15.5.tar.gz and changed to that directory >>> >>> Which tar did you use? You cannot use the file I sent you. >>> >>> On Jun 18, 2024, at 6:24 AM, [email protected] <[email protected]> >>> wrote: >>> >>> Hi John >>> >>> Built a fresh build using the Raspberry pi imager >>> Loaded weewx All OK >>> Then used tar -zxvf xtide-2.15.5.tar.gz and changed to that directory >>> then sudo apt-get install libpng-dev and then sudo apt-get install >>> libtcd-dev >>> ./ configure >>> and then make and this time got >>> make all-am >>> make[1]: Entering directory '/home/phil/xtide-2.15.5' >>> make[1]: Nothing to be done for 'all-am'. >>> make[1]: Leaving directory '/home/phil/xtide-2.15.5' >>> so then sudo apt-get install xtide-data >>> and then in xtide-2.15.5 folder type tide and got >>> phil@raspberrypi:~/xtide-2.15.5 $ tide >>> bash: tide: command not found >>> As this didnt work I stopped as I believe you said if that does not work >>> its no good >>> Have put all this in the text file I hope ?? >>> >>> >>> On Monday, June 17, 2024 at 7:17:49 PM UTC+1 [email protected] wrote: >>> >>>> I use the Raspberry Pi Imager with Pi5 and Pi 5 64 Bit software so Im >>>> assuming its the full package. >>>> What Im going to do is have a fresh install of Pi5 using the Raspberry >>>> Imager and load weewx again and start a fresh with your >>>> XTide-=2.15.5.tar.gz >>>> I shall copy all terminal responses to this post and see what you think. >>>> Im hoping ./configure and then make works. >>>> Will send you all terminal responses. >>>> Phil >>>> >>>> On Monday, June 17, 2024 at 6:07:01 PM UTC+1 John Kline wrote: >>>> >>>>> If you try executing tide and it doesn’t work, you need not try >>>>> anything further. The problem is the path /home/jkline (my home >>>>> directory) >>>>> is hardcoded by configure. >>>>> >>>>> You need to be able to build xtide. If you want to try again, and >>>>> configure fails again, I can have a look. Please [re-]confirm that you >>>>> have installed the prerequisites. If configure fails again, there is no >>>>> point to try make. >>>>> >>>>> I am surprised that you can’t configure since we’re running the same >>>>> OS. I have the lite version of Bookworm 64-bit installed. Do you have >>>>> the >>>>> full version? >>>>> >>>>> >>>>> On Jun 17, 2024, at 9:36 AM, [email protected] < >>>>> [email protected]> wrote: >>>>> >>>>> rm -rf xtide-2.15.5 This removed the directory OK >>>>> >>>>> copied your xtide-2.15.5.tar.gz into my Downloads directory and from >>>>> that directory tar -zxvf xtide-2.15.5.tar.gz >>>>> which went ok. >>>>> restarted weewx >>>>> From the xtide-2.15.5 directory $ tide got this >>>>> phil@raspberrypi:~ $ /home/phil/xtide-2.15.5/tide >>>>> /home/phil/xtide-2.15.5/.libs/tide: error while loading shared >>>>> libraries: libxtide.so.1: cannot open shared object file: No such file or >>>>> directory >>>>> phil@raspberrypi:~ $ >>>>> >>>>> copied and paste the xtide-2.15.5 directory into my home directory. >>>>> restarted weewx >>>>> >>>>> phil@raspberrypi:~ $ /home/phil/xtide-2.15.5/tide >>>>> /home/phil/xtide-2.15.5/.libs/tide: error while loading shared >>>>> libraries: libxtide.so.1: cannot open shared object file: No such file or >>>>> directory >>>>> phil@raspberrypi:~ $ >>>>> >>>>> After this the log still no tidal events >>>>> >>>>> >>>>> On Monday, June 17, 2024 at 5:00:58 PM UTC+1 John Kline wrote: >>>>> >>>>>> I got a message that the file was too large. >>>>>> >>>>>> Let’s try again: >>>>>> >>>>>> It is not what I expected. I’ll give you the whole built directory >>>>>> tree: >>>>>> >>>>>> You can download it at: >>>>>> paloaltoweather.com >>>>>> <https://www.paloaltoweather.com/xtide-2.15.5.tar.gz> >>>>>> <https://www.paloaltoweather.com/xtide-2.15.5.tar.gz> >>>>>> <https://www.paloaltoweather.com/xtide-2.15.5.tar.gz> >>>>>> >>>>>> >>>>>> From your home directory, remove the exiting xtide directory, then >>>>>> untar what you just downloaded: >>>>>> >>>>>> rm -rf xtide-2.15.5 >>>>>> tar -zxvf xtide-2.15.5.tar.gz >>>>>> >>>>>> Now try executing tide again. If that works, restart weewx and see >>>>>> if it works. >>>>>> >>>>>> >>>>>> On Jun 17, 2024, at 8:48 AM, John Kline <[email protected]> wrote: >>>>>> >>>>>> >>>>>> It is not what I expected. Here is the whole built directory tree: >>>>>> <xtide-2.15.5.tar.gz> >>>>>> >>>>>> >>>>>> From your home directory, remove the exiting xtide directory: >>>>>> >>>>>> rm -rf xtide-2.15.5 >>>>>> tar -zxvf xtide-2.15.5.tar.gz >>>>>> >>>>>> Then try executing tide again. If that works, restart weewx and see >>>>>> if it works. >>>>>> >>>>>> On Jun 17, 2024, at 8:04 AM, [email protected] < >>>>>> [email protected]> wrote: >>>>>> >>>>>> phil@raspberrypi:~ $ /home/phil/xtide-2.15.5/tide >>>>>> >>>>>> >>>>>> /home/phil/xtide-2.15.5/tide: error: >>>>>> '/home/phil/xtide-2.15.5/.libs/tide' does not exist >>>>>> This script is just a wrapper for tide. >>>>>> See the libtool documentation for more information. >>>>>> >>>>>> Is this what you expected ? >>>>>> >>>>>> On Monday, June 17, 2024 at 3:27:32 PM UTC+1 John Kline wrote: >>>>>> >>>>>>> And what happens when you type: >>>>>>> >>>>>>> /home/phil/xtide-2.15.5/tide >>>>>>> >>>>>>> on the command line? >>>>>>> >>>>>>> Does the program run? >>>>>>> >>>>>>> If so, grep XTideThread in the logs and send the results. How you >>>>>>> look at logs will vary depending on how you have set this up (but >>>>>>> probably >>>>>>> journalctl). >>>>>>> >>>>>>> On Jun 17, 2024, at 6:52 AM, [email protected] < >>>>>>> [email protected]> wrote: >>>>>>> >>>>>>> If you look at my 1015 post it has this in it >>>>>>> >>>>>>> created /etc/xtide.conf >>>>>>> Added /usr/share/xtide into the file >>>>>>> >>>>>>> Ive sent you my weewx.conf file it has prog = >>>>>>> /home/phil/xtide-2.15.5/tide in it I forgot to add it to my 1015 post >>>>>>> >>>>>>> On Monday, June 17, 2024 at 2:26:28 PM UTC+1 John Kline wrote: >>>>>>> >>>>>>>> I don’t see a “prog = “ line in the XTide section (per my >>>>>>>> instructions). Did you do that? >>>>>>>> And did you create a /etc/xtide.conf file? >>>>>>>> >>>>>>>> Would you please follow the instructions line by line? >>>>>>>> >>>>>>>> On Jun 17, 2024, at 2:26 AM, [email protected] < >>>>>>>> [email protected]> wrote: >>>>>>>> >>>>>>>> Sorry sent to early >>>>>>>> >>>>>>>> Thought that your file needs to be an executable so from the >>>>>>>> xtide-2.15.5 directory >>>>>>>> sudo chmod +x tide >>>>>>>> Still no tidal events >>>>>>>> >>>>>>>> >>>>>>>> On Monday, June 17, 2024 at 10:23:15 AM UTC+1 [email protected] >>>>>>>> wrote: >>>>>>>> >>>>>>>>> Thought that your file needs to be an executable so from the >>>>>>>>> xtide-2.15.5 directory >>>>>>>>> >>>>>>>>> >>>>>>>>> On Monday, June 17, 2024 at 10:15:51 AM UTC+1 [email protected] >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Hi John >>>>>>>>>> Still no joy >>>>>>>>>> >>>>>>>>>> Unzipped your file and loaded it into directory xtide-2.15.5 as >>>>>>>>>> tide >>>>>>>>>> In weewx.conf under [[XTide]] prog = /home/phil/xtide-2.25.5/tide >>>>>>>>>> Then carried on from your readme notes >>>>>>>>>> sudo apt install xtide-data >>>>>>>>>> sudp apt instal xtide-data-nonfree >>>>>>>>>> Both loaded OK >>>>>>>>>> created /etc/xtide.conf >>>>>>>>>> Added /usr/share/xtide into the file >>>>>>>>>> The 2 harmonics exixts in /usr/share/xtide >>>>>>>>>> harmonics-dwf-20100529-nonfree.tcd and >>>>>>>>>> harmonics-dwf-20191229-free.tcd >>>>>>>>>> In the weewx.conf under [[XTide]] added >>>>>>>>>> location = "Cromer, England" >>>>>>>>>> interval = 86400 >>>>>>>>>> duration = 86400 >>>>>>>>>> max_age = 86400 >>>>>>>>>> sudo systemctl restart weewx >>>>>>>>>> sudo systemctl status weewx >>>>>>>>>> 2 lines for xtideThread >>>>>>>>>> user.forecast: XTideThread: XTide: generating tides from >>>>>>>>>> 2024-06-17 00:00:: BST (1718578800)) to 2024-06-18 00:00:00 >>>>>>>>>> (1718665200) >>>>>>>>>> user.forecast: XTideThread: XTide: got no tidal events >>>>>>>>>> >>>>>>>>>> Change the location to whats in your readme notes >>>>>>>>>> location = "Palo Alto Yacht Club Harbor, San Francisco Bay, >>>>>>>>>> California" >>>>>>>>>> Still no tidal events >>>>>>>>>> >>>>>>>>>> Phil >>>>>>>>>> On Sunday, June 16, 2024 at 9:39:16 PM UTC+1 John Kline wrote: >>>>>>>>>> >>>>>>>>>>> Philip, >>>>>>>>>>> >>>>>>>>>>> Rather than try to walk you through building a package, attached >>>>>>>>>>> is a zip of the tide executable that you need. >>>>>>>>>>> >>>>>>>>>>> unzip it anywhere you like and point to it by following the >>>>>>>>>>> instructions on the README page in github or in my email. >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>> You received this message because you are subscribed to the Google >>>>>>>> Groups "weewx-user" group. >>>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>>> send an email to [email protected]. >>>>>>>> >>>>>>>> To view this discussion on the web visit >>>>>>>> https://groups.google.com/d/msgid/weewx-user/c1ba817f-198b-45a4-bfaa-96312756108en%40googlegroups.com >>>>>>>> >>>>>>>> <https://groups.google.com/d/msgid/weewx-user/c1ba817f-198b-45a4-bfaa-96312756108en%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>>> . >>>>>>>> >>>>>>>> -- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "weewx-user" group. >>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>> send an email to [email protected]. >>>>>>> >>>>>>> To view this discussion on the web visit >>>>>>> https://groups.google.com/d/msgid/weewx-user/985974b1-b378-4b69-845f-fa9f4cb550ffn%40googlegroups.com >>>>>>> >>>>>>> <https://groups.google.com/d/msgid/weewx-user/985974b1-b378-4b69-845f-fa9f4cb550ffn%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>> . >>>>>>> <weewx.conf> >>>>>>> >>>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "weewx-user" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to [email protected]. >>>>>> >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/weewx-user/5c7d44a5-634b-4aa6-b7d8-4ca5b16fb735n%40googlegroups.com >>>>>> >>>>>> <https://groups.google.com/d/msgid/weewx-user/5c7d44a5-634b-4aa6-b7d8-4ca5b16fb735n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> >>>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "weewx-user" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to [email protected]. >>>>> >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/weewx-user/27ad32bb-29f9-4cd3-968f-43ce156b4cb7n%40googlegroups.com >>>>> >>>>> <https://groups.google.com/d/msgid/weewx-user/27ad32bb-29f9-4cd3-968f-43ce156b4cb7n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "weewx-user" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/weewx-user/644cb6ac-4442-4e1d-96a9-abaa1aae9cfen%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/weewx-user/644cb6ac-4442-4e1d-96a9-abaa1aae9cfen%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> <tides> >>> >>> -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/69587e25-dbbb-49b2-81f5-4a688e1da3c1n%40googlegroups.com > > <https://groups.google.com/d/msgid/weewx-user/69587e25-dbbb-49b2-81f5-4a688e1da3c1n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > <tides1> > > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/1a7fc18a-d6d8-4fd5-bd12-ee52fc8aa7f2n%40googlegroups.com.
