unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* cannot open load file
@ 2009-03-05  0:59 lehe
  2009-03-05  9:35 ` Nikolaj Schumacher
  0 siblings, 1 reply; 10+ messages in thread
From: lehe @ 2009-03-05  0:59 UTC (permalink / raw)
  To: Help-gnu-emacs


Hi,

I just installed bash debugger bashdb under ${HOME}/bin/bashdb-4.0-0.2/bin.
Now I want to use it in emacs. 

As bashdb.el indicates, I add into .emacs "(autoload 'bashdb "bashdb" "BASH
Debugger mode via GUD and bashdb" t)". However I got this "cannot open load
file: bashdb" error when "M-x bashdb". The error remains when I add this to
".emacs": 
(setq load-path 
      (append (list nil "${HOME}/bin/bashdb-4.0-0.2/bin/" 
                    "/user/bil/emacs" 
                    "/usr/local/lisplib" 
                    "~/emacs") 
              load-path)) 
I am not sure if PATH also has effect, but I include bashdb path into it. 


Thanks in advance! 

-- 
View this message in context: http://www.nabble.com/cannot-open-load-file-tp22343139p22343139.html
Sent from the Emacs - Help mailing list archive at Nabble.com.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: cannot open load file
  2009-03-05  0:59 cannot open load file lehe
@ 2009-03-05  9:35 ` Nikolaj Schumacher
  0 siblings, 0 replies; 10+ messages in thread
From: Nikolaj Schumacher @ 2009-03-05  9:35 UTC (permalink / raw)
  To: lehe; +Cc: Help-gnu-emacs

lehe <timlee126@yahoo.com> wrote:  > (setq load-path  > 
(append (list nil "${HOME}/bin/bashdb-4.0-0.2/bin/"  > 
"/user/bil/emacs"  >                     "/usr/local/lisplib"  > 
"~/emacs")  >               load-path))

You only need the path that includes the .el file here, but I 
think you need to expand ~ and HOME first.

(add-to-list 'load-path (expand-file-name "~/emacs"))


regards,
Nikolaj Schumacher




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Cannot open load file
@ 2010-04-12 13:20 rahed
  2010-04-12 15:28 ` tomas
  0 siblings, 1 reply; 10+ messages in thread
From: rahed @ 2010-04-12 13:20 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I installed an emacs 23.1 package from sunfreeware on solaris.

Opening it with emacs -Q and doing C-h v load-path gives:

Cannot open load file: easymenu

If started with -L /usr/local/share/emacs/23.1/lisp/emacs-lisp

the easymenu is found.

Then C-h v load-path gives only the above path and site-lisp paths.

The load path variable is not set, could someone elaborate?

-- 
Radek





^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Cannot open load file
  2010-04-12 13:20 Cannot " rahed
@ 2010-04-12 15:28 ` tomas
  2010-04-12 16:00   ` Peter Dyballa
  2010-04-12 20:04   ` rahed
  0 siblings, 2 replies; 10+ messages in thread
From: tomas @ 2010-04-12 15:28 UTC (permalink / raw)
  To: rahed; +Cc: help-gnu-emacs

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Apr 12, 2010 at 03:20:26PM +0200, rahed wrote:
> Hi,
> 
> I installed an emacs 23.1 package from sunfreeware on solaris.
> 
> Opening it with emacs -Q and doing C-h v load-path gives:
> 
> Cannot open load file: easymenu
> 
> If started with -L /usr/local/share/emacs/23.1/lisp/emacs-lisp
> 
> the easymenu is found.
> 
> Then C-h v load-path gives only the above path and site-lisp paths.
> 
> The load path variable is not set, could someone elaborate?

Hm. Difficult to elaborate without knowing what you expect. Starting
Emacs with the -Q option more-or-less tells it to load as little
customizations as possible, so I wouldn't be surprised if it doesn't
find its .el files...

What do you expect, and why?

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFLwzwLBcgs9XrR2kYRAvu9AJ946nsya67ET5NNnFAZC6eC9if/qgCeK+wV
bBgAyzEzzjutRVZKnjBCM0U=
=hiEj
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Cannot open load file
  2010-04-12 15:28 ` tomas
@ 2010-04-12 16:00   ` Peter Dyballa
  2010-04-12 19:16     ` tomas
  2010-04-12 20:04   ` rahed
  1 sibling, 1 reply; 10+ messages in thread
From: Peter Dyballa @ 2010-04-12 16:00 UTC (permalink / raw)
  To: tomas; +Cc: help-gnu-emacs, rahed


Am 12.04.2010 um 17:28 schrieb tomas@tuxteam.de:

> What do you expect, and why?

Having load-path set, because it's built-in. Try it! (Outside of  
Solaris best.)

--
Greetings

   Pete

Time flies like an error – but fruit flies like a banana!
				- (almost) Groucho Marx





