Cuberite Forum
Random Chitchat 2012-2016 - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Off Topic (https://forum.cuberite.org/forum-9.html)
+--- Forum: Off Topic Discussion (https://forum.cuberite.org/forum-10.html)
+--- Thread: Random Chitchat 2012-2016 (/thread-434.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487


RE: What we're doing - bearbin - 12-23-2014

try this:

Code:
git clone https://github.com/mc-server/MCServer.git
git checkout 0d834775



RE: What we're doing - Boo - 12-23-2014

(12-23-2014, 06:38 PM)bearbin Wrote: try this:

Code:
git clone https://github.com/mc-server/MCServer.git
git checkout 0d834775

Code:
root@raspberrypi:/media/usbstick2/mc# git checkout 0d834775
error: pathspec '0d834775' did not match any file(s) known to git.



RE: What we're doing - Seadragon91 - 12-23-2014

Did you changed into the directory?
If you do
Code:
git clone https://github.com/mc-server/MCServer.git
then there should be a new directory named MCServer, you need to cd (change directory) into it
Code:
cd MCServer/
Then you can run
Code:
git checkout 0d834775

Edit:
And run, to avoid compatibility problems with the API
Code:
git submodule update



RE: What we're doing - Boo - 12-23-2014

(12-23-2014, 07:03 PM)Seadragon91 Wrote: Did you changed into the directory?
If you do
Code:
git clone https://github.com/mc-server/MCServer.git
then there should be a new directory named MCServer, you need to cd (change directory) into it
Code:
cd MCServer/
Then you can run
Code:
git checkout 0d834775

Edit:
And run, to avoid compatibility problems with the API
Code:
git submodule update



Code:
root@raspberrypi:/media/usbstick2# mkdir mc
root@raspberrypi:/media/usbstick2# cd mc
root@raspberrypi:/media/usbstick2/mc# git clone https://github.com/mc-server/MCServer.git
Cloning into 'MCServer'...
remote: Counting objects: 58978, done.
remote: Compressing objects: 100% (27/27), done.
remote: Total 58978 (delta 8), reused 0 (delta 0)
Receiving objects: 100% (58978/58978), 70.06 MiB | 1.05 MiB/s, done.
Resolving deltas: 100% (45900/45900), done.
Checking out files: 100% (1229/1229), done.
root@raspberrypi:/media/usbstick2/mc# cd MCServer
root@raspberrypi:/media/usbstick2/mc/MCServer# git checkout 0d834775
HEAD is now at 0d83477... Fixed UNUSED macro so that it doesn't require type knowledge.
root@raspberrypi:/media/usbstick2/mc/MCServer# git submodule update
root@raspberrypi:/media/usbstick2/mc/MCServer# ./CIbuild.sh
-- The CXX compiler identification is GNU 4.6.3
-- The C compiler identification is GNU 4.6.3
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
Commit id not set, attempting to determine id from git
including polarssl
CMake Warning (dev) at lib/polarssl.cmake:7 (add_subdirectory):
  The source directory

    /media/usbstick2/mc/MCServer/lib/polarssl

  does not contain a CMakeLists.txt file.

  CMake does not support this case but it used to work accidentally and is
  being allowed for compatibility.

  Policy CMP0014 is not set: Input directories must have CMakeLists.txt.  Run
  "cmake --help-policy CMP0014" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
Call Stack (most recent call first):
  Tools/ProtoProxy/CMakeLists.txt:28 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at CMakeLists.txt:90 (add_subdirectory):
  The source directory

    /media/usbstick2/mc/MCServer/lib/SQLiteCpp

  does not contain a CMakeLists.txt file.


CMake Error at CMakeLists.txt:98 (set_property):
  set_property could not find TARGET SQLiteCpp.  Perhaps it has not yet been
  created.


including polarssl
CMake Error at lib/polarssl.cmake:7 (add_subdirectory):
  The source directory

    /media/usbstick2/mc/MCServer/lib/polarssl

  does not contain a CMakeLists.txt file.
Call Stack (most recent call first):
  CMakeLists.txt:107 (include)


-- Configuring incomplete, errors occurred!
root@raspberrypi:/media/usbstick2/mc/MCServer#

What a hell?


RE: What we're doing - NiLSPACE - 12-23-2014

Did you run
Code:
git submodule init
git submodule update
Before running cmake?


RE: What we're doing - Boo - 12-23-2014

1) root@raspberrypi:/media/usbstick2# mkdir mc
2) root@raspberrypi:/media/usbstick2# cd mc
3) root@raspberrypi:/media/usbstick2/mc# git clone https://github.com/mc-server/MCServer.git
Code:
Cloning into 'MCServer'...
remote: Counting objects: 58978, done.
remote: Compressing objects: 100% (27/27), done.
remote: Total 58978 (delta 8), reused 0 (delta 0)
Receiving objects: 100% (58978/58978), 70.06 MiB | 666 KiB/s, done.
Resolving deltas: 100% (45900/45900), done.
Checking out files: 100% (1229/1229), done.
4) root@raspberrypi:/media/usbstick2/mc# cd MCServer/
5) root@raspberrypi:/media/usbstick2/mc/MCServer# git checkout 0d83477
Code:
HEAD is now at 0d83477... Fixed UNUSED macro so that it doesn't require type knowledge.
6) root@raspberrypi:/media/usbstick2/mc/MCServer# git submodule init
Code:
Submodule 'MCServer/Plugins/Core' (https://github.com/mc-server/Core.git) registered for path 'MCServer/Plugins/Core'
Submodule 'MCServer/Plugins/ProtectionAreas' (https://github.com/mc-server/ProtectionAreas.git) registered for path 'MCServer/Plugins/ProtectionAreas'
Submodule 'MCServer/Plugins/TransAPI' (https://github.com/bearbin/transapi.git) registered for path 'MCServer/Plugins/TransAPI'
Submodule 'lib/SQLiteCpp' (https://github.com/mc-server/SQLiteCpp.git) registered for path 'lib/SQLiteCpp'
Submodule 'lib/polarssl' (https://github.com/mc-server/polarssl) registered for path 'lib/polarssl'
7) root@raspberrypi:/media/usbstick2/mc/MCServer# git submodule update
Code:
Cloning into 'MCServer/Plugins/Core'...
remote: Counting objects: 1633, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 1633 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (1633/1633), 469.87 KiB | 170 KiB/s, done.
Resolving deltas: 100% (949/949), done.
Submodule path 'MCServer/Plugins/Core': checked out '9de86060388b515642c55d58b44b4281285efc00'
Cloning into 'MCServer/Plugins/ProtectionAreas'...
remote: Counting objects: 47, done.
remote: Total 47 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (47/47), done.
Submodule path 'MCServer/Plugins/ProtectionAreas': checked out '7765048fa740b8f119db72a4ccc546504f86b2ab'
Cloning into 'MCServer/Plugins/TransAPI'...
remote: Counting objects: 36, done.
remote: Total 36 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (36/36), done.
Submodule path 'MCServer/Plugins/TransAPI': checked out '6527b80a77b3b7f5fac0ef214c1b59ad83e39b20'
Cloning into 'lib/SQLiteCpp'...
remote: Counting objects: 1662, done.
remote: Compressing objects: 100% (729/729), done.
remote: Total 1662 (delta 798), reused 1662 (delta 798)
Receiving objects: 100% (1662/1662), 2.82 MiB | 644 KiB/s, done.
Resolving deltas: 100% (798/798), done.
Submodule path 'lib/SQLiteCpp': checked out '55edadd56d0d6f506954ad00c3b9a5d425814a2f'
Cloning into 'lib/polarssl'...
remote: Counting objects: 17961, done.
remote: Compressing objects: 100% (6278/6278), done.
remote: Total 17961 (delta 11594), reused 17961 (delta 11594)
Receiving objects: 100% (17961/17961), 12.12 MiB | 278 KiB/s, done.
Resolving deltas: 100% (11594/11594), done.
Submodule path 'lib/polarssl': checked out '1ed82759c68f92c4acc7e3f33b850cf9f01c8aba'
8) root@raspberrypi:/media/usbstick2/mc/MCServer# ./CIbuild.sh

Code:
-- The CXX compiler identification is GNU 4.6.3
-- The C compiler identification is GNU 4.6.3
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
Commit id not set, attempting to determine id from git
including polarssl
-- SQLITECPP_RUN_CPPLINT OFF
-- SQLITECPP_RUN_CPPCHECK OFF
-- SQLITECPP_RUN_DOXYGEN OFF
-- SQLITECPP_BUILD_EXAMPLES OFF
-- SQLITECPP_BUILD_TESTS OFF
-- Configuring done
-- Generating done
-- Build files have been written to: /media/usbstick2/mc/MCServer
Scanning dependencies of target zlib
Scanning dependencies of target polarssl

And Build Start!


RE: What we're doing - NiLSPACE - 12-23-2014

Ok lets start over. Try this:
Code:
git clone https://github.com/mc-server/MCServer.git
cd MCServer/
git checkout 0d834775
git submodule init
git submodule update

cmake .



RE: What we're doing - Boo - 12-23-2014

(12-23-2014, 07:54 PM)STR_Warrior Wrote: Ok lets start over. Try this:
Code:
git clone https://github.com/mc-server/MCServer.git
cd MCServer/
git checkout 0d834775
git submodule init
git submodule update

cmake .

checkout 0d834775 its version with 1.5.2 support?


RE: What we're doing - Boo - 12-23-2014

(12-23-2014, 08:20 PM)Boo Wrote:
(12-23-2014, 07:54 PM)STR_Warrior Wrote: Ok lets start over. Try this:
Code:
git clone https://github.com/mc-server/MCServer.git
cd MCServer/
git checkout 0d834775
git submodule init
git submodule update

cmake .

checkout 0d834775 its version with 1.5.2 support?



Code:
[ 19%] Building C object Tools/ProtoProxy/lib/polarssl/library/CMakeFiles/polars                                                                              sl.dir/x509_csr.c.o
[ 19%] Building C object Tools/ProtoProxy/lib/polarssl/library/CMakeFiles/polars                                                                              sl.dir/x509_create.c.o
[ 19%] [ 19%] Building C object Tools/ProtoProxy/lib/polarssl/library/CMakeFiles                                                                              /polarssl.dir/x509write_crt.c.o
Building C object Tools/ProtoProxy/lib/polarssl/library/CMakeFiles/polarssl.dir/                                                                              x509write_csr.c.o
[ 20%] Building C object Tools/ProtoProxy/lib/polarssl/library/CMakeFiles/polars                                                                              sl.dir/xtea.c.o
Linking C static library libpolarssl.a
[ 20%] Built target polarssl
make: *** [all] Ошибка 2
root@raspberrypi:/media/usbstick2/MCServer#



Code:
root@raspberrypi:/media/usbstick2/MCServer# git checkout 0d834775
error: Your local changes to the following files would be overwritten by checkout:
        .gitignore
        .gitmodules
        .travis.yml
        Android/res/values-pl/strings.xml
        CMakeLists.txt
        COMPILING.md
        CONTRIBUTORS
        MCServer/Plugins/APIDump/APIDesc.lua
        MCServer/Plugins/APIDump/Classes/BlockEntities.lua
        MCServer/Plugins/APIDump/Classes/Projectiles.lua
        MCServer/Plugins/APIDump/Hooks/OnServerPing.lua
        MCServer/Plugins/Debuggers/Debuggers.lua
        MCServer/Plugins/Debuggers/Info.lua
        MCServer/Plugins/InfoDump.lua
        MCServer/Plugins/InfoReg.lua
        MCServer/crafting.txt
        MCServer/furnace.txt
        MCServer/monsters.ini
        MCServer/webadmin/(original).html
        MCServer/webadmin/files/guest.html
        MCServer/webadmin/files/header.png
        MCServer/webadmin/files/home.gif
        MCServer/webadmin/files/loading.gif
        MCServer/webadmin/files/log_out.png
        MCServer/webadmin/files/login.css
        MCServer/webadmin/files/login.gif
        MCServer/webadmin/files/logo_login.png
        MCServer/webadmin/files/pmfolder.gif
        MCServer/webadmin/files/style.css
        MCServer/webadmin/files/sub_pmfolder.gif
        MCServer/webadmin/files/tcat.png
        MCServer/webadmin/files/thead.png
        MCServer/webadmin/login_template.html
        MCServer/webadmin/template.html
        MCServer/webadmin/template.lua
        MCServer/webadmin/template_orig.lua
        README.md
        SetFlags.cmake
        Tools/AnvilStats/CMakeLists.txt
        Tools/AnvilStats/Utils.cpp
        Tools/AnvilStats/Utils.h
        Tools/MCADefrag/CMakeLists.txt
        Tools/MCADefrag/MCADefrag.cpp
        Tools/ProtoProxy/CMakeLists.txt
        Tools/ProtoProxy/Connection.cpp
        Tools/ProtoProxy/Connection.h
        Tools/QtBiomeVisualiser/BiomeView.cpp
        Tools/QtBiomeVisualiser/BiomeView.h
        Tools/QtBiomeVisualiser/ChunkSource.cpp
        Tools/QtBiomeVisualiser/ChunkSource.h
        Tools/QtBiomeVisualiser/GeneratorSetup.cpp
        Tools/QtBiomeVisualiser/Globals.h
        Tools/QtBiomeVisualiser/MainWindow.cpp
        Tools/QtBiomeVisualiser/MainWindow.h
        Tools/QtBiomeVisualiser/QtBiomeVisualiser.pro
        Tools/QtBiomeVisualiser/QtChunk.cpp
        Tools/QtBiomeVisualiser/QtChunk.h
        Tools/QtBiomeVisualiser/Region.cpp
        Tools/QtBiomeVisualiser/Region.h
        Tools/QtBiomeVisualiser/RegionCache.cpp
        Tools/QtBiomeVisualiser/RegionCache.h
        Tools/QtBiomeVisualiser/RegionLoader.cpp
        Tools/QtBiomeVisualiser/RegionLoader.h
        app.yml
        src/AllocationPool.h
        src/Bindings/AllToLua.pkg
        src/Bindings/CMakeLists.txt
        src/Bindings/DeprecatedBindings.cpp
        src/Bindings/LuaChunkStay.cpp
        src/Bindings/LuaState.cpp
        src/Bindings/LuaState.h
        src/Bindings/LuaWindow.cpp
        src/Bindings/ManualBindings.cpp
        src/Bindings/ManualBindings_RankManager.cpp
        src/Bindings/Plugin.h
        src/Bindings/PluginLua.cpp
        src/Bindings/PluginLua.h
        src/Bindings/PluginManager.cpp
        src/Bindings/PluginManager.h
        src/Bindings/WebPlugin.cpp
        src/Bindings/virtual_method_hooks.lua
        src/BiomeDef.cpp
        src/BiomeDef.h
        src/BlockArea.cpp
        src/BlockArea.h
        src/BlockEntities/BeaconEntity.cpp
        src/BlockEntities/BeaconEntity.h
        src/BlockEntities/BlockEntity.cpp
        src/BlockEntities/BlockEntity.h
        src/BlockEntities/BlockEntityWithItems.h
        src/BlockEntities/CMakeLists.txt
        src/BlockEntities/ChestEntity.cpp
        src/BlockEntities/ChestEntity.h
        src/BlockEntities/CommandBlockEntity.cpp
        src/BlockEntities/CommandBlockEntity.h
        src/BlockEntities/DispenserEntity.cpp
        src/BlockEntities/DispenserEntity.h
        src/BlockEntities/DropSpenserEntity.cpp
        src/BlockEntities/DropSpenserEntity.h
        src/BlockEntities/DropperEntity.cpp
        src/BlockEntities/DropperEntity.h
        src/BlockEntities/EnderChestEntity.cpp
        src/BlockEntities/EnderChestEntity.h
        src/BlockEntities/FlowerPotEntity.cpp
        src/BlockEntities/FlowerPotEntity.h
        src/BlockEntities/FurnaceEntity.cpp
        src/BlockEntities/FurnaceEntity.h
        src/BlockEntities/HopperEntity.cpp
        src/BlockEntities/HopperEntity.h
        src/BlockEntities/JukeboxEntity.cpp
        src/BlockEntities/JukeboxEntity.h
        src/BlockEntities/MobHeadEntity.cpp
        src/BlockEntities/MobHeadEntity.h
        src/BlockEntities/MobSpawnerEntity.cpp
        src/BlockEntities/MobSpawnerEntity.h
        src/BlockEntities/NoteEntity.cpp
        src/BlockEntities/NoteEntity.h
        src/BlockEntities/SignEntity.cpp
        src/BlockEntities/SignEntity.h
        src/BlockID.cpp
        src/BlockID.h
        src/BlockInServerPluginInterface.h
        src/BlockInfo.cpp
error: The following untracked working tree files would be overwritten by checkout:
        MCServer/Plugins/ChatLog/plugin.lua
        MCServer/Plugins/ChunkWorx/ChunkWorx.deproj
        MCServer/Plugins/ChunkWorx/chunkworx_main.lua
        MCServer/Plugins/ChunkWorx/chunkworx_web.lua
        MCServer/Plugins/Handy/handy.lua
        MCServer/Plugins/Handy/handy_functions.lua
        MCServer/Plugins/MagicCarpet/objects.lua
        MCServer/Plugins/MagicCarpet/plugin.lua
Please move or remove them before you can switch branches.
Aborting
root@raspberrypi:/media/usbstick2/MCServer#

Help... crap!


RE: What we're doing - bearbin - 12-23-2014

I don't know. It's the one you showed in the earlier error message.