pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lang/gcc compile error

On 11/08/2009 2:47 PM, wrote:
*<>  [2009-08-11 08:40:10 

Do you have GCC compiler installed with your base system? It should be
under /usr/bin. If yes, then you don't need to build gcc-2.95 from

#>gcc -v
Using built-in specs.
Target: sparc64--netbsd
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure
--enable-long-long --disable-multilib --enable-threads --disable-symvers
--build=x86_64-unknown-netbsd4.99.72 --host=sparc64--netbsd
--target=sparc64--netbsd --enable-__cxa_atexit
Thread model: posix
gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)

but shells/bash shells/zsh have lang/gcc dependency.

ultra10# which gcc g++

Maybe I have to register my gcc from cd in pakages database?
How to do it?

I'm not on sparc but I just updated and tested:

# pwd
# cvs update
# make show-depends
# make show-options
Any of the following general options may be selected:

These options are enabled by default:

These options are currently enabled:

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or PKG_OPTIONS.bash.
# make
[... snip ...]
=> Unwrapping files-to-be-installed.
# pkg_info |grep gcc
# which gcc

I'm on pkgsrc-head but I've been using and updating bash for a long time and never required anything other than the in-tree version of gcc.

Have you done a make clean after installing the comp.tgz?


Home | Main Index | Thread Index | Old Index