[MacPorts] #42430: TexShop @2.47 Build error: Unsupported compiler 'gcc' selected for architecture 'i386'

MacPorts noreply at macports.org
Mon Feb 10 07:20:46 PST 2014


#42430: TexShop @2.47 Build error: Unsupported compiler 'gcc' selected for
architecture 'i386'
-------------------------+--------------------------------
  Reporter:  quantum7@…  |      Owner:  macports-tickets@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.2.1
Resolution:              |   Keywords:  gcc, xcode
      Port:  texshop     |
-------------------------+--------------------------------

Comment (by quantum7@…):

 Looking into this more, it seems to be a problem with the base SDK. The
 project includes MacOSX10.4u.sdk, which isn't installed on my Mavericks
 system. I was able to work around this problem by

  1. chown the project folder to make it writable
  2. Open the project in XCode
  2. Edit the project settings to use the 10.8 SDK (and making 10.8 the
 target version)
  3. Switch compilers from gcc to the default clang compiler
  4. Fix some build errors in DocumentClasses/TSDocument-SyncTeX.m (remove
 return values from a void method)

 Note that it won't build for x86_64 due to the dependency on deprecated
 NSQuickDrawView.

 I also had to manually specify /opt/local/bin as my latex path after
 opening TeXShop. I feel like the installer used to set that up
 automatically?

-- 
Ticket URL: <https://trac.macports.org/ticket/42430#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list