gcl-devel
[Top][All Lists]
Advanced

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

Re: [Gcl-devel] GCL on mingw - patches


From: Vadim V. Zhytnikov
Subject: Re: [Gcl-devel] GCL on mingw - patches
Date: Tue, 30 Dec 2003 21:16:06 +0300
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.5) Gecko/20031006

I'm not autoconf/automake expert as well. I just
used it on Unix not paying attention how it works
internally.  I use latest official MinGW-3.1.0-1.exe,
MSYS-1.0.9.exe and msysDTK-1.0.0.exe without any later
individual component tarballs.

$ msysinfo
msysinfo-1.3: Send this to the MSYS support list:

MSYS 1.0.9(0.46/3/2) 2003-07-03 07:26 i686 unknown; targ=MINGW32
GNU bash, version 2.04.0(1)-release (i686-pc-msys); ENV=.profile
GNU Make version 3.79.1,Built for i686-pc-msys; MAKE_MODE=unix
gcc.exe (GCC) 3.2.3 (mingw special 20030504-1); targ=MINGW32
GNU ld version 2.13.90 20030111
   789320 Thu Jul 10 04:56:48 2003 /bin/msys-1.0.dll
    52064 Tue Dec 10 08:45:56 2002 /bin/msysltdl-3.dll
   135680 Thu Jul 10 04:56:46 2003 /bin/make.exe
    82432 Sun May 04 20:38:20 2003 /mingw/bin/gcc.exe
   566272 Sun Jan 12 02:42:48 2003 /mingw/bin/ld.exe
HOME=/home/vadim
Sysname=MINGW32_NT-5.1  OSTYPE=msys  TERM=msys
PATH=.:/c/gcl/bin:/c/maxima/bin:/usr/local/bin:/mingw/bin:/bin:/
c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/Progra
m Files/ATI Technologies/ATI Control Panel
$ ls -tx /home/vadim
.bash_history       gcl-test/
maxima-cvs.tar.bz2  defsystem.lisp
gcl/                gcl-makefile.patch
gcl-readline.patch  gcl-pwd.patch
gcl-gcc.patch       gcl-pcl.patch
a                   gcl-heap-size.patch
st.exe*             st.c
t2                  t1
test.c              test.exe*
test.h              gcl-2.6.1-20031203.tar.gz
gcl-2.6.1/          maxima/

I have cygwin installed but but is is not
in the path.

AFAIK we don't need automake for GCL, just
autoconf if we want to recreate configure
from configure.in.  But automake is required
to build CVS Maxima.

Originally I installed mingw and MSYS only
(in was not aware that msysDTK stands for
msys Developper Tool Kit).  Later installing
msysDTK I was pleased to find collection
of useful tools like perl, ... and
autoconf/automake scripts in /bin directory.
By any attempt to run autoconf in GCL dir
complained about missing Autom4te/General.pm
perl module. I checked with linux by making
"strace autoconf" and indeed autoconf loads
tree perl modules General.pm, Struct.pm and
XFile.pm during its work. Ad these modules are not
part of perl distro but belongs to autoconf
package.  The problem is that I don't observe
any such files in my msys directory tree
after installing msysDTK.  Situation with automake
is similar - some other files are missing.
So, I copied all required modules from cygwin
only now autoconf/automake works for me.
Unfortunately I don't know how to check what
files are really packaged inside of mysDTK-1.0.0.exe
but it seems that only autoconf/automake
scripts are included but all other support
modules are missing.




Mike Thomas writes:
Hi Vadim.

| I wonder about automake/autoconf on mingw.
| It seems that msysDTK includes perl, m4 and
| autoconf/automake scripts but not special
| perl and m4 modules required to run autoconf.
| So if I just install mingw, MSYS and msysDTK
| don't get workable automake/autoconf.
| Is it true or I'm missing something?

I'm an autoconf newbie and I've never used automake.  However, I've never
had trouble with autoconf under MSYS having used it for several years now on
NT4, 2000 Pro and XP Pro.   I just type "autoconf" and it works!

I last updated my MSYS/MinGW32 stuff a couple of months ago so maybe
something has broken in that time and if so it might be worth your while
asking the MSYS mailing list - Earnie Boyd and friends are pretty much on
the ball all the time.

My --version output is:

