z88dk-1.10.1 compiling from source

Bug reports (if you don't/won't have a Github account)
Post Reply
berk
Member
Posts: 37
Joined: Wed Dec 24, 2014 9:46 am

z88dk-1.10.1 compiling from source

Post by berk »

Hello,

first of all thank you for this great project :-)

I am working on debian station and unfortunately there is old (1.8) version only available as package. So I have decided to get 1.10.1 version and build it from source. I changed prefix in Makefile and run make && make install && make install-libs. After that I found several problems which I had to correct manually:

1) all directory {prefix}/lib/z88dk/lib/config was missing and I had to copy it manually
2) when I used #include<bgi.h> compiler had complain X11/XLib.h doesnt exist. I had to make symblink to X11/Xlib.h
3) malloc.lib was not assembled at all for some reason

May be some of these bugs are already fixed in night builds.

Thank you

Jarda
berk
Member
Posts: 37
Joined: Wed Dec 24, 2014 9:46 am

Post by berk »

This is the best way I found which it seems build all libs:

Code: Select all

tar xvzf z88dk-1.10.1.tgz
cd z88dk
vi Makefile (prefix = /home/berk/bin/z88)
./build.sh
make install
make libs
make install-libs
ln -s ~/bin/z88/share/z88dk/lib/config ~/bin/z88/lib/z88dk/lib/config
ln -s ~/bin/z88/share/z88dk/include/X11/Xlib.h ~/bin/z88/share/z88dk/include/X11/XLib.h
Last edited by berk on Wed Dec 24, 2014 4:59 pm, edited 1 time in total.
Post Reply