Page 1 of 1

Problem building tools

Posted: Mon Apr 15, 2019 11:23 am
by Montserrat
Hi there, its been a while :D

I was installing the tools folowing the wiki commands, but seems somethings wrong with the files...

Code: Select all

cd ${HOME}
mkdir 20151220
cd 20151220
wget -qO- | tar zxf -
cd makestuff
scripts/ makestuff/hdlmake/20151220
cd hdlmake/apps
mkdir makestuff
cd makestuff
../../../scripts/ makestuff/umdkv2
cd umdkv2/scripts
./  <----------------------------------------------------------------- HERE
cd ../m68k/menu
And this is the output i get in terminal, there is some spanish there btw:

Code: Select all

root@sega-VirtualBox:/home/sega/20151220/makestuff/hdlmake/apps/makestuff/umdkv2/scripts# ./
Fetching SGDK v095...
xz: (stdin): Formato de archivo no reconocido
tar: Child returned status 1
tar: Error is not recoverable: exiting now
./ 13: cd: can't cd to sgdk095
./ 14: ./ cannot create src/libres.s: Directory nonexistent
./ 251: ./ cannot create src/Makefile: Directory nonexistent
rm: no se puede borrar 'src/z80_ctrl.c': No existe el archivo o el directorio
patching file src/sys.c
Hunk #1 FAILED at 582.
patch: **** Can't reopen file src/sys.c : No such file or directory
make: se entra en el directorio '/home/sega/20151220/makestuff/hdlmake/apps/makestuff/umdkv2/m68k/src'
make: *** No se especificó ningún objetivo y no se encontró ningún makefile.  Alto.
make: se sale del directorio '/home/sega/20151220/makestuff/hdlmake/apps/makestuff/umdkv2/m68k/src'
Seems like it does not recognize files, or there are missing ones, or may be corrupted...i've downloaded them again with no results. Most folders on the dropbox are empty, Is there something missing?

Re: Problem building tools

Posted: Mon Apr 15, 2019 6:40 pm
by Montserrat
First post was about building the tools in linux, and this one is for the windows ones, i cannot build them too :S here there is the build.log:

Re: Problem building tools

Posted: Wed Aug 07, 2019 11:46 am
by Burbruee
Hi Montserrat, indeed it's been a while.

It appears the dropbox link inside that script for your linux problem is dead.
I have a working umdk dev environment on my laptop, complete with sgdk built.

This version of sgdk is quite old, I think current version is 1.40 (I have not tried to build a newer version as I don't use sgdk myself)
It's so old it's not even on the github page for the project and I could not find a mirror online.

So here I packaged my sgdk 0.95 and have uploaded a mirror for you of the file the script is downloading.

Replace the link in the script with mine and run the script again and see if it builds correctly.
Actually, my sgdk build is already patched (which is what the script does)
So maybe just unpack it to
and try to build it.

Good luck and hope it can help you!