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@xxxxxxx> > Date: November 6, 2003 7:48:48 AM PST > To: RPM Mailing List <rpm-list@xxxxxxxxxx> > Subject: Problem Building GCC RPM for Solaris > Reply-To: rpm-list@xxxxxxxxxx > > > 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? > _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list