summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/pgf/c/INSTALL
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-02-27 00:01:50 +0000
committerKarl Berry <karl@freefriends.org>2014-02-27 00:01:50 +0000
commit90ae413a94da014dbf7a6a8ab584f7c668483a5a (patch)
tree4e0528a2b2fb2004988e7fc804ea2f1354f1f5d5 /Master/texmf-dist/source/generic/pgf/c/INSTALL
parent800cc56380d1edfe567a6a66bef13e8950eb2b0c (diff)
pgf 3.0.0
git-svn-id: svn://tug.org/texlive/trunk@33057 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic/pgf/c/INSTALL')
-rw-r--r--Master/texmf-dist/source/generic/pgf/c/INSTALL28
1 files changed, 28 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/generic/pgf/c/INSTALL b/Master/texmf-dist/source/generic/pgf/c/INSTALL
new file mode 100644
index 00000000000..0690faba7d2
--- /dev/null
+++ b/Master/texmf-dist/source/generic/pgf/c/INSTALL
@@ -0,0 +1,28 @@
+In order to use the C code in these directories, you should first
+modify / setup the file config/LocalMakefileConfig.mk, which is
+included by the main Makefiles and allows you to overwrite the
+settings from config/Makefile.mk.
+
+Once this is done, run make.
+
+You must then use the install targets to copy / link the resulting
+shared libraries with their full paths into the "luatex/lib"
+subdirectory of the directory where your TeX executable resides. For
+instance, if the luatex program is in
+
+/usr/texbin
+
+then you would put SimpleDemoC.so into
+
+/usr/texbin/lib/luatex/lua/pgf/gd/examples/c
+
+
+Due to bugs in the LuaTeX code, you currently need to append the paths
+of the libraries to their name as done in the Makefiles.
+
+Note that, currently, the Makefile will link the Lua library
+statically into the shared graph drawing library (at least on
+MacOS). This is conceptually wrong and, indeed, a lot of effort was
+need to avoid having LuaTeX crash on a TeX run because of two Lua
+libraries being used simultaneously. It works, but hopefully, in the
+fututure, this will be fixed. \ No newline at end of file