ZM 1.21.4 & 64 bit CPU

Support and queries relating to all previous versions of ZoneMinder
Locked
bujia
Posts: 46
Joined: Sat Jul 23, 2005 4:29 pm

ZM 1.21.4 & 64 bit CPU

Post by bujia »

Hi!
Is ZM 1.21.4 compatible with CPU AMD 64 bit?
Thanks in advance!
Alessandro
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

NO, it is not.
I am working a 64bit distro now and It will be out soon as it done so hopefully by the end of the week.

Regards,
Cordel
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

i have one working but in 32 bit mode
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
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

I have 64 bit already compiled and up on the ftp if anyone wants it.
http://www.computerntelecom.com/pub/lin ... MS/x86_64/

Regards,
Cordel
bujia
Posts: 46
Joined: Sat Jul 23, 2005 4:29 pm

CPU 64 bit

Post by bujia »

Thanks!
But can I have ZM source file also for CPU 64 bit? I have Slackware 10.2 distribution.
My question is: with current ZM version, (32 bit) can i run it in a CPU 64bit ? Obviously it runs at 32 bit....but it work correctly or crash it?? This is my question....
Thanks in advance!
Alessandro
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

works fine at the moment ben up for about a week

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

Post by cordel »

I used the same source file that is here on the site.
You have to change the path for the libraries /lib to /lib64 in the configure script to get it to build.
Regards,
Cordel
SyRenity
Posts: 301
Joined: Mon Jan 24, 2005 2:43 pm

Post by SyRenity »

Hi.

Runs fine on 64-bit CPU, fedora core 4 64-bit. Check this thread to see the information how to build the ZM on 64-bit:

http://www.zoneminder.com/forums/viewto ... sc&start=0
cursor
Posts: 5
Joined: Mon Jan 02, 2006 7:35 pm
Location: Mexico City, Mexico

Fedora 4 64 bit

Post by cursor »

SyRenity wrote:Hi.

Runs fine on 64-bit CPU, fedora core 4 64-bit. Check this thread to see the information how to build the ZM on 64-bit:

http://www.zoneminder.com/forums/viewto ... sc&start=0
I followed the intstructions from that link and I still get the same error that it cannot find the libmysqlclient.a file. Is that all you did?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Yeah, The patch works for 1.21.4 and earlier. I haven't yet had a go at 1.22.0 but it works for the others.

Corey
SyRenity
Posts: 301
Joined: Mon Jan 24, 2005 2:43 pm

Post by SyRenity »

Hi.

I used the following instructions, and it worked fine for me:

"Version 1.21.3 on Fedora 4 x86_64 kernel, configure kept failing at mysql_init line complaining about no libmysqlclient.a, even with --with-libarch=lib64
I got ./configure working by editing configure and changing /lib/mysql to /lib64/mysql as below:-

MYSQL_LIBS="-L${MYSQL_PREFIX}/lib64/mysql"

and then running

./configure --with-mysql=/usr --with-webdir=/var/www/zm --with-cgidir=/var/www/cgi-bin

or
./configure --with-mysql=/usr --with-webdir=/var/www/zm --with-cgidir=/var/www/cgi-bin --with-ffmpeg=/usr --with-lame=/usr/lib64"
Locked