Advertisement
Guest User

Untitled

a guest
Mar 19th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.07 KB | None | 0 0
  1.  
  2. libgmp3-dev is already the newest version (2:6.1.2+dfsg-1).
  3. libxml2-dev is already the newest version (2.9.4+dfsg1-2.2+deb9u2).
  4. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  5. root@vmi252307:~/ots/source# libxml2-dev
  6. -bash: libxml2-dev: command not found
  7. root@vmi252307:~/ots/source# apt-get --purge remove libxml2-dev; apt-get install libxml-dev
  8. Reading package lists... Done
  9. Building dependency tree
  10. Reading state information... Done
  11. The following packages were automatically installed and are no longer required:
  12. libglib2.0-bin libglib2.0-dev libglibmm-2.4-1v5 libglibmm-2.4-dev
  13. libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libsigc++-2.0-0v5
  14. libsigc++-2.0-dev libxml++2.6-2v5
  15. Use 'apt autoremove' to remove them.
  16. The following packages will be REMOVED:
  17. libxml++2.6-dev* libxml2-dev*
  18. 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
  19. After this operation, 4,174 kB disk space will be freed.
  20. Do you want to continue? [Y/n] y
  21. (Reading database ... 52847 files and directories currently installed.)
  22. Removing libxml++2.6-dev:amd64 (2.40.1-1) ...
  23. Removing libxml2-dev:amd64 (2.9.4+dfsg1-2.2+deb9u2) ...
  24. Reading package lists... Done
  25. Building dependency tree
  26. Reading state information... Done
  27. E: Unable to locate package libxml-dev
  28. root@vmi252307:~/ots/source# apt-get install [COLOR=#333333]zlib1g-dev zlib1g[/COLOR]
  29. Reading package lists... Done
  30. Building dependency tree
  31. Reading state information... Done
  32. E: Unable to locate package [COLOR
  33. E: Couldn't find any package by glob '[COLOR'
  34. E: Regex compilation error - Unmatched [ or [^
  35. E: Couldn't find any package by regex '[COLOR'
  36. E: Unable to locate package zlib1g[
  37. E: Couldn't find any package by glob 'zlib1g['
  38. E: Regex compilation error - Invalid regular expression
  39. E: Couldn't find any package by regex 'zlib1g['
  40. root@vmi252307:~/ots/source# apt-get install zlib1g-dev zlib1g libxml++2.6-dev
  41. Reading package lists... Done
  42. Building dependency tree
  43. Reading state information... Done
  44. zlib1g is already the newest version (1:1.2.8.dfsg-5).
  45. zlib1g-dev is already the newest version (1:1.2.8.dfsg-5).
  46. zlib1g-dev set to manually installed.
  47. The following additional packages will be installed:
  48. libxml2-dev
  49. Suggested packages:
  50. libxml++2.6-doc
  51. The following NEW packages will be installed:
  52. libxml++2.6-dev libxml2-dev
  53. 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  54. Need to get 927 kB of archives.
  55. After this operation, 4,174 kB of additional disk space will be used.
  56. Do you want to continue? [Y/n] y
  57. Get:1 http://asi-fs-n.contabo.net/debian stretch/main amd64 libxml2-dev amd64 2.9.4+dfsg1-2.2+deb9u2 [812 kB]
  58. Get:2 http://asi-fs-n.contabo.net/debian stretch/main amd64 libxml++2.6-dev amd64 2.40.1-1 [116 kB]
  59. Fetched 927 kB in 0s (41.7 MB/s)
  60. Selecting previously unselected package libxml2-dev:amd64.
  61. (Reading database ... 52721 files and directories currently installed.)
  62. Preparing to unpack .../libxml2-dev_2.9.4+dfsg1-2.2+deb9u2_amd64.deb ...
  63. Unpacking libxml2-dev:amd64 (2.9.4+dfsg1-2.2+deb9u2) ...
  64. Selecting previously unselected package libxml++2.6-dev:amd64.
  65. Preparing to unpack .../libxml++2.6-dev_2.40.1-1_amd64.deb ...
  66. Unpacking libxml++2.6-dev:amd64 (2.40.1-1) ...
  67. Setting up libxml2-dev:amd64 (2.9.4+dfsg1-2.2+deb9u2) ...
  68. Setting up libxml++2.6-dev:amd64 (2.40.1-1) ...
  69. root@vmi252307:~/ots/source# sed -i 's/ -lxml2$/ -lxml2 -lpthread/' Makefile
  70. root@vmi252307:~/ots/source# make
  71. make all-am
  72. make[1]: Entering directory '/root/ots/source'
  73. g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__USE_MYSQL__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT game.o -MD -MP -MF .deps/game.Tpo -c -o game.o game.cpp
  74. game.cpp: In member function ‘Item* Game::findItemOfType(Cylinder*, uint16_t, bool, int32_t)’:
  75. game.cpp:1659:10: error: cannot convert ‘bool’ to ‘Item*’ in return
  76. return false;
  77. ^~~~~
  78. Makefile:564: recipe for target 'game.o' failed
  79. make[1]: *** [game.o] Error 1
  80. make[1]: Leaving directory '/root/ots/source'
  81. Makefile:416: recipe for target 'all' failed
  82. make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement