64 bit build
-
- Posts: 98
- Joined: Fri Feb 25, 2005 3:41 am
- Location: England
the make clean will clean up all compiled files.caseystone wrote:That's what I need to know about...
What is "make clean?" Is that a command? What syntax should I use exactly?
Finally what about the archived events and the database question I had?
I know I asked too many questions in one post! Thanks for being patient with me.
when you do the make install, it won't blow away anything... you will however need to rerun the zmconfig.pl script. (you could run it with -noi to avoid having to answer all the questions)
you should be fine with archived events... i have many archived and haven't lost any to my knowledge.
cd to your zm source directory
the syntax is: make clean
Karl
-
- Posts: 98
- Joined: Fri Feb 25, 2005 3:41 am
- Location: England
Did you incorporate this Phil? I haven't touched my system since all of these questions came up, but I think I may do it now that 1.21.3 is out.zoneminder wrote:I'm interested in adding this patch to the main development tree. Can you confirm that it stills allows correct configuration on 32 bit systems? If so I'll include it in the next release.
Phil
Will his script for 1.21.0 still work on 1.21.3 if not?
Thanks.
-Casey
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
The script works with ZM 1.21.3 as long as you correct the path to the configure file
and also you have to be sure to ad all the good stuff to your configure command :
and well the lame is optionnal as every one nows here
good luck with the beautifull ZM that rock the nuggets
and also you have to be sure to ad all the good stuff to your configure command :
Code: Select all
./configure --with-libarch=lib64 --with-mysql=/usr --with-webdir=/var/www/html --with-cgidir=/var/www/cgi-bin --with-ffmpeg=/usr --with-lame=/usr/lib64
good luck with the beautifull ZM that rock the nuggets
libmysqlclient.a not found on x86_64
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
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
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
gcc-c++ was not installed - I guess it was a really late hour .Hi.
I'm trying to build the ZM on a FC4 64 bit system. But the configure stops in the middle, with the following error:
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
Code: Select all
btw is there major performance gains from this??
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
-
- Posts: 98
- Joined: Fri Feb 25, 2005 3:41 am
- Location: England
Karlg:
I was finally trying to reinstall, using your patch, the new ZM 1.21.4. Regarding the libpcre.so.0, I have libpcre.so already in my /usr/lib64 folder. Not finding libpcre.so.0 though, I had yum install the package as you recommended. Even after doing that, however, I still have only libpcre.so and not the .0 one. I have no idea what those libraries are or how the .so would be different from the so.0, but since you wanted me to symlink the so.0 to the so one which I have already, I figured I'd better ask.
Also... Phil, is there any reason this patch won't work on the latest ZM?
For instance.. the patch mentions 1.21.0 internally. Do mentions of 1.21.0 need to be changed to 1.21.4 in the patch?
Thanks.
-Casey
I was finally trying to reinstall, using your patch, the new ZM 1.21.4. Regarding the libpcre.so.0, I have libpcre.so already in my /usr/lib64 folder. Not finding libpcre.so.0 though, I had yum install the package as you recommended. Even after doing that, however, I still have only libpcre.so and not the .0 one. I have no idea what those libraries are or how the .so would be different from the so.0, but since you wanted me to symlink the so.0 to the so one which I have already, I figured I'd better ask.
Also... Phil, is there any reason this patch won't work on the latest ZM?
For instance.. the patch mentions 1.21.0 internally. Do mentions of 1.21.0 need to be changed to 1.21.4 in the patch?
Thanks.
-Casey