You are not logged in.
GCJ Objective Java Compiler.
I find it the most pain in the arse program to ever compile and it takes several hours.
What do you guys think?
AMD Phenom II X4 955 with Optimized Kernel
5 GB DDR2 RAM
320 GB SATA Hard Drive + 160 GB SATA Hard Drive
ATi RadeonHD 5830 GIGABYTE
Offline
If it was in the AUR (which is what this sub-section of the forum is for, correct me if I'm wrong) then wouldn't the AUR make you compile it anyway?
Double booting Arch Linux and Linux Mint
Reader of XKCD
Offline
Well, true, but the AUR is the first hurdle for a package to get into the repos.
Offline
Umm....
> pacman -Ss gcj
extra/gcc-gcj 4.3.3-1
GNU Java Environment
Offline
Can't find it in the extra repo?!
Offline
Offline
im about to install this package but there is something amiss in the PKGBUILD:
its saying that i need the de_DE locale to build... why?
Offline
im about to install this package but there is something amiss in the PKGBUILD:
its saying that i need the de_DE locale to build... why?
Offline
i added the de_DE locale and the error is still coming up:
(1/1) installing gcc-gcj [################################################################################################################################################################################################] 100%
If you like this package, please install aurvote
and vote for its inclusion/keeping in [community]
==> Install or build missing dependencies for pdftk:
==> Building and installing package
==> pdftk dependencies:
- gcc-gcj (already installed)
==> Making package: pdftk 1.41-3 x86_64 (Sun Apr 11 21:52:27 EDT 2010)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found pdftk-1.41.tar.gz in build dir
-> Found debian-build_with_gcc-4.3.diff in build dir
-> Found debian-no_embedded_libs.diff in build dir
==> Validating source files with md5sums...
pdftk-1.41.tar.gz ... Passed
debian-build_with_gcc-4.3.diff ... Passed
debian-no_embedded_libs.diff ... Passed
==> Extracting Sources...
-> Extracting pdftk-1.41.tar.gz with bsdtar
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
patching file pdftk/Makefile.Debian
patching file java_libs/com/lowagie/text/Makefile
patching file java_libs/com/lowagie/text/xml/xmp/Makefile
patching file java_libs/com/lowagie/text/pdf/Makefile
patching file java_libs/com/lowagie/text/pdf/fonts/Makefile
patching file java_libs/com/lowagie/text/pdf/codec/postscript/Makefile
patching file java_libs/com/lowagie/text/pdf/codec/wmf/Makefile
patching file java_libs/com/lowagie/text/pdf/codec/Makefile
patching file java_libs/com/lowagie/text/markup/Makefile
patching file java_libs/com/lowagie/bc/asn1/Makefile
patching file java_libs/Makefile
patching file pdftk/Makefile.Base
patching file pdftk/Makefile.Base
patching file java_libs/com/lowagie/text/pdf/PdfEncryption.java
patching file java_libs/Makefile
make -C ../java_libs
make[1]: Entering directory `/tmp/yaourt-tmp-au/aur-pdftk/pdftk/src/pdftk-1.41/java_libs'
make -C "/tmp/yaourt-tmp-au/aur-pdftk/pdftk/src/pdftk-1.41/java_libs/com/lowagie/text";
make[2]: Entering directory `/tmp/yaourt-tmp-au/aur-pdftk/pdftk/src/pdftk-1.41/java_libs/com/lowagie/text'
gcj -march=x86-64 -mtune=generic -O2 -pipe -w --encoding=UTF-8 --classpath="/usr/share/java/libgcj-4.3.jar:/tmp/yaourt-tmp-au/aur-pdftk/pdftk/src/pdftk-1.41/java_libs" -c Anchor.java -o Anchor.o
/tmp/yaourt-tmp-au/aur-pdftk/pdftk/src/pdftk-1.41/java_libs/com/lowagie/text/pdf/PdfDate.java:79: error: gnu.java.locale.Calendar cannot be resolved to a type
private static Class c1= gnu.java.locale.Calendar.class;
^^^^^^^^^^^^^^^^^^^^^^^^
1 problem (1 error)
make[2]: *** [Anchor.o] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-au/aur-pdftk/pdftk/src/pdftk-1.41/java_libs/com/lowagie/text'
make[1]: *** [itext] Error 2
make[1]: Leaving directory `/tmp/yaourt-tmp-au/aur-pdftk/pdftk/src/pdftk-1.41/java_libs'
make: *** [java_libs] Error 2
==> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build pdftk package.
Offline
pdftk builds fine with the tarball linked in one of the last comments on AUR.
Last edited by Stefan Husmann (2010-06-05 07:33:09)
Offline
Now it is in the AUR.
Why gcc-gcj has been moved in the AUR? It seems crazy that installing a simple application like pdftk requires hours because we first need to compile a compilator. What's wrong with a binary package for gcc-gcj?
Offline
As with everything in Arch, there is no binary package because no developer or TU chooses to package one. I consider gcj a dead project and won't be building it with the main gcc packages.
Offline
Allan wrote:Now it is in the AUR.
Why gcc-gcj has been moved in the AUR? It seems crazy that installing a simple application like pdftk requires hours because we first need to compile a compilator. What's wrong with a binary package for gcc-gcj?
I used to have the exact same opinion, but if you think about a bit more carefully pdftk seems like it's the only actually important application (I really like it as well) that requires gcj. And even for that a good soul has made a binary-only PKGBUILD.
Last edited by Foucault (2011-01-03 00:05:22)
Offline