Page 2 of 3

Posted: Sat May 27, 2006 5:49 pm
by Mark Ward
Hi James, I'm a tiny step away from going back to 10.0, though there's lots to be said for 10.1, and going to the latest kernel does seem sensible.

I did manage to find a non delta RPM, but having used run - Uvh and -i I now get dependency issues to other php4 files, php4 it'sself for one, that just aren't present in 10.1.

I'm guessing the guy that succesfully installed Zoneminder on 10.1 actually had 10.0 and did an update to 10.1.

I'm going to do a lot of googling on thios over the weekend, but I reckon I'll be going back to a 10.0 install for my next try.

Thanks,

Mark.

Posted: Sat May 27, 2006 7:05 pm
by byte
Hey Mark,

I'm still using version 10.0 as .1 only came out a last week so I'm not sure what's in the 10.1 version, from scanning that list of difference's it seems 10.1 comes with php5?!

Posted: Sat May 27, 2006 7:21 pm
by Mark Ward
Yes, I've googled a lot today. I think I'll go back to 10.0, this is a dedicated machine and if ZM needs php4 then 10.0 it is.

Thanks for trying to get me sorted :)

Mark.

Posted: Sat May 27, 2006 11:20 pm
by Mark Ward
Re-installing 10.0 as I type....

I would love to know how piergiulio got it running under 10.1, PHP4 doesn't appear to be included, seems like Suse have dropped PHP4. Perhaps he has the bought DVD rather than OpenSuse? I wonder whether PHP4 is present on the commercial variant?

Mark.

Posted: Sat May 27, 2006 11:30 pm
by byte
They may have just upgraded to php5, yes without knowing wat he actually did we will not know, If I get any time I may download the latest (am looking at FC5 atm to use ZM with as it seems like the preferred base for running zm)

Posted: Sat May 27, 2006 11:52 pm
by Mark Ward
They may have just upgraded to php5
PHP5 isn't backwardly compatible is it? Can ZM can't run under PHP5? I did a backup of 10.1 before re-installing (still in progress) and I'm going to look at 10.1 more closely on a spare box I have.

I do have other Suse machines so I'd prefer to keep everything the same distro. My difficulties before with Suse10.0 were almost certainly down to me not knowing what I was doing configuring for zm. I got in such a mess with wrong directories that I chose a clean install for ease. I'm a little more confident now :) Just my luck to read a thread where someone got it running on 10.1 at the point I decide to re-install :).

Posted: Sun May 28, 2006 12:36 am
by Rutger Diehard
Hi all,

My first post here and I thought it should be on the end of this thread as I have successfully set up ZM on Suse 10.1 OSS and thought you guys could do with a pointer or two! It is running with an Axis 205 and has given me no major headaches since install!

Ok here goes (and this is from memory):

I followed dgsconseil's post on this forum but there are a few slight differences between Suse 10.0 and 10.1, the main one being 10.1 uses PHP5. Not a major problem but it means a couple of the RPM's listed need to be changed.

Here is a complete list of the RPM's I have installed to get ZM to work 'out of the box':

apache2-worker
apache2
apache2-mod_perl
apache2-mod_php5
php5
php5-mysql
mysql
mysql-client
mysql-devel
mysql-shared
gcc
gcc-c++
libmpeg2-devel
ffmpeg
libjpeg-devel
pcre-devel
xawtv
lynx
ncftp ************** see below
openssl-devel

All straightforward apart from ncftp. This has to be compiled and installed from here.

Then follow the rest of the HOWTO and choose defaults through all the perl stuff (quite a bit of it actually but all quite painless).

Now the gotcha, and this had me stumped with everything else working but no video for a while. If you are lazy like me and tempted to copy an paste the configure command, WAIT. The original had a slightly different path and 10.1 won't like it, so this:

Code: Select all

./configure --with-webdir=/svr/www/htdocs/ --with-cgidir=/svr/www/cgi-bin/ --with-webgroup=www --with-webuser=wwwrun ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zm ZM_DB_PASS=zm --with-libarch=lib64 
should read this:

Code: Select all

./configure --with-webdir=/srv/www/htdocs/ --with-cgidir=/srv/www/cgi-bin/ --with-webgroup=www --with-webuser=wwwrun ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zm ZM_DB_PASS=zm --with-libarch=lib64 
Spot the difference? I installed this in a non-64 bit environment so left off the last

Code: Select all

--with-libarch=lib64
Now follow the rest of the instructions and you should have a running ZM box in no time.

Enjoy

Rutger

P.S phil [your honour] and dgsconseil [you inspired my 10.1 install!], feel free to edit/amalgamate/repost/delete if this is of any use.

Posted: Sun May 28, 2006 12:39 am
by Rutger Diehard
Just my luck to read a thread where someone got it running on 10.1 at the point I decide to re-install :).
Sorry Mark, just read your post :oops:

Posted: Sun May 28, 2006 7:20 am
by Mark Ward
Sorry Mark, just read your post
That's absolutely no problem at all. I''ve just finsihed re-installing 10.0 OS, so I'll back that up and I've got a point to go back to for both versions.

Thank you so much for taking the time to post. It's been far more important for me to get this right than to do it quickly, 10.1 seems great.

Many others recommended avoiding Suse as there's not many zm users so less can offer support. I had to weigh that up against th fact that I had *some* familiarity with Suse and the availabilty of a step by step guide from someone who had actually done it . I chose to stick with it so all this trouble is of my own making. :)

Evrything that I've had to find out has enhanced my knowledge of Linux and that's valuable to mne anyway.

Thanks again,

Mark.

Posted: Mon May 29, 2006 12:26 pm
by Mark Ward
Up & Running!!!! :D

Thanks to all that helped especially Rutger, James & Byte and DGCoseil for his original howto.

I'm Running ZM 1.22.1 on OpenSuse 10.1 Using PHP5 with a 4 Chip BT878 Card, Fly Video TV Card and 2 Philips Web Cams. The Webcams are giving me grey/black screen but all Composite inputs are able to display with a VCR tape as test Source.

I'll compile all the bits people have told me into a Suse 10.1 "HowTo" for the Wiki in a day or 2, just want to make sure I can actuall record, trigger events etc. first.

Thanks again!

Mark.

Posted: Mon May 29, 2006 1:01 pm
by Rutger Diehard
No problem Mark, glad I could be of some help!

Check out my other post about an SQL error when you upgrade to 1.22.2. Might affect you but then again may not.

Thanks all.

Rutger

Posted: Mon May 29, 2006 1:02 pm
by jameswilson
glad your running mate

Posted: Mon May 29, 2006 3:01 pm
by byte
Glad I could help you Mark! It's very cool once running !! Big thanks to the creator(s) of ZM

Posted: Mon May 29, 2006 5:03 pm
by Mark Ward
Big thanks to the creator(s) of ZM
Oh yes... Them too :oops: :D

Mark.

Posted: Tue May 30, 2006 7:10 pm
by Mark Ward
OK, so after many days trial & tribulations I've had ZM up & running (with a VCR test source) for 2 days. So now I get the "Version 1.22 is available" pop-up. Am I mad thinking of going for this now?

Is it simply Download & recompile over the top of the old version?

I'm clearly not happy having a working version, I can see why it's worth updateing from an earlier version, but is 1.22.2 worth it for a working 1.22.1 install?

Thanks,

Mark.