autoconf (GNU Autoconf) 2.53
automake (GNU automake) 1.6.1
This is perl, v5.6.1 built for msys
GNU m4 1.4
gcc.exe (GCC) 3.3.1 (mingw special 20030804-1)

Here are some questions (apologies if I've missed an earlier email
describing any of this):

What happens when you run automake in the GCL source directory?

Have you checked to make sure your path hasn't gotten mixed up with Cygwin?

What autoconf files/directories are present in your GCL source directory? (I
believe that there may have been changes across autoconf versions regarding
M4 support macros, but I don't know if that applies here).

Here is the output from typing msysinfo in my GCL source directory for
comparison:

$ msysinfo
msysinfo-1.3: Send this to the MSYS support list:

MSYS 1.0.9(0.46/3/2) 2003-07-03 07:26 i686 unknown; targ=MINGW32
GNU bash, version 2.04.0(1)-release (i686-pc-msys); ENV=.profile
GNU Make version 3.79.1,Built for i686-pc-msys; MAKE_MODE=unix
gcc.exe (GCC) 3.3.1 (mingw special 20030804-1); targ=MINGW32
GNU ld version 2.14.90 20030807
   789320 Thu Jul 03 08:17:28 2003 /bin/msys-1.0.dll
   135680 Thu Jul 03 08:17:26 2003 /bin/make.exe
    84992 Fri Aug 08 08:28:59 2003 /mingw/bin/gcc.exe
   613888 Sun Aug 10 16:05:14 2003 /mingw/bin/ld.exe
HOME=/home/miketh
Sysname=MINGW32_NT-5.1  OSTYPE=msys  TERM=cygwin
PATH=.:/usr/local/bin:/mingw/bin:/bin:/c/lang/texmf/miktex/bin/:
/c/lang/msdotnetSDK/Bin/:/c/Program Files/Microsoft Visual Studi
o .NET/Common7/IDE/:/c/WINDOWS/Microsoft.NET/Framework/v1.0.3705
/:/c/Program Files/Microsoft Visual Studio .NET/Vc7/bin/:/c/lang
/Tcl-8.4.1.0/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/Syste
m32/Wbem:/c/Program Files/Common Files/Adaptec Shared/System:/c/
lang/ocaml/bin:/c/lang/texmf/miktex/bin/:/c/lang/MSDOTN~1/Bin/:/
c/PROGRA~1/MICROS~1.NET/Common7/IDE/:/c/WINDOWS/MICROS~1.NET/FRA
MEW~1/V10~1.370/:/c/PROGRA~1/MICROS~1.NET/Vc7/bin/:/c/lang/TCL-8
4~1.0/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbe
m:/c/PROGRA~1/COMMON~1/ADAPTE~1/System:/c/lang/ocaml/bin:/c/lang
/sml-nj-110.9.1/bin:/c/lang/Palmdev/apache-ant-1.5.4/bin
$ ls -tx /c/cvs/head/gcl
configure*        autom4te.cache/   make.log
bin/              xbin/             unixport/
clcs/             pcl/              mod/
cmpnew/           lsp/              h/
o/                gmp_all           config.log
configure.log     machine           makedefs
windows/          makedefc          config.status*
makedefsafter     gmp3/             sh.exe.stackdump
info/             config.cache      CVS/
makefile          readme.mingw      update.log
ansi-tests/       debian/           configure.in
makefile.~1.88.~  makedefs~         xgcl-2/
gcl-tk/           binutils/         config.guess*
config.sub*       readme-bin.mingw  makedefc.in
japitest.o        utils/            mp/
misc/             man/              go/
dos/              elisp/            doc/
comp/             acconfig.h        minvers
bfdtest.c         gcl.spec          japitest.lsp
gcl.ico           RELEASE-2.5.1     readme.mingw.~1.13.~
ltconfig*         ltmain.sh         gmp.patch
configure-new.ac  machines          add-defs1*
ChangeLog.old     ChangeLog         gcl.png
makdefs           readme.gmp        add-defs*
readme            gcl.jpg           gcl1.jpg
gcl2.jpg          COPYING.LIB-2.0   add-defs.bat*
eval.html         eval.tcl          faq
install.sh*       majvers           merge.c



Cheers

Mike Thomas.






--
     Vadim V. Zhytnikov

      <address@hidden>
     <address@hidden>






reply via email to

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