radareorg / iaito

Official QT frontend of radare2
GNU General Public License v3.0
994 stars 86 forks source link

Cannot install iaito #49

Closed AlEscher closed 3 years ago

AlEscher commented 3 years ago

Environment Details

$ iaito -v
bash: iaito: command not found
$ date
Tue Jul 20 12:22:27 WEDT 2021
$ r2 -v
bash: r2: command not found
$ uname -ms
MINGW64_NT-10.0-19043 x86_64

Description

Additional info: image

$ sys/install.sh
WARNING: Updating from remote repository
Already up to date.
/c/HackUtil/iaito-w64/radare2
configure-plugins: Loading ./plugins.cfg ..
configure-plugins: Generating libr/config.h
configure-plugins: Generating libr/asm/d/config.inc
configure-plugins: Generating libr/config.mk
SHARED: io.shm
STATIC: anal.6502 anal.6502_cs anal.8051 anal.amd29k anal.arc anal.arm_cs anal.arm_gnu anal.arm_v35 anal.avr anal.bf anal.chip8 anal.cr16 anal.cris anal.dalvik anal.ebc anal.gb anal.h8300 anal.hexagon anal.i4004 anal.i8080 anal.java anal.m680x_cs anal.m68k_cs anal.malbolge anal.mcore anal.mips_cs anal.mips_gnu anal.msp430 anal.nios2 anal.null anal.or1k anal.pic anal.ppc_cs anal.ppc_gnu anal.pyc anal.riscv anal.riscv_cs anal.rsp anal.s390_cs anal.sh anal.snes anal.sparc_cs anal.sparc_gnu anal.tms320 anal.tricore anal.v810 anal.v850 anal.vax anal.wasm anal.ws anal.x86_cs anal.xap anal.xcore_cs anal.xtensa anal.z80 asm.6502 asm.6502_cs asm.8051 asm.amd29k asm.arc asm.arm_as asm.arm_cs asm.arm_gnu asm.arm_v35 asm.arm_winedbg asm.avr asm.bf asm.chip8 asm.cr16 asm.cris_gnu asm.dalvik asm.dcpu16 asm.ebc asm.gb asm.h8300 asm.hexagon asm.hppa_gnu asm.i4004 asm.i8080 asm.java asm.lanai_gnu asm.lh5801 asm.lm32 asm.m680x_cs asm.m68k_cs asm.m68k_gnu asm.malbolge asm.mcore asm.mcs96 asm.mips_cs asm.mips_gnu asm.msp430 asm.nios2 asm.null asm.or1k asm.pic asm.ppc_as asm.ppc_cs asm.ppc_gnu asm.propeller asm.pyc asm.riscv asm.riscv_cs asm.rsp asm.s390_cs asm.s390_gnu asm.sh asm.snes asm.sparc_cs asm.sparc_gnu asm.tms320 asm.tricore asm.v810 asm.v850 asm.v850_gnu asm.vax asm.wasm asm.ws asm.x86_as asm.x86_cs asm.x86_nasm asm.x86_nz asm.xap asm.xcore_cs asm.xtensa asm.z80 bin.any bin.art bin.avr bin.bf bin.bflt bin.bios bin.bootimg bin.cgc bin.coff bin.dex bin.dmp64 bin.dol bin.dyldcache bin.elf bin.elf64 bin.fs bin.java bin.le bin.mach0 bin.mach064 bin.mbn bin.mdmp bin.menuet bin.mz bin.ne bin.nes bin.nin3ds bin.ninds bin.ningb bin.ningba bin.nro bin.nso bin.off bin.omf bin.p9 bin.pe bin.pe64 bin.pebble bin.prg bin.psxexe bin.pyc bin.qnx bin.sfc bin.smd bin.sms bin.symbols bin.te bin.vsf bin.wad bin.wasm bin.xbe bin.xnu_kernelcache bin.z64 bin.zimg bin_ldr.ldr_linux bin_xtr.xtr_dyldcache bin_xtr.xtr_fatmach0 bin_xtr.xtr_pemixed bin_xtr.xtr_sep64 bp.arm bp.bf bp.mips bp.ppc bp.x86 core.a2f core.java core.sixref crypto.aes crypto.aes_cbc crypto.base64 crypto.base91 crypto.blowfish crypto.cps2 crypto.des crypto.punycode crypto.rc2 crypto.rc4 crypto.rc6 crypto.rol crypto.ror crypto.rot crypto.serpent crypto.xor debug.bf debug.bochs debug.esil debug.gdb debug.io debug.native debug.null debug.qnx debug.rap debug.winkd egg.exec egg.xor esil.dummy fs.ext2 fs.fat fs.fb fs.hfs fs.hfsplus fs.io fs.iso9660 fs.jfs fs.minix fs.ntfs fs.posix fs.r2 fs.reiserfs fs.sfs fs.tar fs.udf fs.ufs fs.xfs io.ar io.bfdbg io.bochs io.debug io.default io.fd io.gdb io.gprobe io.gzip io.http io.ihex io.mach io.malloc io.mmap io.null io.procpid io.ptrace io.qnx io.r2k io.r2pipe io.r2web io.rap io.rbuf io.self io.shm io.socket io.sparse io.tcpslurp io.w32 io.w32dbg io.winedbg io.winkd io.zip lang.c lang.cpipe lang.pipe lang.rust lang.spp lang.v lang.vala lang.zig parse.6502_pseudo parse.arm_pseudo parse.att2intel parse.avr_pseudo parse.chip8_pseudo parse.dalvik_pseudo parse.m68k_pseudo parse.mips_pseudo parse.ppc_pseudo parse.riscv_pseudo parse.sh_pseudo parse.tms320_pseudo parse.v850_pseudo parse.wasm_pseudo parse.x86_pseudo parse.z80_pseudo
cp: './plugins.cfg' and 'plugins.cfg' are the same file
checking build system type... x86_64-unknown-mingw64_nt-10.0-19043-gnu
checking host system type... x86_64-unknown-mingw64_nt-10.0-19043-gnu
checking target system type... x86_64-unknown-mingw64_nt-10.0-19043-gnu
checking for working directories... current
using prefix '/usr/local'
checking for c compiler... gcc
checking for dynamic library... libc
checking for pkg-config... /c/Strawberry/perl/bin/pkg-config
checking for patch... /usr/bin/patch
checking for git... /mingw64/bin/git
checking for gperf... no
checking for libmagic ... no
checking for libz ... yes
checking for libzip ... no
checking for libxxhash ... no
checking declaration of ADDR_NO_RANDOMIZE in sys/personality.h... no
checking declaration of __GLIBC__ in features.h... no
checking function arc4random_uniform() in c... no
checking function explicit_bzero() in c... no
checking function explicit_memset() in c... no
checking function clock_nanosleep() in c... no
checking function sigaction() in c... no
checking function clock_gettime() in c... no
checking cflags  -std=gnu99... yes
checking for libssl ... yes
checking pkg-config flags for openssl... no
checking version of library libuv >= 1.0.0... no
creating ./config-user.mk
creating libr/include/r_userconf.h
creating pkgcfg/r_io.pc
creating pkgcfg/r_magic.pc
creating pkgcfg/r_asm.pc
creating pkgcfg/r_bin.pc
creating pkgcfg/r_anal.pc
creating pkgcfg/r_hash.pc
creating pkgcfg/r_cons.pc
creating pkgcfg/r_core.pc
creating pkgcfg/r_lang.pc
creating pkgcfg/r_socket.pc
creating pkgcfg/r_debug.pc
creating pkgcfg/r_reg.pc
creating pkgcfg/r_config.pc
creating pkgcfg/r_flag.pc
creating pkgcfg/r_syscall.pc
creating pkgcfg/r_util.pc
creating pkgcfg/r_search.pc
creating pkgcfg/r_bp.pc
creating pkgcfg/r_parse.pc
creating pkgcfg/r_fs.pc
creating pkgcfg/r_egg.pc
creating pkgcfg/r_crypto.pc
cleaning temporally files... done

