Re: xcode not found while building
Hi Joshua, Ryan, Joshua Root wrote: So make sure you checked oute4b3d80 and not an earlier commit where the version was 8.1 155. If use_xcode is already in the Portfile you're using, you probably need to run xcode-select. thanks you hinted me to the correct statement. I did check out a version before "use_xcode yes" was added to the Portfile. However, it was not enough - ibtool of XCode 8 was required... I was eventually able to build 8.0 r 146 ... Dit try a couple of intermediate version, but not all, so I am not sure it is really the latest to be buildable on El Capitan. Interestingly, offically 9.0 was distributed and worked probably it can be built on later versions of MacOS and is compatible with previous ones, but with MacPorts we do a native build! I will see what I can build then on 10.9, 10.7, 10.6, 10.5 going on :) Maybe somebody else is interested. I wonder if these version can be integrated in official MacPorts, like limiting a certain Max version given the OS or Xcode version? Or making a specific MacVim8 package, e.g.? Riccardo
Re: xcode not found while building
Ryan Schmidt wrote: On May 26, 2024, at 14:33, Riccardo Mottola wrote: > > Hi, > > MacVim is difficult to build, I want to get a version build on older versions of MacOS. > I am trying to get a version building on 10.11. The current versions and most previous versions don't build, because XCode 8 is expected. I have XCode 7.3.1 > > Going back in history I got to 8.1 155 > > this has build failing. > > Hunk #1 succeeded at 796 (offset 27 lines). > ---> Running ibtool for Preferences.nib > xcode-select: error: tool 'ibtool' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance > Command failed: ibtool --compile src/MacVim/English.lproj/Preferences.nib/keyedobjects.nib src/MacVim/English.lproj/Preferences.nib > Exit code: 1 > Error: Failed to patch MacVim: command execution failed > > > But, as said, I have XCode installed! what cold be wrong? If you have the command line tools installed, then MacPorts uses them unless the portfile says "use_xcode yes". So make sure you checked oute4b3d80 and not an earlier commit where the version was 8.1 155. If use_xcode is already in the Portfile you're using, you probably need to run xcode-select. - Josh
Re: xcode not found while building
On May 26, 2024, at 14:33, Riccardo Mottola wrote: > > Hi, > > MacVim is difficult to build, I want to get a version build on older versions > of MacOS. > I am trying to get a version building on 10.11. The current versions and most > previous versions don't build, because XCode 8 is expected. I have XCode 7.3.1 > > Going back in history I got to 8.1 155 > > this has build failing. > > Hunk #1 succeeded at 796 (offset 27 lines). > ---> Running ibtool for Preferences.nib > xcode-select: error: tool 'ibtool' requires Xcode, but active developer > directory '/Library/Developer/CommandLineTools' is a command line tools > instance > Command failed: ibtool --compile > src/MacVim/English.lproj/Preferences.nib/keyedobjects.nib > src/MacVim/English.lproj/Preferences.nib > Exit code: 1 > Error: Failed to patch MacVim: command execution failed > > > But, as said, I have XCode installed! what cold be wrong? If you have the command line tools installed, then MacPorts uses them unless the portfile says "use_xcode yes".
xcode not found while building
Hi, MacVim is difficult to build, I want to get a version build on older versions of MacOS. I am trying to get a version building on 10.11. The current versions and most previous versions don't build, because XCode 8 is expected. I have XCode 7.3.1 Going back in history I got to 8.1 155 this has build failing. Hunk #1 succeeded at 796 (offset 27 lines). ---> Running ibtool for Preferences.nib xcode-select: error: tool 'ibtool' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance Command failed: ibtool --compile src/MacVim/English.lproj/Preferences.nib/keyedobjects.nib src/MacVim/English.lproj/Preferences.nib Exit code: 1 Error: Failed to patch MacVim: command execution failed But, as said, I have XCode installed! what cold be wrong? Riccardo