Re: Compiling on hppa
Stijn de Bekker wrote:
> On Tue, Oct 09 2001, Peter S Galbraith wrote:
> >
> > Stijn de Bekker wrote:
> >
> > > Hi,
> > >
> > >
> > > Apparently, the building of my htdig package fails on the hppa
> > > architecture (as is also noted by bug #105045):
> > >
> > > http://buildd.debian.org/fetch.php?&pkg=htdig&ver=3.1.5-3&arch=hppa&stamp
> =100
> > > 2598209&file=log&as=raw
> > >
> > >
> > > My question is pretty simple; how can I create a chroot environment on
> > > sarti (the hppa machine) to fix this? I cannot compile regularly,
> > > because db2-dev is not installed.
> >
> > The problem is not really with hppa, but with g++-3.0.
> > Here's what I do to test build (another package) using g++-3.0 :
> >
> > CC=gcc-3.0 CXX=g++-3.0 ./configure --prefix=/usr
> >
> > Do that on your regular machine. No chroot needed.
>
> Unfortunately, that does not work either. I get the same error:
Well, that's my point. The problem is not with the hppa
architecture, but with the fact that hppa uses gcc-3.0 by
default, and your code is broken wrt gcc-3.0. Now you can use
your own machine to fix your code on gcc-3.0, and you don't need
a chroot on an hppa machine.
Peter
Reply to: