emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-babel installation failing using the latest version from git repo and emacs 23.1.50.1
@ 2009-10-15 15:02 Marcelo de Moraes Serpa
  2009-10-15 17:01 ` [babel] " Dan Davison
  0 siblings, 1 reply; 4+ messages in thread
From: Marcelo de Moraes Serpa @ 2009-10-15 15:02 UTC (permalink / raw)
  To: Org Mode


[-- Attachment #1.1: Type: text/plain, Size: 2477 bytes --]

Hello,

Well, I'm very, very excited to start using org-babel and making cool stuff
with it. However, I could not yet get it to work here.

The first thing that is not working, and I hope some more emacs-savvy users
could put me in the right direction is that, I have this code in my .emacs:

;ORG MODE CONFIGURATION
> (setq load-path (cons "/home/marcelo/emacs.d/org-mode/lisp" load-path))
> (setq load-path (cons "/home/marcelo/emacs.d/org-mode/contrib/lisp/"
> load-path))
>

The directory does have org-babel-init:

~/.emacs.d/org-mode/contrib/lisp$ ls
> htmlize.el
> org2rem.el
> org-annotate-file.el
> org-annotation-helper.el
> *org-babel-init.el*
> org-bookmark.el
> org-browser-url.el
> org-checklist.el
> org-choose.el
> org-collector.el
> org-contribdir.el
> org-depend.el
> org-elisp-symbol.el
> org-eval.el
> org-eval-light.el
> org-exp-bibtex.el
> org-expiry.el
> org-export-generic.el
> org-interactive-query.el
> org-invoice.el
> org-jira.el
> org-mac-iCal.el
> org-mairix.el
> org-man.el
> org-mtags.el
> org-panel.el
> org-registry.el
> org-R.el
> org-screen.el
> org-special-blocks.el
> orgtbl-sqlinsert.el
> org-toc.el
> org-track.el
>

I have this code in the bottom my of .emacs:

(require 'org-babel-init)

(require 'org-babel-R)         ;; requires R and ess-mode
(require 'org-babel-ruby)      ;; requires ruby, irb, ruby-mode, and
inf-ruby
(require 'org-babel-python)    ;; requires python, and python-mode

When I try to evaluate the buffer (or when I restart emacs for that matter),
I get the following error:

Debugger entered--Lisp error: (file-error "Cannot open load file"
"org-babel-init")

What am I doing wrong?

Also, the second question I have is, even when I start emacs with -q flag
(don't load init files), there are org functions loaded. They differ
slightly in their quantity I guess, for example, I did not find the
org-version in this case. However, I have searched for org files in the disk
and didn't find anything besides my org files pulled from the official git
repo. Where are do emacs keep the built-in org package? (I'm using Ubuntu
9.10). I'm asking this because I don't want to use the version that comes
with emacs, but the latest, bleeding edge one directly from the git repo.

And by the way, when I use the one from the git repo, the org-version func
returns:

Org-mode version 6.30c
>

And I have the lastest commit from branch master from this repo:  git://
repo.or.cz/org-mode.git

Is it correct?

Thanks!

Marcelo.

[-- Attachment #1.2: Type: text/html, Size: 3205 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* [babel] Re: org-babel installation failing using the latest version from git repo and emacs 23.1.50.1
  2009-10-15 15:02 org-babel installation failing using the latest version from git repo and emacs 23.1.50.1 Marcelo de Moraes Serpa
@ 2009-10-15 17:01 ` Dan Davison
  2009-10-17 16:20   ` Eric S Fraga
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Davison @ 2009-10-15 17:01 UTC (permalink / raw)
  To: Marcelo de Moraes Serpa; +Cc: Org Mode

Hi Marcelo,

(Please note that we've agreed to tag org-babel messages with "[babel]")

Marcelo de Moraes Serpa <celoserpa@gmail.com> writes:

> Hello,
>
> Well, I'm very, very excited to start using org-babel and making cool stuff
> with it. However, I could not yet get it to work here.

OK, we must fix this.

I created the file /home/marcelo/emacs.d/emacs.el containing

--8<---------------cut here---------------start------------->8---
(setq load-path (cons "/home/marcelo/emacs.d/org-mode/lisp" load-path))
(setq load-path (cons "/home/marcelo/emacs.d/org-mode/contrib/lisp/" load-path))
(require 'org-install)
(require 'org-babel-init)
(require 'org-babel-python)
--8<---------------cut here---------------end--------------->8---

Then I did

emacs -q -l /home/marcelo/emacs.d/emacs.el

and it starts fine. org-version is "6.31trans". Does that work for you?

> Also, the second question I have is, even when I start emacs with -q flag
> (don't load init files), there are org functions loaded. They differ slightly
> in their quantity I guess, for example, I did not find the org-version in this
> case. However, I have searched for org files in the disk and didn't find
> anything besides my org files pulled from the official git repo. Where are do
> emacs keep the built-in org package? (I'm using Ubuntu 9.10). I'm asking this
> because I don't want to use the version that comes with emacs, but the latest,
> bleeding edge one directly from the git repo.

I'm also on ubuntu (9.04) using emacs-snapshot package. I have org files
at

/usr/share/emacs/23.0.91/lisp/org/

they shouldn't cause problems with the set up above. You could rename
that directory if you wanted. It does look like your having problems
loading the right versions.

>
> And by the way, when I use the one from the git repo, the org-version func
> returns:
>
>
>     Org-mode version 6.30c

Hmm, should be 

Org-mode version 6.31trans (release_6.31.68.g93f3)

I believe the function org-version should give you info on the latest
git commit like it did for me. So perhaps you are getting the org files
that came with emacs and not the git release. 

I'm not on ubuntu 9.10 yet. Carsten / others -- is 6.30c what you'd get
with emacs 23 on the current ubuntu beta release, or is org frozen at
6.21 in emacs23?

>
>
> And I have the lastest commit from branch master from this repo:  git://
> repo.or.cz/org-mode.git
>
> Is it correct?

Latest commit is 93f3968e3f6cb5bf29a2d089457676c5b4a7b694.

You can see the first 4 characters of the commit id in the output from
org-version above.

Dan



>
> Thanks!
>
> Marcelo.
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: [babel] Re: org-babel installation failing using the latest version from git repo and emacs 23.1.50.1
  2009-10-15 17:01 ` [babel] " Dan Davison
