Random Chitchat 2012-2016
try this:

Code:
git clone https://github.com/mc-server/MCServer.git
git checkout 0d834775
Thanks given by:
(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.
Thanks given by:
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
Thanks given by:
(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?
Thanks given by:
Did you run
Code:
git submodule init
git submodule update
Before running cmake?
Thanks given by:
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!
Thanks given by:
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 .
Thanks given by:
(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?
Thanks given by:
(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!
Thanks given by:
I don't know. It's the one you showed in the earlier error message.
Thanks given by:




Users browsing this thread: 7 Guest(s)