Page 1 of 1

1.21.1 doesn't build

Posted: Wed Jun 15, 2005 8:58 pm
by bhomass
I am building 1.21.1 from scratch. I am not upgrading from 1.21.0 because of all the problems I had with that version.

I ran ./configure --with-mysql=/usr --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-webuser=wwwrun --with-webgroup=www just like before. Configure went fine.

when I type make. I got
In file included from zmc.cpp:24:
zm.h:28:23: zm_config.h: No such file or directory

I checked repeated. also ran tar again from the download. but indeed this file z._config.h does not exist in src/ directory. didn't anyone else have this problem?

Posted: Wed Jun 15, 2005 10:00 pm
by zoneminder
I think you maybe forgot to run zmconfig.pl after configure?

Phil

Posted: Thu Jun 16, 2005 12:41 am
by bhomass
haha, you are right.

I did a shortcut that did not work. I tried coping the Mconfig.txt over to bypass the lengthy zmconfig.pl.

Posted: Thu Jun 16, 2005 9:12 am
by zoneminder
The best shortcut to do, is to just copy zmconfig.txt over to your new build directory and then run zmconfig.pl -noi which will just run straight through and not ask you any questions.

Phil