Installing/Building on CentOS 5/6/7
-
giving back to the community ...
install
yum -y groupinstall 'Development Tools' yum -y install openldap-devel expat-devel zlib-devel mysql-devel sqlite-develhere is a rpm spec file verfied to build under CentOS 5+6+7:
Name: netxms Version: 2.0.6 Release: 1.el5 Summary: NETXMS Group: NETXMS License: GPLv2+ URL: NETXMS Source0: netxms-2.0.6.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: tar BuildRequires: gzip BuildRequires: curl BuildRequires: jdk BuildRequires: openldap-devel BuildRequires: expat-devel BuildRequires: zlib-devel BuildRequires: mysql-devel BuildRequires: sqlite-devel #BuildRequires: postgresql-devel Requires: openldap-libs Requires: expat Requires: sqlite Requires: mysql-libs %description NETXMS %prep %setup -q ./configure \ --prefix=/opt/netxms \ --enable-unicode \ --with-server \ --with-client \ --with-client-proxy \ --with-sdk \ --with-agent \ --with-snmp \ --with-sqlite \ --with-mysql %build make %{?_smp_mflags} %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} mkdir %{buildroot}/opt/netxms/sbin/ cp contrib/startup/redhat/netxmsd %{buildroot}/opt/netxms/sbin/ %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc /opt/netxms/ %changelog -
Thank you.
Can you please specify license (GPL, MIT, Public domain) - I'll include it into official packages repository.
-
MIT
Copyright (c) 2016, Alfred Reibenschuh Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login