Opened 19 years ago

Closed 18 years ago

#7690 closed defect (fixed)

BUG: Vim 6.3.82 Revision 2 does not build on intel Mac OS X

Reported by: edko@… Owned by: mij@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc: markd@…, bfi@…, pete-darwinports@…
Port:

Description

VIm 6.3.82 Revision 2 does not build on intel Mac OS X. Build complains of an error in vim.h

Attachments (1)

vim_build.txt (43.5 KB) - added by edko@… 19 years ago.
Messages from build process

Download all attachments as: .zip

Change History (12)

Changed 19 years ago by edko@…

Attachment: vim_build.txt added

Messages from build process

comment:1 Changed 19 years ago by blb@…

Owner: changed from darwinports-bugs@… to mij@…

Assigning to maintainer.

comment:2 Changed 19 years ago by edko@…

Noticed that the Vim version has been bumped up to 6.4.8.

Tried compiling vim but got the same error messages as before.

comment:3 Changed 19 years ago by mww@…

Summary: Vim 6.3.82 Revision 2 does not build on intel Mac OS XBUG: Vim 6.3.82 Revision 2 does not build on intel Mac OS X

comment:4 Changed 19 years ago by bfi@…

Cc: bfi@… added

These seem to be preprocessor instructions that have to do with PPC detection -- I don't n´know if they concern pre-PPC processors or Intel processors. deleting the three lines in src/osmac.h line 97--99 helps.

If you also change the '-iarch' directives from the aqua patch in the Makefile, you get a nice, working (g)vim.app on an Intel Mac.

Cheers, Bernhard

PS: Should I prepare some patch?

comment:5 Changed 19 years ago by pete-darwinports@…

Cc: pete-darwinports@… added

comment:6 Changed 19 years ago by erick_kinnee@…

Status? I was hoping for a build of vim.

comment:7 Changed 19 years ago by pete-darwinports@…

Erick,

I managed to get it built using a slight modification on Bernhard's instructions. I built with the perl and aqua variations. It went along for a while, then crashed. I went to the build directory and edited src/os_mac.h. The lines in question are some pre-processor directives on lines 97 - 99. Delete these, then edit src/Makefile. Search for "-arch ppc" and remove that. Finally, you might have to do a "make clean" too to take care of the "damage" done stating the PPC architecture, the do a make build and you should be home free.

comment:8 Changed 19 years ago by bfi@…

In the meantime I noticed that the vim built this "patching" way had problems with Unicode in the GUI. I found that the beta builds from http://macvim.org/OSX/index.php work quite well; maybe it's possible to use their patch set in DarwinPorts? (I admit using this precompiled version much less romantic than compiling myself and it feels strange to use a beta version as main editor – however, the next release seems imminent.)

comment:9 Changed 18 years ago by markd@…

Cc: markd@… added

Vim 7.0 is the current version. Does it fix the problem?

comment:10 Changed 18 years ago by pete-darwinports@…

I'm not having any problems with version 7.0 aside from launching gvim via Quicksilver, but I think that's beyond this forum.

Thanks.

comment:11 Changed 18 years ago by markd@…

Resolution: fixed
Status: newclosed

Version 7 is out and works so I'm closing this.

Note: See TracTickets for help on using tickets.