You are not logged in.

#1 2009-04-02 16:45:40

Neo_The_User
Member
From: The Matrix
Registered: 2009-03-30
Posts: 96
Website

GCJ Compiler Please

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

#2 2009-04-02 17:13:42

mike_93
Member
Registered: 2009-01-31
Posts: 60

Re: GCJ Compiler Please

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

#3 2009-04-02 17:56:38

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: GCJ Compiler Please

Well, true, but the AUR is the first hurdle for a package to get into the repos.

Offline

#4 2009-04-03 00:10:56

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,404
Website

Re: GCJ Compiler Please

Umm....

> pacman -Ss gcj
extra/gcc-gcj 4.3.3-1
    GNU Java Environment

Offline

#5 2009-07-15 13:44:50

fatty
Member
Registered: 2009-03-15
Posts: 16

Re: GCJ Compiler Please

Can't find it in the extra repo?!

Offline

#6 2009-07-15 13:57:59

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,404
Website

Re: GCJ Compiler Please

Now it is in the AUR.

Offline

#7 2010-04-10 16:50:18

poopship21
Member
Registered: 2009-05-13
Posts: 177

Re: GCJ Compiler Please

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

#8 2010-04-10 17:10:45

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: GCJ Compiler Please

poopship21 wrote:

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?

http://gcc.gnu.org/onlinedocs/libstdc++ … setup.html

Offline

#9 2010-04-12 01:57:00

poopship21
Member
Registered: 2009-05-13
Posts: 177

Re: GCJ Compiler Please

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

#10 2010-06-05 07:22:20

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: GCJ Compiler Please

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

#11 2011-01-02 21:57:55

stefano.facchini
Member
Registered: 2010-11-12
Posts: 24

Re: GCJ Compiler Please

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?

Offline

#12 2011-01-02 23:11:12

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,404
Website

Re: GCJ Compiler Please

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

#13 2011-01-03 00:04:52

Foucault
Member
From: Athens, Greece
Registered: 2010-04-06
Posts: 214

Re: GCJ Compiler Please

stefano.facchini wrote:
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

Board footer

Powered by FluxBB