1.21.1 doesn't build

Support and queries relating to all previous versions of ZoneMinder
Locked
bhomass
Posts: 103
Joined: Sat Jun 11, 2005 6:54 pm

1.21.1 doesn't build

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

Post by zoneminder »

I think you maybe forgot to run zmconfig.pl after configure?

Phil
bhomass
Posts: 103
Joined: Sat Jun 11, 2005 6:54 pm

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

Post 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
Locked