Page 1 of 2
Trying to install for Puppy Linux - mysql error.
Posted: Wed Aug 08, 2007 10:41 am
by hushpuppy
I am trying to compile Zoneminder on a Puppy Linux system.
Pupy Linux is blisteringly fast, probably the quickest Linux GUI around.
I've installed ZM on Debian 3 or 4 times, so have some experience.
I've installed apache and mysql (compiled both myself), yet when i try to configure zm i get this error.
--------------------------------------------------
checking mysql/mysql.h usability... no
checking mysql/mysql.h presence... no
checking for mysql/mysql.h... no
configure: error: zm requires mysql/mysql.h
-------------------------------------------------------
I've done the obvious things, supplied --with-mysql= etc, but to no avail. mysql.h IS in /usr/local/mysql/include/mysql/mysql.h, and ive tried the full path, just /usr/local (and /usr/local/) and all variations, but still get this error.
I've read similar posts, but all these have package management systems to fix the problem. Puppy Linux does have a package management system (called .PET), but no mysql development package, can anyone suggest how i fix this ?
All help gratefully received, and if i manage to eventually get ZM installed on Puppy i will release it as a live CD for all to use.
Posted: Thu Aug 09, 2007 8:27 am
by hushpuppy
For anyone thats interested i managed to get over this problem, and about another 6 or 7 configure problems, and am at the stage where i'ver managed to get ./configure to complete, and am ready to do "make".
When ive managed to compile zoneminder, i will probably make a .pet file so puppy users can install without all the hassle i've had.
I could do with some people to test this, any takers ?.
Posted: Thu Aug 09, 2007 10:10 am
by sesam_pt
Hello. I gladly volunteer.
What it the size of the complete install? I'm currently installing zoneminder using Ubuntu Feisty(normaly i use fc5/6,but they are to big) with minimum packages but with xserver for xlib_shm output to TV and it is between 900-1100Mb. I see that your are using apache, have you think in using Zms-inetd instead?
Posted: Thu Aug 09, 2007 7:54 pm
by hushpuppy
What it the size of the complete install?
The whole operating system should be around 300 to 500 MB, maybe a lot smaller, i wont know for sure until i burn the CD.
I'm currently installing zoneminder using Ubuntu Feisty(normaly i use fc5/6,but they are to big) with minimum packages but with xserver for xlib_shm output to TV and it is between 900-1100Mb.
I can guarantee that this will be much smaller than 900 MB, and you wont need to install if you dont want to, everything will run from CD.
Speed will be amazing as well, for example using debian an openoffice program takes maybe 15 to 20 seconds to open, on Puppy it's about TWO seconds, thats on the same machine. An Xterm opens instananeously.
I see that your are using apache, have you think in using Zms-inetd instead?
I've not considered using anything else other than the standard programs , i can look at this once i've everything up and runnning.
I can give you a bit of an update :- I've managed to get everything compiled and installed, and the binaries run, but infortunatley somethigs not quite right, as no page displays when i try to open zm.php, no doubt ill be posting a question about this shortly.
I'm quite confident this will work, and can burn a CD for anyone to look at in it's current configuration should anyone wish. Just ask.
[/quote]
Posted: Fri Aug 10, 2007 1:18 am
by rdmelin
I'm quite confident this will work, and can burn a CD for anyone to look at in it's current configuration should anyone wish. Just ask.
Yes, please
Posted: Fri Aug 10, 2007 9:38 am
by sesam_pt
With that size it can easily installed and run from compact flash in an ide adapter, i prefer it over livecd configurations, because the cd can be easily removed from the drive and changes have to be written on hdd or the cd altered. Using cf we can change the hdd used only for data storage with no problems.
So when you have the time please post the cd or torrent.Thank you
Posted: Fri Aug 10, 2007 1:03 pm
by hushpuppy
With that size it can easily installed and run from compact flash in an ide adapter, i prefer it over livecd configurations, because the cd can be easily removed from the drive and changes have to be written on hdd or the cd altered. Using cf we can change the hdd used only for data storage with no problems.
Puppy runs from virtually any medium, it can even run from DVD and write any system changes back to DVD. It can also create whats called a pup_save file on hdd, and this can be upto about 1GB, this file can be encrypted. Of course everything can be run from HDD if required (install is basically just a couple of clicks), or even from a flash drive.
So when you have the time please post the cd or torrent.Thank you
I will be posting on my website asap, at the moment it is down due to server failure, this is totally out of my hands, but the hosting co is working flat out to repair (they've a raid system but had three drives fail all at once). If theres anywhere else to upload to, ill gladly do that.
A further update :_ it's taken a lot of patience, but ive finally got Zoneminder up and running on a Puppy Linux system, but i've had to do a little bit of hacking, some of which will need investigation or improvement.
I've no cameras working as im busy trying to install a webcam, but when i do ill update further.
Posted: Sat Aug 11, 2007 5:57 am
by hushpuppy
I seem to be having a problem with some of my posts not displaying, i DID reply to everyone in the thread, i just cant see my answers. Apologies to everyone.
As an update, i have zm installed, web pages displaying, but have some errors, at the mo i dont have any images displaying, i think it's related to basic commands missing.
Ill not be able to work on this until Monday (now 7am Saturday), dur to work committments.
Posted: Mon Aug 13, 2007 9:13 pm
by hushpuppy
A further update.
I now have a working zoneminder on puppy linux - and am working on creating a bootable CD.
I know there will be some issues, and i still need to write some startup scripts, but i hope this will be ready for testing in the next couple of days.
Normally i would make the iso available from my own website, but my hosting company have had a critical hardware failure, and i dont know when my site will be available, can anyone suggest where i can make the iso available for download ?.
Posted: Tue Aug 14, 2007 9:47 pm
by gola10
I always keep a CD with puppy linux to repair filesystem, partitions disk, and those things.
I did not knew it could be used to install zoneminder.
How large is going to be the iso with zoneminder?
Is it going to be run from CD and record to HD or just install on HD.
Posted: Wed Aug 15, 2007 6:19 pm
by jameswilson
looks good, id like to try it when you think its ready mate
Posted: Thu Aug 16, 2007 7:29 am
by hushpuppy
To answer both gola10 and jameswilson.
The iso is going to be below 270 MB, i have a working one at the moment, but cant release it as during remaster all my personal settings have been copied over, wouldnt do for the whole world to see my emails
.
You will be able to choose (eventually) where to store images, at the moment theyre all stored in your pup_save file, if you dont know puppy, the pup_save file is a (squash file system) place on either hdd, flash or multisession DVD where your settings can be stored.
the pup_save file is about max of 1GB, but it should be trivial to mount a partition and store elsewhere.
You can also choose NOT to use a pup_save file, in fact this is the default with your first boot, in this instance everything is stored in memory.
I hope a lot of folks try it out.
The 270 MB CD i took from my main machine, put it in a laptop, and with the same camera (usb webcam) had zoneminder working in about two minutes. Incorporating all the camera modules will be the problem, this is where i rely on feedback and others.
Posted: Thu Aug 16, 2007 3:00 pm
by eracc
hushpuppy wrote:...
Normally i would make the iso available from my own website, but my hosting company have had a critical hardware failure, and i dont know when my site will be available, can anyone suggest where i can make the iso available for download ?.
I can give you file space and access to FTP uploads on my web site. Send me a PM here to work out the details.
Gene
Posted: Sat Aug 18, 2007 8:37 pm
by hushpuppy
I can give you file space and access to FTP uploads on my web site. Send me a PM here to work out the details.
I've got my site back up and running now, but thanks for the offer, much appreciated.
I have some problems with the iso (still), and cannot release it for testing until i manage to remove some settings being carried over.
I hope to do this by Monday or Tuesday.
I can though confirm the the iso is going to be somewhere in the region of 250MB.
I'm pretty sure that i could even create a bare bones system of less than 100MB, but this would take some serious work, weeks not days.
More to follow as soon as i can.
Posted: Sun Aug 19, 2007 11:30 am
by ynn
Waow. cool, I would like to know too how stable is ZM on puppylinux.
great job.