Final report:
 - R_CHECKS_LEVEL = 2
 - PREFIX = /usr/local
 - HAVE_LIB_GMP = 0
 - HAVE_OPENSSL = 0
 - HAVE_LIBUV = 0
 - USE_CAPSTONE = 0
 - HAVE_PTRACE = 1
 - USE_PTRACE_WRAP = 0
 - HAVE_FORK = 1
 - VERSION = 5.4.0-git
 - USE_LIB_ZIP = 0
 - USE_LIB_MAGIC = 0
 - USE_LIB_XXHASH = 0
 - DEBUGGER = 1
 - CC = gcc
 - USERCC = gcc
 - HAVE_ARC4RANDOM_UNIFORM = 0
 - PKGCONFIG = /c/Strawberry/perl/bin/pkg-config
 - HAVE_GPERF = 0
 - HAVE_EXPLICIT_BZERO = 0
 - HAVE_EXPLICIT_MEMSET = 0
 - WANT_DYLINK = 1
 - USEROSTYPE = auto
 - LIBVERSION = 5.4.0-git
 - BUILD = x86_64-unknown-mingw64_nt-10.0-19043-gnu
 - HOST = x86_64-unknown-mingw64_nt-10.0-19043-gnu
 - TARGET = x86_64-unknown-mingw64_nt-10.0-19043-gnu
 - CFLAGS = (null)
 - LDFLAGS = (null)
