Page 1 of 2
Zoneminder on Mac OS X Server - Now Working!
Posted: Mon May 30, 2011 4:12 am
by MILxDOT
Here is another one of my documented attempts at getting Zoneminder to run natively on Mac OS X. This build was performed on a couple newer versions of Mac OS X with the same results.
I am stuck trying to get the zmc capture daemon to run without giving the error Bad system call:12
Give me a shout if you have any suggestions - I have dedicated this 2009 Mac Mini Server to Zoneminder development.
I will also post a request for help in the Apple Developer Discussion Forums
Code: Select all
My attempt at Zoneminder on Mac OS X Server
Note: For IP based cameras only - not USB or other capture cards
1. Install Mac OS X with optional server components.
2. Go to http://developer.apple.com/ register as a developer and login to the developer site.
3. INSTALL APPLE XCODE
Download and install xcode (version that pertains to your OS version)
4. INSTALL MYSQL
Download and install mysql-5.5.12-osx10.6-x86_64.dmg from mysql.com
Once downloaded double click and install:
a. mysql-5.5.12-osx10.6-x86_64.pkg
b. MySQLStartupItem.pkg
c. MySQL.prefPane - install for all users - then start mysql after install
d. open utilities, terminal then type: sudo vi /etc/profile and add the following to the bottom of the file:
export PATH=/usr/local/mysql/bin:$PATH (you will need to esc: wq! to save)
e. cd /usr/local/mysql
f. cp -R include/ /usr/include/mysql/
g. restart your mac
5. ESCALATED PRIVILEGES
For this how to we will be permanently logging in with escalated privileges. This isn't really the preferred method due to security concerns but it will keep the documentation a little less cluttered. Normally you would type sudo before every command that needs escalated privileges. Open terminal and type the following command. You are now logged in with escalated privileges:
sudo -i
6. BUILD DIRECTORY
mkdir /var/root/builds
7. CHANGE TO THE BUILD DIRECTORY
cd /var/root/builds
8. COMPILE & INSTALL wget
curl -O http://ftp.gnu.org/gnu/wget/wget-1.12.tar.gz
tar -xzvf wget-1.12.tar.gz
cd wget-1.12
./configure
make
make install
9. CHANGE TO THE BUILD DIRECTORY
cd /var/root/builds
10. CONFIGURE APACHE WEBSERVER AND PHP
a. mkdir /Library/WebServer/Documents/zm
b. Open up the Mac OS X Server Manager
c. Click on Web in left
d. Check the Enable PHP web applications box
e. Click on the litte plus symbol to add a new website
f. Type in your Domain Name then under Store Site Files In click on the drop down and choose other then browse to /Library/WebServer/Documents and select zm
g. vi /private/etc/php.ini
change pdo_mysql.default_socket=/var/mysql/mysql.sock
to
pdo_mysql.default_socket=/tmp/mysql.sock
change mysql.default_socket = /var/mysql/mysql.sock
to
mysql.default_socket = /tmp/mysql.sock
change mysqli.default_socket = /var/mysql/mysql.sock
to
mysqli.default_socket = /tmp/mysql.sock
change short_open_tag = Off
to
short_open_tag = On
save and exit (esc ZZ in vi)
(below isn't right way to modify mac apacheā¦but quick and dirty for the time being)
vi /etc/apache2/sites/0000_any_80_your.domainname.com.conf
change <VirtualHost *:80>
to
<VirtualHost ip.of.your.mac.server:80>
save and exit (esc ZZ in vi)
h. Turn on the web server in the Server Manager
11. INSTALL REQUIRED PERL MODULES
perl -MCPAN -e 'shell' (just answer yes to any questions it will ask you several times)
install YAML
install DBI
install Date::Manip
install PHP::Serialization
install Sys::Mmap
exit
wget http://search.cpan.org/CPAN/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.019.tar.gz
tar -xzvf DBD-mysql-4.019.tar.gz
cd DBD-mysql-4.019
perl Makefile.PL
make
make install
cd /usr/lib
ln -s /usr/local/mysql/lib/*.dylib .
12. CHANGE TO THE BUILD DIRECTORY
cd /var/root/builds
13. COMPILE & INSTALL LAME:
GRAB A SNAPSHOT OF LAME SOURCE:
cvs -z3 -d:pserver:anonymous@lame.cvs.sourceforge.net:/cvsroot/lame co -P lame
cd lame
./configure
make
make install
14. CHANGE BACK TO YOUR BUILD DIRECTORY:
cd /var/root/builds
15. COMPILE & INSTALL FAAD2
wget http://downloads.sourceforge.net/faac/faad2-2.7.tar.gz
tar -xzvf faad2-2.7.tar.gz
cd faad2-2.7
./configure
make
make install
16. CHANGE BACK TO YOUR BUILD DIRECTORY:
cd /var/root/builds
17. COMPILE & INSTALL FAAC
wget http://downloads.sourceforge.net/faac/faac-1.28.tar.gz
tar -xzvf faac-1.28.tar.gz
cd faac-1.28/
./configure
make
make install
18. CHANGE BACK TO YOUR BUILD DIRECTORY:
cd /var/root/builds
19. INSTALL git
Use your browser to visit http://git-osx-installer.googlecode.com
Download git-1.7.5.3-x86_64-leopard.dmg
Once downloaded double click on git-1.7.5.3-x86_64-leopard.dmg
Install by double clicking on git-1.7.5.3-x86_64-leopard.dmg
20. CHANGE BACK TO YOUR BUILD DIRECTORY:
cd /var/root/builds
21. COMPILE & INSTALL yasm
wget http://www.tortall.net/projects/yasm/releases/yasm-1.1.0.tar.gz
tar -xzvf yasm-1.1.0.tar.gz
cd yasm-1.1.0
./configure
make
make install
22. CHANGE BACK TO YOUR BUILD DIRECTORY:
cd /var/root/builds
23. GRAB LIBJPEG SOURCE AND INSTALL
wget http://www.ijg.org/files/jpegsrc.v8b.tar.gz
tar -xzvf jpegsrc.v8b.tar.gz
cd jpeg-8b
./configure
make
make install
24. CHANGE BACK TO YOUR BUILD DIRECTORY:
cd /var/root/builds
25. COMPILE & INSTALL x264
/usr/local/git/bin/git clone git://git.videolan.org/x264.git
cd x264
CPPFLAGS="-D__STDC_CONSTANT_MACROS" ./configure --enable-shared
make
make install
26. CHANGE BACK TO YOUR BUILD DIRECTORY:
cd /var/root/builds
27. GRAB A SNAPSHOT OF FFMPEG SOURCE:
chmod 755 /usr/bin/pod2man ( or ffmpeg make will fail)
svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
cd ffmpeg
CPPFLAGS="-D__STDC_CONSTANT_MACROS" ./configure --enable-gpl --enable-libx264 --enable-shared --enable-pthreads
make
make install
28. CHANGE BACK TO YOUR BUILD DIRECTORY:
cd /var/root/builds
29. WORKAROUND FOR V4L COMPATIBILITY
mkdir /usr/include/linux
wget http://src.gnu-darwin.org/ports/multimedia/v4l_compat/files/videodev.h
cp videodev.h /usr/include/linux
30. CHANGE BACK TO YOUR BUILD DIRECTORY:
cd /var/root/builds
31. SETUP PCRE
wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.12.tar.gz
tar -xzvf pcre-8.12.tar.gz
cd pcre-8.12
./configure
make
make install
32. CHANGE BACK TO YOUR BUILD DIRECTORY:
cd /var/root/builds
33. DOWNLOAD AND UNPACK FREEBSD 8.0 SUPPLIED PATCH FILES
wget http://white-raven.pisem.net/zoneminder-1.24.2_2-freebsd-8.0.tar.gz
tar -xzvf zoneminder-1.24.2_2-freebsd-8.0.tar.gz
mv zoneminder bsd-zm-patches
34. CHANGE BACK TO YOUR BUILD DIRECTORY:
cd /var/root/builds
35. DOWNLOAD, PATCH, AND BUILD ZONEMINDER
wget http://www.zoneminder.com/downloads/ZoneMinder-1.24.3.tar.gz
tar -xzvf ZoneMinder-1.24.3.tar.gz
cd ZoneMinder-1.24.3
CFLAGS='-arch x86_64' CCFLAGS='-arch x86_64' CXXFLAGS='-arch x86_64' CPPFLAGS="-arch x86_64 -D__STDC_CONSTANT_MACROS" ./configure --with-webdir=/Library/WebServer/Documents/zm --with-cgidir=/Library/WebServer/CGI-Executables ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zmuser ZM_DB_PASS=zmpass --enable-debug=yes --with-webgroup=_www --with-webuser=_www --with-mysql=/usr ZM_SSL_LIB=openssl --disable-crashtrace --disable-mmap
vi src/zm_signal.h (change ucontext.h to sys/ucontext.h)
vi src/zm_signal.cpp (change ucontext.h to sys/ucontext.h)
vi src/zmc.cpp (change values.h to limits.h then add the following line after you see include zm_monitor.h)
#define MAXINT INT_MAX
patch -p0 < ../bsd-zm-patches/files/patch-zmcomms.cpp
patch -p0 < ../bsd-zm-patches/files/patch-zmcomms.h
vi src/zm_thread.cpp
(comment out the following if tests):
void Mutex::lock( int secs )
{
struct timespec timeout = getTimeout( secs );
// if ( pthread_mutex_timedlock( &mMutex, &timeout ) < 0 )
// throw ThreadException( stringtf( "Unable to timedlock pthread mutex: %s", strerror(errno) ) );
}
void Mutex::lock( double secs )
{
struct timespec timeout = getTimeout( secs );
// if ( pthread_mutex_timedlock( &mMutex, &timeout ) < 0 )
// throw ThreadException( stringtf( "Unable to timedlock pthread mutex: %s", strerror(errno) ) );
}
save and exit
make
make install
mysql
create database zm;
grant all on zm.* to 'zmuser'@localhost identified by 'zmpass';
exit
mysql zm < db/zm_create.sql
Now you should be able to access ZoneMinder via http://your.domainnameofserver.com
The Zoneminder web interface will work and talk to the database properly etc, but the zmc capture daemon gives the error Bad system call: 12 when ran
I think if we can get zmc working we will have a working Zoneminder build for Mac OS X
Phil the main developer of ZM had me do this:
export ZM_DBG_PRINT=1
export ZM_DBG_LEVEL=5
export ZM_DBG_LOG=zm.log
and then run zmc as follows
/usr/local/bin/zmc -m 1
zm.log doesn't show anything though
Re: Zoneminder on Mac OS X Server - almost there
Posted: Mon May 30, 2011 6:18 am
by MILxDOT
I get the same results using either Snow Leopard Server 10.6.7 with Xcode 4.0.2 or even the new Mac OS X Lion Developer Preview 3 with the new Xcode 4.1 Preview 5.
Re: Zoneminder on Mac OS X Server - almost there
Posted: Mon May 30, 2011 6:27 am
by MILxDOT
Phil suggested running gdb against zmc. Here is the output:
macserver:bin root# gdb zmc
GNU gdb 6.3.50-20050815 (Apple version gdb-1655) (Sun May 1 07:04:07 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ..............
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/CMakeFiles/libmysql.dir/libmysql_exports_file.cc.o" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/libmysql_exports_file.cc".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/libclientlib.a(libmysql.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/libmysql/libmysql.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/libclientlib.a(client.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/sql-common/client.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(default.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/default.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(my_thr_init.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/my_thr_init.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/libclientlib.a(net_serv.cc.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/sql/net_serv.cc".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(list.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/list.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(my_alloc.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/my_alloc.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(my_malloc.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/my_malloc.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/libclientlib.a(pack.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/sql-common/pack.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(my_lib.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/my_lib.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(my_init.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/my_init.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(int2str.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/int2str.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(mf_dirname.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/mf_dirname.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(my_error.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/my_error.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/libclientlib.a(errmsg.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/libmysql/errmsg.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(my_strtoll10.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/my_strtoll10.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/libclientlib.a(my_time.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/sql-common/my_time.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/libclientlib.a(password.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/sql/password.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(strcend.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/strcend.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../extra/yassl/libyassl.a(ssl.cpp.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/extra/yassl/src/ssl.cpp".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(charset.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/charset.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(array.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/array.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(typelib.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/typelib.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(my_fopen.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/my_fopen.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/libclientlib.a(client_plugin.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/sql-common/client_plugin.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(strnmov.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/strnmov.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(my_vsnprintf.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/my_vsnprintf.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../vio/libvio.a(viossl.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/vio/viossl.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../vio/libvio.a(vio.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/vio/vio.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(my_open.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/my_open.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(is_prefix.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/is_prefix.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(strend.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/strend.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(my_read.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/my_read.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(bmove_upp.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/bmove_upp.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(mulalloc.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/mulalloc.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(dtoa.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/dtoa.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(my_getwd.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/my_getwd.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../vio/libvio.a(viosslfactories.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/vio/viosslfactories.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(strmake.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/strmake.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(my_symlink.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/my_symlink.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(my_static.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/my_static.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(mf_format.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/mf_format.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(mf_fn_ext.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/mf_fn_ext.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(mf_arr_appstr.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/mf_arr_appstr.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(errors.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/errors.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(strxmov.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/strxmov.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(ctype-latin1.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/ctype-latin1.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(mf_pack.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/mf_pack.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../extra/yassl/libyassl.a(yassl_int.cpp.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/extra/yassl/src/yassl_int.cpp".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../extra/yassl/libyassl.a(crypto_wrapper.cpp.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/extra/yassl/src/crypto_wrapper.cpp".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(ctype-simple.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/ctype-simple.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(ctype-bin.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/ctype-bin.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(mf_qsort.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/mf_qsort.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../extra/yassl/libyassl.a(cert_wrapper.cpp.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/extra/yassl/src/cert_wrapper.cpp".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../extra/yassl/libyassl.a(handshake.cpp.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/extra/yassl/src/handshake.cpp".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(strxnmov.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/strxnmov.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../extra/yassl/libyassl.a(socket_wrapper.cpp.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/extra/yassl/src/socket_wrapper.cpp".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(bchange.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/bchange.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(mf_loadpath.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/mf_loadpath.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../vio/libvio.a(viosocket.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/vio/viosocket.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(my_once.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/my_once.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(ctype-utf8.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/ctype-utf8.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../extra/yassl/taocrypt/libtaocrypt.a(md4.cpp.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/extra/yassl/taocrypt/src/md4.cpp".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../extra/yassl/taocrypt/libtaocrypt.a(md5.cpp.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/extra/yassl/taocrypt/src/md5.cpp".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(ctype-uca.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/ctype-uca.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(my_compress.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/my_compress.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../extra/yassl/libyassl.a(yassl_imp.cpp.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/extra/yassl/src/yassl_imp.cpp".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(charset-def.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/charset-def.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(ctype.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/ctype.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(strmov.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/strmov.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(sha1.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/sha1.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(my_fstream.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/my_fstream.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../extra/yassl/taocrypt/libtaocrypt.a(misc.cpp.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/extra/yassl/taocrypt/src/misc.cpp".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../extra/yassl/libyassl.a(log.cpp.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/extra/yassl/src/log.cpp".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(my_div.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/my_div.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../extra/yassl/taocrypt/libtaocrypt.a(coding.cpp.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/extra/yassl/taocrypt/src/coding.cpp".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(my_pthread.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/my_pthread.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../extra/yassl/taocrypt/libtaocrypt.a(hash.cpp.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/extra/yassl/taocrypt/src/hash.cpp".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(strnlen.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/strnlen.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(str2int.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/str2int.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(my_sync.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/my_sync.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../extra/yassl/libyassl.a(yassl_error.cpp.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/extra/yassl/src/yassl_error.cpp".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../mysys/libmysys.a(my_mess.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/mysys/my_mess.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(ctype-big5.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/ctype-big5.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../extra/yassl/libyassl.a(buffer.cpp.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/extra/yassl/src/buffer.cpp".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../extra/yassl/taocrypt/libtaocrypt.a(file.cpp.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/extra/yassl/taocrypt/src/file.cpp".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(ctype-sjis.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/ctype-sjis.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(xml.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/xml.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../extra/yassl/taocrypt/libtaocrypt.a(integer.cpp.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/extra/yassl/taocrypt/src/integer.cpp".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../extra/yassl/taocrypt/libtaocrypt.a(dsa.cpp.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/extra/yassl/taocrypt/src/dsa.cpp".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../extra/yassl/taocrypt/libtaocrypt.a(sha.cpp.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/extra/yassl/taocrypt/src/sha.cpp".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../extra/yassl/taocrypt/libtaocrypt.a(random.cpp.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/extra/yassl/taocrypt/src/random.cpp".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../extra/yassl/taocrypt/libtaocrypt.a(asn.cpp.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/extra/yassl/taocrypt/src/asn.cpp".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(ctype-mb.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/ctype-mb.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(ctype-ucs2.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/ctype-ucs2.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../extra/yassl/taocrypt/libtaocrypt.a(ripemd.cpp.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/extra/yassl/taocrypt/src/ripemd.cpp".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(ctype-cp932.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/ctype-cp932.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../extra/yassl/taocrypt/libtaocrypt.a(aes.cpp.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/extra/yassl/taocrypt/src/aes.cpp".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(ctype-euc_kr.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/ctype-euc_kr.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../extra/yassl/libyassl.a(timer.cpp.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/extra/yassl/src/timer.cpp".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(ctype-ujis.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/ctype-ujis.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../extra/yassl/taocrypt/libtaocrypt.a(rsa.cpp.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/extra/yassl/taocrypt/src/rsa.cpp".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../extra/yassl/taocrypt/libtaocrypt.a(des.cpp.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/extra/yassl/taocrypt/src/des.cpp".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../extra/yassl/taocrypt/libtaocrypt.a(dh.cpp.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/extra/yassl/taocrypt/src/dh.cpp".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../extra/yassl/taocrypt/libtaocrypt.a(arc4.cpp.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/extra/yassl/taocrypt/src/arc4.cpp".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../extra/yassl/libyassl.a(lock.cpp.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/extra/yassl/src/lock.cpp".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(ctype-gbk.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/ctype-gbk.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(ctype-gb2312.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/ctype-gb2312.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../zlib/libzlib.a(uncompr.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/zlib/uncompr.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(ctype-eucjpms.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/ctype-eucjpms.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(ctype-tis620.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/ctype-tis620.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../zlib/libzlib.a(compress.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/zlib/compress.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(ctype-win1250ch.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/ctype-win1250ch.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(ctype-czech.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/ctype-czech.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(ctype-extra.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/ctype-extra.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../zlib/libzlib.a(deflate.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/zlib/deflate.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../extra/yassl/taocrypt/libtaocrypt.a(md2.cpp.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/extra/yassl/taocrypt/src/md2.cpp".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../extra/yassl/taocrypt/libtaocrypt.a(algebra.cpp.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/extra/yassl/taocrypt/src/algebra.cpp".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../extra/yassl/taocrypt/libtaocrypt.a(aestables.cpp.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/extra/yassl/taocrypt/src/aestables.cpp".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../zlib/libzlib.a(inflate.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/zlib/inflate.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../strings/libstrings.a(str_alloc.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/strings/str_alloc.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../zlib/libzlib.a(crc32.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/zlib/crc32.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../zlib/libzlib.a(trees.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/zlib/trees.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../zlib/libzlib.a(adler32.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/zlib/adler32.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../zlib/libzlib.a(zutil.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/zlib/zutil.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../zlib/libzlib.a(inffast.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/zlib/inffast.c".
warning: Could not find object file "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/release/libmysql/../zlib/libzlib.a(inftrees.c.o)" - no debug information available for "/Volumes/hd2/pb2/build/sb_0-3198286-1302522144.5/mysql-5.5.12/zlib/inftrees.c".
.. done
(gdb)
Re: Zoneminder on Mac OS X Server - almost there
Posted: Mon May 30, 2011 10:21 am
by zoneminder
Unless I've misunderstood what you are trying to do, that is just loading the binary into zmc. You then need to run it, by typing
in gdb. That should tell us something.
Re: Zoneminder on Mac OS X Server - almost there
Posted: Mon May 30, 2011 11:50 am
by mastertheknife
Exactly. and after it crashes, type "bt" and "info registers" and paste their output to here.
mastertheknife
Re: Zoneminder on Mac OS X Server - almost there
Posted: Mon May 30, 2011 3:55 pm
by MILxDOT
Thanks guys ..here is what I get:
Code: Select all
(gdb) run -m 1
Starting program: /usr/local/bin/zmc -m 1
Reading symbols for shared libraries +++++++++++++++.......................... done
Program received signal SIGSYS, Bad system call.
0x00007fff8dab909a in syscall ()
(gdb) bt
#0 0x00007fff8dab909a in syscall ()
#1 0x0000000100012fc4 in zmDbgOutput ()
#2 0x0000000100012522 in zmDebugInitialise ()
#3 0x00000001000126b9 in zmDbgInit ()
#4 0x00000001000019b6 in main ()
(gdb) info registers
rax 0x4e 78
rbx 0x1000a5da1 4295646625
rcx 0x7fff5fbfd558 140734799795544
rdx 0x0 0
rsi 0x7fff5fbfd0a8 140734799794344
rdi 0xe0 224
rbp 0x7fff5fbff8c0 0x7fff5fbff8c0
rsp 0x7fff5fbfd558 0x7fff5fbfd558
r8 0x58007fff00000001 6341209008531046401
r9 0xa 10
r10 0x7fff5fbff800 140734799804416
r11 0xffffff80002d7090 -549752835952
r12 0x0 0
r13 0x0 0
r14 0x0 0
r15 0x17129b349e1867c5 1662561862746138565
rip 0x7fff8dab909a 0x7fff8dab909a <syscall+10>
eflags 0x203 515
cs 0x7 7
ss 0x0 0
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
(gdb)
Re: Zoneminder on Mac OS X Server - almost there
Posted: Mon May 30, 2011 5:23 pm
by zoneminder
Ok, I have actually changed that section a bit over the weekend but it's not ready for release yet. Try changing the line with syscall in to use getpid instead to change
to
on or around line 399 I think.
Re: Zoneminder on Mac OS X Server - almost there
Posted: Mon May 30, 2011 5:41 pm
by MILxDOT
I updated zm_debug.c to reflect getpid vs syscall. Here is what I get now:
Code: Select all
(gdb) run -m 1
Starting program: /usr/local/bin/zmc -m 1
Reading symbols for shared libraries +++++++++++++++.......................... done
Program exited with code 0377.
(gdb) bt
No stack.
(gdb) info registers
The program has no registers now.
(gdb)
Re: Zoneminder on Mac OS X Server - almost there
Posted: Mon May 30, 2011 6:07 pm
by zoneminder
Ok, that just means it is exiting on an error so is not so fundamental. You should get more sense about what's happening by running it now in debug mode as described earlier.
Re: Zoneminder on Mac OS X Server - almost there
Posted: Mon May 30, 2011 6:31 pm
by MILxDOT
Ah I see...this is what I should have done?
Code: Select all
macserver:bin root# export ZM_DBG_PRINT=1
macserver:bin root# export ZM_DBG_LEVEL=5
macserver:bin root# export ZM_DBG_LOG=zm.log
macserver:bin root# /usr/local/bin/zmc -m 1
05/30/11 13:28:16.989742 zmc_m1[140733193456445].INF-zm_debug.c/228 [Debug Level = 5, Debug Log = zm.log]
05/30/11 13:28:17.006506 zmc_m1[68413].DB1-zm_monitor.cpp/2306 [Got 1 monitors]
05/30/11 13:28:17.006681 zmc_m1[68413].DB2-zm_remote_camera_http.cpp/70 [Request: GET /video.cgi? HTTP/1.1
User-Agent: ZoneMinder/1.24.3
Host: 192.168.118.247
Authorization: Basic YWRtaW46RENTLTkyMA==
]
05/30/11 13:28:17.008189 zmc_m1[140733193456445].DB1-zm_monitor.cpp/340 [monitor purpose=1]
05/30/11 13:28:17.008218 zmc_m1[140733193456445].DB1-zm_monitor.cpp/347 [mem.size=18433204]
05/30/11 13:28:17.008243 zmc_m1[140733193456445].ERR-zm_monitor.cpp/380 [Can't shmget, probably not enough shared memory space free: Invalid argument]
macserver:bin root#
Re: Zoneminder on Mac OS X Server - almost there
Posted: Mon May 30, 2011 6:55 pm
by MILxDOT
Some progress. I ran the following command:
Code: Select all
sysctl -w kern.sysv.shmmax=134217728 kern.sysv.shmmin=1 kern.sysv.shmmni=32 kern.sysv.shmseg=8 kern.sysv.shmall=134217728
and then ran:
Here is a snippet of the output:
Code: Select all
????']
05/30/11 13:48:38.654387 zmc_m1[68507].DB4-zm_remote_camera_http.cpp/868 [Got content length subheader ' 26954']
05/30/11 13:48:38.654403 zmc_m1[68507].DB4-zm_remote_camera_http.cpp/874 [Got content type subheader ' image/jpeg']
05/30/11 13:48:38.654416 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/894 [Got boundary '--video boundary--']
05/30/11 13:48:38.654430 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/900 [Got subcontent length '26954']
05/30/11 13:48:38.654444 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/907 [Got subcontent type 'image/jpeg']
05/30/11 13:48:38.654462 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/975 [Got end of image by length, content-length = 26954]
05/30/11 13:48:38.654476 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/1047 [Returning 26954 (135145) bytes of captured content]
05/30/11 13:48:38.781149 zmc_m1[68507].DB4-zm_remote_camera_http.cpp/862 [Got boundary subheader '--video boundary--
Content-length: 26884
Content-type: image/jpeg
????']
05/30/11 13:48:38.781203 zmc_m1[68507].DB4-zm_remote_camera_http.cpp/868 [Got content length subheader ' 26884']
05/30/11 13:48:38.781219 zmc_m1[68507].DB4-zm_remote_camera_http.cpp/874 [Got content type subheader ' image/jpeg']
05/30/11 13:48:38.781233 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/894 [Got boundary '--video boundary--']
05/30/11 13:48:38.781248 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/900 [Got subcontent length '26884']
05/30/11 13:48:38.781261 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/907 [Got subcontent type 'image/jpeg']
05/30/11 13:48:38.781275 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/975 [Got end of image by length, content-length = 26884]
05/30/11 13:48:38.781288 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/1047 [Returning 26884 (108116) bytes of captured content]
05/30/11 13:48:38.907860 zmc_m1[68507].DB4-zm_remote_camera_http.cpp/862 [Got boundary subheader '--video boundary--
Content-length: 26970
Content-type: image/jpeg
????']
05/30/11 13:48:38.907911 zmc_m1[68507].DB4-zm_remote_camera_http.cpp/868 [Got content length subheader ' 26970']
05/30/11 13:48:38.907927 zmc_m1[68507].DB4-zm_remote_camera_http.cpp/874 [Got content type subheader ' image/jpeg']
05/30/11 13:48:38.907940 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/894 [Got boundary '--video boundary--']
05/30/11 13:48:38.907954 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/900 [Got subcontent length '26970']
05/30/11 13:48:38.907967 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/907 [Got subcontent type 'image/jpeg']
05/30/11 13:48:38.907981 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/975 [Got end of image by length, content-length = 26970]
05/30/11 13:48:38.907996 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/1047 [Returning 26970 (81157) bytes of captured content]
05/30/11 13:48:39.034632 zmc_m1[68507].DB4-zm_remote_camera_http.cpp/862 [Got boundary subheader '--video boundary--
Content-length: 27000
Content-type: image/jpeg
????']
05/30/11 13:48:39.034739 zmc_m1[68507].DB4-zm_remote_camera_http.cpp/868 [Got content length subheader ' 27000']
05/30/11 13:48:39.034757 zmc_m1[68507].DB4-zm_remote_camera_http.cpp/874 [Got content type subheader ' image/jpeg']
05/30/11 13:48:39.034772 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/894 [Got boundary '--video boundary--']
05/30/11 13:48:39.034825 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/900 [Got subcontent length '27000']
05/30/11 13:48:39.034835 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/907 [Got subcontent type 'image/jpeg']
05/30/11 13:48:39.034845 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/975 [Got end of image by length, content-length = 27000]
05/30/11 13:48:39.034853 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/1047 [Returning 27000 (54112) bytes of captured content]
05/30/11 13:48:39.161566 zmc_m1[68507].DB4-zm_remote_camera_http.cpp/862 [Got boundary subheader '--video boundary--
Content-length: 27013
Content-type: image/jpeg
????']
05/30/11 13:48:39.161617 zmc_m1[68507].DB4-zm_remote_camera_http.cpp/868 [Got content length subheader ' 27013']
05/30/11 13:48:39.161633 zmc_m1[68507].DB4-zm_remote_camera_http.cpp/874 [Got content type subheader ' image/jpeg']
05/30/11 13:48:39.161647 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/894 [Got boundary '--video boundary--']
05/30/11 13:48:39.161661 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/900 [Got subcontent length '27013']
05/30/11 13:48:39.161674 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/907 [Got subcontent type 'image/jpeg']
05/30/11 13:48:39.161687 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/975 [Got end of image by length, content-length = 27013]
05/30/11 13:48:39.161702 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/1047 [Returning 27013 (27037) bytes of captured content]
05/30/11 13:48:39.288527 zmc_m1[68507].DB4-zm_remote_camera_http.cpp/862 [Got boundary subheader '--video boundary--
']
05/30/11 13:48:39.288573 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/913 [Unable to extract subheader from stream, retrying]
05/30/11 13:48:39.288597 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/174 [Expecting 209488 bytes]
05/30/11 13:48:39.288659 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/199 [Read 32768 bytes]
05/30/11 13:48:39.288705 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/199 [Read 32768 bytes]
05/30/11 13:48:39.288747 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/199 [Read 32768 bytes]
05/30/11 13:48:39.288787 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/199 [Read 32768 bytes]
05/30/11 13:48:39.288826 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/199 [Read 32768 bytes]
05/30/11 13:48:39.288865 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/199 [Read 32768 bytes]
05/30/11 13:48:39.288892 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/199 [Read 12880 bytes]
05/30/11 13:48:39.288906 zmc_m1[68507].DB4-zm_remote_camera_http.cpp/868 [Got content length subheader ' 26928']
05/30/11 13:48:39.288915 zmc_m1[68507].DB4-zm_remote_camera_http.cpp/874 [Got content type subheader ' image/jpeg']
05/30/11 13:48:39.288924 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/894 [Got boundary '--video boundary--
']
05/30/11 13:48:39.288934 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/900 [Got subcontent length '26928']
05/30/11 13:48:39.288942 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/907 [Got subcontent type 'image/jpeg']
05/30/11 13:48:39.288950 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/975 [Got end of image by length, content-length = 26928]
05/30/11 13:48:39.288958 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/1047 [Returning 26928 (209437) bytes of captured content]
05/30/11 13:48:39.414632 zmc_m1[68507].DB4-zm_remote_camera_http.cpp/862 [Got boundary subheader '--video boundary--
Content-length: 26926
Content-type: image/jpeg
????']
05/30/11 13:48:39.414684 zmc_m1[68507].DB4-zm_remote_camera_http.cpp/868 [Got content length subheader ' 26926']
05/30/11 13:48:39.414700 zmc_m1[68507].DB4-zm_remote_camera_http.cpp/874 [Got content type subheader ' image/jpeg']
05/30/11 13:48:39.414769 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/894 [Got boundary '--video boundary--']
05/30/11 13:48:39.414782 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/900 [Got subcontent length '26926']
05/30/11 13:48:39.414791 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/907 [Got subcontent type 'image/jpeg']
05/30/11 13:48:39.414799 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/975 [Got end of image by length, content-length = 26926]
05/30/11 13:48:39.414808 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/1047 [Returning 26926 (182434) bytes of captured content]
05/30/11 13:48:39.541350 zmc_m1[68507].DB4-zm_remote_camera_http.cpp/862 [Got boundary subheader '--video boundary--
Content-length: 26930
Content-type: image/jpeg
????']
05/30/11 13:48:39.541404 zmc_m1[68507].DB4-zm_remote_camera_http.cpp/868 [Got content length subheader ' 26930']
05/30/11 13:48:39.541471 zmc_m1[68507].DB4-zm_remote_camera_http.cpp/874 [Got content type subheader ' image/jpeg']
05/30/11 13:48:39.541487 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/894 [Got boundary '--video boundary--']
05/30/11 13:48:39.541496 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/900 [Got subcontent length '26930']
05/30/11 13:48:39.541505 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/907 [Got subcontent type 'image/jpeg']
05/30/11 13:48:39.541513 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/975 [Got end of image by length, content-length = 26930]
05/30/11 13:48:39.541522 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/1047 [Returning 26930 (155433) bytes of captured content]
05/30/11 13:48:39.667948 zmc_m1[68507].DB4-zm_remote_camera_http.cpp/862 [Got boundary subheader '--video boundary--
Content-length: 26996
Content-type: image/jpeg
????']
05/30/11 13:48:39.668036 zmc_m1[68507].DB4-zm_remote_camera_http.cpp/868 [Got content length subheader ' 26996']
05/30/11 13:48:39.668048 zmc_m1[68507].DB4-zm_remote_camera_http.cpp/874 [Got content type subheader ' image/jpeg']
05/30/11 13:48:39.668057 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/894 [Got boundary '--video boundary--']
05/30/11 13:48:39.668065 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/900 [Got subcontent length '26996']
05/30/11 13:48:39.668074 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/907 [Got subcontent type 'image/jpeg']
05/30/11 13:48:39.668083 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/975 [Got end of image by length, content-length = 26996]
05/30/11 13:48:39.668104 zmc_m1[68507].DB3-zm_remote_camera_http.cpp/1047 [Returning 26996 (128428) bytes of captured content]
^C
I think we are getting closer
Re: Zoneminder on Mac OS X Server - almost there
Posted: Mon May 30, 2011 8:17 pm
by zoneminder
Good, there are no errors in there. It might be worth trying to run it properly now.
Re: Zoneminder on Mac OS X Server - almost there
Posted: Mon May 30, 2011 8:23 pm
by MILxDOT
I am not having any luck getting the standard web interface to record any images or stay green even though our zmc test is running without error.
What would be the next step in troubleshooting why zmc will manually run without error...but it is not working well with the web interface or possibly the other executables?
Re: Zoneminder on Mac OS X Server - almost there
Posted: Mon May 30, 2011 8:41 pm
by zoneminder
Are there other messages in /var/log/messages or /var/log/syslog or whatever OSX uses as the system log?
Re: Zoneminder on Mac OS X Server - almost there
Posted: Mon May 30, 2011 8:53 pm
by MILxDOT
/var/log/system.log
Looks like I have some permissions issues to deal with after I run to work for a little bit. Thanks!
Code: Select all
May 30 15:38:50 macserver ReportCrash[5462]: Saved crash report for zma[5463] version ??? (???) to /Library/Logs/DiagnosticReports/zma_2011-05-30-153850_localhost.crash
May 30 15:38:50 macserver ReportCrash[5462]: Removing excessive log: /Library/Logs/DiagnosticReports/zma_2011-05-30-151417_localhost.crash
May 30 15:38:58 macserver zmwatch[5195]: ERR [Can't read from shared memory '7a6d0001/65536': Permission denied]
May 30 15:38:58 macserver zmwatch[5195]: ERR [Unable to read 'shared_data:size' from memory for monitor 1]
May 30 15:38:58 macserver zmwatch[5195]: ERR [Can't read from shared memory '7a6d0001/65536': Permission denied]
May 30 15:38:58 macserver zmwatch[5195]: ERR [Unable to read 'shared_data:size' from memory for monitor 1]
May 30 15:39:08 macserver zmwatch[5195]: ERR [Can't read from shared memory '7a6d0001/65536': Permission denied]
May 30 15:39:08 macserver zmwatch[5195]: ERR [Unable to read 'shared_data:size' from memory for monitor 1]
May 30 15:39:08 macserver zmwatch[5195]: ERR [Can't read from shared memory '7a6d0001/65536': Permission denied]
May 30 15:39:08 macserver zmwatch[5195]: ERR [Unable to read 'shared_data:size'
from memory for monitor 1]