Installed... sort of...

topic posted Thu, May 8, 2008 - 7:21 PM by  Theron Ttlåx
Well, I just got Debian/GNU/Hurd/Mach installed on my system on an otherwise more-or-less useless partition. Everything works.

That is, except that X won't start because it "Couldn't allocate video memory" and I can't apt-get install emacs because of dependency problems and cvs Emacs fails to build with an error that apparently nobody on emacs-bug wants to look into and, er... did I mention I can't get Emacs working? And neither clisp, sbcl nor cmucl will apt-get install. Well, I guess it's back to Linux.

Shame, really, since I really just want it as a fairly dumb server. All I wanted, really, was Emacs, LaTeX, postfix and sbcl and I would have been happy enough to use it as my ``production'' system. Well, maybe I'll pick away at it some more tonight. At least Postfix works.
  • Re: Installed... sort of...

    Fri, May 9, 2008 - 9:12 AM
    Making progress.

    Last night, after finagling with sources.list I was able to
    get clisp installed and even (asdf:operate 'asdf:load-op
    :hunchentoot). So that's a start. Still no luck with Emacs
    though. I suspect the error has something to do with the
    new(ish) multi-tty code. Not sure, though. So I am
    downloading a 22.1 release tarball as I write this (at
    work).

    I also got X running last night... sort of. I reduced the
    default color depth to 8 bits, and tweaked xorg.conf some.
    The errors are gone now. The only problem now is that when
    X starts it goes to the default X screen with the little X
    mouse pointer and then totally freezes the system. Have to
    hard reset and fsck every time.

    The icing, though, such as it is, is that I was able to
    successfully apt-get install texlive.

    I'm also downloading a sbcl release tarball, and cmucl from
    cvs. Maybe one of those will build and then I won't be
    stuck with single-threading clisp.
    • Re: Installed... sort of...

      Fri, May 9, 2008 - 9:43 AM
      The other good news is that thought jed ain't Emacs, at least I have jed working.

      The other thing I absolutely have to do is figure out how to swap caps-lock and control, like on every other system I use. I hate not having them that way.

      Okay... just set grub to boot to Hurd... ssh is working! Yay! Now I have no excuse to get anything useful done here again (I hate Access databases). Wait... ssh died. Try again...

      Okay... so far so good... ok. ssh died again. Argh!

      Okay, back on. Man, this thing is slow. Ok: cd src/emacs-21.1 ... ./configure .... make bootstrap ...

      Wow, there are so few include libraries that the who call to gcc fits in one line of my screen which is truened 90 degrees to the left (because I like it that way). Okay, same error. What the heck is FFDLY, anyway?

      Sigh. Okay, and now when I was about to try to build sbcl I lost the ssh connection again. I am becoming... wrathful....

      Yawn.
      • Re: Installed... sort of...

        Sat, May 10, 2008 - 10:53 AM
        Well, Glenn Morris kindly sent me a trivial patch against src/sysdep.c and Emacs built. That is, make bootstrap errored with a system-call related error. Sounds like a Hurd bug to me. So I ran it again and this time the error was something inscrutable, complete with what looked like some ASCII garbage. Hmmm.... haven't seen that in years. Looks like maybe all these hard resets and fsck's while trying to get X up and running may have caused some real data corruption. May have to wipe it all and start over. Crap. But then the third time Emacs build and sudo make install worked.

        Smoke test: nope: emacs: cannot configure tty /dev/tty. Or something like that. Well, okay, I'll mess with the ttys later. At least it built, right.

        In other bad news, I tried getting hunchentoot to serve a single static test page and not only did it not work, but I finally know now what "not multi-threaded" means in practical reality: the repl locks up while the server is running. Great. So, cmucl says it absolutely, positively has to have an existing cmucl to build itself. What is it about lisp nuts that they think somehow it makes a single whit of difference if something is "self-hosting" or not? Nothing is really "self-hosting" except machine instructions. And sbcl doesn't want to build because the config script doesn't know what kind of system it is on. Maybe I can pass it some option. Oy.

        And I really need to be studying for my Greek Philosophy final now. I will have to beat my head up against this wall sometime later.

        As I mentioned in my mail to emacs-bug: I should just buy a freaking used IDE CD-ROM drive for this machine, and then all of these problems probably will just go away.
        • Re: Installed... sort of...

          Sat, May 10, 2008 - 11:08 AM
          Okay... half a block from the coffee shop I'm in there's a used computer shop. I went over there; the guy looked at me like I was an idiot for wanting "an old generic IDE CD-ROM drive." "DVD? CD-RW?" "No, just whatever old drive. I have limited choice of drivers." "You don't need a driver... what system you using it for?" "Uh," I hesitated. I didn't want to talk to him about it. It's like a guilty secret. "An old one," I said. "How much?" "Five bucks."

          So I will take it home and try it out. Maybe I can just burn some ISOs tonight and be a happy person.

          Okay, must study. Must study.
          • Re: Installed... sort of...

            Mon, May 12, 2008 - 8:29 AM
            Installed the drive. Burned the first ISO. Some site said you could create a usable system with just the first ISO, so I thought I'd just burn the one, then get on the network and apt-get the rest of what I needed.

            Flash forward two days. I am a beaten man. I just spend two days in dependency hell. The trick here, if there is one, must be to have the right things in your sources.list. In any case, I tried to be careful, but right from the start, there's still no sbcl or cmucl to install, and emacs won't install without emacs22 which won't intall without emacs22-gtk (or -nox) an emacs22-gtk won't install eithout emacs-common and emac-common won't install without emacsen-common and (here's the point) bsdmainutils and bsdmainutils absolutlely conflics with bsdmain. No matter how I tweek it. I tried removing bdsutils (bad idea) and installing bsdmainutils, but bsdmainutils also depends on bdsutils. This is all so stupid. And Emacs still won't build. It goes past where it was failing earlier, but now make boostrap alwasy hangs the system (kills all keyboard input) when it dumps emacs. So I am screwed.

            I have one last hope. I burned all four of the ISOs this morning. Maybe that is my only hope of a stable repo from which to apt-get what I need. Tonight or tomorrow I will wipe the partition again and start over.

            In other related news: my quest to get some kind of lispy web server running on the Hurd. Well, lessee... I really have two choices: multithreading on lisp (which I think means ecl, gcl, sbcl or cmucl) or continuations on scheme. I can't apt-get install sbcl or gcl or cmucl. clisp is not multi-threaded. I can't find any web server that runs in ecl. plt-scheme has a web server available for it, but I can't apt-get that scheme. In fact my scheme options are either guile (for which I can't find a web server) or scsh.

            I have also tested a couple of servers on my GNU/Linux system -- s-hhtp-server and http.lisp. Neither could handle URLs with internal anchors in them, in the form, example.com/foo.html#anchor. Hunchentoot, which does not run on ecl to my knowledge, was beyond my ability to figure out how to get it to just serve static pages in a directory. I can't build sbcl or cmucl, so my next step might be to try to build plt-scheme from source. Oy vey.
            • Re: Installed... sort of...

              Mon, May 12, 2008 - 8:33 AM
              Did I mention that X randomly stopped working as well. I have no idea why except that I think something decided to instile a new xorg.conf file. And then trying to test it involves it killing keyboard input too; thus hard reset, fsck... etc. It's just as well I'm going to wip[e it all again and start over. The file system is probably corrupt again anyway.

Recent topics in "GNU/Hurd"

Topic Author Replies Last Post