Page 1 of 1

Attempts at using buildbot.sh

PostPosted: Wed Apr 04, 2012 15:50
by Jordach
I've kept trying buildbot.sh in the minetest GitHUb and the Terminal continues to return: Usage: /home/jordan/Downloads/celeron55-minetest-66e1cb3/util/buildbot/buildwin32.sh <build directory>

Now, I want to compile it as Celeron released this screenshot:
Image

So, where am I going wrong?

PostPosted: Wed Apr 04, 2012 15:58
by Jordach
I found my problem, should have done this:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
sudo /home/jordan/Downloads/celeron55-minetest-66e1cb3/util/buildbot/buildwin32.sh /windows


Now, but eventually an error comes up: /home/jordan/Downloads/celeron55-minetest-66e1cb3/util/buildbot/buildwin32.sh: line 68: 7z: command not found

What's wrong?!?! I am new to bash.

PostPosted: Wed Apr 04, 2012 15:58
by sfan5
You can't read:
Usage: [...]/buildwin32.sh <build directory>
Example:
buildwin32.sh /tmp/ramdom-dir

PostPosted: Wed Apr 04, 2012 15:59
by Jordach
I got that, but then it throws this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
/home/jordan/Downloads/celeron55-minetest-66e1cb3/util/buildbot/buildwin32.sh: line 68: 7z: command not found
WHY!!!
Once this starts working I will provide WIn builds when Git Updates.

EDIT: Line 68 contains this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
7z x -y -olibogg $packagedir/libogg-$ogg_version-dev.7z || exit 1
7z x -y -olibogg $packagedir/libogg-$ogg_version-dll.7z || exit 1
7z x -y -olibvorbis $packagedir/libvorbis-$vorbis_version-dev.7z || exit 1
7z x -y -olibvorbis $packagedir/libvorbis-$vorbis_version-dll.7z || exit 1

PostPosted: Wed Apr 04, 2012 16:01
by Death Dealer
:O awesome jordach hope ya get it figured out. this feature looks sweet. minecraft like node drops

PostPosted: Wed Apr 04, 2012 16:02
by sfan5
Install 7zip

PostPosted: Wed Apr 04, 2012 16:02
by Nemo08
Jordach wrote:I got that, but then it throws this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
/home/jordan/Downloads/celeron55-minetest-66e1cb3/util/buildbot/buildwin32.sh: line 68: 7z: command not found
WHY!!!

You need to install 7zip

PostPosted: Wed Apr 04, 2012 16:03
by Jordach
Ahh, thanks. I am very new to bash.

PostPosted: Wed Apr 04, 2012 16:07
by Jordach
If this works, free WIn build for all!

PostPosted: Wed Apr 04, 2012 16:08
by Death Dealer
Jordach wrote:If this works, free WIn build for all!

^.^

PostPosted: Wed Apr 04, 2012 16:09
by Jordach
And this means less disk space for me. >.<

PostPosted: Wed Apr 04, 2012 16:10
by Jordach
And another ERROR:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Check for working C compiler: i586-mingw32msvc-gcc
CMake Error: your C compiler: "i586-mingw32msvc-gcc" was not found.   Please set CMAKE_C_COMPILER to a valid compiler path or name.
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Check for working C compiler: i586-mingw32msvc-gcc -- broken
CMake Error at /usr/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
  The C compiler "i586-mingw32msvc-gcc" is not able to compile a simple test
  program.

  It fails with the following output:

   

 

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:8 (project)


CMake Error: your C compiler: "i586-mingw32msvc-gcc" was not found.   Please set CMAKE_C_COMPILER to a valid compiler path or name.
CMake Error: your CXX compiler: "i586-mingw32msvc-g++" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- Configuring incomplete, errors occurred!

PostPosted: Wed Apr 04, 2012 16:30
by Jordach
Just did some reading on Cross-Compiling, it is now working, so far.

PostPosted: Wed Apr 04, 2012 16:47
by sfan5
sudo apt-get install gcc-mingw32

PostPosted: Wed Apr 04, 2012 16:52
by Jordach
It worked, IT IS UN TESTED.

Sfan, I did something else and it did it.

Thanks for your help!

Also: http://ompldr.org/vZDlkYQ

PostPosted: Wed Apr 04, 2012 16:55
by Death Dealer
still uncompiled:/ ill wait then.

PostPosted: Wed Apr 04, 2012 16:57
by Jordach
Hmm, it should have done, then IDK. That's odd behaviour.