Results 1 to 3 of 3

Thread: Nedit on PPC

  1. #1
    Join Date
    Oct 2008
    Location
    Choctaw, OK
    Posts
    66

    Default Nedit on PPC

    openSUSE 11.0 on PPC (eMac G4): I tried building Nedit from source. It's pretty dicey on SUSE simply because we don't seem to have Lesstif, and our OpenMotif is far newer than the Nedit folks like.

    Google showed me quite a bit of advice on overcoming the bumps, but the end product crashes as soon as I open the "File" dialog. Apparently this calls for more tweaking than my feeble mind can comprehend.

    Has anyone seen a source RPM for a recent release of SUSE for Nedit? Has anyone successfully built Nedit on PPC?
    Ed Hurst
    Open for Business (ofb.biz)

  2. #2
    Join Date
    Oct 2008
    Location
    Choctaw, OK
    Posts
    66

    Default Re: Nedit on PPC

    Update: I did find an SRPM for SUSE 11.0. After running 'rpmbuild' the results are the same: it crashes upon trying to use the File dialog.
    Ed Hurst
    Open for Business (ofb.biz)

  3. #3
    Join Date
    Oct 2008
    Location
    Choctaw, OK
    Posts
    66

    Default Re: Nedit on PPC (Resolved)

    Issue resolved. For the benefit of others, here's how:

    After finding a later SRPM, I built Nedit again and launched from the commandline. Upon attempting to open a file via "CTRL+O" it crashed. The key item on the feedback was this:
    Code:
    Major opcode of failed request:  91 (X_QueryColors)
    Googling for this showed it's fairly common, and not just on Linux. While most of the discussions I found offered little help, one FAQ (PyRAF FAQ) offered some concrete advice:

    This seems to be due to a change in the default behavior of the Xorg X server software (v7.2 or v7.3). By default, the "Composite" extension is now enabled, but (for reasons not yet fully understood) this causes color depth conflicts with PyRAF graphics. Composites are used for some 3-D rendering effects (e.g in Mandriva), but if you do not directly rely on this extension, the problem can be easily resolved by disabling the extension. To do so, place these lines in your system's "xorg.conf" file:

    Code:
    Section "Extensions"
         Option "Composite" "Disable"
    EndSection
    and then restart your X server.
    After applying this change to my /etc/X11/xorg.conf and restarting X, it seems Nedit works now. I may yet discover other niggling problems were solved, as well.
    Ed Hurst
    Open for Business (ofb.biz)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •