Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Jun 2009 19:10:54 -0400
From:      Greg Larkin <glarkin@FreeBSD.org>
To:        glarkin@FreeBSD.org
Cc:        Joe Auty <joe@netmusician.org>, freebsd-questions@freebsd.org
Subject:   Re: GCC/GCJ and pdftk
Message-ID:  <4A29A5FE.1020803@FreeBSD.org>
In-Reply-To: <4A294DD5.7050900@FreeBSD.org>
References:  <4A293723.9000804@netmusician.org> <4A294DD5.7050900@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Greg Larkin wrote:
> 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,

Yes, that was perfectly clear to me, and I tried a test build of gcc42
with Java support enabled.  It looked like it mostly worked, but there
were some missing executables and packaging errors, so there might need
to be an additional configure argument enabled.

I'll look into it again next week, and I'm sure I'll have to contact the
GCC port maintainer to get his feedback about gcj support on amd64.  I
did read some posts that indicated that even if it builds, it still
doesn't work correctly, but they might have been from a while back.

Regards,
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

iD8DBQFKKaX+0sRouByUApARAm5pAJ47qmWYmsZ7a7H63XnjmTTsDYjDDgCcC9ng
sz+6HtUnNfc0VOPzvZM73gg=
=abNy
-----END PGP SIGNATURE-----




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A29A5FE.1020803>