-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Track Solaris Support #905
Comments
After researching our options, I opted to leverage cmake's ability to find different names of the same package via a single command. The result is a much cleaner approach. @whorfin can you test #906 and post your results? Please post your build output. I'm not looking for a new pull request at this time. |
I'm closing this due to inactivity. |
My apologies, I've been extremely busy and out of town. Note that, as indicated in my patch/notes on the broken CheckSendfile.cmake, HAVE_SENDFILE4_SUPPORT fails At the moment, I have a patch for CMakeLists.txt to fix this, but I understand you don't want $ cmake \
-- Checking prototype MD5 for HAVE_MD5_OPENSSL - True
Some of these libraries may not be found correctly. CMake Warning at src/CMakeLists.txt:12 (add_executable):
Some of these libraries may not be found correctly. CMake Warning at src/CMakeLists.txt:15 (add_executable):
Some of these libraries may not be found correctly. CMake Warning at src/CMakeLists.txt:16 (add_executable):
Some of these libraries may not be found correctly. CMake Warning at src/CMakeLists.txt:17 (add_executable):
Some of these libraries may not be found correctly. CMake Warning at src/CMakeLists.txt:14 (add_executable):
Some of these libraries may not be found correctly. -- Generating done |
Another issue: On OmniOS with pkgsrc, mysql and friends [and much other goodies] live in The build system should resolve all needed executables, and use those paths in the scripts rather than assuming certain paths. |
One more; i suspect this isn't Solaris related, but while attempting to bringup a system from my last build [1.28.1] to the current master, zmupdate.pl fails in a way which looks suspiciously as if $ sudo zmupdate.pl Initiating database upgrade to version 1.28.104 from version 1.28.1 Please ensure that ZoneMinder is stopped on your system prior to upgrading the database. Do you wish to take a backup of your database prior to upgrading? Upgrading database to version 1.28.104 Database successfully upgraded to version 1.28.1. Database successfully upgraded to version 1.28.100. Database successfully upgraded to version 1.28.101. Database successfully upgraded to version 1.28.102. Database successfully upgraded to version 1.28.103. Database successfully upgraded to version 1.28.104. |
There is a typo in zmlinkcontent.sh.in on line 72; a missing space between the quoted filename and closing square bracket. |
Fair warning: |
More cmake fun - I didn't at first realize all my ffmpeg/libavformat/libavcodec was being missed, as new names are being displayed such as AVFormat The cmake install system is not finding any of my goodies, though i'm passing CMAKE_LIBRARY_PATH and CMAKE_INCLUDE_PATH entries and perhaps more importantly for standard builds, "pkg-config" know where there are. Note: the project should ideally be amended to use the pkg-config methods of cmake to make this work. I found in the interim that CMAKE_LIBRARY_PATH, unlike CMAKE_PREFIX_PATH, may only contain a single path. Bummer! |
Comment Error: CMAKE_PREFIX_PATH - Use this to add to both include and library search paths This appears to not be true; if CMAKE_PREFIX_PATH is used, it must also contain "/usr" or I get failure to find various perl modules |
After all this, all camera feeds are broken, even with simple fallbacks. |
Re alphabetical order -- that came up in someone on ... IRC? Can't recall, but someone who was trying to upgrade. The problem (with the problem) was I think it cumulatively worked anyway so I do not think anyone actually fixed it. but maybe this discussion will spur someone's memory. |
Guys, I created this thread to keep it on topic with Solaris Support so I wouldn't have to wade trough irrelevant discussion and commentary to get to what mattered. Let's stay on topic! Save the discussion for our irc channel. @whorfin I'm going to enjoy the rest of my holiday weekend. When I get back, I'm going to focus solely on your post from 15 days ago, and I'm going to ignore all your other posts. I know you want to get this fixed, but spamming our forum with a bunch of errors, without logically connecting them, only shows you are digging yourself into a deeper hole. That only makes it harder to troubleshoot. So back it up. We are going to focus on getting cmake going, and are not going to worry about anything else until that is solved. |
Totally understood, I include these things for context, since the cmake change came with a lot of other changes. To back it all the way up, here are the build commands I am now using. export PKG_CONFIG_PATH=/usr/lib/pkgconfig/:/opt/local/lib/ffmpeg2/pkgconfig:/opt/local/lib/pkgconfig Have an excellent holiday |
My apologies for not starting on this. I'm tracking down a problem with a particular camera that has developed in master, and it has me completely stymied. Solaris support is on my priority list. On a slightly different note, is there by chance any inexpensive hardware I could buy, which would allow me to create the same environment you are using? I'm assuming Solaris is incompatible with x86 hardware. |
I appreciate the update, thanks. I'll be unable to contribute to this from the end of this month until mid-November, which is why I was death-marching in such a frenzy last month. As to your second question, you'll be glad to know you don't need anything special. I'm using "Solaris" in the generic sense, I am in fact running the Illumos branch in general, and OmniOS specifically, along with the joyent "pkgsrc" extensions for things like Apache/mysql/php/ffmpeg/avcodec/etc [as you can see from my cmake commands above; pkgsrc lives in /opt/local]. To be pedantically specific, perl is from OmniOS core, with extensions pulled from CPAN. That should also be clear from my cmake config. If you want to play along: OmniOS is a bulletproof server environment, and ZFS/dtrace/crossbow/svcadm make the ecosystem uniquely awesome. The only big gotcha is that non-64-bit hardware will see limits on maximum drive size support, and hardware support is more limited than windoze. Cheers |
Until now, my understanding of Solaris was an OS that ran on big-endian hardware, much like IBM AIX. I've started familiarizing myself with the environment. Did you by chance write down the steps you took to install all of ZoneMinder dependencies? I'm running into some issues getting all the Perl modules to install, even when using cpan -f. |
I did make notes on everything, but I'm out of the country, with crappy internet until next month. Cheers
|
Here's a shortened version of my notes on installing dependencies into a fresh OmniOS bare-metal install. I'm using a 64-bit machine/OS, but note that lots of things default to 32-bit for various reasons. I want 64-bit zm for simplicity with various 3rd party package compatibility. "pkg" is the native OmniOS package manager Install joyent pkgsrc; more info here https://pkgsrc.joyent.com/install-on-illumos/
you may or may not need some of the refreshing magics
Finally be sure the right stuff is in your path. Install perl-64
Depending on how you've got your install set up, you may find
Now we want to install areasonably modern build chain, but we wish to get it from the
Now we'll use pkgin to get an AMP stack. I've split these out for clarity but you can of course do all in one big bang.
I'll assume you know how to dink with the multitudinous config files of an AMP install.
If you see errors related to projadd failing with an invalid projid, just re-run the projadd line invoked by
Check status of services with Time for all the various 3rd-party dependencies.
I'm pretty sure that was all the pkgin i needed; if you see important things missing, you can For convenience, here's everything installed on a previously working zoneminder box from pkgin, using the 2015-Q2 branch; note that these often come from dependencies so you don't need to ask for everything by name. Consider this for debugging though. This is what
And now the fun part. Getting perl dependencies working.
and answer yes when it asks if it should try to configure as much as possible by itself
then fire it up again. This is what I needed to install, found via grepping ^ac_perl_modules from zoneminder's configure. You may want to script this, as this is "go make tea" time.
There ya go. "It's just that simple." |
This issue has been created as the central discussion point to support Solaris. Let's keep the conversation here, rather than in the individual pull requests.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: