Ubuntu Dapper install guide

Support and queries relating to all previous versions of ZoneMinder
mric
Posts: 5
Joined: Sun Oct 22, 2006 10:51 am

Post 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 ?
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post 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
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
mric
Posts: 5
Joined: Sun Oct 22, 2006 10:51 am

Post by mric »

stds lib ?

What i must do to do it ?

(sorry new Linux user ...)
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post 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
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
mric
Posts: 5
Joined: Sun Oct 22, 2006 10:51 am

Post by mric »

So .. I'll test on Intel mac next time ... :(

But i'ts difficult for the moment :roll:
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

lol no mate what im saying is that ubutnu isnt simple on intel, why not try a different distro
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
mric
Posts: 5
Joined: Sun Oct 22, 2006 10:51 am

Post 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:
cbarr
Posts: 9
Joined: Sun Oct 15, 2006 10:44 pm
Location: Panama City, FL

Post 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?
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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.
Phil
danielareas
Posts: 33
Joined: Thu Oct 26, 2006 6:00 pm

./configure

Post 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!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
cbarr
Posts: 9
Joined: Sun Oct 15, 2006 10:44 pm
Location: Panama City, FL

Post 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.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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
barkeep8
Posts: 15
Joined: Fri Mar 31, 2006 2:55 am

Thanks R2D2! Awesome tutorial!

Post 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!
User avatar
perspectoff
Posts: 5
Joined: Tue Apr 10, 2007 4:41 pm

Dapper install problems

Post 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]
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Which above errors?
What errors do you have?
Locked