#2 Still get "Cannot open load file" error

ver 1.6.0
closed
5
2006-04-23
2006-03-05
Braden McDaniel
No

I'm trying to install Doxymacs in GNU Emacs 21.4. In
spite of trying to set EMACSLOADPATH, I'm still getting
this error:

!! File error (("Cannot open load file" "url"))

Here's the result of running "make":

$ make
EMACSLOADPATH=/usr/share/emacs/21.4/lisp:/usr/share/emacs/21.4/site-lisp:/usr/share/emacs/site-lisp
Making all in c
make[1]: Entering directory
`/home/braden/src/doxymacs-1.6.0/c'
if gcc -DPACKAGE_NAME=\"doxymacs\"
-DPACKAGE_TARNAME=\"doxymacs\"
-DPACKAGE_VERSION=\"1.6.0\"
-DPACKAGE_STRING=\"doxymacs\ 1.6.0\"
-DPACKAGE_BUGREPORT=\"http://sourceforge.net/projects/doxymacs\"
-DPACKAGE=\"doxymacs\" -DVERSION=\"1.6.0\"
-DSTDC_HEADERS=1 -DHAVE_STRDUP=1 -I. -I.
-I/usr/include/libxml2 -Wall
-fexpensive-optimizations -fomit-frame-pointer -g -O2
-MT doxymacs_parser.o -MD -MP -MF
".deps/doxymacs_parser.Tpo" -c -o doxymacs_parser.o
doxymacs_parser.c; \ then mv -f ".deps/doxymacs_parser.Tpo"
".deps/doxymacs_parser.Po"; else rm -f
".deps/doxymacs_parser.Tpo"; exit 1; fi
doxymacs_parser.c: In function ‘XMLTagChild’:
doxymacs_parser.c:131: warning: pointer targets in
return differ in signedness
gcc -Wall -fexpensive-optimizations
-fomit-frame-pointer -g -O2 -o doxymacs_parser
doxymacs_parser.o -lxml2 -lz -lpthread -lm
make[1]: Leaving directory
`/home/braden/src/doxymacs-1.6.0/c'
Making all in lisp
make[1]: Entering directory
`/home/braden/src/doxymacs-1.6.0/lisp'
WARNING: Warnings can be ignored. :-)
if test "emacs" != no; then \ set x; \ list='xml-parse.el doxymacs.el'; for p in $list; do \ if test -f "$p"; then d=; else d="./"; fi; \ set x "$@" "$d$p"; shift; \ done; \ shift; \ EMACS="emacs" /bin/sh ../elisp-comp "$@" || exit 1; \ else : ; fi
Loading
/usr/share/emacs/site-lisp/site-start.d/igrep-init.el
(source)...
Loading
/usr/share/emacs/site-lisp/site-start.d/iiimf-init.el
(source)...
Loading
/usr/share/emacs/site-lisp/site-start.d/lang-coding-systems-init.el
(source)...
Loading
/usr/share/emacs/site-lisp/site-start.d/php-mode-init.el
(source)...
Loading
/usr/share/emacs/site-lisp/site-start.d/po-mode-init.el
(source)...
Loading
/usr/share/emacs/site-lisp/site-start.d/psgml-init.el
(source)...
Loading
/usr/share/emacs/site-lisp/site-start.d/python-mode-init.el
(source)...
Loading
/usr/share/emacs/site-lisp/site-start.d/rpm-spec-mode-init.el
(source)...
Loading
/usr/share/emacs/site-lisp/site-start.d/ruby-mode-init.el
(source)...
Loading
/usr/share/emacs/site-lisp/site-start.d/tramp-init.el
(source)...
While compiling toplevel forms in file
/home/braden/src/doxymacs-1.6.0/lisp/elc.1354/doxymacs.el:
!! File error (("Cannot open load file" "url"))
Wrote
/home/braden/src/doxymacs-1.6.0/lisp/elc.1354/xml-parse.elc
Done
make[2]: Entering directory
`/home/braden/src/doxymacs-1.6.0/lisp'
WARNING: Warnings can be ignored. :-)
if test "emacs" != no; then \ set x; \ list='xml-parse.el doxymacs.el'; for p in $list; do \ if test -f "$p"; then d=; else d="./"; fi; \ set x "$@" "$d$p"; shift; \ done; \ shift; \ EMACS="emacs" /bin/sh ../elisp-comp "$@" || exit 1; \ else : ; fi
Loading
/usr/share/emacs/site-lisp/site-start.d/igrep-init.el
(source)...
Loading
/usr/share/emacs/site-lisp/site-start.d/iiimf-init.el
(source)...
Loading
/usr/share/emacs/site-lisp/site-start.d/lang-coding-systems-init.el
(source)...
Loading
/usr/share/emacs/site-lisp/site-start.d/php-mode-init.el
(source)...
Loading
/usr/share/emacs/site-lisp/site-start.d/po-mode-init.el
(source)...
Loading
/usr/share/emacs/site-lisp/site-start.d/psgml-init.el
(source)...
Loading
/usr/share/emacs/site-lisp/site-start.d/python-mode-init.el
(source)...
Loading
/usr/share/emacs/site-lisp/site-start.d/rpm-spec-mode-init.el
(source)...
Loading
/usr/share/emacs/site-lisp/site-start.d/ruby-mode-init.el
(source)...
Loading
/usr/share/emacs/site-lisp/site-start.d/tramp-init.el
(source)...
While compiling toplevel forms in file
/home/braden/src/doxymacs-1.6.0/lisp/elc.1385/doxymacs.el:
!! File error (("Cannot open load file" "url"))
Wrote
/home/braden/src/doxymacs-1.6.0/lisp/elc.1385/xml-parse.elc
Done
make[2]: Leaving directory
`/home/braden/src/doxymacs-1.6.0/lisp'
make[1]: Leaving directory
`/home/braden/src/doxymacs-1.6.0/lisp'
Making all in no-autoconf
make[1]: Entering directory
`/home/braden/src/doxymacs-1.6.0/no-autoconf'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/home/braden/src/doxymacs-1.6.0/no-autoconf'
make[1]: Entering directory
`/home/braden/src/doxymacs-1.6.0'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory
`/home/braden/src/doxymacs-1.6.0'

Perhaps I'm missing some dependency; but it's not
apparent to me what that is.

Discussion

  • Logged In: YES
    user_id=152677

    For me, running the latest stable Mandrake:

    Mandriva Linux release 2006.0 (Official) for i586

    url.el is located here for some reason:

    $ locate url.el
    /etc/emacs/site-start.d/url.el

    and it belongs to this package:

    $ rpm -q -f /etc/emacs/site-start.d/url.el
    emacs-url-2001.11.08-6mdk

    Your distro may have it somewhere else in a different package.

    Hope this helps.

     
  • Logged In: YES
    user_id=152677

    If you are using Ubuntu, you can just

    sudo apt-get install doxymacs

    or, if you still want to build from source,

    sudo apt-get install w3-url-lisp

    Hope that helps.

     
  • Logged In: YES
    user_id=16099

    So that's what I'm missing.

    Unfortunately, I can't find a package with that anywhere for
    Fedora Core 4. I see it's now in Emacs CVS; unfortunately
    I'm having some trouble compiling it with emacs 21.4. I
    guess I'm out of luck.

     
  • Logged In: YES
    user_id=16099

    I copied the uncompiled url*.el files from Emacs CVS into my
    elisp directory and things *seem* to be working so far.

    The only thing I've encountered that doesn't work is
    doxymacs-font-lock; no error message, but no font change.
    This is probably completely unrelated to my other problems;
    it may have more to do with the fact that I'm using the
    latest cc-mode (5.31.3).

    If things seem to go awry, I'll check out the package you
    mentioned.

    Thanks for your help.

     
  • Logged In: YES
    user_id=152677

    If your font-lock problems persist, open a new support
    request. Closing this one as your URL problems seem to be
    solved.

     
    • status: open --> closed