ports/52418: Ted-2.14 crashes when opening help

Jonathan j.e.drews at worldnet.att.net
Mon May 19 04:20:15 UTC 2003


>Number:         52418
>Category:       ports
>Synopsis:       Ted-2.14 crashes when opening help
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 18 21:20:13 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan Drews
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
<organization of PR author (multiple lines)>
>Environment:
System: FreeBSD analytic.engine 4.8-STABLE FreeBSD 4.8-STABLE #0: Sun May 18 
01:25:29 CDT
2003 root at analytic.engine:/usr/obj/usr/src/sys/STABLE_48 i386

      
          AMD Athlon, FreeBSD 4.8, ?, ?
>Description:
        Clicking on the Help->Document twice in a row causes Ted to crash
>How-To-Repeat:
        
1) Start Ted
2) At the splash screen, click on Help->Document
3) Do this a second time
4) Crash !

>Fix:

To fix the problem:
1) Install  the port /usr/ports/x11-toolkits/open-motif/
2) comment out the lines in the Makefile of /usr/ports/editors/ted
as shown below:

--- /home/bsd/Makefile.Ted.org	Sun May 18 21:02:47 2003
+++ Makefile	Sun May 18 22:49:04 2003
@@ -23,12 +23,12 @@

 USE_X_PREFIX=	yes
 USE_XPM=	yes
-USE_GNOME=	gtk12
+#USE_GNOME=	gtk12
 USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ENV=	CC="${CC}" CFLAGS="${CFLAGS}"
-CONFIGURE_ARGS=	--with-GTK
+#CONFIGURE_ARGS=	--with-GTK
 MAKE_ENV=	DEF_AFMDIR="-DAFMDIR=\"\\\"${AFMDIR}\\\"\"" \
 		DEF_INDDIR="-DINDDIR=\"\\\"${INDDIR}\\\"\"" \
 		DEF_DOCUMENT_DIR="-DDOCUMENT_DIR=\"\\\"${INFODIR}/\\\"\""

3) Now run make and make install in the original port. ted will not crash and 
should work very well.

NOTE: The developer of Ted seems to indicate that their were problems with 
gtk+. From   http://www.nllgg.nl/Ted/

"Ted 2.11 can be compiled with the GTK+ 1.2.8 toolkit or a later version. The 
GTK version is not complete and should be seen as step in the right 
direction. Not as a finished piece of software."
>Release-Note:
>Audit-Trail:
>Unformatted:
 To: FreeBSD-gnats-submit at freebsd.org
 From: Jonathan Drews
 Reply-To: j.e.drews at att.net
 Cc:
 X-send-pr-version: 3.113
 X-GNATS-Notify:



More information about the freebsd-ports-bugs mailing list