Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Need help to get started



I'm an experienced Mac user and an experienced Unix administrator. So I figured building opening source software on OS X would be a snap. Wrong. The errors I'm getting are so soon and so hard, I figure there must be something basic that I don't understand. Could someone please explain to me what I don't know or point me to some resource that could?

Here's what I've done so far. I installed the Developer.mpkg package from the Developer Tools cd. The particular open source package I wanted to build was wget. When I ran configure, here's what I got:

andrew% cd wget-1.9.1
andrew% ./configure

configuring for GNU Wget 1.9
checking build system type... powerpc-apple-darwin6.8
checking host system type... powerpc-apple-darwin6.8
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... no
checking for cc... cc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.


So I tried backing up and doing something simple. I tried compiling a "Hello World!" c program:

andrew% cat main.c

#include <stdio.h>
main() {
     printf("%s\n", "Hello World!");
}

andrew% cc main.c

/usr/bin/ld: /usr/lib/libSystem.dylib load command 9 unknown cmd field

What don't I know? Thanks!

Andrew Robinson

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.