{"id":65,"date":"2003-11-05T06:54:00","date_gmt":"2003-11-05T06:54:00","guid":{"rendered":"http:\/\/jclark.org\/weblog\/Apple\/OSX\/upgrading4.html"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-30T04:00:00","slug":"upgrading4","status":"publish","type":"post","link":"https:\/\/jclark.org\/weblog\/2003\/11\/05\/upgrading4\/","title":{"rendered":"Upgrading, Part 4: Panther, Fink, X11, and XEmacs"},"content":{"rendered":"<p>I&#8217;ve been having problems with <a href=\"http:\/\/www.apple.com\/macosx\/\" title=\"OS X on Apple.com\">Panther<\/a>, <a href=\"http:\/\/fink.sourceforge.net\" title=\"Open source software made easy for OS X\">Fink<\/a>, and <a href=\"http:\/\/www.xfree86.org\"><span class=\"caps\">X11<\/span><\/a>; I&#8217;m trying to get XEmacs installed.  Fink 0.6.1 is supposed to be Panther compatible, and is supposed to recognize the Apple <span class=\"caps\">X11<\/span> that ships with Panther.  But when I tried to install xemacs via <code>dselect<\/code>, it asked for an <span class=\"caps\">X11<\/span> implementation.  The system-xfree86 package used in Fink on <span class=\"caps\">OS X 10.2<\/span> as a placeholder is no longer available, since fink is supposed to recognize <span class=\"caps\">X11<\/span> automatically.<\/p>\n<p>I was pulling my hair out.  I finally searched the fink-users mailing list archive, and found someone else having the same issue.  Someone who, like me, missed the <a href=\"http:\/\/fink.sourceforge.net\/faq\/usage-packages.php#apple-x11-wants-xfree86\">relevent <span class=\"caps\">FAQ<\/span> entry<\/a>.    It seems you need the <span class=\"caps\">X11 SDK<\/span> from the XCode CD installed, as well as <span class=\"caps\">X11.  <\/span><\/p>\n<p>But that still didn&#8217;t solve my problem.  After trying much of everything, I posted on the <a href=\"https:\/\/lists.sourceforge.net\/lists\/listinfo\/fink-users\">fink-users Mailing List<\/a>, and got some additional help (Thanks to Peter O&#8217;Gorman for his help).  It seems that for now at least, <code>dselect<\/code> is broken, and so you need to use <code>apt-get<\/code>.  All in all, getting this all up and running has been a hassle; although I&#8217;m sure this will improve since I know the Fink contributors are continually working on the Panther ports\/enhancements.  To save others some hassle, here it all is for the search engines:<\/p>\n<h5>How to Install XEmacs (or other <span class=\"caps\">X11<\/span> apps) for Apple&#8217;s <span class=\"caps\">X11,<\/span> using Fink 0.6.1 on Panther.<\/h5>\n<p>This is geared for XEmacs, but should apply to other <span class=\"caps\">X11<\/span> apps as well.<\/p>\n<ol>\n<li> <strong>If you already installed Fink<\/strong>, and it tried to install XFree86, you need to get Fink to remove XFree86, and then reinstall Apple&#8217;s <span class=\"caps\">X11<\/span> and the <span class=\"caps\">X11 SDK.  <\/span>Instructions for removing XFree86 are in <a href=\"http:\/\/fink.sourceforge.net\/faq\/usage-packages.php#apple-x11-wants-xfree86\">Section 8.12 of the Fink <span class=\"caps\">FAQ<\/span><\/a>, instructions to install <span class=\"caps\">X11<\/span> and the <span class=\"caps\">SDK<\/span> are next.<\/li>\n\n<li> <strong>Install Apple&#8217;s <span class=\"caps\">X11.<\/span><\/strong>  If you didn&#8217;t do this when installing Panther, you can fink it on Panther <span class=\"caps\">CD 3 <\/span>(Packages Folder).<\/li>\n\n<li> <strong>Install the <span class=\"caps\">X11 SDK.<\/span><\/strong>  If you didn&#8217;t do this when installing the Developer Tools, you can do install it from the XCode <span class=\"caps\">CD.  <\/span>You don&#8217;t even have to install all of the Developer Tools&#8230; just look in the Packages Folder.<\/li>\n\n<li> <strong>Install Fink.<\/strong>  I used the binary installer for 0.6.1 from the <a href=\"http:\/\/fink.sourceforge.net\/download\/index.php\">Fink Download Page<\/a> and it worked fine.<\/li>\n<li> <strong>Check your config.<\/strong>  We&#8217;ll be using apt-get, so check <code>\/sw\/etc\/apt\/sources.list<\/code>.  You should see a line beginning with <code>deb<\/code>.  It should contain &#8220;10.3&#8221;.  If not, you&#8217;ll have to edit it it, here&#8217;s what mine looked like when fixed (all one line):\n\n<blockquote><p><code>deb http:\/\/us.dl.sourceforge.net\/fink\/direct_download 10.3\/release main<\/code><\/p><\/blockquote>\n\n<\/li>\n\n<li> <strong>Update your package list.<\/strong> <code>apt-get update<\/code><\/li>\n\n<li> <strong>Test an XEmacs install.<\/strong> type <code>apt-get -s install xemacs<\/code>.  This will give you a list of packages that will be installed, like this:\n\n<blockquote><p><code>The following extra packages will be installed:\n  dlcompat gdbm-shlibs libjpeg-shlibs libpng3-shlibs libtiff-shlibs xaw3d-shlibs xemacs-base-pkg xemacs-efs-pkg \n<\/code><\/p><\/blockquote>\n\n<\/li>\n\n<li> <strong>Check those packages.<\/strong>  You should <strong>not<\/strong> see xfree86, xfree86-base, etc.  If you do, something is amiss.  If you see dlcompat, make a note of it.<\/li>\n\n<li> <strong>Install xemacs.<\/strong>  <code>apt-get install xemacs<\/code><\/li>\n\n<li> <strong>Possible followup step.<\/strong>  If you saw &#8220;dlcompat&#8221; earlier as a package to be installed, I recommend one more step.  When I did this install, dlcompat failed to trigger an install of dlcompat-shlibs, which is a dependancy.  Just do it yourself: <code>apt-get install dlcompat-shlibs<\/code><\/li>\n<\/ol>\n<p>That should do it; it got me running XEmacs.  Good luck!  Please sumbit any corrections via the comments link below.      <\/p>","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been having problems with Panther, Fink, and X11; I&#8217;m trying to get XEmacs installed. Fink 0.6.1 is supposed to be Panther compatible, and is supposed to recognize the Apple X11 that ships with Panther. But when I tried to install xemacs via dselect, it asked for an X11 implementation. The system-xfree86 package used in [&hellip;]<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-65","post","type-post","status-publish","format-standard","hentry","category-osx"],"_links":{"self":[{"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/posts\/65","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/comments?post=65"}],"version-history":[{"count":0,"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/posts\/65\/revisions"}],"wp:attachment":[{"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/media?parent=65"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/categories?post=65"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/tags?post=65"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}