Subject: Re: pkgsrc on solaris 8/sparc + bmake gnome2
To: None <tech-pkg@netbsd.org>
From: adam morley <adam-netbsd-techpkg@gmi.com>
List: tech-pkg
Date: 06/25/2003 16:17:03
On Wed, Jun 25, 2003 at 05:50:32PM -0400, Super-User wrote:
> Klaus Heinz wrote:
> 
> > adam morley wrote:
> >
> > > I used gcc-3.2.3 from www.sunfreeware.com.  I have a feeling I should
> >
> > I use 2.95.3 from sunfreeware with bootstrap-pkgsrc and had practically
> > no problems getting this to work.
> >
> > ciao
> >      Klaus
> 
> All of my problems also went away when I did the above.

Mine don't:

checking host system type... configure: error: /bin/ksh ./autoconf/config.sub -sun-solaris failed
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/converters/libiconv

when self-compiled with gcc-2.95.3

when using the bootstrap-pkgsrc-SunOS-5.8-sparc-20021219.tar.gz, i get:

# bmake
bmake: "/usr/pkgsrc/lang/gcc/Makefile" line 43: Malformed conditional (${CC:M*gcc*} == "")
bmake: "/usr/pkgsrc/lang/gcc/Makefile" line 43: Need an operator
bmake: "/usr/pkgsrc/lang/gcc/Makefile" line 47: if-less elif
bmake: "/usr/pkgsrc/lang/gcc/Makefile" line 50: if-less else
bmake: "/usr/pkgsrc/lang/gcc/Makefile" line 50: Need an operator
bmake: "/usr/pkgsrc/lang/gcc/Makefile" line 53: Malformed conditional (${CC:M*gcc*} == "")
bmake: "/usr/pkgsrc/lang/gcc/Makefile" line 53: Need an operator
bmake: "/usr/pkgsrc/lang/gcc/Makefile" line 55: if-less endif
bmake: "/usr/pkgsrc/lang/gcc/Makefile" line 55: Need an operator
bmake: "/usr/pkgsrc/lang/gcc/Makefile" line 56: if-less endif
bmake: "/usr/pkgsrc/lang/gcc/Makefile" line 56: Need an operator
bmake: "../../mk/buildlink2/../../mk/buildlink2/bsd.buildlink2.mk" line 778: Malformed conditional (${CC:M*gcc*} == "")
bmake: "../../mk/buildlink2/../../mk/buildlink2/bsd.buildlink2.mk" line 778: Need an operator
bmake: "../../mk/../../mk/bsd.pkg.mk" line 1131: if-less endif
bmake: "../../mk/../../mk/bsd.pkg.mk" line 1131: Need an operator
bmake: Fatal errors encountered -- cannot continue

bmake: stopped in /usr/pkgsrc/lang/gcc


So my next big thing is going to be to try the NPC binary kit, as soon as I get an email from their development list with md5/sha1 hashes of the files on sourceforge.

> # which gcc
> /usr/pkg/gcc-3.3/bin/gcc
> # echo $CC
> /usr/pkg/gcc-3.3/bin/gcc
> # echo LD_LIBRARY_PATH
> LD_LIBRARY_PATH

You'll want to use $LD_LIBRARY_PATH, and if you use it, you'll want to look at using LD_RUN_PATH.  Better to not use it.

-- 
adam