freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] Cannot run C compiled programs Mac OSX


From: Vincent Torri
Subject: Re: [ft] Cannot run C compiled programs Mac OSX
Date: Wed, 14 Dec 2011 06:25:26 +0100

On Tue, Dec 13, 2011 at 8:26 PM, David Welch <address@hidden> wrote:
> Hello all,
>
> Im trying to install freetype on a MacBook running OS X 10.6.  Here's my 
> procedure:
>
> =================================================
> $  curl -L -o freetype-2.4.8.tar.bz2 
> http://sourceforge.net/projects/freetype/files/latest/download?source=files
> $  tar -xf freetype-2.4.8.tar.bz2
> $  cd freetype-2.4.8
> $  ./configure
>
> FreeType build system -- automatic system detection
>
> The following settings are used:
>
>  platform                    unix
>  compiler                    cc
>  configuration directory     ./builds/unix
>  configuration rules         ./builds/unix/unix.mk
>
> If this does not correspond to your system or settings please remove the file
> `config.mk' from this directory then read the INSTALL file for help.
>
> Otherwise, simply type `make' again to build the library,
> or `make refdoc' to build the API reference (the latter needs python).
>
> cd builds/unix; ./configure
> checking build system type... i386-apple-darwin10.7.0
> checking host system type... i386-apple-darwin10.7.0
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... configure: error: in 
> `/tmp/freetype-2.4.8/builds/unix':
> configure: error: cannot run C compiled programs.
> If you meant to cross compile, use `--host'.
> See `config.log' for more details
> make: *** [setup] Error 1
> =======================================================
>
> I've attached my configure log file.  Any help would be appreciated!

your CFLAGS looks weird. Try

CFLAGS=""  ./configure

Vincent Torri



reply via email to

[Prev in Thread] Current Thread [Next in Thread]