Generating r_version.h file
radare2
1
Makefile:263: warning: overriding recipe for target 'all'
Makefile:82: warning: ignoring old recipe for target 'all'
Makefile:263: warning: overriding recipe for target 'all'
Makefile:82: warning: ignoring old recipe for target 'all'

>>>>>>>>
HOST SDB
>>>>>>>>

CC main.c
CC cdb.c
CC buffer.c
CC cdb_make.c
CC ls.c
CC sdbht.c
CC ht_uu.c
CC sdb.c
CC num.c
CC base64.c
CC match.c
CC json.c
main.c: In function 'gen_gperf':
main.c:760:3: warning: implicit declaration of function 'ftruncate'; did you mean 'strncat'? [-Wimplicit-function-declaration]
   ftruncate (wd, 0);
   ^~~~~~~~~
   strncat
CC ns.c
CC lock.c
CC util.c
CC disk.c
CC query.c
CC array.c
CC fmt.c
CC journal.c
CC text.c
CC dict.c
CC ht_pp.c
CC ht_up.c
lock.c: In function 'sdb_lock':
lock.c:36:18: warning: implicit declaration of function 'getpid'; did you mean 'getcwd'? [-Wimplicit-function-declaration]
  pid = sdb_itoa (getpid (), pidstr, 10);
                  ^~~~~~
                  getcwd
CC ht_pu.c
CC set.c
CC diff.c
journal.c: In function 'sdb_journal_clear':
journal.c:97:11: warning: implicit declaration of function 'ftruncate'; did you mean 'strncat'? [-Wimplicit-function-declaration]
   return !ftruncate (s->journal, 0);
           ^~~~~~~~~
           strncat
AR libsdb.a
ar: creating libsdb.a
BIN sdb
sdb/sdb: PE32+ executable (console) x86-64, for MS Windows
Makefile:263: warning: overriding recipe for target 'all'
Makefile:82: warning: ignoring old recipe for target 'all'
Makefile:263: warning: overriding recipe for target 'all'
Makefile:82: warning: ignoring old recipe for target 'all'

>>>>>>>>>>
TARGET SDB
>>>>>>>>>>

gmake[4]: *** No rule to make target 'libsdb.'.  Stop.
gmake[3]: *** [Makefile:144: sdb-target] Error 2
gmake[2]: *** [Makefile:117: sdb/src/libsdb.a] Error 2
gmake[1]: *** [Makefile:120: sdbs] Error 2
gmake: *** [Makefile:51: all] Error 2
AlEscher commented 3 years ago

Downloading Release from here: https://github.com/radareorg/radare2/releases/tag/5.3.1 and then copying the contents of the bin folder into the same folder were ìaito.exe` is located at least allows the program to start. However, there is still some error message. But at least now the program runs. image

trufae commented 3 years ago

Is this an error ir just a warning?

AlEscher commented 3 years ago

I have no idea, I never used iaito before. It looks like an error but since the program still runs I guess it is just a warning?

trufae commented 3 years ago

If it runs is just a warning. U may want to copy the r2 themes somewhere around the iaito directory for the themes. But everything is rules by r2, so you can us ethe shell to determine (or change) that path