HP3000-L Archives

November 1999, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Joseph Whitlock <[log in to unmask]>
Reply To:
Joseph Whitlock <[log in to unmask]>
Date:
Fri, 5 Nov 1999 16:21:46 GMT
Content-Type:
text/plain
Parts/Attachments:
text/plain (79 lines)
Mark,

I tried the configure.mpe script to run autoconf and I'm having a problem
with the version.

>pwd
/tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3
>touch *.c
>export ECHO=1
>./configure.mpe
Processing ./configure.in
FATAL ERROR: Autoconf version 2.13 or higher is required for this script
./configure.mpe 33: ./configure: not found
>
>autoconf --version
Autoconf version 2.12.1
>

Thanks for your help

[log in to unmask] wrote:

> >Instead of manually adjusting the "configure" script for MPE/iX, you
> >might also use an "MPE-ized" version of GNU autoconf to recreate the
> >configure script with MPE-specific tweaks.
>
> >As far as I understand, the recent versions of GNUCORE do contain an
> >appropriate version of GNU autoconf and GNU m4 in /usr/local/bin, so
> >you won't even have to download add'l tools here.
>
> Lars is correct.
>
> I have a generic "configure.mpe" script that is always the first
> thing I run against a source hierarchy. This is the one I use for gcc
> (Note that you may need to change some of the options on the last line
> such as enable-threads=dce for some other ports):
>
> #
> # MPE is by definition a "shared" environment and the configure scripts
> # will fail to correctly determine whether or not something exists by
> # simply doing a compile. Rerun autoconf to update the configure scripts.
> # Use the autoconf from
> #   http://jazz.external.hp.com/src/gnu
> #
> # Find configure.in scripts containing AC_INIT and run autoconf in those
> # directories.
> for f in `find . -name configure.in`
> do
>         fgrep AC_INIT ${f} > /dev/null
>         if [ $? = 0 ]
>         then
>                 echo Processing ${f}
>                 (cd `dirname ${f}`; autoconf)
>         fi
> done
>
> export CFLAGS="-I/usr/contrib/include -DSYSV -D_POSIX_SOURCE \
> -D_SOCKET_SOURCE -D_MPEIX_SOURCE -D_MPEXL_SOURCE"
> export CXXFLAGS="$CFLAGS"
> export CPPFLAGS="$CFLAGS"
> export LDFLAGS="-lsocket -lcurses -lsvipc -ldce"
> export CC=gcc
> export CPP="gcc -E"
>
> mkdir obj-MPE
> cd obj-MPE
> ./configure --with-gnu-as --disable-pic --disable-shared \
> --enable-threads=dce

--
                                  Respectfully,
                                  Joe

  Joe Whitlock                  | Work Email: [log in to unmask]
  The Boeing Company            | Home Email: [log in to unmask]
  P.O. Box 3707                 | Tel:      425-234-1478
  MS 6C-LU                      | Fax:      425-237-7230
  Seattle, WA 98124-2207        |

ATOM RSS1 RSS2