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:

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].

--
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].

--
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].

--
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.

--
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/A0AE0BBA-B4F0-45A1-975B-68FA0C8697FE%40johnkline.com.

Reply via email to