I have read a few things about cmake and as i read more i get it more, but there isnt any info i found that is similar and what they did to fix it (or i didnt get it)
There is a downside to install arch manually and not via yoaurt but right now need the zoneminder for work and any other alternative so far does not convince me.
The error arises when it is buliding CXX object that pertains to two specific files comms.cpp and comms.h
7%] Building CXX object src/CMakeFiles/zm.dir/zm_comms.cpp.o
-----
In file included from /tmp/yaourt-tmp-USER/aur-zoneminder/src/ZoneMinder-1.30.4/src/zm_comms.cpp:20:0:
>>>
/tmp/yaourt-tmp-USER/aur-zoneminder/src/ZoneMinder-1.30.4/src/zm_comms.cpp: In member function ‘virtual int CommsBase::readV(int, ...)’:
/tmp/yaourt-tmp-USER/aur-zoneminder/src/ZoneMinder-1.30.4/src/zm_comms.cpp:59:18: error: ‘::readv’ has not been declared
int nBytes = ::readv( mRd, iov, iovcnt );
^~~~~
/tmp/yaourt-tmp-USER/aur-zoneminder/src/ZoneMinder-1.30.4/src/zm_comms.cpp:59:18: note: suggested alternative: ‘read’
int nBytes = ::readv( mRd, iov, iovcnt );
^~~~~
read
<<<<
The error suggest to modify 'readv' and 'writev' to just 'read' and 'write'
i know where the file is and can modify it to fit the suggestion, but is that really it? or is the error underlying something else?
since typing this post i tried something else that come to mind, i have managed to set up the project directory correctly so that PKGBUILD exists and I can makepkg -s from project directory however in doing it populates the folder with files that give me the same error as doing it from yaourt (the files i modified are overwritten),
SOooOooo, which cmake file and command do i edit so that it can target a specif folder instead of it automatically populating the folder and overwriting the files i edited?
think im getting somewhere....
--------------------------------------------
Thanks for Posting back on this one >>> MESMER << zoneminder's maintainer was not MIA. he patched it up.
Been using it now since that update and everything works fine.