^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Cannot open load file
  2010-04-12 16:00   ` Peter Dyballa
@ 2010-04-12 19:16     ` tomas
  0 siblings, 0 replies; 10+ messages in thread
From: tomas @ 2010-04-12 19:16 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: help-gnu-emacs, rahed

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Apr 12, 2010 at 06:00:24PM +0200, Peter Dyballa wrote:
>
> Am 12.04.2010 um 17:28 schrieb tomas@tuxteam.de:
>
>> What do you expect, and why?
>
> Having load-path set, because it's built-in. Try it! (Outside of Solaris 
> best.)

Indeed (no Solaris here, Debian GNU/Linux). Seems to be a problem with
the sunfreeware distribution?

Any sunfreewarers out there?

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFLw3GHBcgs9XrR2kYRAnvzAJ9XiHqjKKfG5saFD2vHGbYbNeqbxQCfXAFm
S2UXSl5uXxRLFE9mC49T9+I=
=lbp6
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Cannot open load file
  2010-04-12 15:28 ` tomas
  2010-04-12 16:00   ` Peter Dyballa
@ 2010-04-12 20:04   ` rahed
  2010-04-12 20:17     ` Peter Dyballa
  2010-04-13 12:02     ` rahed
  1 sibling, 2 replies; 10+ messages in thread
From: rahed @ 2010-04-12 20:04 UTC (permalink / raw)
  To: help-gnu-emacs

tomas@tuxteam.de writes:

> Hm. Difficult to elaborate without knowing what you expect. Starting
> Emacs with the -Q option more-or-less tells it to load as little
> customizations as possible, so I wouldn't be surprised if it doesn't
> find its .el files...
>
> What do you expect, and why?

To eliminate possible problems with my .emacs.

I wasn't able to find out where the load-path variable is defined. I get
it's set in the emacs binary when it was being built. I will try to
build it from source. I use several emacs packages for solaris 10 but
this broken one is for solaris 9.

-- 
Radek





^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Cannot open load file
  2010-04-12 20:04   ` rahed
@ 2010-04-12 20:17     ` Peter Dyballa
  2010-04-13 12:02     ` rahed
  1 sibling, 0 replies; 10+ messages in thread
From: Peter Dyballa @ 2010-04-12 20:17 UTC (permalink / raw)
  To: rahed; +Cc: help-gnu-emacs


Am 12.04.2010 um 22:04 schrieb rahed:

> I wasn't able to find out where the load-path variable is defined.

Look at the output of ./configure --help! The file src/epaths.h will  
contain a setting.

--
Greetings

   Pete

Only two things are infinite, the universe and human stupidity, and  
I'm not sure about the former.
				– Albert Einstein





^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Cannot open load file
  2010-04-12 20:04   ` rahed
  2010-04-12 20:17     ` Peter Dyballa
@ 2010-04-13 12:02     ` rahed
  2010-04-13 12:47       ` Peter Dyballa
  1 sibling, 1 reply; 10+ messages in thread
From: rahed @ 2010-04-13 12:02 UTC (permalink / raw)
  To: help-gnu-emacs

rahed <raherh@gmail.com> writes:

> I wasn't able to find out where the load-path variable is defined. I get
> it's set in the emacs binary when it was being built. I will try to
> build it from source. I use several emacs packages for solaris 10 but
> this broken one is for solaris 9.

Installing from source was ok though it was tedious. I suppose the
package is broken.

-- 
Radek





^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Cannot open load file
  2010-04-13 12:02     ` rahed
@ 2010-04-13 12:47       ` Peter Dyballa
  0 siblings, 0 replies; 10+ messages in thread
From: Peter Dyballa @ 2010-04-13 12:47 UTC (permalink / raw)
  To: rahed; +Cc: help-gnu-emacs


Am 13.04.2010 um 14:02 schrieb rahed:

> Installing from source was ok though it was tedious. I suppose the
> package is broken.


When you use the function to create a bug report (in Help menu for  
example) you get a *mail* buffer (hopefully) which gives some hints  
how GNU Emacs was configured and compiled. You can also check which  
shared libraries it uses (either lsof or ldd).

--
Greetings

   Pete

It isn't pollution that's harming the environment. It's the impurities  
in our air and water that are doing it.





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-04-13 12:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-05  0:59 cannot open load file lehe
2009-03-05  9:35 ` Nikolaj Schumacher
  -- strict thread matches above, loose matches on Subject: below --
2010-04-12 13:20 Cannot " rahed
2010-04-12 15:28 ` tomas
2010-04-12 16:00   ` Peter Dyballa
2010-04-12 19:16     ` tomas
2010-04-12 20:04   ` rahed
2010-04-12 20:17     ` Peter Dyballa
2010-04-13 12:02     ` rahed
2010-04-13 12:47       ` Peter Dyballa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).