public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Stroller <stroller@stellar.eclipse.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] building pdftk (needs gcj)
Date: Sun, 21 Feb 2010 23:45:03 +0000	[thread overview]
Message-ID: <269821AD-DF0C-4A83-AC31-E50FCE473330@stellar.eclipse.co.uk> (raw)
In-Reply-To: <20100221225646.GO24169@anton.digitaltorque.ca>


On 21 Feb 2010, at 22:56, Michael P. Soulier wrote:

> So, I need pdftk to build some documents, so I emerge it and it  
> tells me that
> I need to update my USE flags and rebuild gcc with gcj support.
>
> So, I do. I added gcj to my global make.conf and ran the emerge, and  
> gcc was
> rebuilt.
>
>>>> Installing (1 of 2) sys-devel/gcc-4.3.4
> * The current gcc config appears valid, so it will not be
> * automatically switched for you.      If you would like to
> * switch to the newly installed gcc version, do the
> * following:
>
> * gcc-config i686-pc-linux-gnu-4.3.4
> * source /etc/profile
>
> * No profile selected, unable to utilize --use-old
>
> * If you have issues with packages unable to locate libstdc++.la,
> * then try running 'fix_libtool_files.sh' on the old gcc versions.
>
> But now pdftk fails to build because there's no gcj command.
>
> make[2]: Entering directory
> `/var/tmp/portage/app-text/pdftk-1.41-r1/work/pdftk-1.41/java_libs/ 
> com/lowagie/text'
> gcj -O2 -march=athlon-xp -pipe -w --encoding=UTF-8
> --classpath="/var/tmp/portage/app-text/pdftk-1.41-r1/work/pdftk-1.41/ 
> java_libs"
> -c Anchor.java -o Anchor.o
> /bin/sh: gcj: command not found
> make[2]: *** [Anchor.o] Error 127
>
> I'm confused.

It's using the old version of gcc, because you haven't told it to use  
the new version.

The output you posted specifically told you to run:

      gcc-config i686-pc-linux-gnu-4.3.4

      source /etc/profile

Stroller.




  parent reply	other threads:[~2010-02-22  0:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-21 22:56 [gentoo-user] building pdftk (needs gcj) Michael P. Soulier
2010-02-21 23:09 ` Alan McKinnon
2010-02-21 23:45 ` Stroller [this message]
2010-02-22  3:28   ` Michael P. Soulier
2010-02-22  4:27     ` Dale
2010-02-22  7:05     ` Alan McKinnon
2010-02-22  9:51     ` daid kahl
2010-02-22 12:12       ` daid kahl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=269821AD-DF0C-4A83-AC31-E50FCE473330@stellar.eclipse.co.uk \
    --to=stroller@stellar.eclipse.co.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox