Thread: Status of 6.3.2 snapshot on alpha/Digital Unix

Status of 6.3.2 snapshot on alpha/Digital Unix

From
"Pedro J. Lobo"
Date:
Hi, all.

I've just compiled the latest 6.3.2 snapshot on Digital Unix 3.2g using
DEC's C compiler. The regression tests look good, so go ahead with the
release (at least for this platform).

However, there are two minor "errors". One of them is already known:
configure fails when --with-compiler is specified. Included is a patch to
the configure script. I know that this is not the right file to patch,
since it is generated from configure.in, but we can use it as a workaround
since the error lies in autoconf. The patch should be re-applied every
time autoconf is run.

The second "error" is a new one. The configure script no longer asks for
additional include and lib directories, so, for example, it doesn't find
my readline libs, installed under /usr/local/include and /usr/local/lib.
Since these are two common directories to have additional software
installed into, I have added them to src/templates/alpha. Attached is a
patch to make this change. It won't hurt even if the directories don't
exist.

-------------------------------------------------------------------
Pedro José Lobo Perea                   Tel:    +34 1 336 78 19
Centro de Cálculo                       Fax:    +34 1 331 92 29
EUIT Telecomunicación - UPM             e-mail: pjlobo@euitt.upm.es
*** src/template/alpha.orig    lu 23 mar 00:01:34 1998
--- src/template/alpha    ju 16 abr 06:38:45 1998
***************
*** 8,15 ****
  CFLAGS:-DNOFIXADE -Dalpha
  SHARED_LIB:
  ALL:
! SRCH_INC:
! SRCH_LIB:
  USE_LOCALE:no
  DLSUFFIX:.so
  YFLAGS:-d
--- 8,15 ----
  CFLAGS:-DNOFIXADE -Dalpha
  SHARED_LIB:
  ALL:
! SRCH_INC:/usr/local/include
! SRCH_LIB:/usr/local/lib
  USE_LOCALE:no
  DLSUFFIX:.so
  YFLAGS:-d
*** src/configure.orig    vi 10 abr 00:00:37 1998
--- src/configure    ju 16 abr 06:38:03 1998
***************
*** 3387,3393 ****
  fi
  rm -f conftest*
  
! if test $ac_cv_prog_gcc = yes; then
      echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
  echo "configure:3393: checking whether ${CC-cc} needs -traditional" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
--- 3387,3393 ----
  fi
  rm -f conftest*
  
! if test x$ac_cv_prog_gcc = xyes; then
      echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
  echo "configure:3393: checking whether ${CC-cc} needs -traditional" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then

Re: [HACKERS] Status of 6.3.2 snapshot on alpha/Digital Unix

From
Bruce Momjian
Date:
> The second "error" is a new one. The configure script no longer asks for
> additional include and lib directories, so, for example, it doesn't find
> my readline libs, installed under /usr/local/include and /usr/local/lib.
> Since these are two common directories to have additional software
> installed into, I have added them to src/templates/alpha. Attached is a
> patch to make this change. It won't hurt even if the directories don't
> exist.
>

We have new -with-includes -with-libraries options.

--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

Re: [HACKERS] Status of 6.3.2 snapshot on alpha/Digital Unix

From
The Hermit Hacker
Date:
On Thu, 16 Apr 1998, Pedro J. Lobo wrote:

> Hi, all.
>
> I've just compiled the latest 6.3.2 snapshot on Digital Unix 3.2g using
> DEC's C compiler. The regression tests look good, so go ahead with the
> release (at least for this platform).
>
> However, there are two minor "errors". One of them is already known:
> configure fails when --with-compiler is specified. Included is a patch to
> the configure script. I know that this is not the right file to patch,
> since it is generated from configure.in, but we can use it as a workaround
> since the error lies in autoconf. The patch should be re-applied every
> time autoconf is run.

    Any idea if a patch is possible for autoconf itself?

> The second "error" is a new one. The configure script no longer asks for
> additional include and lib directories, so, for example, it doesn't find
> my readline libs, installed under /usr/local/include and /usr/local/lib.
> Since these are two common directories to have additional software
> installed into, I have added them to src/templates/alpha. Attached is a
> patch to make this change. It won't hurt even if the directories don't
> exist.

    ./configure --help should list both a '--with-includes=' and
'--with-libraries=' option :)



Re: [HACKERS] Status of 6.3.2 snapshot on alpha/Digital Unix

From
The Hermit Hacker
Date:
On Thu, 16 Apr 1998, Pedro J. Lobo wrote:

> However, there are two minor "errors". One of them is already known:
> configure fails when --with-compiler is specified. Included is a patch to
> the configure script. I know that this is not the right file to patch,
> since it is generated from configure.in, but we can use it as a workaround
> since the error lies in autoconf. The patch should be re-applied every
> time autoconf is run.

    I was just thinking about it, and wasn't the solution under
Solaris to actually define CC=cc in that OSs template file..??

Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org