Re: package



"000.tushar@xxxxxxxxx" <000.tushar@xxxxxxxxx> writes:
I trying to load one library, which is giving the following error:-

Error: Package "user" does not exist. Use defpackage to create new
packages

have anyone seen this error? any clue ?

This must be an old library. Before the finalization of the Common
Lisp standard, the package COMMON-LISP-USER was named USER. You can
either create a new package named USER:

(defpackage "USER" (:use "CL"))

or add an nickname to the COMMON-LISP-USER package:

(rename-package (find-package "COMMON-LISP-USER")
"COMMON-LISP-USER ; we don't change the name
;; but we add a nickname:
(cons "USER" (package-nicknames "COMMON-LISP-USER)))



i have used this library many times before but it never given me this
error. suddenly, it start giving this error, i m not getting it.

Then perhaps you are missing loading a file defining the USER package,
or you are using now in a different environment (eg different
*FEATURES*) which makes it use the USER package now.

--
__Pascal Bourguignon__ http://www.informatimago.com/

"What is this talk of "release"? Klingons do not make software
"releases". Our software "escapes" leaving a bloody trail of
designers and quality assurance people in its wake."
.



Relevant Pages