Run "./configure" without any options to let the script detect the appropriate settings for the host:
$ cd pjproject
$ ./configure
... ————————————————————
安装python:sudo apt-get install python-dev
安装jdk:sudo apt-get install openjdk-7-jdk _______________________ 在pjsip-apps/src/swig目录手动执行make和make install
The SWIG modules for Python and Java are built by invoking
make
and
make install
manually from
pjsip-apps/src/swig
directory. The
make install
will install the Python SWIG module to user’s
site-packages
directory.