Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 May 2006 15:49:04 GMT
From:      Yuan@FreeBSD.org, Jue <yuanjue@yuanjue.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/97177: [patch] chinese/qterm cannot be compiled
Message-ID:  <200605121549.k4CFn49M012342@www.freebsd.org>
Resent-Message-ID: <200605121550.k4CFoE6Q055216@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         97177
>Category:       ports
>Synopsis:       [patch] chinese/qterm cannot be compiled
>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:   Fri May 12 15:50:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Yuan, Jue
>Release:        FreeBSD 6.0-RELEASE
>Organization:
Tsinghua University, Beijing, China
>Environment:
FreeBSD yuanjue.net 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Tue Nov  8 15:38:43 CST 2005     YuanJue:/usr/obj/usr/src/sys/MYKERNEL  i386
>Description:
chinese/qterm in ports tree cannot be compiled.

libtool: link: cannot find the library `'
*** Error code 1

Problem comes from the big change in libtool.

Add 
USE_AUTOTOOLS=	libtool:15
to Makefile could solve this problem.

Then, after compilation and installation successfully, system will complain that /usr/local/bin/qterm cannot be found. This is because a binary file named "i386-portbld-freebsd6.0-qterm" was installed rather than "qterm" ifself.

Add
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
to Makefile could solve this problem.
>How-To-Repeat:
cd /usr/port/chinese/qterm
make
>Fix:
--- Makefile.orig	Fri May 12 23:35:33 2006
+++ Makefile	Sat May  6 19:59:06 2006
@@ -16,7 +16,9 @@
 COMMENT=	QTerm is a BBS client in Unix
 
 USE_QT_VER=	3
+USE_AUTOTOOLS=	libtool:15
 HAS_CONFIGURE=	yes
+CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ARGS=	--enable-mt --prefix=${PREFIX} \
 		--x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include
 

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605121549.k4CFn49M012342>