Re: Install Fails on Windows

2006-04-30 Thread Bill McCarthy
On Sat 29-Apr-06 3:49pm -0600, Bram Moolenaar wrote:

 There are two setups, the Unix one and the MS-Windows one.

 If you use the Unix setup you need to do make install.  Thus uses the
 files in the ../runtime directory that were unpacked from the Unix tar
 archive.

 If you use the MS-Windows setup you should unpack the vim70xxrt.zip
 file, which puts the runtime files below the src directory, without a
 runtime directory.  Then you can use the install.exe.

The problem with this is that there is only one current beta
and that is the the unix form of the Vim tree.

Even if I copy my executables to runtime\, install complains
with:

[c:\vim\vim70f\runtime]install
This program sets up the installation of Vim 7.0f BETA

ERROR: Install program not in directory vim70f
This program can only work when it is located in its
original directory

The solutions provided by Suresh Govindachar and Georg Dahn
both appear to work, but involve copying the contents of
runtime\ on top of vim70.f\ (which should produce some
pretty ugly results when CVS is back again :-)

I was hoping there was a simple way of enabling dosinst.c to
work with the unix tree.

Since Alpha and Beta versions have worked just fine without
installing, and there are no patches to apply to the older
vim7 files that are are available, I'll just not install
until the release and subsequent patch releases.

Thanks to Suresh, Georg and you for your comments.

-- 
Best regards,
Bill



Re: Install Fails on Windows

2006-04-29 Thread Bram Moolenaar

Bill McCarthy wrote:

 Compiling with MVC or Ming, the exe files are copied from
 c:\vim\vim70f\src to c:\vim\vim70f (the usual place).  But
 running install produces the following:
 
 [c:\vim\vim70f]install
 This program sets up the installation of Vim 7.0f04 BETA
 
 ERROR: Cannot find filetype.vim in C:\vim\vim70f
 It looks like you did not unpack the runtime archive.
 You must unpack the runtime archive vim70frt.zip
 before installing.
 
 The problem is that unzipping the archive places
 filetype.vim in c:\vim\vim70f\runtime (it would have been
 placed in the same directory as the exe files in all release
 versions of Vim - in this case in c:\vim\vim70f\).
 
 Doesn't dosinst.c need to reflect this new placement?

There are two setups, the Unix one and the MS-Windows one.

If you use the Unix setup you need to do make install.  Thus uses the
files in the ../runtime directory that were unpacked from the Unix tar
archive.

If you use the MS-Windows setup you should unpack the vim70xxrt.zip
file, which puts the runtime files below the src directory, without a
runtime directory.  Then you can use the install.exe.

-- 
SIGIRO -- irony detected (iron core dumped)

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\download, build and distribute -- http://www.A-A-P.org///
 \\\help me help AIDS victims -- http://ICCF-Holland.org///


RE: Install Fails on Windows

2006-04-29 Thread Suresh Govindachar

   Bram Moolenaar wrote:
  
   Bill McCarthy wrote:
  
   Compiling with MVC or Ming, the exe files are copied from
   c:\vim\vim70f\src to c:\vim\vim70f (the usual place).  But
   running install produces the following:
   
   [c:\vim\vim70f]install
   This program sets up the installation of Vim 7.0f04 BETA
   
   ERROR: Cannot find filetype.vim in C:\vim\vim70f
   It looks like you did not unpack the runtime archive.
   You must unpack the runtime archive vim70frt.zip
   before installing.
   
   The problem is that unzipping the archive places filetype.vim
   in c:\vim\vim70f\runtime (it would have been placed in the same
   directory as the exe files in all release versions of Vim - in
   this case in c:\vim\vim70f\).
   
   Doesn't dosinst.c need to reflect this new placement?
  
   There are two setups, the Unix one and the MS-Windows one.
  
There is a third!  Building on Windows using unix sources.
After the build, there is a src/../runtime directory.  

After the build, one needs to move the *.exe files from src/
one level up and move everything inside runtime/ one level up.
After these two moves, install.exe works fine -- it knows it
is on Windows.

   If you use the Unix setup you need to do make install.  Thus
   uses the files in the ../runtime directory that were unpacked
   from the Unix tar archive.
   
   If you use the MS-Windows setup you should unpack the
   vim70xxrt.zip file, which puts the runtime files below the src
   directory, without a runtime directory.  Then you can use the
   install.exe.