Mac OSX
These posts have interfered.
As I'm using the default Makfefile the config is done within that, and the config are generated perfectly.
The problem is that they are not copied to the proper directory in /usr/local/lib/z88dk/lib/ .
That's why I added these three lines to the Makefile.
As I'm using the default Makfefile the config is done within that, and the config are generated perfectly.
The problem is that they are not copied to the proper directory in /usr/local/lib/z88dk/lib/ .
That's why I added these three lines to the Makefile.
Last edited by decfreak on Thu Nov 01, 2012 4:49 pm, edited 1 time in total.
Trying to install z88dk into my MacBook with OS X Mountain Lion, I had the same "Can't open config file" as decfreak, and his "3-lines patch" worked for me.
-
- Member
- Posts: 16
- Joined: Thu Feb 24, 2011 7:03 pm
Hi!
With the addition of the GLIB dependancy of Z80ASM, the latest CVS source code doesn?t compile on Mac OS X.
Which would be the steps to solve this? Installing a GLIB dev build on OS X?
Edit: I found this webpage: http://rudix.org/packages.html with GLib prebuilt packages for Mac OS X. Will try them to see if they solve something.
Regards.
With the addition of the GLIB dependancy of Z80ASM, the latest CVS source code doesn?t compile on Mac OS X.
Which would be the steps to solve this? Installing a GLIB dev build on OS X?
Edit: I found this webpage: http://rudix.org/packages.html with GLib prebuilt packages for Mac OS X. Will try them to see if they solve something.
Regards.
Last edited by wintermute on Mon Sep 16, 2013 8:57 am, edited 1 time in total.
-
- Member
- Posts: 16
- Joined: Thu Feb 24, 2011 7:03 pm
Hello again,
Tried it and I didn't succeed. :-(
I've installed glib and pkg-config packages from the webpage above for Mountain Lion and everything goes fine until this perl script is executed:
It fails finding these imports:
Any clues about how to go one step beyond? I am quite lost with Perl things. 
Hope someone has better luck!
Kind regards.
Tried it and I didn't succeed. :-(
I've installed glib and pkg-config packages from the webpage above for Mountain Lion and everything goes fine until this perl script is executed:
Code: Select all
perl tools/make_init.pl memalloc.h strpool.h errors.h codearea.h
Code: Select all
use Modern::Perl;
...
use Win32::Autoglob;
use Template::Tiny;

