aboutsummaryrefslogtreecommitdiff
path: root/dmx512
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2008-06-19 13:14:39 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 15:08:24 +0200
commit2dd16c5ca5fe4ccfc995f23df1b752299108a488 (patch)
treeeb7b13affa7108b288b4114fd8b8713cb1eb8a9a /dmx512
parent3d0ac4fc230dfdebd5dcc1eaab4a7ad222279193 (diff)
updated readme.txt like vincent rioux suggested;
fixed configure to also search for libdmx4l (which is the library installed by he upstream dmx4linux package) svn path=/trunk/externals/iem/dmx512/; revision=10044
Diffstat (limited to 'dmx512')
-rw-r--r--dmx512/README.txt22
-rw-r--r--dmx512/src/configure.ac12
2 files changed, 25 insertions, 9 deletions
diff --git a/dmx512/README.txt b/dmx512/README.txt
index 7cb93f8..3eda9d8 100644
--- a/dmx512/README.txt
+++ b/dmx512/README.txt
@@ -38,11 +38,14 @@ and run
finally become root and do
# make install
+after all has gone well, load the appropriate kernel modules
-load the appropriate kernel modules
+
+btw, it is always a good idea to read the readme that comes with dmx4linux...
B. permissions
+==============
the dmx device-files created by udev will be owned by root.root and not be
read/writeable by anyone but root.
in order to use them as an ordinary user, become root and create a group
@@ -55,9 +58,26 @@ the next time you load a dmx-driver
if you have problems, try plugging your device out and in again
+C. compiling the Pd-objects
+===========================
+so now it is time to get the Pd-objects going.
+for this change into the "./src" directory of the iem/dmx512/ folder
+(this might well be the folder that holds this README.txt you are currently
+reading)
+
+if you have obtained the source-code via subversion, you will first have to run
+% autoconf
+(this should not be needed if you downloaded the sources as a release tarball;
+that is: if the person who created the tarball has not forgotten to do it for you)
+
+then run
+% configure
+% make
+you should now have 2 binary files in the src/ folder called [dmxin] and [dmxout]
+go on and use em!
diff --git a/dmx512/src/configure.ac b/dmx512/src/configure.ac
index ce4dc98..eff616a 100644
--- a/dmx512/src/configure.ac
+++ b/dmx512/src/configure.ac
@@ -39,15 +39,11 @@ dnl Replace `main' with a function in -lstk:
dnl AC_CHECK_LIB(stk, main, STK=yes)
+AC_CHECK_LIB(dmx4l, DMXsleep)
AC_CHECK_LIB(dmx4linux, DMXsleep)
-if test "x$ac_cv_lib_dmx4linux_DMXsleep" = "xyes"; then
- DMX4LINUX_LFLAGS="-ldmx4linux"
-fi
-
-dnl AC_CHECK_LIB(asound, snd_seq_close)
-dnl if test "x$ac_cv_lib_asound_snd_seq_close" = "xyes"; then
-dnl DFLAGS="-DHAVE_ALSA ${DFLAGS}"
-dnl fi
+#if test "x$ac_cv_lib_dmx4linux_DMXsleep" = "xyes"; then
+# DMX4LINUX_LFLAGS="-ldmx4linux"
+#fi
if test "x$includedir" != "x"; then
for id in $includedir