Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Sep 2001 18:45:00 +1200
From:      Jonathan Chen <jonathan.chen@itouch.co.nz>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/30752: palm/pose build fails
Message-ID:  <E15l30e-000Grs-00@itouch.co.nz>

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

>Number:         30752
>Category:       ports
>Synopsis:       palm/pose build fails
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 22 23:50:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan Chen
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD my.system 4.4-STABLE FreeBSD 4.4-STABLE #1: Thu Sep 20 19:48:18 NZST 2001 root@my.system:/usr/obj/usr/src/sys/MINE i386

>Description:
	The port palm/pose fails to build with the error:

	checking for fl_height__Fv in -lfltk... no
	configure: error: *** FLTK *must* be installed before running configure. ***

	[...]
	configure:3138: cc -o conftest -O -pipe    conftest.c -lfltk -lGL -L/usr/X11R6/lib -lXext -lX11 -lm   1>&5
	/usr/lib/libgcc.a(_eh.o): In function `__empty':
	_eh.o(.text+0xe8): undefined reference to `pthread_setspecific'
	/usr/lib/libgcc.a(_eh.o): In function `__get_eh_info':
	_eh.o(.text+0x169): undefined reference to `pthread_key_create'
	_eh.o(.text+0x26a): undefined reference to `pthread_getspecific'
	_eh.o(.text+0x289): undefined reference to `pthread_setspecific'

>How-To-Repeat:
	# cd /usr/port/palm/pose
	# make
>Fix:
	Apply the following patch to palm/pose/Makefile:

--- Makefile.orig	Sun Sep 23 12:15:05 2001
+++ Makefile	Sun Sep 23 16:44:41 2001
@@ -20,6 +20,8 @@
 WRKSRC=		${WRKDIR}/Emulator_Src_${PORTVERSION}/BuildUnix
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
+CONFIGURE_ENV+=	CPPFLAGS="${PTHREAD_CFLAGS}" \
+		LDFLAGS="${PTHREAD_LIBS}"
 CONFIGURE_ARGS=	--x-includes=${X11BASE}/include \
 		--x-libraries=${X11BASE}/lib
 
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E15l30e-000Grs-00>