According to Remi Fasol: > i'm trying to build an rpm for a redhat 9 system using > the "htdig-3.1.6-rh72.spec" file created by Gilles > Detillieux as a starting point. > > i added the "CXXFLAGS=-Wno-deprecated > CPPFLAGS=-Wno-deprecated" lines to the spec file, but > that still doesn't get rpmbuild to create the final > rpm. everything compiles ok, it's the final install > steps that don't work. > > at the very end, i get a series of errors like the > following: > > Installing individual programs... > make[1]: Entering directory > `/usr/src/redhat/BUILD/htdig-3.1.6/htfuzzy' > transform=s,^,,; s,^,,; > /bin/sh: line 1: s,^,,: command not found > make[1]: *** [install] Error 127
Sorry, I meant to post my updated RPMs much sooner than this, but got too busy and then forgot after my vacation. They're now up on http://www.htdig.org/files/binaries/ as the files: htdig316-3.1.6-1.rh9.src.rpm htdig316-3.1.6-1.rh9.i386.rpm htdig316-web-3.1.6-1.rh9.i386.rpm I never ran into the problem you had with the transform variable, though, but I did have problems getting %configure to accept both the -Wno-deprecated flag as well as the $RPM_OPT_FLAGS, so I had to change the way the .spec file does the ./configure call. I also made several other changes since the rh72.spec file, as indicated in the new .spec file's changelog: * Wed May 28 2003 Gilles Detillieux <[EMAIL PROTECTED]> 3.1.6-1.rh9 - Changed package name to htdig316 so it won't get updated by Red Hat's htdig packages - still conflicts, though, so remove htdig & htdig-web. - Added 16 patches from ftp.ccsf.org patch archives - Added webserver requirement for htdig-web package - Fixed for proper installation of common dir, even when web package not used - Use Apache conf.d file instead of symlink for /htdig directory - Added -Wno-deprecated to configure stage for gcc 3.2 -- Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/ Dept. Physiology, U. of Manitoba Winnipeg, MB R3E 3J7 (Canada) ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ ht://Dig general mailing list: <[EMAIL PROTECTED]> ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html List information (subscribe/unsubscribe, etc.) https://lists.sourceforge.net/lists/listinfo/htdig-general

