On 2012-02-14, at 5:09 AM, Spencer Oliver wrote: > On 13 February 2012 06:37, Bruce Fletcher <[email protected]> wrote: >> I believe I've run into a problem building OpenOCD from git with automake >> 1.11.2 or higher. >> >> I'm on on Mac OS X Lion (10.7.3) using autotools from MacPorts, which >> provides automake 1.11.3. When I try to build a configure script I get the >> following errors: >> >> $ aclocal >> $ autoheader >> $ automake >> src/jtag/drivers/Makefile.am:8: `pkglibdir' is not a legitimate directory >> for `DATA' >> src/jtag/stlink/Makefile.am:8: `pkglibdir' is not a legitimate directory for >> `DATA' >> src/target/Makefile.am:167: `pkglibdir' is not a legitimate directory for >> `DATA' >> >> Google tells me that this is a change in how automake works as of 1.11.2, >> where references to pkglib_DATA cause automake to fail. I found various >> discussions of the issue like this one: >> http://bugs.mysql.com/bug.php?id=63898 >> >> OpenOCD doesn't use pkglib_DATA but it does have nobase_dist_pkglib_DATA in >> the above three files. Modelled on the solution given in that mysql.com >> link, I changed these to nobase_dist_pkgdata_DATA and I got what appears to >> be a successful configure script. I get as far as a compiled openocd >> executable, at least. >> >> Hope that's helpful, or at least not too noisy. >> > > Thanks for the report. I have tried a different method so that the > install location for all files does not change. > If possible could you test this patch - http://openocd.zylin.com/457 > > Cheers > Spen
I should be able to give it a try in about 12 hours. I got as far before as getting OpenOCD to talk to my STM32VLDiscovery board over its built-in ST-LINK hardware before I had to go deal with some other stuff, (life... who needs it?) so I'll probably only be able to get back to that same point again for now. Pretty cool notion though, being able to dabble in ARM development and debugging for $10 plus shipping. That arduino stuff is looking positively spendy! Thanks, - Bruce ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
