On September 08 2005, Cam Crews <[EMAIL PROTECTED]> wrote:

>> So, its something with the C compiler...

Well, you can test your compiler pretty easily..  Are you able to
compile anything else?  At minimum, try compiling hello world first:

create a file test.c :
-------------------------------
#include <stdio.h>

int main( ) {
  printf("oh my, 1 step closer to using sqlite\n");
  return 0;
}
--------------------------------
then type from the command line:

gcc test.c -o sillymac
chmod +x sillymac
./sillymac

-------------------------------
if that works, your compiler is probably ok.  Next try downloading a
sample project from freshmeat.net, and see if you can configure &
compile one of those...
  I'll echo the suggestion that your source download is likely
corrupt.  Or your data is being corrupted through the unzipping
process.



Cam,

It worked:

Welcome to Darwin!
FastMAC:~ rn$ ls
Desktop         Library         Movies          Pictures        Sites           
test.c
Documents       Mail            Music           Public          ash             
tinySQL2
FastMAC:~ rn$ gcc test.c -o sillymac
FastMAC:~ rn$ chmod +x sillymac
FastMAC:~ rn$ ./sillymac
oh my, 1 step closer to using sqlite
FastMAC:~ rn$

Richard


Reply via email to