When you did the make, it didn’t create tide?
Do make again and then send a listing of the directory.
ls -l /home/phil/xtide-2.15.5

On Jun 19, 2024, at 2:17 PM, philip....@gmail.com <philip.c.ow...@gmail.com> wrote:

Added location = "Palo Alto Yacht Harbor, San Francisco Bay, California"
prog = /home/phil/xtide-2.15.5/tide
sudo apt install xtide-data
Added /etc/xtide.conf with /usr/share/xtide   where the harmonic is
Still I get no tidal data
If i do /home/phil/xtide-2.15.5/tide   it comes  back tide command not found

On Tuesday, June 18, 2024 at 10:31:58 PM UTC+1 John Kline wrote:
I checked your output.  It looks like configure and make succeeded.  You should be good to go.

On Jun 18, 2024, at 2:16 PM, philip....@gmail.com <philip....@gmail.com> wrote:

sorry forgot to add the txt file


On Tuesday, June 18, 2024 at 10:13:45 PM UTC+1 philip....@gmail.com wrote:
It looks more promising.
I haven't gone pass   make    but if  its what you expected will carry on but not until tomorrow.
But thanks so far
Phil


On Tuesday, June 18, 2024 at 9:52:46 PM UTC+1 John Kline wrote:
OK, the difference is that you are building on the full install of bookworm and I am building on lite.  Try this for the configure step:

./configure --with-x=no

That *should* build what I am building (tide, but not xtide).  I’m guessing this will work, but let me know.  If it does, I’ll update the README.


On Jun 18, 2024, at 1:27 PM, philip....@gmail.com <philip....@gmail.com> wrote:

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, philip....@gmail.com <philip....@gmail.com> 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 philip....@gmail.com 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, philip....@gmail.com <philip....@gmail.com> 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 philip....@gmail.com 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, philip....@gmail.com <philip....@gmail.com> 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 <jo...@johnkline.com> 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, philip....@gmail.com <philip....@gmail.com> 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, philip....@gmail.com <philip....@gmail.com> 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, philip....@gmail.com <philip....@gmail.com> 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 philip....@gmail.com 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 philip....@gmail.com 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 weewx-user+...@googlegroups.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 weewx-user+...@googlegroups.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 weewx-user+...@googlegroups.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 weewx-user+...@googlegroups.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 weewx-user+...@googlegroups.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 weewx-user+...@googlegroups.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 weewx-user+...@googlegroups.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 weewx-user+...@googlegroups.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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/edcd457f-83a9-4de4-8651-32b1ab992f2an%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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/A0C20E9E-EB79-4887-AEC2-3A6535EB0AA5%40johnkline.com.

Reply via email to