Re: [CEDET-devel] Cannot bytecompile CEDET using GNU make 3.81
Brought to you by:
zappo
From: <kla...@sd...> - 2007-07-06 07:47:09
|
Hi Eric, fixed ;-)) I have modified semantic-html.el as follows: removed=20 (require 'sgml-mode) and replaced with (condition-case nil (require 'sgml-mode) ;; html-mode is in here... (error (require 'psgml-mode))) ;; ... or here Could you please fix this in the cvs?! Ciao, Klaus kla...@sd... wrote: > now i have found someting: >=20 > XEmacs have the psgml-package which contains for example an > psgml-html.el...=20 >=20 > Here are the full contents: >=20 >=20 > -rw-r--r-- 1 berndl mkgroup-l-d 52818 Apr 5 2005 ChangeLog > -rw-r--r-- 1 berndl mkgroup-l-d 29031 Jan 18 2003 ChangeLog.upstream > -rw-r--r-- 1 berndl mkgroup-l-d 109 Apr 6 2005 _pkg.el > -rw-r--r-- 1 berndl mkgroup-l-d 6448 Apr 6 2005 auto-autoloads.el > -rw-r--r-- 1 berndl mkgroup-l-d 6543 Apr 7 2005 auto-autoloads.elc > -rw-r--r-- 1 berndl mkgroup-l-d 605 Apr 6 2005 custom-load.el > -rw-r--r-- 1 berndl mkgroup-l-d 964 Apr 7 2005 custom-load.elc > -rw-r--r-- 1 berndl mkgroup-l-d 8027 Nov 27 1999 iso-sgml.el > -rw-r--r-- 1 berndl mkgroup-l-d 3953 Apr 7 2005 iso-sgml.elc > -rw-r--r-- 1 berndl mkgroup-l-d 3724 Jan 18 2003 psgml-api.el > -rw-r--r-- 1 berndl mkgroup-l-d 2615 Apr 7 2005 psgml-api.elc > -rw-r--r-- 1 berndl mkgroup-l-d 4373 Jan 18 2003 psgml-charent.el > -rw-r--r-- 1 berndl mkgroup-l-d 3050 Apr 7 2005 psgml-charent.elc > -rw-r--r-- 1 berndl mkgroup-l-d 25229 Jan 18 2003 psgml-debug.el > -rw-r--r-- 1 berndl mkgroup-l-d 16889 Apr 7 2005 psgml-debug.elc > -rw-r--r-- 1 berndl mkgroup-l-d 31516 Jan 18 2003 psgml-dtd.el > -rw-r--r-- 1 berndl mkgroup-l-d 22549 Apr 7 2005 psgml-dtd.elc > -rw-r--r-- 1 berndl mkgroup-l-d 75944 Jan 18 2003 psgml-edit.el > -rw-r--r-- 1 berndl mkgroup-l-d 49527 Apr 7 2005 psgml-edit.elc > -rw-r--r-- 1 berndl mkgroup-l-d 11541 Jan 18 2003 psgml-fs.el > -rw-r--r-- 1 berndl mkgroup-l-d 6861 Apr 7 2005 psgml-fs.elc > -rw-r--r-- 1 berndl mkgroup-l-d 39325 Aug 29 2003 psgml-html.el > -rw-r--r-- 1 berndl mkgroup-l-d 27243 Apr 7 2005 psgml-html.elc > -rw-r--r-- 1 berndl mkgroup-l-d 14104 Jan 18 2003 psgml-info.el > -rw-r--r-- 1 berndl mkgroup-l-d 8751 Apr 7 2005 psgml-info.elc > -rw-r--r-- 1 berndl mkgroup-l-d 148270 Jan 18 2003 psgml-parse.el > -rw-r--r-- 1 berndl mkgroup-l-d 150415 Apr 7 2005 psgml-parse.elc > -rw-r--r-- 1 berndl mkgroup-l-d 124 Jan 18 2003 psgml-sysdep.el > -rw-r--r-- 1 berndl mkgroup-l-d 716 Apr 7 2005 psgml-sysdep.elc > -rw-r--r-- 1 berndl mkgroup-l-d 6515 Jan 18 2003 psgml-xemacs.el > -rw-r--r-- 1 berndl mkgroup-l-d 4200 Apr 7 2005 psgml-xemacs.elc > -rw-r--r-- 1 berndl mkgroup-l-d 69320 Apr 4 2005 psgml.el > -rw-r--r-- 1 berndl mkgroup-l-d 58679 Apr 7 2005 psgml.elc >=20 > Does this help - means, could semantic-html.el require something from > this as backup??=20 >=20 > Klaus >=20 > Eric M. Ludlam wrote: >> For some of the files, like csharp or javascript, the backup plan is >> to just throw lots of warnings about missing symbols during byte >> compilation.=20 >>=20 >> I'm just surprised there is no html-mode in XEmacs. >>=20 >> Eric >>=20 >>>>> <kla...@sd...> seems to think that: ah, sorry, now i see... >>>=20 >>> Hmm, my answer is: Do not know - i'm not really firm with XEmacs... >>>=20 >>> But what about the following suggestion: >>>=20 >>> cedet should first test if all the needed resources are available >>> and only if byte-compile a library - ECB does such a check .... IMHO >>> "making" (i.e. byte-compiling) of such a valuable and also huge >>> suite as cedet must not fail cause of missing resources... IMHO some >>> intelligence is needed to prevent the make process from it... >>>=20 >>> Your plan with the condition-case and the backup plan is good but >>> IMHO not good enough because maybe there exists no backup-plan?! >>> Then the consequence should be that semantic-html.el can not be used >>> with XEmacs (not a big drama - at least IMHO ;-) and therefore it >>> should be excluded from the make-process or at least the >>> make-process should not stop cause of not able to byte-compile such >>> an add-on lib as semantic-html.el - AFAIK semantic-html.el is not >>> part of the cedet/semantic core which is needed by other tools... >>>=20 >>> Of course it would be better if always a backup-plan exists but >>> ........................ ;-)=20 >>>=20 >>> What do you think? >>>=20 >>> Eric M. Ludlam wrote: >>>> Sorry for not specifying what "that" is. >>>>=20 >>>> You suggested: >>>>>>> IMHO cedet should net require (at least not without protection >>>>>>> against failing) packages which are not guaranted being >>>>>>> contained in the distributions of (X)Emacs........ >>>>=20 >>>> and "that" is what I've done frequently... which is wrap stuff up >>>> like:=20 >>>>=20 >>>> (condition-case nil >>>> (require 'something-special) >>>> (error >>>> ;; Do backup plan here... >>>> nil)) >>>>=20 >>>> to protect it. >>>>=20 >>>> So the question is, what is the backup plan on that version of >>>> XEmacs. What else will supply html-mode? >>>>=20 >>>> Thanks >>>> Eric >>>>=20 >>>>=20 >>>>>>> <kla...@sd...> seems to think that: >>>>> What have you done frequently ?? >>>>>=20 >>>>> Does it mean for you byte-compiling cedet with XEmacs 21.4.19 >>>>> works??=20 >>>>>=20 >>>>> For me it can't because semantic-html.el contains >>>>>=20 >>>>> (require 'sgml-mode) >>>>>=20 >>>>> and XEmacs does not have any sgml-mode.el - not even in the >>>>> sumo-tarball!=20 >>>>>=20 >>>>> How byte-compiling cedet should work without that sgml-mode.el?! >>>>>=20 >>>>> Ciao, >>>>> Klaus >>>>>=20 >>>>> Klaus >>>>>=20 >>>>> Eric M. Ludlam wrote: >>>>>> That's fine. I've done that frequently. What does XEmacs 21.4.9 >>>>>> use instead of sgml-mode for html? Does it use an html-mode.el >>>>>> instead, or something else? If there is something there, it >>>>>> should use it.=20 >>>>>>=20 >>>>>> Thanks >>>>>> Eric >>>>>>=20 >>>>>>>>> <kla...@sd...> seems to think that: Hi Eric, >>>>>>>=20 >>>>>>> at least for me: >>>>>>>=20 >>>>>>> tryied to compile latest cedet pre4 with XEmacs 21.4.19 but >>>>>>> fails because semantic-html.el can not being byte-compiled >>>>>>> cause of missing sgml-mode.el - i have installed the >>>>>>> sumo-tarball for that XEmacs and it doesn't contain a >>>>>>> sgml-mode!!=20 >>>>>>>=20 >>>>>>> How do other compiling cedet-pre4 with XEmacs 21.4.19?? >>>>>>>=20 >>>>>>> IMHO cedet should net require (at least not without protection >>>>>>> against failing) packages which are not guaranted being >>>>>>> contained in the distributions of (X)Emacs........ >>>>>>>=20 >>>>>>> What do you think? >>>>>>>=20 >>>>>>> Klaus >>>>>>>=20 >>>>>>> Eric M. Ludlam wrote: >>>>>>>>>>> Kai Tischler <kai...@ka...> seems to think >>>>>>>>>>> that: >>>>>>>>> Invoking make for the CEDET main makefile stops soon with the >>>>>>>>> following error message:=20 >>>>>>>>>=20 >>>>>>>>> xemacs exiting. >>>>>>>>> Symbol's function definition is void: defadvicemake[1]: *** >>>>>>>>> [autoloads] Error 255=20 >>>>>>>>>=20 >>>>>>>>> OR >>>>>>>>>=20 >>>>>>>>> xemacs exiting. >>>>>>>>> Symbol's function definition is void: ad-add-advicemake[1]: >>>>>>>>> *** [autoloads] Error 255=20 >>>>>>>>>=20 >>>>>>>>>=20 >>>>>>>>> This is indeed NEW behaviour for me; I am not sure why I have >>>>>>>>> not experienced that before; any recommendations ? >>>>>>>> [ ... ] >>>>>>>>=20 >>>>>>>> Hi, >>>>>>>>=20 >>>>>>>> What version of XEmacs are you using, and which file is >>>>>>>> throwing that compilation error? >>>>>>>>=20 >>>>>>>> Thanks >>>>>>>> Eric >=20 > = -------------------------------------------------------------------------= > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Cedet-devel mailing list > Ced...@li... > https://lists.sourceforge.net/lists/listinfo/cedet-devel |