🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Daniel R. Kegel Tue, 26 Jan 1993 02:14
Problem configuring Texinfo-2.16 on Solaris 1
#1331
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads