Hey Emmanuel,

I have a very nicely working NEdit CVS with OpenMotif running quite
well.

--On Wednesday, November 25, 2009 07:14:46 PM +0100 Emmanuel Florac <[email protected]> wrote:

Hi all, I just reinstalled my Slackware 13 system (bye, bye, hard
drive) and need to reinstall nedit.

This one looks like the openmotif distribution to be broken. Well, hu,
I'll try from the 2.3.0 source then... Unless anyone has anythin better
to propose?

It looks to me like you haven't set up your compile correctly. Firstly,
what OpenMotif version did you use? I grabbed the IST binary from
http://www.ist-inc.com. I used the 2.1.32 RPM and converted it into a
tgz package.

I then removed LessTif, since it causes problems with looking up the
OpenMotif binaries, which are installed into their own directory.

Next, I checked out the nedit directory. There is already an almost
correct linux makefile. However, IST OpenMotif installs into
/usr/OpenMotif-2.1.32, so I added the lib and include directories from
there into the CFLAGS and LIBS for the makefile. I also followed the
directions and added -lXp to the list before -lXt.

Basically, after that, it is just running make linux. That puts nedit
and nc into the source directory. I copied those into the /usr/local/bin
directory, because I didn't want to make a package that contained only
two binaries, and I didn't really need the rest of the stuff. NEdit is
one of the few application I manage this way. This is also because
netcat and nedit conflict with the nc binary. So I have one in
/usr/local/bin and one in /usr/bin. If I made a package, I would
probably change the name of the NEdit nc to ncl.

If you want, I can probably make a SlackBuild script for IST OpenMotif
or the OpenMotif from the OpenGroup with the patches, and also provide a
SlackBulid script for NEdit, which ought to already be available,
really.

 Aaron W. Hsu

--
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop

Reply via email to