On Feb 6, 2004, at 2:04 PM, GoochRules! wrote:



On Feb 6, 2004, at 11:49 AM, Alexander K. Hansen wrote:



On Feb 6, 2004, at 1:32 PM, GoochRules! wrote:


Greetings,

`fink install freetype` fails to compile:

from the configure script:
checking for gcc... gcc3
checking whether the C compiler (gcc3 -no-cpp-precomp -I/sw/include -L/sw/lib) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

<AKH> This error usually means that your Developer Tools are the wrong version for your OS--or possibly you missed an optional package install. What OS and Dev Tools are you running?



OS X 10.3.2, Xcode 1.1 (IDE 300.0, Core: 300.0, ToolSupport: 300.0). I installed Xcode from the 20-some piece download, with no previous exisiting install. I may installed only the latest gcc.


### execution of ./configure failed, exit code 1
Failed: compiling freetype-1.3.1-7 failed

from config.log:
configure:711: checking for gcc
configure:824: checking whether the C compiler (gcc3 -no-cpp-precomp -I/sw/include -L/sw/lib) works
configure:840: gcc3 -o conftest -no-cpp-precomp -I/sw/include -no-cpp-precomp -I/sw/include -L/sw/lib conftest.c -L/sw/lib 1>&5
/configure: line 1: gcc3: command not found
configure: failed program was:


#line 835 "configure"
#include "confdefs.h"

main(){return(0);}


So, I tried `/usr/bin> ln -s gcc-3.3 gcc3`.

<AKH> It's not too surprising that this doesn't work.


As you can see, gcc3 and gcc3.3 are not identical (10.3.2 w/all Xcode updates in place):

$ gcc3 --version
gcc3 (GCC) 3.1 20021003 (prerelease)

$ gcc-3.3 --version
gcc-3.3 (GCC) 3.3 20030304 (Apple Computer, Inc. build 1495)

Well... I simply don't have gcc3, only gcc-3.3 and gcc (which points to gcc-3.3)


/usr/bin> gcc-3.3 --version
gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)

So, I wouldn't say my tools are the wrong version for the OS, but that the package is not looking for the tools that I do have installed. I'm not saying I won't install gcc3, but it seems rather silly (in general) to tweak dev tools to accommodate source, rather than to tweak source to work with dev tools.

The error historically has been seen when the OS has been updated without updating the Developer Tools, so that was my knee-jerk reaction.


My reading of the issue (after doing some poking around in the package information files) is that freetype-1.3.1 just flat won't build with gcc 3.3, and so there's a flag set to force gcc3 (i.e. gcc 3.1).

--
Alexander Hansen
Levitated Dipole Experiment
http://www.psfc.mit.edu/LDX



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to