Do you have any development tools installed at all?
I would first try getting scriba to compile which should catch the scriba library and httpd versions as well.
The rest are missing dependencies. If your having problems, compile each module one and a time and look at the dependency file located in each extension directory for what you might be missing. Another problem you might be having is that ScriptBasic may be looking for the .so's in /usr/lib and under Ubuntu they are located in /usr/local/lib. Update your LD config to reflect where your libraries reside.
If your using gcc 4.x then you need to update the source with Peter's fixes. (posted in the download section)
I have a working set so I know if you have your system setup correctly you will achieve a clean compile. If this seems like too much work for you, I could tar a set of binaries for you to work with till you get things working with your development tools.
John