Nedit on latest Mac OSX

Greg Edwards gedwards2 at gmail.com
Tue Feb 27 22:42:41 CET 2007


Jim,

Hi - ok I installed X11 from xcode, very strange that it wasn't default. Not
much good installng an X based set of dev tools without the basic X11
includes etc. Now I have a full set of stuff in /usr/X11R6.

Put the makefile back to exactly how you recommend, rebuilt, but still
getting a lib problem. I include below the last few lines from the build
including a compile, and the link of nc and nedit, so maybe you can eyeball
if the line looks right. Hope gmail is wrapping this well and you can unwrap
it to plain long lines if you want, I think so. By the way I'm doing make
clean before each buold to flush away any old crap. This 2Ghz dual core
builds in a flash, dazzling.

Got to do other stuff today, so I will be lazy and let you look a this for
24 hours. Appreciate the help. Maybe you'll get some useful updates for your
webpage - Nedit on MacOSX for Total Dummies !!

BTW, still dont have X11.app in Apps/Utilities ??

Cheers,
Greg E


cc -c -I../Microline -I../Xlt -O -no-cpp-precomp -mdynamic-no-pic -DNO_XMIM
-I/usr/X11R6/include -I/Users/gedwards/Downloads/OpenMotif-2.2.3/openmotif-
2.2.3-intel/include -I/Users/gedwards/Downloads/OpenMotif-2.2.3/openmotif-
2.2.3-intel -DUSE_DIRENT -DUSE_LPR_PRINT_CMD -DEDITRES -o rangeset.o
rangeset.c
cc -O -no-cpp-precomp -mdynamic-no-pic -DNO_XMIM -I/usr/X11R6/include
-I/Users/gedwards/Downloads/OpenMotif-2.2.3/openmotif-2.2.3-intel/include
-I/Users/gedwards/Downloads/OpenMotif-2.2.3/openmotif-2.2.3-intel-DUSE_DIRENT
-DUSE_LPR_PRINT_CMD -DEDITRES -c
linkdate.c
cc -O -no-cpp-precomp -mdynamic-no-pic -DNO_XMIM -I/usr/X11R6/include
-I/Users/gedwards/Downloads/OpenMotif-2.2.3/openmotif-2.2.3-intel/include
-I/Users/gedwards/Downloads/OpenMotif-2.2.3/openmotif-2.2.3-intel-DUSE_DIRENT
-DUSE_LPR_PRINT_CMD -DEDITRES
nedit.o file.o menu.o window.o selection.o search.o undo.o shift.o help.o
preferences.o tags.o userCmds.o shell.o regularExp.o macro.o text.o
textSel.o textDisp.o textBuf.o textDrag.o server.o highlight.o
highlightData.o interpret.o parse.o smartIndent.o regexConvert.o rbTree.o
windowTitle.o calltips.o server_common.o rangeset.o
linkdate.o../Microline/XmL/libXmL.a \
 ../Xlt/libXlt.a ../util/libNUtil.a -bind_at_load
/Users/gedwards/Downloads/OpenMotif-2.2.3/openmotif-2.2.3-intel/lib/libXm.a
-L/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib -L/usr/X11R6/lib -lXp -lXpm
-lXext -lXt -lSM -lICE -lX11 -lXmu -o nedit
cc -c -I../Microline -I../Xlt -O -no-cpp-precomp -mdynamic-no-pic -DNO_XMIM
-I/usr/X11R6/include -I/Users/gedwards/Downloads/OpenMotif-2.2.3/openmotif-
2.2.3-intel/include -I/Users/gedwards/Downloads/OpenMotif-2.2.3/openmotif-
2.2.3-intel -DUSE_DIRENT -DUSE_LPR_PRINT_CMD -DEDITRES -o nc.o nc.c
cc -O -no-cpp-precomp -mdynamic-no-pic -DNO_XMIM -I/usr/X11R6/include
-I/Users/gedwards/Downloads/OpenMotif-2.2.3/openmotif-2.2.3-intel/include
-I/Users/gedwards/Downloads/OpenMotif-2.2.3/openmotif-2.2.3-intel-DUSE_DIRENT
-DUSE_LPR_PRINT_CMD -DEDITRES
nc.o server_common.o ../util/libNUtil.a -bind_at_load
/Users/gedwards/Downloads/OpenMotif-2.2.3/openmotif-2.2.3-intel/lib/libXm.a
-L/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib -L/usr/X11R6/lib -lXp -lXpm
-lXext -lXt -lSM -lICE -lX11 -lXmu -o nc
~/Downloads/Nedit-5.5/nedit-5.5 $ cd source
~/Downloads/Nedit-5.5/nedit-5.5/source $ ./nedit
dyld: Library not loaded: /usr/X11R6/lib/libXp.6.dylib
  Referenced from: /Users/gedwards/Downloads/Nedit-5.5/nedit-5.5
/source/./nedit
  Reason: image not found
Trace/BPT trap
~/Downloads/Nedit-5.5/nedit-5.5/source $


On 28/02/07, Jim DeVona <jim.devona at gmail.com> wrote:
>
> On 2/27/07, Greg Edwards <gedwards2 at gmail.com> wrote:
>
> > Getting there. Have managed to build nedit, but not run. I installed
> > the xcode package off Install CD 1, which got me gcc and a pile of dev
> > stuff.
> >
> > ...
> >
> > MAC_X11_INC=/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include
> > MAC_X11_LIB=/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib
> >
> > ...
> >
> > My system didn't have /usr/X11R6/{include,lib} at all, but after
> > install of the xcode developer suite these were at
> > /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/{include,lib}
> >
> > Had to drop the hardwired -L/usr/X11R6/lib as the linker complained if
> > the dir wasn't there. Later I added a symbolic link from
> > /usr/X11R6/lib to /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib so it
> > could remain in the link command, and any other stuff that expects it
> > would be happy
>
> Hmm. Just want to check - have you indeed installed the X11 package as
> well as the Xcode package (ie, do you have an X11.app in
> /Applications/Utilities)? All the /usr/X11R6/* components are
> installed along with this package. Otherwise I can't image why there
> would be so many differences and missing directories from one fresh
> system to another. Both of the Xcode and X11 suites are useful if not
> necessary for running a lot of UNIX software but regrettably (though
> understandably) they are not installed by default.
>
> Hope this helps.
> Jim
> --
> NEdit Discuss mailing list - Discuss at nedit.org
> http://www.nedit.org/mailman/listinfo/discuss
>



-- 
Greg Edwards
land 9487 6171
mob 0400 102 774


More information about the Discuss mailing list