Re: fftw3 update failed with C compiler cannot create executables

Hanspeter Niederstrasser <[email protected]>
Newsgroups gmane.os.apple.fink.general
Organization Snaggled Works
Message-ID <[email protected]>
On 11/4/21 7:04 PM, Baudais Michael wrote:
> Hi,
> 
> I tried searching the archives and haven’t found the smoking gun for this.   Some info:
> 
> OS 10.14 Mojave, fink 0.45.4, Xcode 11.3.1, Command Line Tools up-to-date
> 
> Doing a “fink update fftw3”, attempts to upgrade to fftw3-3.3.10.
> configure:4474: checking whether the C compiler works
> configure:4496: /sw/bin/gcc-fsf-9 -I/Volumes/LaCie Thunderbolt RAID Set 1/Applications/Xcode.app/Contents/Developer/Plat
> forms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include -I/sw/include -L/sw/lib conftest.c  >&5
> gcc-fsf-9: error: Thunderbolt: No such file or directory
> gcc-fsf-9: error: RAID: No such file or directory
> gcc-fsf-9: error: Set: No such file or directory
> gcc-fsf-9: error: 1/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/u
> sr/include: No such file or directory
> configure:4500: $? = 1
> configure:4538: result: no
> configure: failed program was:
> | /* confdefs.h */
> | #define PACKAGE_NAME "fftw"
> | #define PACKAGE_TARNAME "fftw"
> | #define PACKAGE_VERSION "3.3.10"
> | #define PACKAGE_STRING "fftw 3.3.10"
> | #define PACKAGE_BUGREPORT "[email protected]"
> | #define PACKAGE_URL ""
> | #define PACKAGE "fftw"
> | #define VERSION "3.3.10"
> | #define FFTW_ENABLE_ALLOCA 1
> | #define HAVE_SSE2 1
> | /* end confdefs.h.  */
> |
> | int
> | main ()
> | {
> |
> |   ;
> |   return 0;
> | }
> configure:4543: error: in `/sw/src/fink.build/fftw3-3.3.10-1/fftw-3.3.10':
> configure:4545: error: C compiler cannot create executables
> 
> I think the problem is that I moved my Xcode installation to an external drive that has spaces in it’s volume name.
> 
> Any suggestions on how to work around this problem, without say renaming the external drive (which would cause me endless grief editing names all over the place)...
> 
> Thanks,
> 
> Mike

Did you run `xcode-select` after you moved Xcode.app?

What's the output of `xcode-select -p` ?

Look at `man xcode-select` for the different options available. You 
might need to switch the path and use quotes around the "/Volumes/LaCie 
Thunderbolt RAID Set 1/Applications/Xcode.app" path. *Maybe* that help 
when the path is transferred to other uses (like in the compiler command).

Hanspeter

-- 
"Of the 22 schools in the top 20..."
   --Unknown


_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.