OpenOCD install error on Linux

Hi All,

I found a version of OpenOCD(0.4.0) that will build on my Linux system (Arch). However, the install phase fails with the error:

make  install-am
make[4]: Entering directory `/home/bmentink/opt/Arm Tools/openocd040/openocd-0.4.0/src/target'
make[5]: Entering directory `/home/bmentink/opt/Arm Tools/openocd040/openocd-0.4.0/src/target'
test -z "/usr/local/lib/openocd" || /bin/mkdir -p "/usr/local/lib/openocd"
 /bin/sh /home/bmentink/opt/Arm Tools/openocd717/openocd-0.4.0/install-sh -c -m 644 'ecos/at91eb40a.elf' '/usr/local/lib/openocd/ecos/at91eb40a.elf'
/bin/sh: /home/bmentink/opt/Arm: No such file or directory
make[5]: *** [install-nobase_dist_pkglibDATA] Error 127
make[5]: Leaving directory `/home/bmentink/opt/Arm Tools/openocd040/openocd-0.4.0/src/target'
make[4]: *** [install-am] Error 2
make[4]: Leaving directory `/home/bmentink/opt/Arm Tools/openocd040/openocd-0.4.0/src/target'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/home/bmentink/opt/Arm Tools/openocd040/openocd-0.4.0/src/target'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/bmentink/opt/Arm Tools/openocd040/openocd-0.4.0/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/bmentink/opt/Arm Tools/openocd040/openocd-0.4.0/src'
make: *** [install-recursive] Error 1

Can anyone give me any clues as to what I need to do to fix this.

If I can’t fix this, can openocd be run from it’s build directory ( …/src/. )?

Thanks,

Bernie

Ok, I fixed this. It seems the script did not like the space in the directory name “Arm Tools”.

Cheers,

B