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,
- Bruce

Attachment: automake.diff
Description: Binary data

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
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-dev2
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to