Re: Patch to makefile-temp

2014-06-04 Thread Barak A. Pearlmutter
If the autotools-based stuff doesn't work on MSWindows, please report
the details.
That would be a bug, and we should be able to fix it, because
autotools-generated
scripts are intended to work in that environment (given an installed
bourne-compatible
shell, and make), and they are doing nothing fancy here.

If it is an issue of various support programs being necessary (texinfo stuff,
for example), we could try to add options like ./configure --disable-texinfo or
such, and default them to off if the support programs are unavailable.

If it is a problem with filenames, that could probably be fixed with appropriate
machinations.  Is it having trouble finding the Emacs executable? That would
be a bug in some m4 macros. Anyway, we should arrange things so autotools
works on MSWindows.

--Barak.

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


RE: Patch to makefile-temp

2014-06-04 Thread Vincent Belaïche
That has not to do with autoload tools, but with not using them. The 
makefile-temp is not automatically generated by autoload tools, it is a plain 
makefile that does not work in all cases --- at least it does not work on 
MSWindows XP as far as I can say.

I was proposing a fix which I had done for myself, while trying to keep 
backward compatibility, but it seems that this fix is too complex, I do not 
argue. The best way would anyway have been to use autoload --- or some other 
build system that is platform independent (EDE ?). Or maybe there can be 
alternative fixes simpler than what I had put forward (using mingw32-make 
instead of msys make and $(CURDIR) instead of `pwd` would probably make it, but 
I did not try...)

  Vincent.


 Date: Wed, 4 Jun 2014 11:29:38 +0100
 Subject: Re: Patch to makefile-temp
 From: ba...@cs.nuim.ie
 To: vincent@hotmail.fr
 CC: bbdb-info@lists.sourceforge.net

 If the autotools-based stuff doesn't work on MSWindows, please report
 the details.
 That would be a bug, and we should be able to fix it, because
 autotools-generated
 scripts are intended to work in that environment (given an installed
 bourne-compatible
 shell, and make), and they are doing nothing fancy here.

 If it is an issue of various support programs being necessary (texinfo stuff,
 for example), we could try to add options like ./configure --disable-texinfo 
 or
 such, and default them to off if the support programs are unavailable.

 If it is a problem with filenames, that could probably be fixed with 
 appropriate
 machinations. Is it having trouble finding the Emacs executable? That would
 be a bug in some m4 macros. Anyway, we should arrange things so autotools
 works on MSWindows.

 --Barak.
  
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


RE: Patch to makefile-temp

2014-06-04 Thread Vincent Belaïche
Just to say that replacing `pwd` by $(CURDIR) and using mingw32-make does not 
make it either, I still have that:

LC_ALL=C c:/Programme/GNU/Emacs_build20130408/bin/emacs.exe --batch 
--directory=./  -l autoload \
    --eval '(setq generated-autoload-file 
c:/Programme/GNU/installation/bbdb-git/bbdb/lisp/bbdb-loaddefs.el)' \
    --eval '(setq make-backup-files nil)' \
    -f batch-update-autoloads c:/Programme/GNU/installation/bbdb-git/bbdb/lisp
Generating autoloads for ../../../../bbdb-git/bbdb/lisp/bbdb-loaddefs.el...
Generating autoloads for ../../../../bbdb-git/bbdb/lisp/bbdb-loaddefs.el...done
Saving file 
c:/Programme/GNU/installation/emacs-install/emacs/trunk/lisp/c;c:msys.0ProgrammeGNUinstallatiobdb-gibdblisbdb-loaddefs.el...

that is to say

c:/Programme/GNU/installation/bbdb-git/bbdb/lisp/bbdb-loaddefs.el

is expanded for some reason by my EMACS version into 

c:/Programme/GNU/installation/emacs-install/emacs/trunk/lisp/c;c:msys.0ProgrammeGNUinstallatiobdb-gibdblisbdb-loaddefs.el

I do not know why this happens and whether that would still happen with the 
latest version of EMACS. Maybe this is due to my using a non releast EMACS --- 
one that was built from repo one year or so ago.

VBR,
   Vincent.



 From: vincent@hotmail.fr
 To: ba...@cs.nuim.ie
 CC: bbdb-info@lists.sourceforge.net
 Subject: RE: Patch to makefile-temp
 Date: Wed, 4 Jun 2014 15:24:38 +0200

 That has not to do with autoload tools, but with not using them. The 
 makefile-temp is not automatically generated by autoload tools, it is a plain 
 makefile that does not work in all cases --- at least it does not work on 
 MSWindows XP as far as I can say.

 I was proposing a fix which I had done for myself, while trying to keep 
 backward compatibility, but it seems that this fix is too complex, I do not 
 argue. The best way would anyway have been to use autoload --- or some other 
 build system that is platform independent (EDE ?). Or maybe there can be 
 alternative fixes simpler than what I had put forward (using mingw32-make 
 instead of msys make and $(CURDIR) instead of `pwd` would probably make it, 
 but I did not try...)

   Vincent.

 
 Date: Wed, 4 Jun 2014 11:29:38 +0100
 Subject: Re: Patch to makefile-temp
 From: ba...@cs.nuim.ie
 To: vincent@hotmail.fr
 CC: bbdb-info@lists.sourceforge.net

 If the autotools-based stuff doesn't work on MSWindows, please report
 the details.
 That would be a bug, and we should be able to fix it, because
 autotools-generated
 scripts are intended to work in that environment (given an installed
 bourne-compatible
 shell, and make), and they are doing nothing fancy here.

 If it is an issue of various support programs being necessary (texinfo stuff,
 for example), we could try to add options like ./configure --disable-texinfo 
 or
 such, and default them to off if the support programs are unavailable.

 If it is a problem with filenames, that could probably be fixed with 
 appropriate
 machinations. Is it having trouble finding the Emacs executable? That would
 be a bug in some m4 macros. Anyway, we should arrange things so autotools
 works on MSWindows.

 --Barak.

  
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/