home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / gnu / utils / bug / 2468 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  1.7 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!blacks.jpl.nasa.gov!dank
  2. From: dank@blacks.jpl.nasa.gov (Daniel R. Kegel)
  3. Newsgroups: gnu.utils.bug
  4. Subject: Problem configuring Texinfo-2.16 on Solaris 1
  5. Date: 25 Jan 1993 21:14:08 -0500
  6. Organization: Image Analysis Systems Group, JPL
  7. Lines: 47
  8. Sender: daemon@cis.ohio-state.edu
  9. Approved: bug-gnu-utils@prep.ai.mit.edu
  10. Distribution: gnu
  11. Message-ID: <dank.727993814@blacks.jpl.nasa.gov>
  12.  
  13. I downloaded texinfo-2.16.tar.Z, size 516120, from gatekeeper.
  14.  
  15. Executing 'configure -prefix=/usr/local/gnu' on solaris 1 produces
  16. sed: Ending delimiter missing on substitution: s?^prefix[       ]*=.*0prefix = /usr/local/gnu?
  17.  
  18. Problem is in lines 364 and 368 of configure:
  19.  prsub="s?^prefix[     ]*=.*$?prefix = $prefix?"
  20.  
  21.  prsub="$prsub
  22.  s?^exec_prefix[         ]*=.*$?exec_prefix = $exec_prefix?"
  23.  
  24. the $? is expanded by /bin/sh to 0.
  25.  
  26. Adding a backslash seems to fix it.
  27.  
  28. Patch follows.
  29. This is being copied to bob@gnu.ai.mit.edu.
  30. - Dan K.
  31.  
  32. *** configure.orig    Fri Oct  2 03:58:29 1992
  33. --- configure    Mon Jan 25 12:44:05 1993
  34. ***************
  35. *** 361,371 ****
  36.   
  37.   if test -n "$prefix"; then
  38.     test -z "$exec_prefix" && exec_prefix='$(prefix)'
  39. !   prsub="s?^prefix[     ]*=.*$?prefix = $prefix?"
  40.   fi
  41.   if test -n "$exec_prefix"; then
  42.     prsub="$prsub
  43. ! s?^exec_prefix[     ]*=.*$?exec_prefix = $exec_prefix?"
  44.   fi
  45.   
  46.   trap 'rm -f config.status; exit 1' 1 3 15
  47. --- 361,371 ----
  48.   
  49.   if test -n "$prefix"; then
  50.     test -z "$exec_prefix" && exec_prefix='$(prefix)'
  51. !   prsub="s?^prefix[     ]*=.*\$?prefix = $prefix?"
  52.   fi
  53.   if test -n "$exec_prefix"; then
  54.     prsub="$prsub
  55. ! s?^exec_prefix[     ]*=.*\$?exec_prefix = $exec_prefix?"
  56.   fi
  57.   
  58.   trap 'rm -f config.status; exit 1' 1 3 15
  59.  
  60.