make install unrecognized option '--with-webdir

Forum for questions and support relating to the 1.26.x releases only.
Locked
spacegoat
Posts: 3
Joined: Mon Nov 28, 2011 1:09 am

make install unrecognized option '--with-webdir

Post by spacegoat »

Hi,

My "make install" of 1.26.3 fails like so:
Making install in ajax
make[2]: Entering directory '/home/user/archives/Internet/ZoneMinder/web/ajax'
make[3]: Entering directory '/home/user/archives/Internet/ZoneMinder/web/ajax'
make[3]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '--with-webdir=/srv/http/zm/ajax'
/usr/bin/mkdir: unrecognized option '--with-webdir=/srv/http/zm/ajax'
Try '/usr/bin/mkdir --help' for more information.
Makefile:327: recipe for target 'install-dist_webDATA' failed
The config was:
./configure --with-libarch=lib64 --with-mysql=/usr --with-webdir=--with-webdir=/srv/http/zm --with-cgidir=/srv/cgi-bin --with-ffmpeg=/usr --with-webuser=http --with-webgroup=http --enable-mmap=no CPPFLAGS=-D__STDC_CONSTANT_MACROS

Any ideas are welcome (and needed!)

Best wishes
mikb
Posts: 677
Joined: Mon Mar 25, 2013 12:34 pm

Re: make install unrecognized option '--with-webdir

Post by mikb »

spacegoat wrote: --with-webdir=--with-webdir=/srv/http/zm
Really? Did you possibly mean just :-

Code: Select all

--with-webdir=/srv/http/zm
Locked