4
# Licensed to the Apache Software Foundation (ASF) under one
5
# or more contributor license agreements. See the NOTICE file
6
# distributed with this work for additional information
7
# regarding copyright ownership. The ASF licenses this file
8
# to you under the Apache License, Version 2.0 (the
9
# "License"); you may not use this file except in compliance
10
# with the License. You may obtain a copy of the License at
12
# http://www.apache.org/licenses/LICENSE-2.0
14
# Unless required by applicable law or agreed to in writing,
15
# software distributed under the License is distributed on an
16
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
# KIND, either express or implied. See the License for the
18
# specific language governing permissions and limitations
26
export PYTHON=/usr/local/python25/bin/python
28
echo "========= autogen.sh"
29
./autogen.sh || exit $?
31
echo "========= configure"
32
# --with-junit=/usr/share/java/junit.jar
33
# --with-jdk=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64 \
34
# --without-berkeley-db \
35
./configure --enable-javahl --enable-maintainer-mode \
37
--with-serf=/usr/local \
38
--with-apxs=/usr/sbin/apxs \
41
--with-apr-util=/usr \
42
--with-jdk=/opt/java/jdk1.6.0_15 \
43
--with-junit=/home/bt/junit-4.4.jar \
44
--with-sqlite=/home/bt/packages/sqlite-amalgamation-dir/sqlite3.c \
50
echo "========= make javahl"
51
make javahl -j1 || exit $?
53
echo "========= make swig-py"
54
make swig-py || exit $?
56
echo "========= make swig-pl"
57
make swig-pl -j1 || exit $?
59
echo "========= make swig-rb"
60
make swig-rb -j1 || exit $?