Hi,
I'm not sure what you are trying to build. You will need the common build tools, which
can be installed by hand (like I did when I last setup my Z with pdaXrom), or you can
mount a (compatible, again I don't know about cacko) loop device image file,
which would include a directory tree with all of the stuff you need for most compiles.
In any case, typically, software in source form, includes a configure script, which
looks at your LINUX install, to find various things, and based on where it finds them,
creates a makefile. You will know if you have the tools setup right, if you see:
make: *** No targets specified and no makefile found. Stop. (If you type "make")
and
gcc: no input files (If you type "gcc")