oh...ok, so I will not be able to build anymore new versions like 1.28.10x and get the API running using this OS and cmake? Everything else works well except for the API when I have built 1.28.108 using a combination of methods that work for Puppy Linux.The entire goal is to keep zoneminder working error free on an OS that runs well on old computers.I have gotten almost everything to work very reliably. I have looked at some guides. Which ones should I be looking at?
Please read the link knnniggett posted above. There are cmake instructions there.
They are for Ubuntu - you can tweak them for your distro. The core build process is the same.
You need to do additional steps before cmake to get the APIs and there are specific post install instructions too. If you don't use packages you need to be aware that build from source methods may change with newer versions so it's always good to follow instructions posted along with new releases.
rockedge wrote:oh...ok, so I will not be able to build anymore new versions like 1.28.10x and get the API running using this OS and cmake? Everything else works well except for the API when I have built 1.28.108 using a combination of methods that work for Puppy Linux.The entire goal is to keep zoneminder working error free on an OS that runs well on old computers.I have gotten almost everything to work very reliably. I have looked at some guides. Which ones should I be looking at?
Thanks for the help in any case.
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.
All depends on what you consider "old" equipment. I have Zoneminfer 1.28.108 on Ubuntu 15.04 running on a Dell Optiplex 760 that was shipped in May 2009. I recently upgraded from a Dell Optiplex 755 and that took everything I threw at it! If you would like I also have an old Pentium HT single core X64 machine in the shed. I can load the most recent version of Ubuntu and let you know how it runs...
Try Ubuntu. Here is the procedure for an upgrade but you can figure out how to use it for an install from the PPA master...
SOLVED! I found that /zm/api/app/plugin/crud was empty.
So I went to https://github.com/FriendsOfCake/crud/tree/3.0
and downloaded the ZIP file. extracted to /zm/api/app/plugin/crud and BANG! it works perfectly! (that was easy!)
localhost/zm/api/host/getVersion.json gives:
Most of my machines are Dells or Gateway and an IBM thrown in (but runs everything). with 2 -4 gigs of RAM and average age is 2003-2009 as well. Use a Dell Inspiron that really does well running this setup.
FYI in knnniggetts link is the following two lines
git submodule init
git submodule update
That would have given you the crud code.
I will say I am not convinced that submodule works, case in point here, but wait until maintainers don't do it or don't get crud in source downloads from github.
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
FYI in knnniggetts link is the following two lines
git submodule init
git submodule update
That would have given you the crud code.
Wow! your information helped immensely. I re-examined the link from knnniggetts and did the steps
git clone https://github.com/ZoneMinder/ZoneMinder.git
cd ZoneMinder/
git submodule init
git submodule update
cmake -DZM_WEBDIR=/opt/lampp/htdocs/zm -DZM_WEB_USER=daemon -DZM_WEB_GROUP=daemon -DZM_CGIDIR=/opt/lampp/cgi-bin .
make
make install
and behold...a smoothly running build of 1.28.108 on Puppy Linux Tahr 6.03. Of course after all the preparations in advance of these steps.
Thank you everyone again for your patience and advice.