Hope someone has better luck!
Kind regards.
-
- Member
- Posts: 14
- Joined: Fri Oct 04, 2013 10:50 am
The build fails. I'm on OSX Lion.
I'm using:
And I'll get:
EDit: I scrolled up the result, there are more errors earlier, like
Then, there are plenty of warnings, like
I'm using:
Code: Select all
cd z88dk
./build.sh
Code: Select all
rm -f strlcat_callee.o
rm -f strlcpy_callee.o
rm -f strlen.o
cd printflike ; make ; cd ..
make[1]: Nothing to be done for `all'.
cd time ; make lz88 ; cd ..
cd z88 ; make ; cd ..
make[2]: Nothing to be done for `all'.
cd rs232 ; make lz88 ; cd ..
cd z88 ; make ; cd ..
make[2]: Nothing to be done for `all'.
cd setjmp ; make ; cd ..
make[1]: Nothing to be done for `all'.
cd assert ; make ; cd ..
make[1]: Nothing to be done for `all'.
z80asm -d -ns -nm -Mo -x./z88net_clib @./z88net.lst
Error at file 'strings/string.lst' line 60: cannot read file 'strings/strrchr_callee.o'
1 errors occurred during assembly
make: *** [z88net_clib.lib] Error 1
cp ./*.lib ../lib/clibs
Code: Select all
rm -f strlcat_callee.o
rm -f strlcpy_callee.o
rm -f strlen.o
cd printflike ; make ; cd ..
make[2]: Nothing to be done for `all'.
cd time ; make lz88 ; cd ..
cd z88 ; make ; cd ..
make[3]: Nothing to be done for `all'.
cd rs232 ; make lz88 ; cd ..
cd z88 ; make ; cd ..
make[3]: Nothing to be done for `all'.
cd setjmp ; make ; cd ..
make[2]: Nothing to be done for `all'.
cd assert ; make ; cd ..
make[2]: Nothing to be done for `all'.
z80asm -d -ns -nm -Mo -x./z88net_clib @./z88net.lst
Error at file 'stdlib/stdlib.lst' line 45: cannot read file 'stdlib/delay.asm'
Error at file 'stdlib/stdlib.lst' line 47: cannot read file 'stdlib/sleep.asm'
Error at file 'stdlib/stdlib.lst' line 48: cannot read file 'stdlib/csleep.asm'
Error at file 'strings/string.lst' line 63: cannot read file 'strings/strrstr_callee.o'
4 errors occurred during assembly
make[1]: *** [z88net_clib.lib] Error 1
make: *** [libs] Error 2
Code: Select all
--- Building Z88 Network Aware Library ---
cd fcntl ; make lz88 ; cd ..
cd z88 ; make z88_fcntl ; cd ..
make[2]: Nothing to be done for `z88_fcntl'.
cd stdio ; make lz88net ; cd ..
zcc +z88 -O3 -vn -make-lib -Wn43 -DNET_STDIO fclose.c
zcc +z88 -O3 -vn -make-lib -Wn43 -DNET_STDIO fgetc.c
zcc +z88 -O3 -vn -make-lib -Wn43 -DNET_STDIO fputc_callee.c
zcc +z88 -O3 -vn -make-lib -Wn43 -DNET_STDIO freopen_z88.c
sccz80:"freopen_z88.c" L:51 Warning:#36:In function: freopen_z88() line 29
sccz80:"freopen_z88.c" L:51 Warning:#12:Converting far ptr to near ptr
sccz80:"freopen_z88.c" L:56 Warning:#9:Converting pointer to integer without cast
Last edited by pasi on Sat Nov 23, 2013 8:52 am, edited 1 time in total.
I don't have the screenbuffer of that compilation saved, so I did "make clean" and ./build.sh again.
And this time it doesn't show those 'cannot read file 'stdlib/delay.asm' etc anymore. Weird.
But the "cannot read file 'strings/strrchr_callee.o'" stays.
And I can see that "missing" file strrchr_callee.o, it's under libsrc/strings
And this time it doesn't show those 'cannot read file 'stdlib/delay.asm' etc anymore. Weird.
But the "cannot read file 'strings/strrchr_callee.o'" stays.
And I can see that "missing" file strrchr_callee.o, it's under libsrc/strings
-
- Member
- Posts: 14
- Joined: Fri Oct 04, 2013 10:50 am
Hil folks,

The steps I've used are these: uncompress the TGZ file to a directory in my $HOME directory, then the directory 'z88dk' is created. Then I run once to reconfigure paths:
(the last slash in 'config.sh' parameter is important)
And start using it with:
Sorry for the delay in testing this. I've downloaded a nightly (16/12/1013) and seems to be working fine.dom wrote:There's now a nightly build being produced for Mac OSX that includes the glib dependency - let me know how you get on with it.

The steps I've used are these: uncompress the TGZ file to a directory in my $HOME directory, then the directory 'z88dk' is created. Then I run once to reconfigure paths:
Code: Select all
$ cd $HOME/z88dk
$ sh config.sh $HOME/z88dk/
And start using it with:
Code: Select all
$ PATH=$HOME/z88dk/bin:$PATH
$ Z80_OZFILES=$HOME/z88dk/lib/
$ ZCCCFG=$HOME/z88dk/lib/config/
$ export PATH
$ export Z80_OZFILES
$ export ZCCCFG