I unmasked gpc 20051104 for me on ppc and tried to build it (the new version, without dependencies). The build ends fine. Unfortunately some path is not set correctly and the gpcpp precompiler could not be found. I looked for it and found it in: /usr/libexec/gpc/powerpc-unknown-linux-gnu/3.4/gpcpp temporarily adding /usr/libexec/gpc/powerpc-unknown-linux-gnu/3.4/ to my PATH variable yelded a working pascal compiler, I could successfully build and execute the program I needed. Maybe this small problem can be fixed in the ebuild and the package can be unmasked, at least for ~ppc ? Portage 2.1.1-r1 (default-linux/ppc/ppc32/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 ppc) ================================================================= System uname: 2.6.17-gentoo-r8 ppc 7400, altivec supported Gentoo Base System version 1.12.6 Last Sync: Sat, 04 Nov 2006 21:30:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -pipe -mcpu=7400 -mtune=7400 -maltivec -mabi=altivec -fno-strict-aliasing" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -pipe -mcpu=7400 -mtune=7400 -maltivec -mabi=altivec -fno-strict-aliasing" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc X alsa apache2 berkdb bitmap-fonts bonobo cdr cli cracklib crypt cups dlloader dri dvd eds elibc_glibc emboss encode esd firefox gdbm gif gpm gstreamer gtkhtml iconv input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog jpeg kernel_linux ldap libg++ libwww mad mikmod motif mozilla mp3 mpeg ncurses nls nptl nptlonly nptonly ogg opengl pam pcre perl png pppd python qt3 qt4 quicktime readline reflection ruby sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU userlocales video_cards_imstt video_cards_mach64 video_cards_mga vorbis xml xorg xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
also happens on x86 -- looks like an easy fix, though ... just add a link to gpcpp in /usr/bin
Yeah ... after the install, if you do the following: ln -s /usr/libexec/gpc/i686-pc-linux-gnu/3.4/gpcpp /usr/bin/ ln -s /usr/libexec/gpc/i686-pc-linux-gnu/3.4/gpc1 /usr/bin/ ln -s /usr/libexec/gpc/i686-pc-linux-gnu/3.4/collect2 /usr/bin/ stuff works. I think you need all three; I had to do the first two to get a compile to go, and I did the third because it looked like the right thing to do. :)
Added ~ppc. Reassigning to lang-misc.
gpc installs a file /etc/env.d/56gpc which should make sure your PATH gets set correctly. Did you make sure to log out and in again, or to run `source /etc/profile`? If you did, and it still didn't work, would you please attach that file?
Get back to us please...