1 |
hi, |
2 |
|
3 |
i am using the latest gentoo i.e. 2004.1, and i have some problem |
4 |
emerging app-emacs/bbdb. but it fails with the following error messages: |
5 |
|
6 |
,---- |
7 |
| In toplevel form: |
8 |
| bits/bbdb-anniv.el:66:1:Error: Cannot open load file: bbdb |
9 |
| |
10 |
| In toplevel form: |
11 |
| bits/bbdb-edit.el:32:1:Error: Cannot open load file: bbdb |
12 |
| Wrote /var/tmp/portage/bbdb-2.34-r1/work/bbdb-2.34/bits/bbdb-mail-folders.elc |
13 |
| |
14 |
| In toplevel form: |
15 |
| bits/bbdb-pgp.el:94:1:Error: Cannot open load file: bbdb |
16 |
| |
17 |
| In end of data: |
18 |
| bits/bbdb-signature.el:193:1:Warning: the following functions are not known to |
19 |
| be defined: bbdb-search-simple, bbdb-record-getprop |
20 |
| Wrote /var/tmp/portage/bbdb-2.34-r1/work/bbdb-2.34/bits/bbdb-signature.elc |
21 |
| |
22 |
| In bbdb/calendar-mark-entries: |
23 |
| bits/bbdb-sort-mailrc.el:74:18:Warning: reference to free variable |
24 |
| displayed-month |
25 |
| bits/bbdb-sort-mailrc.el:75:17:Warning: reference to free variable |
26 |
| displayed-year |
27 |
| |
28 |
| In bbdb/calendar-mark-month: |
29 |
| bits/bbdb-sort-mailrc.el:83:4:Warning: `message' called with 2 args to fill 0 |
30 |
| format field(s) |
31 |
| |
32 |
| In bbdb/calendar-list-entries: |
33 |
| bits/bbdb-sort-mailrc.el:92:4:Warning: `message' called with 2 args to fill 0 |
34 |
| format field(s) |
35 |
| bits/bbdb-sort-mailrc.el:94:56:Warning: reference to free variable |
36 |
| original-date |
37 |
| bits/bbdb-sort-mailrc.el:95:23:Warning: reference to free variable number |
38 |
| |
39 |
| In bbdb-record-mail-aliases: |
40 |
| bits/bbdb-sort-mailrc.el:188:42:Warning: reference to free variable |
41 |
| bbdb-define-all-aliases-field |
42 |
| |
43 |
| In bbdb-check-mail-alias: |
44 |
| bits/bbdb-sort-mailrc.el:207:37:Warning: reference to free variable |
45 |
| bbdb-define-all-aliases-field |
46 |
| |
47 |
| In my-define-mail-abbrev: |
48 |
| bits/bbdb-sort-mailrc.el:228:15:Warning: local-write-file-hooks is an obsolete |
49 |
| variable since 21.4; use write-file-functions instead. |
50 |
| bits/bbdb-sort-mailrc.el:228:10:Warning: local-write-file-hooks is an obsolete |
51 |
| variable since 21.4; use write-file-functions instead. |
52 |
| |
53 |
| In end of data: |
54 |
| bits/bbdb-sort-mailrc.el:307:1:Warning: the following functions are not known |
55 |
| to be defined: add-to-diary-list, bbdb-records, bbdb-record-getprop, |
56 |
| bbdb-split, bbdb-record-name, parse-string-end, bbdb-current-record, |
57 |
| bbdb-redisplay-one-record, bbdb-record-net, bbdb-record-putprop, |
58 |
| bbdb-dwim-net-address, bbdb-define-all-aliases, bbdb-cache-sortkey, |
59 |
| bbdb-record-cache, bbdb-cache-set-sortkey, bbdb-record-lastname, |
60 |
| bbdb-record-firstname, bbdb-record-company |
61 |
| Wrote /var/tmp/portage/bbdb-2.34-r1/work/bbdb-2.34/bits/bbdb-sort-mailrc.elc |
62 |
| |
63 |
| In toplevel form: |
64 |
| bits/bbdb-to-outlook.el:35:1:Error: Cannot open load file: bbdb |
65 |
| |
66 |
| In date-insert-today: |
67 |
| bits/dates.el:94:4:Warning: insert-string is an obsolete function since 21.4; |
68 |
| use insert instead. |
69 |
| |
70 |
| In end of data: |
71 |
| bits/dates.el:214:1:Warning: the following functions are not known to be |
72 |
| defined: f, f/ |
73 |
| Wrote /var/tmp/portage/bbdb-2.34-r1/work/bbdb-2.34/bits/dates.elc |
74 |
| Wrote /var/tmp/portage/bbdb-2.34-r1/work/bbdb-2.34/bits/point-at.elc |
75 |
| |
76 |
| !!! ERROR: app-emacs/bbdb-2.34-r1 failed. |
77 |
| !!! Function src_compile, Line 49, Exitcode 1 |
78 |
| !!! (no error message) |
79 |
`---- |
80 |
|
81 |
reason for the problem: |
82 |
|
83 |
the error messages are generated during the byte compilation of the |
84 |
bbdb/bits/*.el files. the problem is due to the fact that lisp files in |
85 |
bbdb/lisp/*.el (which are referenced from bbdb/bits/*.el) are not in the |
86 |
load path. |
87 |
|
88 |
solution: |
89 |
|
90 |
simply adding bbdb/lisp/ to the load-path does the trick. |
91 |
|
92 |
the diffs: |
93 |
|
94 |
i am not sure how the patches are submitted for ebuild problems. so i |
95 |
am submitting a normal diff. if the required format is different please |
96 |
let me know, and i will do the needful. thanks ! |
97 |
|
98 |
,---- |
99 |
| --- /usr/portage/app-emacs/bbdb/bbdb-2.34-r1.ebuild 2004-04-25 22:40:13.000000000 +0530 |
100 |
| +++ /root/anupam-bbdb-2.34-r1.ebuild 2004-06-02 12:27:44.010057056 +0530 |
101 |
| @@ -44,7 +44,7 @@ |
102 |
| |
103 |
| econf --with-emacs=emacs || die "econf failed" |
104 |
| make || die |
105 |
| - echo "(add-to-list 'load-path \"${S}/bits\")" > ${T}/lp.el |
106 |
| + echo "(setq load-path (append '(\"${S}/lisp\" \"${S}/bits\") load-path))" > ${T}/lp.el |
107 |
| emacs -batch -q --no-site-file --no-init-file \ |
108 |
| -l ${T}/lp.el -f batch-byte-compile bits/*.el || die |
109 |
| } |
110 |
`---- |
111 |
|
112 |
|
113 |
if you require any clarifications from my end, please do let me know. |
114 |
|
115 |
thank you |
116 |
kind regards |
117 |
anupam |
118 |
|
119 |
-- |
120 |
gentoo-dev@g.o mailing list |