From owner-freebsd-questions@FreeBSD.ORG Fri Jun 5 16:54:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91C0A1065673 for ; Fri, 5 Jun 2009 16:54:49 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id 6E8D88FC12 for ; Fri, 5 Jun 2009 16:54:49 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MCcgl-0005eu-0Z; Fri, 05 Jun 2009 12:54:48 -0400 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id D1CD22F7C507; Fri, 5 Jun 2009 12:54:42 -0400 (EDT) Message-ID: <4A294DD5.7050900@FreeBSD.org> Date: Fri, 05 Jun 2009 12:54:45 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Joe Auty References: <4A293723.9000804@netmusician.org> In-Reply-To: <4A293723.9000804@netmusician.org> X-Enigmail-Version: 0.95.7 OpenPGP: id=1C940290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.5 (/) Cc: freebsd-questions@freebsd.org Subject: Re: GCC/GCJ and pdftk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2009 16:54:49 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Joe Auty wrote: > Hello, > > I'm a little confused. > > I need pdftk to compile on an amd64 system, and see in the pdftk > Makefile the following: > >> # gcj/libgcj don't exist on these platforms >> NOT_FOR_ARCHS= amd64 ia64 sparc64 > > However, I've also read in the pdftk port logs that gcj is included in > GCC 3.4+ when WITHOUT_JAVA in the GCC Makefile is set to no or commented > out. So, I compiled GCC with gcj support without a problem, and > commented out the NOT_FOR_ARCHS line above to force an install of pdftk: > >> ===> pdftk-1.41 depends on executable: gmake - found >> ===> pdftk-1.41 depends on shared library: gcj - not found >> ===> Verifying install for gcj in /usr/ports/lang/gcc42 >> ===> Returning to build of pdftk-1.41 >> Error: shared library "gcj" does not exist > > gcj does indeed exist in /usr/ports/lang/gcc42: > >> # find /usr/ports/lang/gcc42 -name "gcj" >> /usr/ports/lang/gcc42/work/gcc-4.2-20090325/libjava/gnu/gcj >> /usr/ports/lang/gcc42/work/gcc-4.2-20090325/libjava/gcj >> /usr/ports/lang/gcc42/work/build/gcc/gcj > > > Any suggestions as to what I can do to build pdftk? This particular > project will surely be much harder if I can't get pdftk to build/compile... > > Thanks very much in advance! > > > > Hi Joe, I'm the pdftk port maintainer, and I've got an amd64 build machine here. Let me have a crack at it and see what I can figure out. If you run into any other insights in the mean time, please let me know. Cheers, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFKKU3V0sRouByUApARApMmAJ97ErsMvbtI/O6ipY34nFAN2hyKvgCgo0dI Kx6qnJdo45CmTBTY7146UAU= =LMI7 -----END PGP SIGNATURE-----