I've spent most of the afternoon trying to install ZM and I'm not having much luck, it's just problem after problem. Admittedly, I used XAMPP (http://www.apache-friends.org) instead of installing apache, php etc, manually but I don't think that should cause a problem.
Now i've gone from having problems with missing libjpeg, libmysqlclient and numerous other issues - but i've finally managed to get the configure to complete. I've run the perl script which set the values, i've created the zm database with the schema, but now when attempting to run make, I get:
And to be honest with you, I really have no idea where to go from here. Does anyone have any ideas? Thanks for any help you can provide!In file included from zm_jpeg.h:20,
from zm_image.h:37,
from zm_monitor.h:28,
from zmc.cpp:26:
jinclude.h:20:55: jconfig.h: No such file or directory
In file included from zm_image.h:37,
from zm_monitor.h:28,
from zmc.cpp:26:
zm_jpeg.h:21:21: jpeglib.h: No such file or directory
zm_jpeg.h:22:20: jerror.h: No such file or directory
In file included from zm_image.h:37,
from zm_monitor.h:28,
from zmc.cpp:26:
zm_jpeg.h:25: error: variable or field `jpeg_mem_src' declared void
zm_jpeg.h:25: error: `j_decompress_ptr' was not declared in this scope
zm_jpeg.h:25: error: `JOCTET' was not declared in this scope
zm_jpeg.h:25: error: `inbuffer' was not declared in this scope
zm_jpeg.h:25: error: expected primary-expression before "int"
zm_jpeg.h:25: error: initializer expression list treated as compound expression
zm_jpeg.h:26: error: variable or field `jpeg_mem_dest' declared void
zm_jpeg.h:26: error: `j_compress_ptr' was not declared in this scope
zm_jpeg.h:26: error: `JOCTET' was not declared in this scope
zm_jpeg.h:26: error: `outbuffer' was not declared in this scope
zm_jpeg.h:26: error: expected primary-expression before "int"
zm_jpeg.h:26: error: initializer expression list treated as compound expression
In file included from zm_monitor.h:28,
from zmc.cpp:26:
zm_image.h:71: error: ISO C++ forbids declaration of `JSAMPLE' with no type
zm_image.h:71: error: expected `;' before '*' token
zm_image.h:103: error: `JSAMPLE' has not been declared
zm_image.h:104: error: ISO C++ forbids declaration of `p_buffer' with no type
zm_image.h:150: error: ISO C++ forbids declaration of `JSAMPLE' with no type
zm_image.h:150: error: `JSAMPLE' declared as an `inline' field
zm_image.h:150: error: expected `;' before '*' token
zm_image.h:151: error: expected `;' before "inline"
zm_image.h:151: error: ISO C++ forbids declaration of `JSAMPLE' with no type
zm_image.h:151: error: `JSAMPLE' declared as an `inline' field
zm_image.h:151: error: expected `;' before '*' token
zm_image.h:153: error: expected `;' before "inline"
zm_image.h:203: error: `JOCTET' has not been declared
zm_image.h:203: error: ISO C++ forbids declaration of `inbuffer' with no type
zm_image.h:204: error: `JOCTET' has not been declared
zm_image.h:204: error: ISO C++ forbids declaration of `outbuffer' with no type
zm_image.h: In constructor `Image::Image()':
zm_image.h:91: error: `buffer' undeclared (first use this function)
zm_image.h:91: error: (Each undeclared identifier is reported only once for each function it appears in.)
zm_image.h: In constructor `Image::Image(const char*)':
zm_image.h:98: error: `buffer' undeclared (first use this function)
zm_image.h: In constructor `Image::Image(int, int, int, int*)':
zm_image.h:114: error: `buffer' undeclared (first use this function)
zm_image.h:119: error: `JSAMPLE' has not been declared
zm_image.h: In copy constructor `Image::Image(const Image&)':
zm_image.h:132: error: `buffer' undeclared (first use this function)
zm_image.h:132: error: `JSAMPLE' has not been declared
zm_image.h:133: error: 'const class Image' has no member named 'buffer'
zm_image.h: In destructor `Image::~Image()':
zm_image.h:141: error: `buffer' undeclared (first use this function)
zm_image.h: In member function `void Image::Assign(int, int, int, unsigned char*)':
zm_image.h:164: error: `buffer' undeclared (first use this function)
zm_image.h:165: error: `JSAMPLE' has not been declared
zm_image.h: In member function `void Image::Assign(const Image&)':
zm_image.h:182: error: `buffer' undeclared (first use this function)
zm_image.h:183: error: `JSAMPLE' has not been declared
zm_image.h:187: error: 'const class Image' has no member named 'buffer'
zm_image.h: In member function `void Image::CopyBuffer(const Image&)':
zm_image.h:193: error: `buffer' undeclared (first use this function)
zm_image.h:193: error: 'const class Image' has no member named 'buffer'
zm_image.h: In member function `Image& Image::operator=(const unsigned char*)':
zm_image.h:197: error: `buffer' undeclared (first use this function)
zm_image.h: In member function `void Image::Clear()':
zm_image.h:220: error: `buffer' undeclared (first use this function)
make[2]: *** [zmc.o] Error 1
make[2]: Leaving directory `/usr/local/src/zm-1.19.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/zm-1.19.5'
make: *** [all] Error 2