| 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 | 01:43 |
|---|---|---|
| yizhang | In file included from vhdl_bison.y:133: | 01:43 |
| yizhang | bsdl_sysdep.h:29: fatal error: bsdl_config.h: No such file or directory | 01:43 |
| yizhang | could anybody help me on identify what I'm missing? | 01:44 |
| xiangfu | yizhang: Hi | 02:02 |
| yizhang | xiangfu: hi | 02:03 |
| yizhang | xiangfu: see my compilation error? any ideas? | 02:04 |
| xiangfu | yizhang: please send me the config.log under urjtag.git/urjtag/config.log | 02:06 |
| yizhang | xiangfu: k, will do. | 02:06 |
| xiangfu | I found the bsdl_config.h is here: urjtag/src/bsdl/bsdl_config.h | 02:09 |
| yizhang | xiangfu: hmm ... i don't have that file there | 02:11 |
| xiangfu | yizhang: are you sure you have run "git clone git://urjtag.git.sourceforge.net/gitroot/urjtag/urjtag" | 02:12 |
| xiangfu | sorry,I mean maybe just delete the whole urjtag folder, re-execute it | 02:12 |
| yizhang | xiangfu: yes, i did | 02:13 |
| yizhang | xiangfu: alright, let me redo it. | 02:13 |
| yizhang | xiangfu: will let you know. thanks! | 02:15 |
| xiangfu | I found the bsdl_config.h is create by 'grep' the config.h. it shoudl be always there. | 02:21 |
| yizhang | xiangfu: okay, after i run git clone and checked the urjtag/src/bsdl folder, bsdl_config.h is not there. | 02:31 |
| xiangfu | yes. you have to run '$ ./autogen.sh | 02:32 |
| xiangfu | $ ./configure --with-libusb --with-libftdi" | 02:32 |
| xiangfu | then it should create that file | 02:32 |
| yizhang | xiangfu: then i went on to the sourceforge and i didn't see it in the tree either | 02:32 |
| yizhang | xiangfu: maybe it is generated with autogen | 02:32 |
| xiangfu | yes | 02:36 |
| yizhang | xiangfu: yes, running autogen.sh right now | 02:36 |
| kristianpaul | Hi yizhang ! | 02:36 |
| yizhang | kristianpaul: hi :) | 02:57 |
| yizhang | xiangfu: after running those 2 commands, still don't see the bsdl_config.h file. | 03:03 |
| yizhang | xiangfu: when running ./configure i got a warning 'configure: WARNING: *** libftd2xx not found. No support for FTDI-based USB JTAG cables via libftd2xx.' | 03:04 |
| xiangfu | ok. send me your config.log | 03:04 |
| yizhang | xiangfu: does this warning matters? | 03:04 |
| yizhang | xiangfu: my config.log sent | 03:10 |
| xiangfu | the warning is doesn't matter. | 03:16 |
| yizhang | xiangfu: i saw 'conftest.c:12: fatal error: ac_nonexistent.h: No such file or directory' | 03:16 |
| yizhang | xiangfu: in my config.log | 03:16 |
| xiangfu | sorry. the bsdl_config.h create by 'make' | 03:32 |
| yizhang | xiangfu: okay, let me run make then | 03:43 |
| yizhang | xiangfu: 'make' gave me the same error | 04:07 |
| kristianpaul | yizhang: are you trying to compile urjtag in wich arch? | 10:55 |
| kristianpaul | and distro | 10:55 |
| kristianpaul | yeah, batter not use last commit as | 10:57 |
| kristianpaul | xianfgu fixed it milkymist wiki :-) | 10:58 |
| yizhang | kristianpaul: yeah. ended up using the old version | 11:12 |
| yizhang | kristianpaul: now i hit a new problem | 11:12 |
| yizhang | :( | 11:12 |
| yizhang | kristianpaul: i have gone through the compilation, but when install i got | 11:14 |
| yizhang | make[1]: Entering directory `/home/yi/urjtag/urjtag/po' | 11:14 |
| yizhang | make[1]: *** [install-data-yes] Error 127 | 11:14 |
| yizhang | make[1]: Entering directory `/home/yi/urjtag/urjtag/po' | 11:15 |
| yizhang | make[1]: *** [install-data-yes] Error 127 | 11:15 |
| yizhang | kristianpaul: /bin/sh 'MKINSTALLDIRS' /usr/local/share | 11:17 |
| yizhang | kristianpaul: /bin/sh Can't open @MKINSTALLDIRS@ | 11:17 |
| 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 | 15:22 |
| yizhang | kristianpaul: hi | 15:33 |
| yizhang | kristianpaul: have you tried to install urjtag lately, or you always used the old one? | 15:34 |
| yizhang | kristianpaul: after compilation problem resolved, i ran into install problem | 15:35 |
| yizhang | kristianpaul: '/bin/sh Can't open @MKINSTALLDIRS@' | 15:36 |
| lekernel | terpstra, see how much autocrap sucks? :-) | 15:39 |
| lekernel | yizhang, is that gettext related? | 15:40 |
| yizhang | i searched internet and found this : http://ubuntuforums.org/showthread.php?t=783343 | 15:40 |
| lekernel | in what folder do you run into this? | 15:40 |
| lekernel | I usually "fix" pesky gettext problems like that with "echo install: > po/Makefile" | 15:41 |
| yizhang | `/home/yi/urjtag/urjtag/po' | 15:41 |
| lekernel | yeah, just trash the makefile... unless you really need the translations | 15:41 |
| yizhang | alright, i try it | 15:42 |
| yizhang | lekernel: alright! install went through! | 15:45 |
| yizhang | lekernel: thanks! i'll update wiki page. let me reflash M1 and see how it goes. | 15:47 |
| kristianpaul | yizhang: latelly made me back to old one ;) | 15:48 |
| yizhang | kristianpaul: yeah, we all did ;) | 15:51 |
| --- Thu Jun 2 2011 | 00:00 | |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!