Hi Björn,
I tried to compile the current master, but it failed. I believe it is
unrelated to the ruby settings though.
I configured with the following.
./configure --with-features=huge \
> --enable-rubyinterp \
> --enable-pythoninterp \
> --enable-perlinterp \
> --enable-cscope \
> --with-ruby-command=/Users/andersjanmyr/.rvm/rubies/ruby-1.9.2-p136/ruby
And below are the failures, the short version.
Anders
cc1obj: error:
/var/folders/xQ/xQLJaYfpE-OC5JHXGYXw8k+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/AppKit-hlhifydmgfqmdralehblkqeidwva/AppKit.h:
No such file or directory
cc1obj: error: one or more PCH files were found, but they were invalid
cc1obj: error: use -Winvalid-pch for more information
=== BUILD NATIVE TARGET MacVim OF PROJECT MacVim WITH THE DEFAULT
CONFIGURATION (Release) ===
Check dependencies
PhaseScriptExecution "Make Document Icons"
build/MacVim.build/Release/MacVim.build/Script-1D1C31F00EFFBFD6003FE9A5.sh
cd /Users/andersjanmyr/External_Projects/macvim/src/MacVim
/bin/sh -c
/Users/andersjanmyr/External_Projects/macvim/src/MacVim/build/MacVim.build/Release/MacVim.build/Script-1D1C31F00EFFBFD6003FE9A5.sh
make[2]:
`/Users/andersjanmyr/External_Projects/macvim/src/MacVim/build/Release/MacVim.app/Contents/Resources/MacVim-generic.icns'
is up to date.
** BUILD FAILED **
The following build commands failed:
PSMTabBarControlFramework:
CompileC
../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMOverflowPopUpButton.o
/Users/andersjanmyr/External_Projects/macvim/src/MacVim/PSMTabBarControl/source/PSMOverflowPopUpButton.m
normal x86_64 objective-c com.apple.compilers.gcc.4_2
CompileC
../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMTabBarControl.o
/Users/andersjanmyr/External_Projects/macvim/src/MacVim/PSMTabBarControl/source/PSMTabBarControl.m
normal x86_64 objective-c com.apple.compilers.gcc.4_2
CompileC
../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMTabBarCell.o
/Users/andersjanmyr/External_Projects/macvim/src/MacVim/PSMTabBarControl/source/PSMTabBarCell.m
normal x86_64 objective-c com.apple.compilers.gcc.4_2
CompileC
../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMAquaTabStyle.o
/Users/andersjanmyr/External_Projects/macvim/src/MacVim/PSMTabBarControl/source/PSMAquaTabStyle.m
normal x86_64 objective-c com.apple.compilers.gcc.4_2
CompileC
../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMMetalTabStyle.o
/Users/andersjanmyr/External_Projects/macvim/src/MacVim/PSMTabBarControl/source/PSMMetalTabStyle.m
normal x86_64 objective-c com.apple.compilers.gcc.4_2
CompileC
../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMRolloverButton.o
/Users/andersjanmyr/External_Projects/macvim/src/MacVim/PSMTabBarControl/source/PSMRolloverButton.m
normal x86_64 objective-c com.apple.compilers.gcc.4_2
CompileC
../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMProgressIndicator.o
/Users/andersjanmyr/External_Projects/macvim/src/MacVim/PSMTabBarControl/source/PSMProgressIndicator.m
normal x86_64 objective-c com.apple.compilers.gcc.4_2
CompileC
../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMTabDragAssistant.o
/Users/andersjanmyr/External_Projects/macvim/src/MacVim/PSMTabBarControl/source/PSMTabDragAssistant.m
normal x86_64 objective-c com.apple.compilers.gcc.4_2
CompileC
../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMUnifiedTabStyle.o
/Users/andersjanmyr/External_Projects/macvim/src/MacVim/PSMTabBarControl/source/PSMUnifiedTabStyle.m
normal x86_64 objective-c com.apple.compilers.gcc.4_2
CompileC
../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/NSBezierPath_AMShading.o
/Users/andersjanmyr/External_Projects/macvim/src/MacVim/PSMTabBarControl/source/NSBezierPath_AMShading.m
normal x86_64 objective-c com.apple.compilers.gcc.4_2
(10 failures)
2011/2/16 Björn Winckler <[email protected]>:
> On Feb 16, 2011, at 3:22 PM, Nikola Knežević wrote:
>>
>> On 09.01.2011, at 21:34 , björn wrote:
>>
>>> On 9 January 2011 20:48, Anders Janmyr <[email protected]> wrote:
>>>> I am currently not trying to use it with many different versions of Ruby.
>>>> I just want to compile it with ruby 1.9.2, which is what I use most of the
>>>> time.
>>>>
>>>> That was what I was trying to do, but it failed somehow, and I cannot tell
>>>> why.
>>>> I thought that maybe someone on the list had done it already, but I guess
>>>> not.
>>>>
>>>> I will take another look at it and report back when I figure it out.
>>>
>>> I have tried to bring over the patch to the MacVim source tree
>>> (attached to this post) to help you get started (but I don't know if I
>>> can be of much more help). I have no idea if it works -- please let
>>> me know how it goes.
>>>
>>> With this patch you are supposed to be able to call configure like this:
>>>
>>> ./configure --enable-ruby-interp --with-ruby-command=/usr/local/bin/ruby
>>>
>>> Substitute the last path with wherever your 1.9 binary is.
>>>
>>> Björn
>
>>
>> Hey, I had the same problems (I wanted to use homebrew's version of ruby).
>> This patch helped. Thanks.
>
> I have merged this patch with mainline now. Can I please get some
> confirmation that the master branch compiles Ruby 1.9 properly now? (It
> should be the same as with this patch, but ...)
>
> Björn
>
> --
> You received this message from the "vim_mac" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
--
http://anders.janmyr.com/
--
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php