<yizhang> hi everyone, i'm trying to compile urjtag following http://www.milkymist.org/wiki/index.php?title=Flashing_the_Milkymist_One#compile_urjtag, but got compilation error
<yizhang> In file included from vhdl_bison.y:133:
<yizhang> bsdl_sysdep.h:29: fatal error: bsdl_config.h: No such file or directory
<yizhang> could anybody help me on identify what I'm missing?
<xiangfu> yizhang: Hi
<yizhang> xiangfu: hi
<yizhang> xiangfu: see my compilation error? any ideas?
<xiangfu> yizhang: please send me the config.log under urjtag.git/urjtag/config.log
<yizhang> xiangfu: k, will do.
<xiangfu> I found the bsdl_config.h is here: urjtag/src/bsdl/bsdl_config.h
<yizhang> xiangfu: hmm ... i don't have that file there
<xiangfu> yizhang: are you sure you have run "git clone git://urjtag.git.sourceforge.net/gitroot/urjtag/urjtag"
<xiangfu> sorry,I mean maybe just delete the whole urjtag folder, re-execute it
<yizhang> xiangfu: yes, i did
<yizhang> xiangfu: alright, let me redo it.
<yizhang> xiangfu: will let you know. thanks!
<xiangfu> I found the bsdl_config.h is create by 'grep' the config.h. it shoudl be always there.
<yizhang> xiangfu: okay, after i run git clone and checked the urjtag/src/bsdl folder, bsdl_config.h is not there.
<xiangfu> yes. you have to run '$ ./autogen.sh
<xiangfu> $ ./configure --with-libusb --with-libftdi"
<xiangfu> then it should create that file
<yizhang> xiangfu: then i went on to the sourceforge and i didn't see it in the tree either
<yizhang> xiangfu: maybe it is generated with autogen
<xiangfu> yes
<yizhang> xiangfu: yes, running autogen.sh right now
<kristianpaul> Hi yizhang !
<yizhang> kristianpaul: hi :)
<yizhang> xiangfu: after running those 2 commands, still don't see the bsdl_config.h file.
<yizhang> xiangfu: when running ./configure i got a warning 'configure: WARNING: *** libftd2xx not found. No support for FTDI-based USB JTAG cables via libftd2xx.'
<xiangfu> ok. send me your config.log
<yizhang> xiangfu: does this warning matters?
<yizhang> xiangfu: my config.log sent
<xiangfu> the warning is doesn't matter.
<yizhang> xiangfu: i saw 'conftest.c:12: fatal error: ac_nonexistent.h: No such file or directory'
<yizhang> xiangfu: in my config.log
<xiangfu> sorry. the bsdl_config.h create by 'make'
<yizhang> xiangfu: okay, let me run make then
<yizhang> xiangfu: 'make' gave me the same error
<kristianpaul> yizhang: are you trying to compile urjtag in wich arch?
<kristianpaul> and distro
<kristianpaul> yeah, batter not use last commit as
<kristianpaul> xianfgu fixed it milkymist wiki :-)
<yizhang> kristianpaul: yeah. ended up using the old version
<yizhang> kristianpaul: now i hit a new problem
<yizhang> :(
<yizhang> kristianpaul:  i have gone through the compilation, but when install i got
<yizhang> make[1]: Entering directory `/home/yi/urjtag/urjtag/po'
<yizhang> make[1]: *** [install-data-yes] Error 127
<yizhang> make[1]: Entering directory `/home/yi/urjtag/urjtag/po'
<yizhang> make[1]: *** [install-data-yes] Error 127
<yizhang> kristianpaul: /bin/sh 'MKINSTALLDIRS' /usr/local/share
<yizhang> kristianpaul: /bin/sh Can't open @MKINSTALLDIRS@
<CIA-51> rtems-milkymist: Xiangfu Liu master * re25a1ff / cpukit/libfs/src/imfs/imfs_stat.c : imfs: give a default value to st_blksize - http://bit.ly/lNlLfj
<yizhang> kristianpaul: hi
<yizhang> kristianpaul: have you tried to install urjtag lately, or you always used the old one?
<yizhang> kristianpaul: after compilation problem resolved, i ran into install problem
<yizhang> kristianpaul: '/bin/sh Can't open @MKINSTALLDIRS@'
<lekernel> terpstra, see how much autocrap sucks? :-)
<lekernel> yizhang, is that gettext related?
<yizhang> i searched internet and found this : http://ubuntuforums.org/showthread.php?t=783343
<lekernel> in what folder do you run into this?
<lekernel> I usually "fix" pesky gettext problems like that with "echo install: > po/Makefile"
<yizhang> `/home/yi/urjtag/urjtag/po'
<lekernel> yeah, just trash the makefile... unless you really need the translations
<yizhang> alright, i try it
<yizhang> lekernel: alright! install went through!
<yizhang> lekernel: thanks! i'll update wiki page. let me reflash M1 and see how it goes.
<kristianpaul> yizhang: latelly made me back to old one ;)
<yizhang> kristianpaul: yeah, we all did ;)