From owner-freebsd-gnome@FreeBSD.ORG Fri Jul 14 09:32:45 2006 Return-Path: X-Original-To: gnome@freebsd.org Delivered-To: freebsd-gnome@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A2A1A16A4E5 for ; Fri, 14 Jul 2006 09:32:45 +0000 (UTC) (envelope-from joseph.koshy@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87DE443D46 for ; Fri, 14 Jul 2006 09:32:44 +0000 (GMT) (envelope-from joseph.koshy@gmail.com) Received: by ug-out-1314.google.com with SMTP id e2so691200ugf for ; Fri, 14 Jul 2006 02:32:43 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=cYxxC7rpPsbUmECrep5t07smdN5004OT1hIpXfCttgEsRjBi26vXYUPVaiHsQi4+LGcZWEnG04MxgWUOcawSKZhss2k2uaxsll/IRb3NPRv6rH/2/NxMs5P9FZUy7kGZJZIGeUvJajd6VTg4z5pI+myoaylkVKWaHAMDDBBOSkc= Received: by 10.78.179.12 with SMTP id b12mr1571049huf; Fri, 14 Jul 2006 02:32:43 -0700 (PDT) Received: by 10.78.50.15 with HTTP; Fri, 14 Jul 2006 02:32:42 -0700 (PDT) Message-ID: <84dead720607140232o37e7c7b5na23f761293821828@mail.gmail.com> Date: Fri, 14 Jul 2006 15:02:42 +0530 From: "Joseph Koshy" To: gnome@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: graphics/cairo libtool problem on 4.X X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jul 2006 09:32:45 -0000 The problem is that graphics/cairo installs a ".la" file with the following dependency line: $ uname -a FreeBSD orthanc 4.11-STABLE FreeBSD 4.11-STABLE #2: Wed Oct \ 5 06:05:52 IST 2005 \ root@orthanc:/home/obj-stable/usr/src/sys/ORTHANC i386 $ grep dependency ${PREFIX}/lib/libcairo.la dependency_libs=' -pthread -L/usr/X11R6/lib -lXrender -lXext \ -lX11 -L/usr/local/lib -lpng /usr/X11R6/lib/libfontconfig.la \ /usr/local/lib/libexpat.la /usr/local/lib/libfreetype.la -lz \ -lm' Note the '-pthread' right in front. This causes the build of DrScheme to fail under 4.X. Drscheme comes with its own libtool script. $ ... /home/ports/lang/drscheme/work/plt/src/lt/libtool --mode=link \ c++ -rpath /home/tmp/local/lib -L/usr/X11R6/lib -o mred \ mrmain.lo ../mzscheme/libmzscheme.la ../mzscheme/libmzgc.la \ libmred.la -lSM -lICE -lXaw -lXmu -lXt -lX11 -lXext -lGL \ -lXrender -Wl,--rpath -Wl,/usr/local/lib -L/usr/X11R6/lib \ -L/usr/local/lib -lXft -lfreetype -lz -lXrender -lXext -lX11 \ -lfontconfig -L/usr/local/lib -lcairo -lm -rdynamic libtool: link: cannot find the library `' Looking inside the script, it appears to be treating '-pthread' to be a library name and failing. Is there a work-around for this? -- FreeBSD Volunteer, http://people.freebsd.org/~jkoshy/