From owner-freebsd-ports@FreeBSD.ORG Sat May 22 20:03:42 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 604B916A4CE for ; Sat, 22 May 2004 20:03:42 -0700 (PDT) Received: from mr2.ucalgary.ca (mr2.ucalgary.ca [136.159.34.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 401C043D31 for ; Sat, 22 May 2004 20:03:42 -0700 (PDT) (envelope-from gaoj@cpsc.ucalgary.ca) Received: from smtp2.ucalgary.ca (smtp2.ucalgary.ca [136.159.36.19]) by mr2.ucalgary.ca (Postfix) with ESMTP id D42F23662B for ; Sat, 22 May 2004 21:02:35 -0600 (MDT) Received: from [192.168.2.169] (S01060030ab05534c.cg.shawcable.net [68.147.33.61]) (authenticated (0 bits)) by smtp2.ucalgary.ca (8.11.7/8.11.6) with ESMTP id i4N32Rb13766 (using TLSv1/SSLv3 with cipher RC4-MD5 (128 bits) verified NO) for ; Sat, 22 May 2004 21:02:32 -0600 Message-ID: <40B01442.5080900@cpsc.ucalgary.ca> Date: Sat, 22 May 2004 21:02:26 -0600 From: Jie Gao Organization: University of Calgary User-Agent: Mozilla Thunderbird 0.6+ (Windows/20040519-pigfoot) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-UCalgary-MailScanner: Found to be clean X-MailScanner-Information: Please contact IT Help Desk at (403) 220-5555 for more information Subject: Two questions about making ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2004 03:03:42 -0000 Hi everyone, I'm trying to port a linux software onto FreeBSD. And I found two problems that I can't solve. I would appreciate if anyone can help. 1. Can a plist contain an absolute path or files outside of the prefix? This software has a gtk im module. No matter what prefix I give, this module always goes to ${X11BASE}. However, the software seems to work only in the same prefix as gettext's, which is ${LOCALBASE}. So I just wonder how can I make this plist. 2. This software has a very strange problem. I tested it on 5-CURRENT and 5.2.1-R. On CURRENT system everything seems OK but on 5.2.1-R I got the following error: Fatal error 'Unable to read from thread kernel pipe' at line 1100 in file /usr/src/lib/libc_r/uthread/uthread_kern.c (errno = 0) It seems that this software hates lc_r but loves lpthread/lkse. Should this be a software problem or system threading library problem? Thanks again. Jie