1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

[MCOL-69] bundle newer net-snmp

This commit is contained in:
justin
2016-06-14 10:51:41 -04:00
parent 1222725e8e
commit 00af1b0b54
5 changed files with 27 additions and 7 deletions

View File

@ -78,6 +78,7 @@ all-local: bootstrap
# echo $(CXXFLAGS) $(DEBUG_FLAGS) > buildFlags
$(MAKE) -C utils
$(MAKE) -C oam/oamcpp
$(MAKE) -C net-snmp
$(MAKE) -C snmpd
$(MAKE) -C dbcon/execplan
$(MAKE) -C dbcon/joblist
@ -110,6 +111,7 @@ all-local: bootstrap
install:
$(MAKE) -C utils install
$(MAKE) -C oam/oamcpp install
$(MAKE) -C net-snmp install
$(MAKE) -C snmpd install
$(MAKE) -C dbcon/execplan install
$(MAKE) -C dbcon/joblist install

View File

@ -121,9 +121,21 @@ then
./configure --prefix=$PREFIX
else
echo "BUILDING WITH DEFAULT PREFIX"
./configure --prefix=/usr/local/mariadb/columnstore
PREFIX=/usr/local/mariadb/columnstore
./configure --prefix=$PREFIX
fi
cd net-snmp/net-snmp
./configure --prefix=$PREFIX --with-mib-modules=disman/event-mib --with-cc=gcc \
--with-logfile=$PREFIX/log/snmpd.log \
--with-sys-location=Unknown \
--with-sys-contact=root@localhost.localdomain \
--with-default-snmp-version=3 \
--with-persistent-directory=$PREFIX/var/net-snmp \
--without-openssl \
--with-ldflags="-Wl,-rpath -Wl,$PREFIX/lib"
#for x in \
#$(find . -name '[mM]akefile' \
# | xargs grep -l ^bootstrap: \

View File

@ -1,6 +1,6 @@
# $Id$
.PHONY: test coverage leakcheck docs bootstrap
.PHONY: test coverage leakcheck docs bootstrap install
test:
coverage:
@ -9,7 +9,9 @@ leakcheck:
docs:
bootstrap:
cd net-snmp-5.2.1.2; \
./CalpontConfigure.sh --prefix=$(prefix)
all:
$(MAKE) -C net-snmp
install:
$(MAKE) -C net-snmp install

1
net-snmp/net-snmp Symbolic link
View File

@ -0,0 +1 @@
net-snmp-5.7.3/

View File

@ -16,6 +16,8 @@
# MA 02110-1301, USA.
# $Id: Makefile.am 878 2009-04-03 20:34:32Z rdempsey $
#
.PHONY install
SUBDIRS = mcsadmin columnstoreDB postConfigure serverMonitor traphandler \
sendtrap columnstoreSupport
@ -28,8 +30,9 @@ leakcheck:
docs:
bootstrap:
install:
for subdir in $(SUBDIRS); \
do $(MAKE) -C $$subdir bootstrap || exit $$?; \
do $(MAKE) -C $$subdir install
done