🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1331

Problem configuring Texinfo-2.16 on Solaris 1

#1331
From: Daniel R. Kegel
Date: Tue, 26 Jan 1993 02:14
46 lines
1813 bytes
I downloaded texinfo-2.16.tar.Z, size 516120, from gatekeeper.

Executing 'configure -prefix=/usr/local/gnu' on solaris 1 produces
sed: Ending delimiter missing on substitution: s?^prefix[       ]*=.*0prefix = /usr/local/gnu?

Problem is in lines 364 and 368 of configure:
 prsub="s?^prefix[     ]*=.*$?prefix = $prefix?"

 prsub="$prsub
 s?^exec_prefix[         ]*=.*$?exec_prefix = $exec_prefix?"

the $? is expanded by /bin/sh to 0.

Adding a backslash seems to fix it.

Patch follows.
This is being copied to bob@gnu.ai.mit.edu.
- Dan K.

*** configure.orig	Fri Oct  2 03:58:29 1992
--- configure	Mon Jan 25 12:44:05 1993
***************
*** 361,371 ****
  
  if test -n "$prefix"; then
    test -z "$exec_prefix" && exec_prefix='$(prefix)'
!   prsub="s?^prefix[ 	]*=.*$?prefix = $prefix?"
  fi
  if test -n "$exec_prefix"; then
    prsub="$prsub
! s?^exec_prefix[ 	]*=.*$?exec_prefix = $exec_prefix?"
  fi
  
  trap 'rm -f config.status; exit 1' 1 3 15
--- 361,371 ----
  
  if test -n "$prefix"; then
    test -z "$exec_prefix" && exec_prefix='$(prefix)'
!   prsub="s?^prefix[ 	]*=.*\$?prefix = $prefix?"
  fi
  if test -n "$exec_prefix"; then
    prsub="$prsub
! s?^exec_prefix[ 	]*=.*\$?exec_prefix = $exec_prefix?"
  fi
  
  trap 'rm -f config.status; exit 1' 1 3 15
Technical Details
Message-ID: <dank.727993814@blacks.jpl.nasa.gov>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!blacks.jpl.nasa.gov!dank

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!blacks.jpl.nasa.gov!dank
From: dank@blacks.jpl.nasa.gov (Daniel R. Kegel)
Newsgroups: gnu.utils.bug
Subject: Problem configuring Texinfo-2.16 on Solaris 1
Date: 25 Jan 1993 21:14:08 -0500
Organization: Image Analysis Systems Group, JPL
Lines: 47
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-utils@prep.ai.mit.edu
Distribution: gnu
Message-ID: <dank.727993814@blacks.jpl.nasa.gov>