Subject: Re: pkgsrc bootstrap kit for Solaris 10?
To: None <tech-pkg@NetBSD.org>
From: Malcolm Herbert <firstname.lastname@example.org>
Date: 08/21/2006 18:27:37
On Mon, Aug 21, 2006 at 05:14:43PM +1000, Malcolm Herbert wrote:
|On Thu, Aug 17, 2006 at 10:17:25AM -0400, Jan Schaumann wrote:
||Raymond Meyer <email@example.com> wrote:
||> If you want to use pkgsrc for building sofware on Solaris (i.e.
||> not just installing pre-built binary packages), then your quick
||> description is missing a lot of details.
||Hmm. Well, it's been working just fine for me so far. I've installed
||about 30 packages so far.
|I seem to be having issues compiling perl on this machine - I have made
|sure I don't have gcc anywhere on the system by removing SUNWgcc et al
|and am definately using the Sun Studio 11 compiler (which is installed
|as SUNWpro but is masquerading, as far as I can tell)
actually it's not just Perl - I've had similar hanging problems with
compiling cvs dependancies as well:
|bosko-3[...pkgsrc/pkgtools/pkg_install-info] 410v#: bmake package
|work.sparc -> /usr/pkgbuild/pkgtools/pkg_install-info/work.sparc
|===> Installing dependencies for pkg_install-info-4.5nb3
|===> Overriding tools for pkg_install-info-4.5nb3
|===> Extracting for pkg_install-info-4.5nb3
|===> Patching for pkg_install-info-4.5nb3
|===> Creating toolchain wrappers for pkg_install-info-4.5nb3
|===> Configuring for pkg_install-info-4.5nb3
|configure: WARNING: If you wanted to set the --build type, don't use --host.
| If a cross compiler is detected then cross compile mode will be used.
|checking for sparc-sun-solaris2-gcc... gcc
(I pressed ctrl-\ at this point)
|bosko-3[...pkgsrc/pkgtools/pkg_install-info] 411v#: ===>
|===> There was an error during the ``configure'' phase.
|===> Please investigate the following for more information:
|===> * config.log
|configure: error: C compiler cannot create executables
|See `config.log' for more details.
|===> * /usr/pkgbuild/pkgtools/pkg_install-info/work.sparc/.work.log
truss in another window said:
|bosko-3[~] 372v#: ps -ef | grep cc
| root 28368 28330 0 17:22:12 pts/1 0:00 /opt/SUNWspro/bin/cc -O -R/usr/pkg/lib conftest.c -I/usr/pkgbuild/pkgtools/pkg_
| root 28405 28390 0 17:23:00 pts/3 0:00 grep cc
|bosko-3[~] 373v#: truss -p 28368
|waitid(P_ALL, 0, 0xFFBFE868, WEXITED|WTRAPPED) (sleeping...)
| Received signal #3, SIGQUIT, in waitid() [default]
|waitid(P_ALL, 0, 0xFFBFE868, WEXITED|WTRAPPED) Err#4 EINTR
Is there any particular benefit in running the native Sun compiler any
more? I thought so initially however work colleague says that the Sun
packaged gcc has been retro-fitted with the Sun code optimisations and
therefore code produced by it isn't as different in performance as
it has been in the past ... is that the case? I have been able to do
_something_ with gcc before today so may yet be able to use it ...
Malcolm Herbert This brain intentionally
firstname.lastname@example.org left blank