|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
4.5 on macppc: emacs package, compiling ports
Hi, just completed a successful install of OpenBSD 4.5 on an Apple iBook G4. Things are working great, including wireless! Two quick questions:
1. Does anyone know why there are no powerpc packages of emacs (21 or 22) or auctex in 4.5? Looking at the package listings on the main OpenBSD site, it seems that there were packages for these on powerpc in 4.4 and earlier. And certainly there are emacs/auctex packages in 4.5 for more common architectures (i386, etc.). I realize 4.6 is now upon us, and so maybe there will be powerpc packages again, but I'm curious whether anyone knows why the omission in 4.5? 2. Connected to this: lacking an emacs package on powerpc, I've tried to install it from ports, without success. I made sure I got the right ports.tar.gz (i.e., the 4.5 release version, not current, to match the rest of my system). But it won't build. I get an error 139 and a core dump. Any insights anyone might have would be greatly appreciated. p.s. other things seem to at least build successfully from ports: I've successfully installed 'textedit', though it won't start (segfaults) p.p.s. would happily post my dmesg here, but I can't figure out how to copy and paste it without an X-based text editor (no emacs/textedit/etc.): sorry! |
|
|||
A possible reason for that package not being built is the version that happened to be in the tree at the time of the release was not stable enough on that platform.
Looking at the tree, there are several emacs ports that should work.. editors/emacs21, editors/emacs22 editors/xemacs21 (..this one has a package available) One option would be to use the minimalistic emacs-like editor that's installed by default as an alternative to 'vi', it's called 'mg'. As for the dmesg, you could redirect the output into a file and then attach it here.. or use one of many online pastebin services. Last edited by BSDfan666; 8th October 2009 at 01:06 AM. |
|
|||
Thanks for the quick reply! Yes, I tried installing both of the available emacs ports (editors/emacs21 and editors/emacs22), both without success. Xemacs could be a good alternative, since there is package, as you say. I use emacs primarily for LaTeX-ing, with auctex; I'm just unfamiliar with the degree of auctex integration that's possible in xemacs as opposed to gnu emacs, but that's obviously something I can find out about elsewhere.
dmesg now attached (I thought earlier that the new user restrictions on the forum included no attachments; my mistake!) |
|
|||
Quote:
I am not privy to how the decision is made to include some applications over others. This is a question worthy of posting to the official ports@ mailing list. Quote:
http://www.openbsd.org/cgi-bin/cvswe...e?annotate=1.4 ...so if you want to explore this deeper, contacting the port's maintainer (which is listed in the Makefile...) would be an appropriate next step. |
|
|||
Quote:
|
|
|||
This fix (not committed) let editors/textedit work:
marc.info/?l=openbsd-ports&m=118077514030626&w=2 Emcas has been updated to 22.3 and I think that there will be a package for Macppc in 4.6. |
|
|||
Thanks for the info, gbechis! I will give your fix a try for textedit. And I am definitely looking forward to seeing exactly what is in the 4.6 release.
|
|
|||
As I mentioned, there is an emacs-like editor in the base installation.. mg(1).
|
|
|||
Quote:
In any case, thanks again. I'm finding this to be a very friendly and helpful forum. |
|
|||
In 4.6 there is both emacs 21.4 and 22.3.
|
|
|||
Yes, that's how I created the file that I ended up attaching to an earlier post. I know how to redirect output to a local file; what I don't know is how to paste text into a web form (like the one I used to write my initial post here) when I don't have an editor/pager/terminal that supports copying onto a clipboard (or whatever) that X recognizes. Though of course I could be missing something obvious...
Thanks for the note on auctex. |
|
|||
Copying text in X is really easy, it's just unlike how it's done with typical GTK/Qt-based toolkits or Microsoft Windows.
In xterm for example.. select the text you wish to copy using the left mouse button, and paste it into an input form using the 3rd mouse button (..typically the scroll wheel). You really need a mouse with 3 buttons, otherwise X will just emulate it when you are pressing both the left and right buttons simultaneously. I've thrown out all of my 2 button mouses, they're really quite useless. The method of redirecting to a file and attaching it to the forum works as well, often people forget to use the [code][/code] blocks when posting things and it kind of messed up the formatting. |
|
|||
Thanks for the note! I'll have to pick up a better mouse; right now I just have a single button + trackpad (it's an Apple iBook), but obviously that's not the ideal hardware for interacting with X.
|
|
|||
Quote:
Thanks jggimi. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
openbsd 4.5 macppc radeon drive still broken | gosha | OpenBSD Installation and Upgrading | 13 | 28th June 2009 03:14 PM |
Emacs nox11 | unixbsd | FreeBSD Ports and Packages | 2 | 18th March 2009 02:17 PM |
C/C++ Syntax highlighting in emacs | rex | FreeBSD General | 1 | 12th October 2008 03:21 AM |
macppc firefox + gtk problems | gosha | OpenBSD Packages and Ports | 7 | 29th September 2008 05:04 PM |
Emacs without X? | clevershark | FreeBSD Ports and Packages | 3 | 21st May 2008 05:02 PM |