fftw3 update failed with C compiler cannot create executables

Baudais Michael <[email protected]>
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>
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.

Keep getting:
…
checking build system type... x86_64-apple-darwin18.7.0
checking host system type... x86_64-apple-darwin18.7.0
checking for gcc... /sw/bin/gcc-fsf-9
checking whether the C compiler works... no
configure: error: in `/sw/src/fink.build/fftw3-3.3.10-1/fftw-3.3.10':
configure: error: C compiler cannot create executables
See `config.log' for more details
### execution of /tmp/fink.4bqrE failed, exit code 77
### execution of /tmp/fink.rkw4m failed, exit code 77
…

I went to the /sw/src/fink.build/fftw3-3.3.10-1/fftw-3.3.10 directory and did the following manually, and it appeared to work:
$ ./configure —enable-threads
$ ./make
$ sudo make install

—

Oh wait - while writing this I realized I should check config.log for more details…  :-)

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

_______________________________________________
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.