The integrated cross-platform development tool for ANSI Common Lisp LispWorks logo

Lisp Knowledgebase



Title: Error: Defining system package ...

ID: 17042


Product: LispWorks
Version: All
OS: All

Description:
While trying to load certain libraries (in this example clsql-postgresql) this error is signalled:

Error: Defining system package POSTGRESQL.
 1 (continue) Define it anyway.
 2 (abort) Return to level 0.
 3 Return to top loop level 0.


Type :b for backtrace, :c <option number> to proceed,  or :? for other options


The LispWorks system packages are protected from (re)definitions on the packages listed in the variable hcl:*packages-for-warn-on-redefinition*.

"POSTGRESQL" is included because some editions of LispWorks include a package of this name.

To allow definitions on a package POSTGRESQL you can do:

(setq hcl:*packages-for-warn-on-redefinition*
     (remove-if (lambda (package-name)
                  (member package-name
                          '("POSTGRESQL"
                            ;; Add other package names if necessary.
                            )
                          :test #'string-equal))
                *packages-for-warn-on-redefinition*))


The packages protected by the initial value of hcl:*packages-for-warn-on-redefinition* in LispWorks 5.0 are:

AMD64
ATSUI
CAPI
CAPI-COCOA-LIBRARY
CAPI-INTERNALS
CAPI-LAYOUT
API-LIBRARY
CAPI-MOTIF-LIBRARY
CAPI-POSTSCRIPT-LIBRARY
CAPI-TOOLKIT
CAPI-WIN32-LIB
CARBON
CLIM
CLIM-DEFSYSTEM
CLIM-INTERNALS
CLIM-LISP
CLIM-SILICA
CLIM-SYS
CLIM-UTILS
CLOG-VAR
CLOS
COCOA
COLOR
COM
COMM
COMMON-LISP
COMMON-PROLOG
COMMON-UTILITIES
COMPILER
CONDITIONS
CONSTANTS
CORBA
CORBA-INTERNAL
CORE-GRAPHICS
COSNAMING
DBG
DELIVERY
DSPEC
EDITOR
ENVIRONMENT
ENVIRONMENT-INTERNALS
EXE-PARSER
EXTERNAL-FORMAT
FLI
FLI-INTERNALS
FOREIGN
FOREIGN-PARSER
GENERATOR
GRAPHICS-PORTS
HARLEQUIN-COMMON-LISP
HARP
HQN-WEB
INS
INTERFACE-BUILDER
KEYWORD
KW
KW-TOOLS
LISPWORKS
LISPWORKS-TOOLS
LOOP
LOW64
LW-XP
MAIL
MATCH
MP
OBJC
ODBC-COMMON
OMG.ORG/OPERATION
OMG.ORG/PORTABLESERVER
OMG.ORG/ROOT
PARSERGEN
PC386
PKG
POSTGRESQL
POSTSCRIPT-CLIM
RAW
RC-PARSER
REG
RS6K
RUNTIME
SAVED-STUFF
SCM
SERIAL-PORT
SETF
SHELL
SNAKE
SQL
SQL-COMMON
STEPPER
STREAM
STRUCTURE
SYSTEM
TRANS
TYPE
WALKER
WIN32
WIN32-LIB-CLIM
WSPARC
X-INTERNALS
X-LIBRARY
X-TOOLS
X-UTILITIES
XM-INTERNALS
XM-LIB-CLIM
XM-LIBRARY
XMA-LIBRARY
XT-INTERNALS
XT-LIBRARY

See Also:
Workaround:
Patch:

Hardware:N/A
Summary:
Bug#:
Patch Enhancement#:
Reported:

Top | Back