<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to BuildingADFlib</title><link>https://sourceforge.net/p/pyadf/wiki/BuildingADFlib/</link><description>Recent changes to BuildingADFlib</description><atom:link href="https://sourceforge.net/p/pyadf/wiki/BuildingADFlib/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 02 May 2015 18:57:55 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/pyadf/wiki/BuildingADFlib/feed" rel="self" type="application/rss+xml"/><item><title>BuildingADFlib modified by Anonymous</title><link>https://sourceforge.net/p/pyadf/wiki/BuildingADFlib/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="adflib-build-tips"&gt;ADFlib build tips&lt;/h1&gt;
&lt;h2 id="unixlinux"&gt;Unix/Linux&lt;/h2&gt;
&lt;p&gt;You need a shell environment as the Makefile spawns shells scripts. &lt;/p&gt;
&lt;p&gt;Also the path needs to include "." as the makefile expects this &lt;/p&gt;
&lt;p&gt;If using version 7.12 auto&lt;code&gt;*&lt;/code&gt; toolkits are required, assuming Debian/Ubuntu: &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;sudo apt-get install autoconf
sudo apt-get install automake
sudo apt-get install libtool
sh autogen.sh
env LANG=c ./configure
env LANG=c make
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;TinyCoreLinux: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;compiletc &lt;/li&gt;
&lt;li&gt;automake &lt;/li&gt;
&lt;li&gt;libtool &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;NOTE requires slight patches and change to build procedure: &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;tc@box:adflib$ hg diff
diff -r dca08a86d2e0 Makefile.am
--- a/Makefile.am       Sun Mar 28 02:37:28 2010 -0700
+++ b/Makefile.am       Sun Mar 28 03:55:05 2010 -0700
@@ -1,7 +1,8 @@
-SUBDIRS = src doc
-if EXAMPLES
-SUBDIRS += examples
-endif
+ACLOCAL_AMFLAGS = -I m4
+#if EXAMPLES
+##SUBDIRS += examples
+#SUBDIRS = examples
+#endif

 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = adflib.pc
diff -r dca08a86d2e0 configure.ac
--- a/configure.ac      Sun Mar 28 02:37:28 2010 -0700
+++ b/configure.ac      Sun Mar 28 03:55:05 2010 -0700
@@ -25,7 +25,8 @@
 AC_PROG_INSTALL
 AC_PROG_LN_S
 AC_PROG_MAKE_SET
-AC_PROG_LIBTOOL
+#AC_PROG_LIBTOOL
+AC_PROG_LIBTOOL=libtool

 # Checks for libraries.

diff -r dca08a86d2e0 src/Makefile.am
--- a/src/Makefile.am   Sun Mar 28 02:37:28 2010 -0700
+++ b/src/Makefile.am   Sun Mar 28 03:55:05 2010 -0700
@@ -1,3 +1,5 @@
+LIBTOOL = libtool
+ACLOCAL_AMFLAGS = -I m4
 NATIVE_DIR = generic

 lib_LTLIBRARIES = libadf.la
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Issue: &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;sh autogen.sh 
./configure
make  ## seems to do nothing
make src
cd src
make
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Shared libs end up in src/.libs/ &lt;/p&gt;
&lt;h2 id="windows"&gt;Windows&lt;/h2&gt;
&lt;p&gt;Nmake files are present as of March 2010 in the ADFLib CVS repo. &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;mkdir Bin\Win32\Debug
nmake /f dynlib.mak
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Project (dsp) files are for MSVC 6.0, can use .net 2003 (project files need upgrading by MS Studio). &lt;/p&gt;
&lt;p&gt;NOTE the dll name appears to be adflibD.dll, note the D which is upper case here for clarity but is lowercase in the file system. pyadf expects the dll to be called adflib.dll &lt;/p&gt;
&lt;p&gt;Consider using &lt;a href="http://coapp.org" rel="nofollow"&gt;http://coapp.org&lt;/a&gt; approach to making Windows versions of the adf dll. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sat, 02 May 2015 18:57:55 -0000</pubDate><guid>https://sourceforge.netb3f8330f3b2862eadb505cc1731bea63cc480f55</guid></item></channel></rss>