i know this isn't probably the best place, but i'm getting very desparate to get at least one server up and running with openssh-2.3 here. i have an old redhat-5.2 machine that i was trying to recompile the 2.3 src rpm on, and after fighting for hours to get the various -devel rpms that it required, i have a problem now where the openssh rpm isn't using the older gnome include directories, which seem to have been in /opt/gnome/include in the 1.0.xx days. is there any way to: a) tell the rpm --rebuild to not build the gnome stuff b) pass extra include directories to the rpm --rebuild process c) anything else that can magically get this to work???!!! any help would be very, very much appreciated at this point... -- CraigL->Thx(); Be Developer ID: 5852 Check out <http://www.begeek.com/>! -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20010210/9ffe2a35/attachment.bin
Craig Longman wrote:> > i know this isn't probably the best place, but i'm getting > very desparate to get at least one server up and running with > openssh-2.3 here. i have an old redhat-5.2 machine that i > was trying to recompile the 2.3 src rpm on, and after fighting > for hours to get the various -devel rpms that it required, i > have a problem now where the openssh rpm isn't using the older > gnome include directories, which seem to have been in > /opt/gnome/include in the 1.0.xx days. > > is there any way to: > a) tell the rpm --rebuild to not build the gnome stuff > b) pass extra include directories to the rpm --rebuild process > c) anything else that can magically get this to work???!!! > > any help would be very, very much appreciated at this point... >I usually work with the RedHat RPMS, and just modify the spec file to set the variables provided to skip all the X stuff. To get the spec just install the srpm (rpm -U openssh*.src.rpm and edit the spec file in /usr/src/redhat/SPECS. To rebuild run rpm -ba on the modified spec file.> -- > > CraigL->Thx(); > Be Developer ID: 5852 > Check out <http://www.begeek.com/>! > > ------------------------------------------------------------------------ > Part 1.2Type: application/pgp-signature-- Andrew Bartlett abartlet at pcug.org.au
On Sat, 10 Feb 2001, Craig Longman wrote:> is there any way to: > a) tell the rpm --rebuild to not build the gnome stuffThe way .spec file is done, this is impossible, because %if's in there override take what's defined in the specfile and don't consider what's given in the command line. In RH pine packages, you can do like: rpm --rebuild pine-*.src.rpm --define 'nokerberos 1' The difference is like: %{!?no_x11_askpass:%setup -q -a 1} vs %if ! %{no_x11_askpass} %setup -q -a 1 %else However, the former construct won't work with e.g. SourceX: files. It's just easier to rpm -Uvh *.src.rpm, edit the .spec file and rpm -ba that. -- Pekka Savola "Tell me of difficulties surmounted, Netcore Oy not those you stumble over and fall" Systems. Networks. Security. -- Robert Jordan: A Crown of Swords