Hello geeks,
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 ?
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.
thanks in advance.
-Tushar
···········@gmail.com" <··········@gmail.com> writes:
> Error: Package "user" does not exist. Use defpackage to create new
> packages
>
> have anyone seen this error? any clue ?
It's exactly what it says: There is an attempt to access a package
denoted by "user" (is it really this or actually "USER"?). :user is a
typical (but not standard) nickname for the standard package
:common-lisp-user (which has a standard nickname of :cl-user).
http://www.lispworks.com/documentation/HyperSpec/Body/11_abb.htm
> 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.
Switched implementations lately?
/Jon
--
'j' - a n t h o n y at romeo/charley/november com
···········@gmail.com" <··········@gmail.com> 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."