svn co svn://svn.ps2dev.org/psp/trunk/zlib
cd zlib
make
make install
cd ..
i've tried that and when i get to make install it cant copy, and i cant overwrite the files. im going to restart my commy and do it again to see if that works
In linux/Mac, it's best to chown the pspsdk directory so that you never have to sudo again. The latest tutorial on setting up the toolchain shows how to do that.
and it avoids lots of head-aches. But then be careful with pspirkeyb installation because it tries to recursively copy some directories and will not have permission to copy .svn , so the installation will stall. you can work around that bug using sudo to build and install the package and then, use chown in the build directory and in $PSPDEV to restore permissions