lenny

java.security.AccessControlException: access denied (java.io.FilePermission /usr/share/java/jsp-api-2.0.jar read)

蓝咒 提交于 2019-12-14 01:04:47
问题 I am trying to deploy me application to Tomcat 5.5 on Debian Lenny. I am getting the following exception: java.security.AccessControlException: access denied (java.io.FilePermission /usr/share/java/jsp-api-2.0.jar read) I'm not sure what to do. Solution Add the following line to /etc/tomcat5.5/policy.d/04webapps.policy: grant codeBase "file:/var/lib/tomcat5.5/webapps/mywebapp/-" { permission java.security.AllPermission; }; 回答1: I smells like an SecurityManager. It is a message from the Java

Can't install python module “pycrypto” on Debian lenny

自闭症网瘾萝莉.ら 提交于 2019-12-06 17:18:10
问题 I tried to install pycrypto module by downloading the source code and executing the following command python setup.py install , then an error came running install running build running build_py running build_ext warning: GMP library not found; Not building Crypto.PublicKey._fastmath. building 'Crypto.Hash.MD2' extension gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.5 -c src/MD2.c -o build/temp.linux

Can't install python module “pycrypto” on Debian lenny

两盒软妹~` 提交于 2019-12-04 23:05:50
I tried to install pycrypto module by downloading the source code and executing the following command python setup.py install , then an error came running install running build running build_py running build_ext warning: GMP library not found; Not building Crypto.PublicKey._fastmath. building 'Crypto.Hash.MD2' extension gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.5 -c src/MD2.c -o build/temp.linux-x86_64-2.5/src/MD2.o src/MD2.c:31:20: error: Python.h: No such file or directory src/MD2.c:118: error:

How to install 2 different R versions on Debian?

℡╲_俬逩灬. 提交于 2019-11-30 14:54:33
问题 On our server, R 2.12.1 is installed following the instructions on http://cran.r-project.org/bin/linux/debian/ , using apt-get install etc etc. Due to circumstances the old lenny machine hasn't been updated to the new stable debian, and it looks like this isn't about to happen soon. As some of the research here depends on the latest version of VGAM, we need the R 2.14.0 installed on debian. But in order to keep old code running, we can't just drop the R 2.12.1 (installing the VGAM 0.8.4 on

How to install 2 different R versions on Debian?

杀马特。学长 韩版系。学妹 提交于 2019-11-30 12:18:12
On our server, R 2.12.1 is installed following the instructions on http://cran.r-project.org/bin/linux/debian/ , using apt-get install etc etc. Due to circumstances the old lenny machine hasn't been updated to the new stable debian, and it looks like this isn't about to happen soon. As some of the research here depends on the latest version of VGAM, we need the R 2.14.0 installed on debian. But in order to keep old code running, we can't just drop the R 2.12.1 (installing the VGAM 0.8.4 on this version gives errors). So we need to install 2 R-versions. From the little I understood, if we just