Page 3 of 4

Posted: Mon Oct 23, 2006 8:37 pm
by mric
mric wrote:Hi everybody,

i've a problem with zoneminder installation on Ubuntu PPC (Mac) version

The dev : libjpeg-mmx-dev ,doesn't exist for ppc (french ubuntu forum said it to me) , do you have an other issue ? :(
Hmm ? No ideas ?

Posted: Mon Oct 23, 2006 9:08 pm
by jameswilson
dont use the mmx jpeg lib. We have had loads of grief getting it wotking on intel arch with linux so ppc will be (proably) more fun

Cant you use the std libs

Posted: Mon Oct 23, 2006 9:15 pm
by mric
stds lib ?

What i must do to do it ?

(sorry new Linux user ...)

Posted: Mon Oct 23, 2006 9:56 pm
by jameswilson
well i have never use a ppc so cant help nor have i ised debian or ububtu. But on the intel arch we normally use a stnadard non mmx jpeg lib. I think you need more of a linux expert than me. What about fedora or mandrake for ppc have you tried them

Posted: Mon Oct 23, 2006 10:01 pm
by mric
So .. I'll test on Intel mac next time ... :(

But i'ts difficult for the moment :roll:

Posted: Mon Oct 23, 2006 10:18 pm
by jameswilson
lol no mate what im saying is that ubutnu isnt simple on intel, why not try a different distro

Posted: Mon Oct 23, 2006 10:28 pm
by mric
jameswilson wrote:lol no mate what im saying is that ubutnu isnt simple on intel, why not try a different distro
Yes, i think i will try Mandriva, but if i've same problem with Zone Minder installation ... :roll:

Posted: Mon Oct 23, 2006 10:51 pm
by cbarr
cbarr wrote:lol ok ok - I know, it should create it but it doesn't. I also have to use sudo to get the mysql command to work.

Code: Select all

chris@home-security:~$ sudo mysql
Password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 9 to server version: 5.0.22-Debian_0ubuntu6.06.2-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> mysql < db/zm_create.sql
    -> mysql mysql
mysql> GRANT ALL PRIVILEGES ON zm.* TO 'zmuser'@localhost identified by 'zmpass';
Query OK, 0 rows affected (0.12 sec)
mysql> quit
Bye
I hate to sound pushy, but I'd really like to get this issue resolved. any ideas why my database remains empty?

Posted: Tue Oct 24, 2006 10:26 am
by zoneminder
You need to create the db by typing

Code: Select all

mysql < db/zm_create.sql
at a shell prompt not a mysql prompt. You can execute the create script from inside mysql but I can't remember the syntax off hand. If you are typing that command inside mysql it might well be ignoring it.

./configure

Posted: Thu Nov 02, 2006 12:39 am
by danielareas
when i run ./configure it doesn't find the mysql:

checking for struct sigcontext.eip... yes
checking for ucontext_t... yes
checking how to run the C++ preprocessor... g++ -E
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
daniel@daniel:~/ZoneMinder-1.22.2$

Does any body know why?

Is there an easier way to install zoneminder on Ubuntu?
Is there a ready made package for this?

I want to see ZM running!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Posted: Thu Nov 02, 2006 12:44 am
by cbarr
zoneminder wrote:You need to create the db by typing

Code: Select all

mysql < db/zm_create.sql
at a shell prompt not a mysql prompt. You can execute the create script from inside mysql but I can't remember the syntax off hand. If you are typing that command inside mysql it might well be ignoring it.
Thanks, that solved the problem and now I've finally got it installed and running!

My next question is about capture cards. what is recommended for Ubuntu? I will probably never have more than 2-3 cameras and won't be needing any audio (if that's even possible anyway - no matter).

I just need to know whats the best/easiest/cheapest card to purchase. My home is already wired for cameras, so I'll just be plugging them in as a direct video feed.

Posted: Thu Nov 02, 2006 5:55 am
by cordel
The cards from Blue cherry seem to work from what I have read on the forum. If you want cheap then most any card on eBay with a 878 chip should work.

I personally have never tested any cards from blue cherry so I can't say how they work or what might be involved in setting them up.
Personally I use Kodicom 4400r cards and Hauppauge cards.

@danielareas@
Hmmm

Code: Select all

[cordel@builder64 ~]$ rpm -q --whatprovides /usr/include/mysql/mysql.h
mysql-devel-5.0.22-1.FC5.1
Is the development package for mysql installed?

Regards,
Corey

Thanks R2D2! Awesome tutorial!

Posted: Wed Mar 14, 2007 3:50 am
by barkeep8
[quote="R2D2"]This was my installation way. --> works fine :wink:

Thanks R2D2! This worked perfect for me with IP Cams! Haven't tried Ubuntu with CCTV and BT78 yet...

Awesome tutorial!

Dapper install problems

Posted: Tue Apr 10, 2007 6:11 pm
by perspectoff
All the packages are installed. It doesn't solve the above errors.

[quote="cordel"]You need to make sure you have the following packages installed along with their development packages:
dc1394
ogg Vorbis/theora
dts
libgsm

Regards,
Corey[/quote]

Posted: Tue Apr 10, 2007 6:22 pm
by cordel
Which above errors?
What errors do you have?