bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bison 1.35 build fails on SCO Openserver


From: Akim Demaille
Subject: Re: bison 1.35 build fails on SCO Openserver
Date: 27 Aug 2002 10:01:12 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter)

| On SCO Openserver 5.0.6, configure fails during the config.status step
| when building bison 1.35.  Here's an edited typescript with the error
| message:
| 
| 
| Script started on Sun Aug 25 10:46:35 2002
| $ ./configure prefix=/u/gnu
| 
| [ all the "Checking..." messages deleted ]
| 
| configure: creating ./config.status
| mkdir: cannot make directory: tests: File exists (error 17)
| config.status: error: cannot create directory "tests"
| $
| 
| script done on Sun Aug 25 10:47:14 2002
| 
| 
| The problem is caused by the variable $as_mkdir_p not being exported for
| use by config.status.  Unlike what I think is the Linux behavour, mkdir
| -p on an existing directory fails on Openserver.  In this circumstance,
| $as_mkdir_p is (correctly) set to "false" in the first few lines of
| configure.  But $as_mkdir_p is not exported or otherwise made available
| for use by config.status, and the above failure occurs.  On systems
| where mkdir -p on an existing directory does not fail, I don't believe
| this would be an issue.
| 
| One fix would be to export the $as_mkdir_p variable in configure.
| Another would be to write the assignment to config.status when it is
| created.  Here is a brief patch to configure for the former:
| 
| 
| *** configure.old     Mon Mar 25 04:37:52 2002
| --- configure Sun Aug 25 11:18:50 2002
| ***************
| *** 14,19 ****
| --- 14,20 ----
|     as_expr=false
|   fi
|   
| + export as_mkdir_p
|   if mkdir -p . 2>/dev/null; then
|     as_mkdir_p=:
|   else

Thanks a lot for the report.  It turns out to be an Autoconf bug.  I
leave this in the Autoconf bug mail box.

Thanks!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]