Opened 19 years ago

Closed 19 years ago

#6721 closed defect (fixed)

Nedit fails at link time

Reported by: Matthias.Wiesmann@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: toby@…
Port:

Description

Building nedit fails at link time: unable to find Xm.3.

This is different from 6381, but happened after the fix for 6381.

---> Fetching nedit ---> Attempting to fetch nedit-5.4-source.tar.bz2 from ftp://ftp.nedit.org/pub/NEdit/v5_4/ ---> Verifying checksum(s) for nedit ---> Extracting nedit ---> Applying patches to nedit ---> Configuring nedit ---> Building nedit with target macosx Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_editors_nedit/work/nedit-5.4" && make macosx MOTIFLINK="-L/opt/local/lib -lXm.3" LDFLAGS=-L/opt/local/lib CFLAGS="-I/opt/local/include -DBUILD_UNTESTED_NEDIT" CC=/usr/bin/gcc-4.0" returned error 2 Command output: /usr/bin/gcc-4.0 -I/opt/local/include -DBUILD_UNTESTED_NEDIT -c -o shell.o shell.c /usr/bin/gcc-4.0 -I/opt/local/include -DBUILD_UNTESTED_NEDIT -c -o regularExp.o regularExp.c /usr/bin/gcc-4.0 -I/opt/local/include -DBUILD_UNTESTED_NEDIT -c -o macro.o macro.c /usr/bin/gcc-4.0 -I/opt/local/include -DBUILD_UNTESTED_NEDIT -c -o text.o text.c /usr/bin/gcc-4.0 -I/opt/local/include -DBUILD_UNTESTED_NEDIT -c -o textSel.o textSel.c /usr/bin/gcc-4.0 -I/opt/local/include -DBUILD_UNTESTED_NEDIT -c -o textDisp.o textDisp.c /usr/bin/gcc-4.0 -I/opt/local/include -DBUILD_UNTESTED_NEDIT -c -o textBuf.o textBuf.c /usr/bin/gcc-4.0 -I/opt/local/include -DBUILD_UNTESTED_NEDIT -c -o textDrag.o textDrag.c /usr/bin/gcc-4.0 -I/opt/local/include -DBUILD_UNTESTED_NEDIT -c -o server.o server.c /usr/bin/gcc-4.0 -I/opt/local/include -DBUILD_UNTESTED_NEDIT -c -o highlight.o highlight.c /usr/bin/gcc-4.0 -I/opt/local/include -DBUILD_UNTESTED_NEDIT -c highlightData.c -o highlightData.o /usr/bin/gcc-4.0 -I/opt/local/include -DBUILD_UNTESTED_NEDIT -c -o interpret.o interpret.c NOTE: Don't worry about 'command not found' errors here

unless you have changed the parse.y file.

bison -o parse.c parse.y
( yacc parse.y && mv y.tab.c parse.c )

cp parse_noyacc.c parse.c

/usr/bin/gcc-4.0 -I/opt/local/include -DBUILD_UNTESTED_NEDIT -c -o parse.o parse.c /usr/bin/gcc-4.0 -I/opt/local/include -DBUILD_UNTESTED_NEDIT -c smartIndent.c -o smartIndent.o /usr/bin/gcc-4.0 -I/opt/local/include -DBUILD_UNTESTED_NEDIT -c -o regexConvert.o regexConvert.c /usr/bin/gcc-4.0 -I/opt/local/include -DBUILD_UNTESTED_NEDIT -c -o rbTree.o rbTree.c /usr/bin/gcc-4.0 -I/opt/local/include -DBUILD_UNTESTED_NEDIT -c -o windowTitle.o windowTitle.c /usr/bin/gcc-4.0 -I/opt/local/include -DBUILD_UNTESTED_NEDIT -c -o calltips.o calltips.c /usr/bin/gcc-4.0 -I/opt/local/include -DBUILD_UNTESTED_NEDIT -c -o server_common.o server_common.c /usr/bin/gcc-4.0 -I/opt/local/include -DBUILD_UNTESTED_NEDIT -c -o rangeset.o rangeset.c /usr/bin/gcc-4.0 -I/opt/local/include -DBUILD_UNTESTED_NEDIT -c linkdate.c /usr/bin/gcc-4.0 -I/opt/local/include -DBUILD_UNTESTED_NEDIT 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 ../util/libNUtil.a -bind_at_load -L/usr/X11R6/lib -L/opt/local/lib -lXm.3 -lXp -lXpm -lXext -lXt -lSM -lICE -lX11 -o nedit /usr/bin/ld: can't locate file for: -lXm.3 collect2: ld returned 1 exit status

port info nedit nedit 5.4, Revision 1, editors/nedit (Variants: darwin, darwin_8) http://www.nedit.org/ NEdit is a multi-purpose text editor for the X Window System, which combines a standard, easy to use, graphical user interface with the thorough functionality and stability required by users who edit text eight hours a day. It provides intensive support for development in a wide variety of languages, text processors, and other tools, but at the same time can be used productively by just about anyone who needs to edit text.

Library Dependencies: openmotif Platforms: darwin Maintainers: toby@…

Change History (1)

comment:1 Changed 19 years ago by olegb@…

Resolution: fixed
Status: newclosed
Summary: Nedit fails at link time Nedit fails at link time

fixed (bug#6901)

Note: See TracTickets for help on using tickets.