Changes between Initial Version and Version 5 of Ticket #59237


Ignore:
Timestamp:
Oct 16, 2019, 8:24:47 PM (5 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Although I can't explain the appearance of the -Wno-framework-include-private-from-public flag in it, I'm not sure that the failure of the gcc -V test matters; that test is supposed to fail anyway.

Still, it might be useful to check your environment variables (run env) and make sure you don't have any variables set that would influence the build, such as CC, CXX, CFLAGS, CPPFLAGS, CXXFLAGS, LDFLAGS, DYLD_LIBRARY_PATH. It's also a good idea to make sure your PATH doesn't include non-Apple components. For example try export PATH=/usr/bin:/bin:/usr/sbin:/sbin before configuring MacPorts. Also make sure you don't have anything in /usr/local or /Library/Frameworks.

Later in the log, I see that the compile checks seem to fail because of errors in the SDK:

In file included from conftest.c:14:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:63:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h:246:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityInternal.h:147:2: error: #endif without #if
#endif /* __ENABLE_LEGACY_IPHONE_AVAILABILITY */
 ^

Of course I'm sure your Xcode SDK files are fine. Is it possible that you have an old version of the command line tools? Make sure you've installed the Xcode 11.1-compatible version of the command line tools for Catalina.

Others are successfully building MacPorts 2.6.1 on Catalina so something must be different about your computer.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #59237

    • Property Keywords catalina added
  • Ticket #59237 – Description

    initial v5  
    11I am currently testing a fresh install of macOS Catalina on my secondary machine. I have tried to install MacPorts from source, but here already the configure step fails with:
    22
     3{{{
    34checking for SQLite >= 3003011... configure: error: "SQLITE_VERSION_NUMBER undefined or sqlite3.h not found"
     5}}}
    46
    57Please note that I did install Xcode (11.1), I also installed the Command Line Developer Tools, and accepted the license. I am attaching the complete configure output.