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 The section for building it in my spec file looks like: %prep %setup -q mkdir -p ${RPM_BUILD_ROOT}%{_prefix} mkdir -p objdir %build unset LD_LIBRARY_PATH LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/usr/openwin/lib:/usr/local/java/lib:/usr/local/java/jre/lib export LD_LIBRARY_PATH cd objdir ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls --prefix=%{_prefix} %__make -j 2 bootstrap %install cd objdir unset PATH PATH=/usr/bin:/usr/local/bin:/usr/ccs/bin export PATH %__make -j 2 install Anyone have any ideas why this might be happening? -- David M. Fetter - UNIX Systems Administrator Portland State University - www.oit.pdx.edu _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list