|
|
d3b1850 |
diff --git a/cgi/cgi.c b/cgi/cgi.c
|
|
|
d3b1850 |
index 5be9afe..5c8cf8d 100644
|
|
|
d3b1850 |
--- a/cgi/cgi.c
|
|
|
d3b1850 |
+++ b/cgi/cgi.c
|
|
|
d3b1850 |
@@ -503,7 +503,7 @@ static void _launch_debugger (CGI *cgi, char *display)
|
|
Joost Soeterbroek |
23bb636 |
|
|
Joost Soeterbroek |
23bb636 |
if ((debugger = hdf_get_value (cgi->hdf, "Config.Debugger", NULL)) == NULL)
|
|
Joost Soeterbroek |
23bb636 |
{
|
|
Joost Soeterbroek |
23bb636 |
- debugger = "/usr/local/bin/sudo /usr/local/bin/ddd -display %s %s %d";
|
|
Joost Soeterbroek |
23bb636 |
+ debugger = "/usr/bin/sudo /usr/local/bin/ddd -display %s %s %d";
|
|
Joost Soeterbroek |
23bb636 |
}
|
|
Joost Soeterbroek |
23bb636 |
|
|
Joost Soeterbroek |
23bb636 |
if (!pid)
|
|
|
d3b1850 |
diff --git a/configure b/configure
|
|
|
d3b1850 |
index 8fc6a50..e49342e 100755
|
|
|
d3b1850 |
--- a/configure
|
|
|
d3b1850 |
+++ b/configure
|
|
|
d3b1850 |
@@ -6513,7 +6513,7 @@ if test $cs_cv_python = yes; then
|
|
Joost Soeterbroek |
23bb636 |
echo $ECHO_N "checking for python includes... $ECHO_C" >&6
|
|
Joost Soeterbroek |
23bb636 |
python_inc=no
|
|
|
d3b1850 |
python_lib=no
|
|
Joost Soeterbroek |
23bb636 |
- python_search_path="/neo/opt /usr/local /usr /c"
|
|
Joost Soeterbroek |
23bb636 |
+ python_search_path="/usr"
|
|
Joost Soeterbroek |
23bb636 |
python_versions="2.4 2.3 2.2 2.1 2.0 1.5 24 23 22 21 20 15"
|
|
Joost Soeterbroek |
23bb636 |
if test $cs_cv_python_path != "no" -a -x $cs_cv_python_path; then
|
|
Joost Soeterbroek |
23bb636 |
python_bin=$cs_cv_python_path
|
|
|
d3b1850 |
@@ -6809,7 +6809,8 @@ echo "${ECHO_T}$_cur" >&6
|
|
Joost Soeterbroek |
23bb636 |
done
|
|
Joost Soeterbroek |
23bb636 |
_ACJNI_FOLLOWED="$_cur"
|
|
Joost Soeterbroek |
23bb636 |
|
|
Joost Soeterbroek |
23bb636 |
-_JTOPDIR=`echo "$_ACJNI_FOLLOWED" | sed -e 's://*:/:g' -e 's:/[^/]*$::'`
|
|
Joost Soeterbroek |
23bb636 |
+#_JTOPDIR=`echo "$_ACJNI_FOLLOWED" | sed -e 's://*:/:g' -e 's:/[^/]*$::'`
|
|
Joost Soeterbroek |
23bb636 |
+_JTOPDIR="$java_path"
|
|
Joost Soeterbroek |
23bb636 |
case "$host_os" in
|
|
Joost Soeterbroek |
23bb636 |
darwin*) _JTOPDIR=`echo "$_JTOPDIR" | sed -e 's:/[^/]*$::'`
|
|
Joost Soeterbroek |
23bb636 |
_JINC="$_JTOPDIR/Headers";;
|
|
|
d3b1850 |
diff --git a/imd/imdm.py b/imd/imdm.py
|
|
|
d3b1850 |
index 442c1ee..c23f590 100755
|
|
|
d3b1850 |
--- a/imd/imdm.py
|
|
|
d3b1850 |
+++ b/imd/imdm.py
|
|
Joost Soeterbroek |
23bb636 |
@@ -1,4 +1,4 @@
|
|
Joost Soeterbroek |
23bb636 |
-#!/usr/local/bin/python
|
|
Joost Soeterbroek |
23bb636 |
+#!/usr/bin/python
|
|
Joost Soeterbroek |
23bb636 |
#
|
|
Joost Soeterbroek |
23bb636 |
# imdm
|
|
Joost Soeterbroek |
23bb636 |
#
|
|
|
d3b1850 |
diff --git a/java-jni/Makefile b/java-jni/Makefile
|
|
|
d3b1850 |
index 390bdf5..f6edba5 100644
|
|
|
d3b1850 |
--- a/java-jni/Makefile
|
|
|
d3b1850 |
+++ b/java-jni/Makefile
|
|
|
d3b1850 |
@@ -40,14 +40,14 @@ org_clearsilver_HDF.h: $(NEO_UTIL_JAVA_JAR)
|
|
Joost Soeterbroek |
23bb636 |
org_clearsilver_CS.h: $(NEO_UTIL_JAVA_JAR)
|
|
Joost Soeterbroek |
23bb636 |
$(JAVAH) -classpath $(NEO_UTIL_JAVA_JAR) -jni org.clearsilver.CS
|
|
Joost Soeterbroek |
23bb636 |
|
|
Joost Soeterbroek |
23bb636 |
-CSTest.class: CSTest.java
|
|
Joost Soeterbroek |
23bb636 |
+CSTest.class: CSTest.java $(NEO_UTIL_JAVA_JAR)
|
|
Joost Soeterbroek |
23bb636 |
$(JAVAC) -classpath $(NEO_UTIL_JAVA_JAR) CSTest.java
|
|
Joost Soeterbroek |
23bb636 |
|
|
Joost Soeterbroek |
23bb636 |
gold: CSTest.class
|
|
Joost Soeterbroek |
23bb636 |
@/bin/sh -c "LD_LIBRARY_PATH=$(NEOTONIC_ROOT)/java-jni; export LD_LIBRARY_PATH; CLASSPATH=$(NEO_UTIL_JAVA_JAR):.; export CLASSPATH; $(JAVA_PATH)/bin/java CSTest" > javatest.gold
|
|
Joost Soeterbroek |
23bb636 |
@echo "Generated gold files"
|
|
Joost Soeterbroek |
23bb636 |
|
|
Joost Soeterbroek |
23bb636 |
-test: CSTest.class
|
|
Joost Soeterbroek |
23bb636 |
+test: CSTest.class $(NEO_UTIL_SO)
|
|
Joost Soeterbroek |
23bb636 |
@echo "Running java test"
|
|
Joost Soeterbroek |
23bb636 |
@failed=0; \
|
|
Joost Soeterbroek |
23bb636 |
rm -f javatest.out; \
|
|
|
d3b1850 |
diff --git a/ruby/Makefile b/ruby/Makefile
|
|
|
d3b1850 |
index a8a82bf..02cf557 100644
|
|
|
d3b1850 |
--- a/ruby/Makefile
|
|
|
d3b1850 |
+++ b/ruby/Makefile
|
|
|
d3b1850 |
@@ -41,7 +41,7 @@ testrb: ext/hdf/hdf.so
|
|
Joost Soeterbroek |
23bb636 |
|
|
Joost Soeterbroek |
23bb636 |
|
|
Joost Soeterbroek |
23bb636 |
install: all
|
|
Joost Soeterbroek |
23bb636 |
- $(RUBY) install.rb install
|
|
Joost Soeterbroek |
23bb636 |
+ $(RUBY) install.rb install --prefix=$(DESTDIR)
|
|
Joost Soeterbroek |
23bb636 |
|
|
Joost Soeterbroek |
23bb636 |
clean:
|
|
Joost Soeterbroek |
23bb636 |
$(RM) ext/hdf/*.o ext/hdf/*.so
|