SHARE
TWEET

img4toolCompiling

a guest Nov 17th, 2019 160 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. The default interactive shell is now zsh.
  3. To update your account to use zsh, please run `chsh -s /bin/zsh`.
  4. For more details, please visit https://support.apple.com/kb/HT208050.
  5. Eds-MacBook-Pro:~ edlustigkaduri$ gcl
  6. -bash: gcl: command not found
  7. Eds-MacBook-Pro:~ edlustigkaduri$ git clone https://github.com/tihmstar/libgeneral
  8. Cloning into 'libgeneral'...
  9. remote: Enumerating objects: 132, done.
  10. remote: Counting objects: 100% (132/132), done.
  11. remote: Compressing objects: 100% (85/85), done.
  12. remote: Total 132 (delta 34), reused 128 (delta 30), pack-reused 0
  13. Receiving objects: 100% (132/132), 17.97 KiB | 3.59 MiB/s, done.
  14. Resolving deltas: 100% (34/34), done.
  15. Eds-MacBook-Pro:~ edlustigkaduri$ cd libgeneral/
  16. Eds-MacBook-Pro:libgeneral edlustigkaduri$ ls
  17. Makefile.am     include         libgeneral.xcodeproj
  18. autogen.sh      libgeneral
  19. configure.ac        libgeneral.pc.in
  20. Eds-MacBook-Pro:libgeneral edlustigkaduri$ ./autogen.sh --prefix=/usr/local
  21. aclocal: warning: couldn't open directory 'm4': No such file or directory
  22. configure.ac:6: installing './compile'
  23. configure.ac:4: installing './config.guess'
  24. configure.ac:4: installing './config.sub'
  25. configure.ac:8: installing './install-sh'
  26. configure.ac:6: error: required file './ltmain.sh' not found
  27. configure.ac:8: installing './missing'
  28. libgeneral/Makefile.am: installing './depcomp'
  29. aclocal: warning: couldn't open directory 'm4': No such file or directory
  30. glibtoolize: putting auxiliary files in '.'.
  31. glibtoolize: copying file './ltmain.sh'
  32. glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
  33. glibtoolize: copying file 'm4/libtool.m4'
  34. glibtoolize: copying file 'm4/ltoptions.m4'
  35. glibtoolize: copying file 'm4/ltsugar.m4'
  36. glibtoolize: copying file 'm4/ltversion.m4'
  37. glibtoolize: copying file 'm4/lt~obsolete.m4'
  38. checking build system type... x86_64-apple-darwin19.0.0
  39. checking host system type... x86_64-apple-darwin19.0.0
  40. checking target system type... x86_64-apple-darwin19.0.0
  41. checking how to print strings... printf
  42. checking for gcc... gcc
  43. checking whether the C compiler works... yes
  44. checking for C compiler default output file name... a.out
  45. checking for suffix of executables...
  46. checking whether we are cross compiling... no
  47. checking for suffix of object files... o
  48. checking whether we are using the GNU C compiler... yes
  49. checking whether gcc accepts -g... yes
  50. checking for gcc option to accept ISO C89... none needed
  51. checking whether gcc understands -c and -o together... yes
  52. checking for a sed that does not truncate output... /usr/bin/sed
  53. checking for grep that handles long lines and -e... /usr/bin/grep
  54. checking for egrep... /usr/bin/grep -E
  55. checking for fgrep... /usr/bin/grep -F
  56. checking for ld used by gcc... /Library/Developer/CommandLineTools/usr/bin/ld
  57. checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
  58. checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
  59. checking the name lister (/usr/bin/nm -B) interface... BSD nm
  60. checking whether ln -s works... yes
  61. checking the maximum length of command line arguments... 196608
  62. checking how to convert x86_64-apple-darwin19.0.0 file names to x86_64-apple-darwin19.0.0 format... func_convert_file_noop
  63. checking how to convert x86_64-apple-darwin19.0.0 file names to toolchain format... func_convert_file_noop
  64. checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r
  65. checking for objdump... objdump
  66. checking how to recognize dependent libraries... pass_all
  67. checking for dlltool... no
  68. checking how to associate runtime and link libraries... printf %s\n
  69. checking for ar... ar
  70. checking for archiver @FILE support... no
  71. checking for strip... strip
  72. checking for ranlib... ranlib
  73. checking for gawk... no
  74. checking for mawk... no
  75. checking for nawk... no
  76. checking for awk... awk
  77. checking command to parse /usr/bin/nm -B output from gcc object... ok
  78. checking for sysroot... no
  79. checking for a working dd... /bin/dd
  80. checking how to truncate binary pipes... /bin/dd bs=4096 count=1
  81. checking for mt... no
  82. checking if : is a manifest tool... no
  83. checking for dsymutil... dsymutil
  84. checking for nmedit... nmedit
  85. checking for lipo... lipo
  86. checking for otool... otool
  87. checking for otool64... no
  88. checking for -single_module linker flag... yes
  89. checking for -exported_symbols_list linker flag... yes
  90. checking for -force_load linker flag... yes
  91. checking how to run the C preprocessor... gcc -E
  92. checking for ANSI C header files... yes
  93. checking for sys/types.h... yes
  94. checking for sys/stat.h... yes
  95. checking for stdlib.h... yes
  96. checking for string.h... yes
  97. checking for memory.h... yes
  98. checking for strings.h... yes
  99. checking for inttypes.h... yes
  100. checking for stdint.h... yes
  101. checking for unistd.h... yes
  102. checking for dlfcn.h... yes
  103. checking for objdir... .libs
  104. checking if gcc supports -fno-rtti -fno-exceptions... yes
  105. checking for gcc option to produce PIC... -fno-common -DPIC
  106. checking if gcc PIC flag -fno-common -DPIC works... yes
  107. checking if gcc static flag -static works... no
  108. checking if gcc supports -c -o file.o... yes
  109. checking if gcc supports -c -o file.o... (cached) yes
  110. checking whether the gcc linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
  111. checking dynamic linker characteristics... darwin19.0.0 dyld
  112. checking how to hardcode library paths into programs... immediate
  113. checking whether stripping libraries is possible... yes
  114. checking if libtool supports shared libraries... yes
  115. checking whether to build shared libraries... yes
  116. checking whether to build static libraries... yes
  117. checking for a BSD-compatible install... /usr/bin/install -c
  118. checking whether build environment is sane... yes
  119. checking for a thread-safe mkdir -p... ./install-sh -c -d
  120. checking whether make sets $(MAKE)... yes
  121. checking whether make supports the include directive... yes (GNU style)
  122. checking whether make supports nested variables... yes
  123. checking dependency style of gcc... gcc3
  124. checking for g++... g++
  125. checking whether we are using the GNU C++ compiler... yes
  126. checking whether g++ accepts -g... yes
  127. checking how to run the C++ preprocessor... g++ -E
  128. checking for ld used by g++... /Library/Developer/CommandLineTools/usr/bin/ld
  129. checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
  130. checking whether the g++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
  131. checking for g++ option to produce PIC... -fno-common -DPIC
  132. checking if g++ PIC flag -fno-common -DPIC works... yes
  133. checking if g++ static flag -static works... no
  134. checking if g++ supports -c -o file.o... yes
  135. checking if g++ supports -c -o file.o... (cached) yes
  136. checking whether the g++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
  137. checking dynamic linker characteristics... darwin19.0.0 dyld
  138. checking how to hardcode library paths into programs... immediate
  139. checking dependency style of g++... gcc3
  140. checking for gcc... (cached) gcc
  141. checking whether we are using the GNU C compiler... (cached) yes
  142. checking whether gcc accepts -g... (cached) yes
  143. checking for gcc option to accept ISO C89... (cached) none needed
  144. checking whether gcc understands -c and -o together... (cached) yes
  145. checking that generated files are newer than configure... done
  146. configure: creating ./config.status
  147. config.status: creating Makefile
  148. config.status: creating include/Makefile
  149. config.status: creating libgeneral.pc
  150. config.status: creating libgeneral/Makefile
  151. config.status: creating config.h
  152. config.status: executing libtool commands
  153. config.status: executing depfiles commands
  154.  
  155. Configuration for libgeneral-26:
  156. -------------------------------------------
  157.  
  158.   install prefix ..........: /usr/local
  159.   compiler ................: gcc
  160.  
  161.   Now type 'make' to build libgeneral-26,
  162.   and then 'make install' for installation.
  163.  
  164. Eds-MacBook-Pro:libgeneral edlustigkaduri$ make
  165. (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /Users/edlustigkaduri/libgeneral/missing autoheader)
  166. rm -f stamp-h1
  167. touch config.h.in
  168. cd . && /bin/sh ./config.status config.h
  169. config.status: creating config.h
  170. config.status: config.h is unchanged
  171. /Library/Developer/CommandLineTools/usr/bin/make  all-recursive
  172. Making all in libgeneral
  173. /bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -I../include   -g -O2 -std=c++11 -MT libgeneral_la-exception.lo -MD -MP -MF .deps/libgeneral_la-exception.Tpo -c -o libgeneral_la-exception.lo `test -f 'exception.cpp' || echo './'`exception.cpp
  174. libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -std=c++11 -MT libgeneral_la-exception.lo -MD -MP -MF .deps/libgeneral_la-exception.Tpo -c exception.cpp  -fno-common -DPIC -o .libs/libgeneral_la-exception.o
  175. libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -std=c++11 -MT libgeneral_la-exception.lo -MD -MP -MF .deps/libgeneral_la-exception.Tpo -c exception.cpp -o libgeneral_la-exception.o >/dev/null 2>&1
  176. mv -f .deps/libgeneral_la-exception.Tpo .deps/libgeneral_la-exception.Plo
  177. /bin/sh ../libtool  --tag=CXX   --mode=link g++ -I../include   -g -O2 -std=c++11   -o libgeneral.la -rpath /usr/local/lib libgeneral_la-exception.lo  
  178. libtool: link: g++ -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o .libs/libgeneral.0.dylib  .libs/libgeneral_la-exception.o    -g -O2   -install_name  /usr/local/lib/libgeneral.0.dylib -compatibility_version 1 -current_version 1.0 -Wl,-single_module
  179. libtool: link: (cd ".libs" && rm -f "libgeneral.dylib" && ln -s "libgeneral.0.dylib" "libgeneral.dylib")
  180. libtool: link: ar cru .libs/libgeneral.a  libgeneral_la-exception.o
  181. libtool: link: ranlib .libs/libgeneral.a
  182. libtool: link: ( cd ".libs" && rm -f "libgeneral.la" && ln -s "../libgeneral.la" "libgeneral.la" )
  183. Making all in include
  184. make[2]: Nothing to be done for `all'.
  185. Eds-MacBook-Pro:libgeneral edlustigkaduri$ make install
  186. Making install in libgeneral
  187. .././install-sh -c -d '/usr/local/lib'
  188. /bin/sh ../libtool   --mode=install /usr/bin/install -c   libgeneral.la '/usr/local/lib'
  189. libtool: install: /usr/bin/install -c .libs/libgeneral.0.dylib /usr/local/lib/libgeneral.0.dylib
  190. libtool: install: (cd /usr/local/lib && { ln -s -f libgeneral.0.dylib libgeneral.dylib || { rm -f libgeneral.dylib && ln -s libgeneral.0.dylib libgeneral.dylib; }; })
  191. libtool: install: /usr/bin/install -c .libs/libgeneral.lai /usr/local/lib/libgeneral.la
  192. libtool: install: /usr/bin/install -c .libs/libgeneral.a /usr/local/lib/libgeneral.a
  193. libtool: install: chmod 644 /usr/local/lib/libgeneral.a
  194. libtool: install: ranlib /usr/local/lib/libgeneral.a
  195. make[2]: Nothing to be done for `install-data-am'.
  196. Making install in include
  197. make[2]: Nothing to be done for `install-exec-am'.
  198. .././install-sh -c -d '/usr/local/include'
  199. .././install-sh -c -d '/usr/local/include/libgeneral'
  200. /usr/bin/install -c -m 644  libgeneral/macros.h libgeneral/exception.hpp '/usr/local/include/libgeneral'
  201. make[2]: Nothing to be done for `install-exec-am'.
  202.  ./install-sh -c -d '/usr/local/lib/pkgconfig'
  203.  /usr/bin/install -c -m 644 libgeneral.pc '/usr/local/lib/pkgconfig'
  204. Eds-MacBook-Pro:libgeneral edlustigkaduri$ cd ..
  205. Eds-MacBook-Pro:~ edlustigkaduri$ ls
  206. Desktop     Library     Parallels   Projects    libgeneral
  207. Documents   Movies      Payload     Public      openssl
  208. Downloads   Music       Pictures    config.log  theos
  209. Eds-MacBook-Pro:~ edlustigkaduri$ cd Documents/
  210. .DS_Store                           img4tool-master-2/
  211. .localized                          ipwndfu-master/
  212. 11 007 TaN vy 07IX copy.pdf         obj c projs/
  213. IMG_3856.JPG                        oneweirdtrick 2.pdf
  214. Retroactive-master/                 poc-master/
  215. Terminal Saved Output               screenshots/
  216. chime.mp3                           walpapers/
  217. iPhone_5.5_12.1_16B92_Restore.ipsw  wenetajb/
  218. Eds-MacBook-Pro:~ edlustigkaduri$ cd Documents/img4tool-master-2/
  219. Eds-MacBook-Pro:img4tool-master-2 edlustigkaduri$ ls
  220. LICENSE         config.h.in     img4tool
  221. Makefile.am     config.log      img4tool.xcodeproj
  222. README.md       config.sub      include
  223. autogen.sh      configure       libimg4tool.pc.in
  224. autom4te.cache      configure.ac
  225. config.guess        depcomp
  226. Eds-MacBook-Pro:img4tool-master-2 edlustigkaduri$ ./autogen.sh
  227. aclocal: warning: couldn't open directory 'm4': No such file or directory
  228. fatal: not a git repository (or any of the parent directories): .git
  229. configure.ac:8: error: AC_INIT should be called with package and version arguments
  230. /usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/init.m4:171: AM_INIT_AUTOMAKE is expanded from...
  231. configure.ac:8: the top level
  232. autom4te: /usr/bin/m4 failed with exit status: 1
  233. aclocal: error: echo failed with exit status: 1
  234. configure.ac: error: no proper invocation of AM_INIT_AUTOMAKE was found.
  235. configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
  236. configure.ac: that aclocal.m4 is present in the top-level directory,
  237. configure.ac: and that aclocal.m4 was recently regenerated (using aclocal)
  238. img4tool/Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
  239. img4tool/Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
  240. img4tool/Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
  241. img4tool/Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
  242. img4tool/Makefile.am:5:   its definition is in aclocal's search path.
  243. /usr/local/Cellar/automake/1.16.1_1/share/automake-1.16/am/depend2.am: error: am__fastdepCC does not appear in AM_CONDITIONAL
  244. /usr/local/Cellar/automake/1.16.1_1/share/automake-1.16/am/depend2.am:   The usual way to define 'am__fastdepCC' is to add 'AC_PROG_CC'
  245. /usr/local/Cellar/automake/1.16.1_1/share/automake-1.16/am/depend2.am:   to 'configure.ac' and run 'aclocal' and 'autoconf' again
  246. /usr/local/Cellar/automake/1.16.1_1/share/automake-1.16/am/depend2.am: error: AMDEP does not appear in AM_CONDITIONAL
  247. /usr/local/Cellar/automake/1.16.1_1/share/automake-1.16/am/depend2.am:   The usual way to define 'AMDEP' is to add one of the compiler tests
  248. /usr/local/Cellar/automake/1.16.1_1/share/automake-1.16/am/depend2.am:     AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC, AC_PROG_OBJCXX,
  249. /usr/local/Cellar/automake/1.16.1_1/share/automake-1.16/am/depend2.am:     AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC
  250. /usr/local/Cellar/automake/1.16.1_1/share/automake-1.16/am/depend2.am:   to 'configure.ac' and run 'aclocal' and 'autoconf' again
  251. /usr/local/Cellar/automake/1.16.1_1/share/automake-1.16/am/depend2.am: error: am__fastdepCXX does not appear in AM_CONDITIONAL
  252. /usr/local/Cellar/automake/1.16.1_1/share/automake-1.16/am/depend2.am:   The usual way to define 'am__fastdepCXX' is to add 'AC_PROG_CXX'
  253. /usr/local/Cellar/automake/1.16.1_1/share/automake-1.16/am/depend2.am:   to 'configure.ac' and run 'aclocal' and 'autoconf' again
  254. aclocal: warning: couldn't open directory 'm4': No such file or directory
  255. fatal: not a git repository (or any of the parent directories): .git
  256. configure.ac:8: error: AC_INIT should be called with package and version arguments
  257. /usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/init.m4:171: AM_INIT_AUTOMAKE is expanded from...
  258. configure.ac:8: the top level
  259. autom4te: /usr/bin/m4 failed with exit status: 1
  260. aclocal: error: echo failed with exit status: 1
  261. autoreconf: aclocal failed with exit status: 1
  262. configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."
  263. Eds-MacBook-Pro:img4tool-master-2 edlustigkaduri$ cd ..
  264. Eds-MacBook-Pro:Documents edlustigkaduri$ ls
  265. 11 007 TaN vy 07IX copy.pdf     ipwndfu-master
  266. IMG_3856.JPG                obj c projs
  267. Retroactive-master          oneweirdtrick 2.pdf
  268. Terminal Saved Output           poc-master
  269. chime.mp3               screenshots
  270. iPhone_5.5_12.1_16B92_Restore.ipsw  walpapers
  271. img4tool-master-2           wenetajb
  272. Eds-MacBook-Pro:Documents edlustigkaduri$ rm -rf img4tool-master-2/
  273. Eds-MacBook-Pro:Documents edlustigkaduri$ clear
  274.  
  275. Eds-MacBook-Pro:Documents edlustigkaduri$ git clone https://github.com/tihmstar/img4tool
  276. Cloning into 'img4tool'...
  277. remote: Enumerating objects: 56, done.
  278. remote: Counting objects: 100% (56/56), done.
  279. remote: Compressing objects: 100% (40/40), done.
  280. remote: Total 878 (delta 25), reused 43 (delta 14), pack-reused 822
  281. Receiving objects: 100% (878/878), 240.41 KiB | 338.00 KiB/s, done.
  282. Resolving deltas: 100% (473/473), done.
  283. Eds-MacBook-Pro:Documents edlustigkaduri$ cd img4tool/
  284. Eds-MacBook-Pro:img4tool edlustigkaduri$ ls
  285. LICENSE         autogen.sh      img4tool.xcodeproj
  286. Makefile.am     configure.ac        include
  287. README.md       img4tool        libimg4tool.pc.in
  288. Eds-MacBook-Pro:img4tool edlustigkaduri$ git submodule init
  289. Eds-MacBook-Pro:img4tool edlustigkaduri$ git submodule update
  290. Eds-MacBook-Pro:img4tool edlustigkaduri$ ./autogen.sh
  291. aclocal: warning: couldn't open directory 'm4': No such file or directory
  292. configure.ac:6: installing './compile'
  293. configure.ac:4: installing './config.guess'
  294. configure.ac:4: installing './config.sub'
  295. configure.ac:8: installing './install-sh'
  296. configure.ac:6: error: required file './ltmain.sh' not found
  297. configure.ac:8: installing './missing'
  298. img4tool/Makefile.am: installing './depcomp'
  299. aclocal: warning: couldn't open directory 'm4': No such file or directory
  300. glibtoolize: putting auxiliary files in '.'.
  301. glibtoolize: copying file './ltmain.sh'
  302. glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
  303. glibtoolize: copying file 'm4/libtool.m4'
  304. glibtoolize: copying file 'm4/ltoptions.m4'
  305. glibtoolize: copying file 'm4/ltsugar.m4'
  306. glibtoolize: copying file 'm4/ltversion.m4'
  307. glibtoolize: copying file 'm4/lt~obsolete.m4'
  308. checking build system type... x86_64-apple-darwin19.0.0
  309. checking host system type... x86_64-apple-darwin19.0.0
  310. checking target system type... x86_64-apple-darwin19.0.0
  311. checking how to print strings... printf
  312. checking for gcc... gcc
  313. checking whether the C compiler works... yes
  314. checking for C compiler default output file name... a.out
  315. checking for suffix of executables...
  316. checking whether we are cross compiling... no
  317. checking for suffix of object files... o
  318. checking whether we are using the GNU C compiler... yes
  319. checking whether gcc accepts -g... yes
  320. checking for gcc option to accept ISO C89... none needed
  321. checking whether gcc understands -c and -o together... yes
  322. checking for a sed that does not truncate output... /usr/bin/sed
  323. checking for grep that handles long lines and -e... /usr/bin/grep
  324. checking for egrep... /usr/bin/grep -E
  325. checking for fgrep... /usr/bin/grep -F
  326. checking for ld used by gcc... /Library/Developer/CommandLineTools/usr/bin/ld
  327. checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
  328. checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
  329. checking the name lister (/usr/bin/nm -B) interface... BSD nm
  330. checking whether ln -s works... yes
  331. checking the maximum length of command line arguments... 196608
  332. checking how to convert x86_64-apple-darwin19.0.0 file names to x86_64-apple-darwin19.0.0 format... func_convert_file_noop
  333. checking how to convert x86_64-apple-darwin19.0.0 file names to toolchain format... func_convert_file_noop
  334. checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r
  335. checking for objdump... objdump
  336. checking how to recognize dependent libraries... pass_all
  337. checking for dlltool... no
  338. checking how to associate runtime and link libraries... printf %s\n
  339. checking for ar... ar
  340. checking for archiver @FILE support... no
  341. checking for strip... strip
  342. checking for ranlib... ranlib
  343. checking for gawk... no
  344. checking for mawk... no
  345. checking for nawk... no
  346. checking for awk... awk
  347. checking command to parse /usr/bin/nm -B output from gcc object... ok
  348. checking for sysroot... no
  349. checking for a working dd... /bin/dd
  350. checking how to truncate binary pipes... /bin/dd bs=4096 count=1
  351. checking for mt... no
  352. checking if : is a manifest tool... no
  353. checking for dsymutil... dsymutil
  354. checking for nmedit... nmedit
  355. checking for lipo... lipo
  356. checking for otool... otool
  357. checking for otool64... no
  358. checking for -single_module linker flag... yes
  359. checking for -exported_symbols_list linker flag... yes
  360. checking for -force_load linker flag... yes
  361. checking how to run the C preprocessor... gcc -E
  362. checking for ANSI C header files... yes
  363. checking for sys/types.h... yes
  364. checking for sys/stat.h... yes
  365. checking for stdlib.h... yes
  366. checking for string.h... yes
  367. checking for memory.h... yes
  368. checking for strings.h... yes
  369. checking for inttypes.h... yes
  370. checking for stdint.h... yes
  371. checking for unistd.h... yes
  372. checking for dlfcn.h... yes
  373. checking for objdir... .libs
  374. checking if gcc supports -fno-rtti -fno-exceptions... yes
  375. checking for gcc option to produce PIC... -fno-common -DPIC
  376. checking if gcc PIC flag -fno-common -DPIC works... yes
  377. checking if gcc static flag -static works... no
  378. checking if gcc supports -c -o file.o... yes
  379. checking if gcc supports -c -o file.o... (cached) yes
  380. checking whether the gcc linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
  381. checking dynamic linker characteristics... darwin19.0.0 dyld
  382. checking how to hardcode library paths into programs... immediate
  383. checking whether stripping libraries is possible... yes
  384. checking if libtool supports shared libraries... yes
  385. checking whether to build shared libraries... yes
  386. checking whether to build static libraries... yes
  387. checking for a BSD-compatible install... /usr/bin/install -c
  388. checking whether build environment is sane... yes
  389. checking for a thread-safe mkdir -p... ./install-sh -c -d
  390. checking whether make sets $(MAKE)... yes
  391. checking whether make supports the include directive... yes (GNU style)
  392. checking whether make supports nested variables... yes
  393. checking dependency style of gcc... gcc3
  394. checking for g++... g++
  395. checking whether we are using the GNU C++ compiler... yes
  396. checking whether g++ accepts -g... yes
  397. checking how to run the C++ preprocessor... g++ -E
  398. checking for ld used by g++... /Library/Developer/CommandLineTools/usr/bin/ld
  399. checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
  400. checking whether the g++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
  401. checking for g++ option to produce PIC... -fno-common -DPIC
  402. checking if g++ PIC flag -fno-common -DPIC works... yes
  403. checking if g++ static flag -static works... no
  404. checking if g++ supports -c -o file.o... yes
  405. checking if g++ supports -c -o file.o... (cached) yes
  406. checking whether the g++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
  407. checking dynamic linker characteristics... darwin19.0.0 dyld
  408. checking how to hardcode library paths into programs... immediate
  409. checking dependency style of g++... gcc3
  410. checking for gcc... (cached) gcc
  411. checking whether we are using the GNU C compiler... (cached) yes
  412. checking whether gcc accepts -g... (cached) yes
  413. checking for gcc option to accept ISO C89... (cached) none needed
  414. checking whether gcc understands -c and -o together... (cached) yes
  415. checking whether we need platform-specific build settings... checking for pkg-config... /usr/local/bin/pkg-config
  416. checking pkg-config is at least version 0.9.0... yes
  417. checking for openssl >= 0.9.8... yes
  418. checking for libplist >= 2.0.0... yes
  419. checking for libgeneral >= 26... yes
  420. checking arpa/inet.h usability... yes
  421. checking arpa/inet.h presence... yes
  422. checking for arpa/inet.h... yes
  423. checking for stdint.h... (cached) yes
  424. checking for stdlib.h... (cached) yes
  425. checking for string.h... (cached) yes
  426. checking for unistd.h... (cached) yes
  427. checking for stdbool.h that conforms to C99... yes
  428. checking for _Bool... yes
  429. checking for size_t... yes
  430. checking for uint32_t... yes
  431. checking for uint64_t... yes
  432. checking for uint8_t... yes
  433. checking for memmem... yes
  434. checking that generated files are newer than configure... done
  435. configure: creating ./config.status
  436. config.status: creating Makefile
  437. config.status: creating include/Makefile
  438. config.status: creating libimg4tool.pc
  439. config.status: creating include/img4tool/img4tool.hpp
  440. config.status: creating img4tool/Makefile
  441. config.status: creating config.h
  442. config.status: executing libtool commands
  443. config.status: executing depfiles commands
  444.  
  445. Configuration for img4tool-163:
  446. -------------------------------------------
  447.  
  448.  install prefix ..........: /usr/local
  449.  have plist ..............: yes
  450.  crypto backend ..........: openssl
  451.  compiler ................: gcc
  452.  
  453.  Now type 'make' to build img4tool-163,
  454.  and then 'make install' for installation.
  455.  
  456. Eds-MacBook-Pro:img4tool edlustigkaduri$ make
  457. (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /Users/edlustigkaduri/Documents/img4tool/missing autoheader)
  458. rm -f stamp-h1
  459. touch config.h.in
  460. cd . && /bin/sh ./config.status config.h
  461. config.status: creating config.h
  462. config.status: config.h is unchanged
  463. /Library/Developer/CommandLineTools/usr/bin/make  all-recursive
  464. Making all in img4tool
  465. g++ -DHAVE_CONFIG_H -I. -I..    -I../include -I../include/img4tool  -I/usr/local/Cellar/libplist/2.1.0/include -I/usr/local/include -I/usr/local/include  -g -O2 -std=c++11 -MT img4tool-main.o -MD -MP -MF .deps/img4tool-main.Tpo -c -o img4tool-main.o `test -f 'main.cpp' || echo './'`main.cpp
  466. mv -f .deps/img4tool-main.Tpo .deps/img4tool-main.Po
  467. /bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -I../include -I../include/img4tool  -I/usr/local/Cellar/libplist/2.1.0/include -I/usr/local/include -I/usr/local/include  -g -O2 -std=c++11 -MT libimg4tool_la-ASN1DERElement.lo -MD -MP -MF .deps/libimg4tool_la-ASN1DERElement.Tpo -c -o libimg4tool_la-ASN1DERElement.lo `test -f 'ASN1DERElement.cpp' || echo './'`ASN1DERElement.cpp
  468. libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/img4tool -I/usr/local/Cellar/libplist/2.1.0/include -I/usr/local/include -I/usr/local/include -g -O2 -std=c++11 -MT libimg4tool_la-ASN1DERElement.lo -MD -MP -MF .deps/libimg4tool_la-ASN1DERElement.Tpo -c ASN1DERElement.cpp  -fno-common -DPIC -o .libs/libimg4tool_la-ASN1DERElement.o
  469. libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/img4tool -I/usr/local/Cellar/libplist/2.1.0/include -I/usr/local/include -I/usr/local/include -g -O2 -std=c++11 -MT libimg4tool_la-ASN1DERElement.lo -MD -MP -MF .deps/libimg4tool_la-ASN1DERElement.Tpo -c ASN1DERElement.cpp -o libimg4tool_la-ASN1DERElement.o >/dev/null 2>&1
  470. mv -f .deps/libimg4tool_la-ASN1DERElement.Tpo .deps/libimg4tool_la-ASN1DERElement.Plo
  471. /bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -I../include -I../include/img4tool  -I/usr/local/Cellar/libplist/2.1.0/include -I/usr/local/include -I/usr/local/include -g -O2 -std=c11 -MT libimg4tool_la-lzssdec.lo -MD -MP -MF .deps/libimg4tool_la-lzssdec.Tpo -c -o libimg4tool_la-lzssdec.lo `test -f 'lzssdec.c' || echo './'`lzssdec.c
  472. libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/img4tool -I/usr/local/Cellar/libplist/2.1.0/include -I/usr/local/include -I/usr/local/include -g -O2 -std=c11 -MT libimg4tool_la-lzssdec.lo -MD -MP -MF .deps/libimg4tool_la-lzssdec.Tpo -c lzssdec.c  -fno-common -DPIC -o .libs/libimg4tool_la-lzssdec.o
  473. libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/img4tool -I/usr/local/Cellar/libplist/2.1.0/include -I/usr/local/include -I/usr/local/include -g -O2 -std=c11 -MT libimg4tool_la-lzssdec.lo -MD -MP -MF .deps/libimg4tool_la-lzssdec.Tpo -c lzssdec.c -o libimg4tool_la-lzssdec.o >/dev/null 2>&1
  474. mv -f .deps/libimg4tool_la-lzssdec.Tpo .deps/libimg4tool_la-lzssdec.Plo
  475. /bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -I../include -I../include/img4tool  -I/usr/local/Cellar/libplist/2.1.0/include -I/usr/local/include -I/usr/local/include  -g -O2 -std=c++11 -MT libimg4tool_la-img4tool.lo -MD -MP -MF .deps/libimg4tool_la-img4tool.Tpo -c -o libimg4tool_la-img4tool.lo `test -f 'img4tool.cpp' || echo './'`img4tool.cpp
  476. libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/img4tool -I/usr/local/Cellar/libplist/2.1.0/include -I/usr/local/include -I/usr/local/include -g -O2 -std=c++11 -MT libimg4tool_la-img4tool.lo -MD -MP -MF .deps/libimg4tool_la-img4tool.Tpo -c img4tool.cpp  -fno-common -DPIC -o .libs/libimg4tool_la-img4tool.o
  477. img4tool.cpp:32:2: warning: TODO adjust this for HAVE_COMMCRYPTO [-W#warnings]
  478. #warning TODO adjust this for HAVE_COMMCRYPTO
  479. ^
  480. img4tool.cpp:286:2: warning: TODO we don't handle IM4R yet [-W#warnings]
  481. #warning TODO we don't handle IM4R yet
  482.  ^
  483. img4tool.cpp:492:2: warning: TODO implement bvx2 [-W#warnings]
  484. #warning TODO implement bvx2
  485.  ^
  486. 3 warnings generated.
  487. libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/img4tool -I/usr/local/Cellar/libplist/2.1.0/include -I/usr/local/include -I/usr/local/include -g -O2 -std=c++11 -MT libimg4tool_la-img4tool.lo -MD -MP -MF .deps/libimg4tool_la-img4tool.Tpo -c img4tool.cpp -o libimg4tool_la-img4tool.o >/dev/null 2>&1
  488. mv -f .deps/libimg4tool_la-img4tool.Tpo .deps/libimg4tool_la-img4tool.Plo
  489. /bin/sh ../libtool  --tag=CXX   --mode=link g++ -I../include -I../include/img4tool  -I/usr/local/Cellar/libplist/2.1.0/include -I/usr/local/include -I/usr/local/include  -g -O2 -std=c++11 -L/usr/local/Cellar/libplist/2.1.0/lib -lplist -L/usr/local/lib -lssl -lcrypto -L/usr/local/lib -lgeneral  -o libimg4tool.la -rpath /usr/local/lib libimg4tool_la-ASN1DERElement.lo libimg4tool_la-lzssdec.lo libimg4tool_la-img4tool.lo  
  490. libtool: link: g++ -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o .libs/libimg4tool.0.dylib  .libs/libimg4tool_la-ASN1DERElement.o .libs/libimg4tool_la-lzssdec.o .libs/libimg4tool_la-img4tool.o   -L/usr/local/Cellar/libplist/2.1.0/lib -lplist -L/usr/local/lib -lssl -lcrypto /usr/local/lib/libgeneral.dylib  -g -O2   -install_name  /usr/local/lib/libimg4tool.0.dylib -compatibility_version 1 -current_version 1.0 -Wl,-single_module
  491. libtool: link: (cd ".libs" && rm -f "libimg4tool.dylib" && ln -s "libimg4tool.0.dylib" "libimg4tool.dylib")
  492. libtool: link: ar cru .libs/libimg4tool.a  libimg4tool_la-ASN1DERElement.o libimg4tool_la-lzssdec.o libimg4tool_la-img4tool.o
  493. libtool: link: ranlib .libs/libimg4tool.a
  494. libtool: link: ( cd ".libs" && rm -f "libimg4tool.la" && ln -s "../libimg4tool.la" "libimg4tool.la" )
  495. /bin/sh ../libtool  --tag=CXX   --mode=link g++ -I../include -I../include/img4tool  -I/usr/local/Cellar/libplist/2.1.0/include -I/usr/local/include -I/usr/local/include  -g -O2 -std=c++11 -L/usr/local/Cellar/libplist/2.1.0/lib -lplist -L/usr/local/lib -lssl -lcrypto -L/usr/local/lib -lgeneral  -o img4tool img4tool-main.o libimg4tool.la
  496. libtool: link: g++ -I../include -I../include/img4tool -I/usr/local/Cellar/libplist/2.1.0/include -I/usr/local/include -I/usr/local/include -g -O2 -std=c++11 -o .libs/img4tool img4tool-main.o -Wl,-bind_at_load  -L/usr/local/Cellar/libplist/2.1.0/lib -L/usr/local/lib ./.libs/libimg4tool.dylib -lplist -lssl -lcrypto /usr/local/lib/libgeneral.dylib
  497. Making all in include
  498. make[2]: Nothing to be done for `all'.
  499. Eds-MacBook-Pro:img4tool edlustigkaduri$ make install
  500. \Making install in img4tool
  501. .././install-sh -c -d '/usr/local/lib'
  502. /bin/sh ../libtool   --mode=install /usr/bin/install -c   libimg4tool.la '/usr/local/lib'
  503. libtool: install: /usr/bin/install -c .libs/libimg4tool.0.dylib /usr/local/lib/libimg4tool.0.dylib
  504. libtool: install: (cd /usr/local/lib && { ln -s -f libimg4tool.0.dylib libimg4tool.dylib || { rm -f libimg4tool.dylib && ln -s libimg4tool.0.dylib libimg4tool.dylib; }; })
  505. libtool: install: /usr/bin/install -c .libs/libimg4tool.lai /usr/local/lib/libimg4tool.la
  506. libtool: install: /usr/bin/install -c .libs/libimg4tool.a /usr/local/lib/libimg4tool.a
  507. libtool: install: chmod 644 /usr/local/lib/libimg4tool.a
  508. libtool: install: ranlib /usr/local/lib/libimg4tool.a
  509. .././install-sh -c -d '/usr/local/bin'
  510.  /bin/sh ../libtool   --mode=install /usr/bin/install -c img4tool '/usr/local/bin'
  511. libtool: install: /usr/bin/install -c .libs/img4tool /usr/local/bin/img4tool
  512. make[2]: Nothing to be done for `install-data-am'.
  513. Making install in include
  514. make[2]: Nothing to be done for `install-exec-am'.
  515. .././install-sh -c -d '/usr/local/include'
  516. .././install-sh -c -d '/usr/local/include/img4tool'
  517. /usr/bin/install -c -m 644  img4tool/img4tool.hpp img4tool/ASN1DERElement.hpp '/usr/local/include/img4tool'
  518. make[2]: Nothing to be done for `install-exec-am'.
  519.  ./install-sh -c -d '/usr/local/lib/pkgconfig'
  520.  /usr/bin/install -c -m 644 libimg4tool.pc '/usr/local/lib/pkgconfig'
  521. Eds-MacBook-Pro:img4tool edlustigkaduri$ img4tool
  522. img4tool version: 0.163-c3df16cb998d5013aef092baeb71908475366182
  523. Usage: img4tool [OPTIONS] FILE
  524. Parses img4, im4p, im4m files
  525.  
  526.   -h, --help            prints usage information
  527.   -a, --print-all       print everything from im4m
  528.   -i, --im4p-only       print only im4p
  529.   -e, --extract         extracts im4m/im4p payload
  530.   -s, --shsh    <PATH>      Filepath for shsh (for reading/writing im4m)
  531.   -m, --im4m    <PATH>      Filepath for im4m (depending on -e being set)
  532.   -p, --im4p    <PATH>      Filepath for im4p (depending on -e being set)
  533.   -c, --create  <PATH>      creates an img4 with the specified im4m, im4p or creates im4p with raw file (last argument)
  534.   -o, --outfile         output path for extracting im4p payload (-e) or renaming im4p (-n)
  535.   -t, --type            set type for creating IM4P files from raw
  536.   -d, --desc            set desc for creating IM4P files from raw
  537.   -n, --rename-payload NAME rename im4p payload (NAME must be exactly 4 bytes)
  538.   -v, --verify BUILDMANIFEST    verify img4, im4m
  539.       --iv          IV  for decrypting payload when extracting (requires -e and -o)
  540.       --key         Key for decrypting payload when extracting (requires -e and -o)
  541.       --convert         convert IM4M file to .shsh (use with -s)
  542.  
  543. Eds-MacBook-Pro:img4tool edlustigkaduri$
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top