[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Problem Building GCC RPM for Solaris
- From: "White, Chad (MED)" <chad white med ge com>
- To: David Fetter <dfetter pdx edu>
- Cc: rpm-list redhat com
- Subject: Re: Problem Building GCC RPM for Solaris
- Date: Thu, 6 Nov 2003 14:30:36 -0600
David,
Looks like you are putting your derived objects in a subdirectory of the
build root. According to the GCC documentation, that won't work (and my own
experiences bears that out.)
You need to make a directory at the same level as where the sources are
extracted and start the configure from there.
I can send you my .spec file but I don't want to post it here because it is
really ugly :)
thx,
--
Chanler White
System Administrator
GE Medical Systems - IT
503-531-7095
> From: "David M. Fetter" <dfetter@pdx.edu>
> Date: November 6, 2003 7:48:48 AM PST
> To: RPM Mailing List <rpm-list@redhat.com>
> Subject: Problem Building GCC RPM for Solaris
> Reply-To: rpm-list@redhat.com
>
>
> I'm having an issue building GCC 3.3.2 as an RPM for Solaris. GCC 3.3.2
> compiles and installs just fine normally. But when I take the same
> configure options and process to turn it into an RPM it fails with the
> following error:
>
> loading cache ../../config.cache within ltconfig
> configure: error: libtool configure failed
> configure: error: ../../../../libjava/libltdl/configure failed for
> libltdl
> make[1]: *** [configure-target-libjava] Error 1
> make[1]: Leaving directory
> `/disk/rauros/vol/src/rpmbuild/beta.solaris2.sun4/dfetter/BUILD/gcc-3.3.2/
> objdir'
> make: *** [bootstrap] Error 2
> error: Bad exit status from /tmp/rpm-tmp.7450 (%build)
>
> The configure options I'm using are:
>
> ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld
> --disable-nls --prefix=/pkg/local
>
> <snip>
>
> Anyone have any ideas why this might be happening?
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]