makestuff/fx2tools

Missing "dump" dependency (is it libdump?)

Closed this issue · 1 comments

When trying to build fx2tools, I get the following error. It appears the dump dependency has moved or change in some way. https://github.com/makestuff/dump returns a 404.

Error

--2014-04-26 02:44:20--  https://github.com/makestuff/dump/tarball/master
Resolving github.com (github.com)... 192.30.252.130
Connecting to github.com (github.com)|192.30.252.130|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2014-04-26 02:44:20 ERROR 404: Not Found.

make: *** [../../libs/dump] Error 8

Full log

tansell@tansell-x220-l:~/foss$ mkdir -p makestuff/src/apps
tansell@tansell-x220-l:~/foss$ cd makestuff/src/apps
tansell@tansell-x220-l:~/foss/makestuff/src/apps$ git clone git@github.com:makestuff/fx2tools.git
Cloning into 'fx2tools'...
remote: Reusing existing pack: 157, done.
remote: Total 157 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (157/157), 58.71 KiB | 0 bytes/s, done.
Resolving deltas: 100% (96/96), done.
Checking connectivity... done.
tansell@tansell-x220-l:~/foss/makestuff/src/apps$ cd fx2tools/
tansell@tansell-x220-l:~/foss/makestuff/src/apps/fx2tools$ ls
bulk  firmware  fx2loader  hxd  lib  LICENSE.txt  Makefile.common  Makefile.linux  Makefile.win32  README  ucm
tansell@tansell-x220-l:~/foss/makestuff/src/apps/fx2tools$ make -f Makefile.linux
wget -O argtypes.tgz --no-check-certificate https://github.com/makestuff/argtypes/tarball/master
--2014-04-26 02:44:18--  https://github.com/makestuff/argtypes/tarball/master
Resolving github.com (github.com)... 192.30.252.130
Connecting to github.com (github.com)|192.30.252.130|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/makestuff/argtypes/legacy.tar.gz/master [following]
--2014-04-26 02:44:18--  https://codeload.github.com/makestuff/argtypes/legacy.tar.gz/master
Resolving codeload.github.com (codeload.github.com)... 192.30.252.145
Connecting to codeload.github.com (codeload.github.com)|192.30.252.145|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: 'argtypes.tgz'

    [ <=>                                                                                                         ] 20,523      --.-K/s   in 0.1s    

2014-04-26 02:44:19 (206 KB/s) - 'argtypes.tgz' saved [20523]

tar xvzf argtypes.tgz
makestuff-argtypes-59e4516/
makestuff-argtypes-59e4516/LICENSE.txt
makestuff-argtypes-59e4516/Makefile.linux
makestuff-argtypes-59e4516/Makefile.win32
makestuff-argtypes-59e4516/README
makestuff-argtypes-59e4516/arg_uint.c
makestuff-argtypes-59e4516/arg_uint.h
makestuff-argtypes-59e4516/argtypes.sln
makestuff-argtypes-59e4516/argtypes.vcproj
makestuff-argtypes-59e4516/gen_arg_uint.sh
makestuff-argtypes-59e4516/tests/
makestuff-argtypes-59e4516/tests/Makefile
makestuff-argtypes-59e4516/tests/main.cpp
makestuff-argtypes-59e4516/tests/testUint.cpp
makestuff-argtypes-59e4516/tests/tests.vcproj
rm argtypes.tgz
mkdir -p ../../libs
mv makestuff-argtypes* ../../libs/argtypes
wget -O buffer.tgz --no-check-certificate https://github.com/makestuff/buffer/tarball/master
--2014-04-26 02:44:19--  https://github.com/makestuff/buffer/tarball/master
Resolving github.com (github.com)... 192.30.252.130
Connecting to github.com (github.com)|192.30.252.130|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/makestuff/buffer/legacy.tar.gz/master [following]
--2014-04-26 02:44:19--  https://codeload.github.com/makestuff/buffer/legacy.tar.gz/master
Resolving codeload.github.com (codeload.github.com)... 192.30.252.145
Connecting to codeload.github.com (codeload.github.com)|192.30.252.145|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 26138 (26K) [application/x-gzip]
Saving to: 'buffer.tgz'

100%[============================================================================================================>] 26,138      --.-K/s   in 0.1s    

2014-04-26 02:44:20 (255 KB/s) - 'buffer.tgz' saved [26138/26138]

tar xvzf buffer.tgz
makestuff-buffer-2b8569e/
makestuff-buffer-2b8569e/LICENSE.txt
makestuff-buffer-2b8569e/Makefile.common
makestuff-buffer-2b8569e/Makefile.linux
makestuff-buffer-2b8569e/Makefile.win32
makestuff-buffer-2b8569e/README
makestuff-buffer-2b8569e/binio.c
makestuff-buffer-2b8569e/buffer.h
makestuff-buffer-2b8569e/buffer.sln
makestuff-buffer-2b8569e/buffer.vcproj
makestuff-buffer-2b8569e/conv.c
makestuff-buffer-2b8569e/conv.h
makestuff-buffer-2b8569e/core.c
makestuff-buffer-2b8569e/error.c
makestuff-buffer-2b8569e/hexio.c
makestuff-buffer-2b8569e/tests/
makestuff-buffer-2b8569e/tests/Makefile
makestuff-buffer-2b8569e/tests/main.cpp
makestuff-buffer-2b8569e/tests/testBinIO.cpp
makestuff-buffer-2b8569e/tests/testConv.cpp
makestuff-buffer-2b8569e/tests/testCore.cpp
makestuff-buffer-2b8569e/tests/testHexIO.cpp
makestuff-buffer-2b8569e/tests/tests.vcproj
rm buffer.tgz
mkdir -p ../../libs
mv makestuff-buffer* ../../libs/buffer
wget -O dump.tgz --no-check-certificate https://github.com/makestuff/dump/tarball/master
--2014-04-26 02:44:20--  https://github.com/makestuff/dump/tarball/master
Resolving github.com (github.com)... 192.30.252.130
Connecting to github.com (github.com)|192.30.252.130|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2014-04-26 02:44:20 ERROR 404: Not Found.

make: *** [../../libs/dump] Error 8

The "fx2tools" repo is junk - it says so in the description. If you want to build fx2loader, you can do it like this:

https://gist.github.com/makestuff/9837587

You can find the docs here:

http://www.makestuff.eu/wordpress/software/fx2tools/

If you're using an FX2LP to talk to an FPGA, you may be interested in FPGALink:

https://github.com/makestuff/libfpgalink/
https://groups.google.com/forum/#!forum/fpgalink-users