From owner-freebsd-questions@FreeBSD.ORG Fri Jun 5 15:34:48 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 E9531106566B for ; Fri, 5 Jun 2009 15:34:48 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from mail.netmusician.org (dorian.netmusician.org [66.244.95.101]) by mx1.freebsd.org (Postfix) with ESMTP id C22058FC20 for ; Fri, 5 Jun 2009 15:34:48 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from localhost (unknown [127.0.0.1]) by mail.netmusician.org (Postfix) with ESMTP id 4E4735CD7 for ; Fri, 5 Jun 2009 11:17:58 -0400 (EDT) X-Virus-Scanned: amavisd-new at netmusician.org Received: from mail.netmusician.org ([127.0.0.1]) by localhost (dorian.netmusician.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id OUtXb8Sb04CF for ; Fri, 5 Jun 2009 11:17:58 -0400 (EDT) Received: from besson3c.local (c-98-223-155-31.hsd1.in.comcast.net [98.223.155.31]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.netmusician.org (Postfix) with ESMTPSA id C6FFB5CD5 for ; Fri, 5 Jun 2009 11:17:57 -0400 (EDT) Message-ID: <4A293723.9000804@netmusician.org> Date: Fri, 05 Jun 2009 11:17:55 -0400 From: Joe Auty User-Agent: Postbox 1.0b12 (Macintosh/2009051120) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: GCC/GCJ and pdftk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2009 15:34:49 -0000 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! -- Joe Auty NetMusician: web publishing software for musicians http://www.netmusician.org joe@netmusician.org