@ 2009-10-17 16:20   ` Eric S Fraga
  2009-10-17 17:28     ` Dirk-Jan C. Binnema
  0 siblings, 1 reply; 4+ messages in thread
From: Eric S Fraga @ 2009-10-17 16:20 UTC (permalink / raw)
  To: Dan Davison; +Cc: Org Mode

At Thu, 15 Oct 2009 13:01:46 -0400,
Dan Davison wrote:

> I'm not on ubuntu 9.10 yet. Carsten / others -- is 6.30c what you'd get
> with emacs 23 on the current ubuntu beta release, or is org frozen at
> 6.21 in emacs23?

I can't speak for ubuntu but Debian's unstable version of emacs (which
I'm using) is at 23.1 and it's bundling org-mode 6.21b.

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

* Re: [babel] Re: org-babel installation failing using the latest version from git repo and emacs 23.1.50.1
  2009-10-17 16:20   ` Eric S Fraga
@ 2009-10-17 17:28     ` Dirk-Jan C. Binnema
  0 siblings, 0 replies; 4+ messages in thread
From: Dirk-Jan C. Binnema @ 2009-10-17 17:28 UTC (permalink / raw)
  To: Eric S Fraga; +Cc: Dan Davison, Org Mode

Hi Dan,

>>>>> "Eric" == Eric S Fraga <ucecesf@ucl.ac.uk> writes:

    Eric> At Thu, 15 Oct 2009 13:01:46 -0400,
    Eric> Dan Davison wrote:

    >> I'm not on ubuntu 9.10 yet. Carsten / others -- is 6.30c what you'd get
    >> with emacs 23 on the current ubuntu beta release, or is org frozen at
    >> 6.21 in emacs23?

    Eric> I can't speak for ubuntu but Debian's unstable version of emacs (which
    Eric> I'm using) is at 23.1 and it's bundling org-mode 6.21b.

% cat /etc/issue.net ; apt-cache show org-mode | grep Version
Ubuntu karmic (development branch)
Version: 6.27a-1

Best wishes,
Dirk.

-- 
Dirk-Jan C. Binnema                  Helsinki, Finland
e:djcb@djcbsoftware.nl           w:www.djcbsoftware.nl
pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C

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

end of thread, other threads:[~2009-10-17 19:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-15 15:02 org-babel installation failing using the latest version from git repo and emacs 23.1.50.1 Marcelo de Moraes Serpa
2009-10-15 17:01 ` [babel] " Dan Davison
2009-10-17 16:20   ` Eric S Fraga
2009-10-17 17:28     ` Dirk-Jan C. Binnema

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).