Can someone help me with an asdf problem I don’t understand.
When I load quicklisp I get the warning (below) apparently from ASDF. Advise (b) says that I might: install a newer ASDF and register it in front of the former in your configuration,
Can someone explain to me how I can do that?
I’m working on a machine where I don’t have administrator rights so I can’t change anything in /usr etc. I’ve installed and compiled sbcl locally, as well as downloaded a local copy of the newest asdf under my home directory.
Thanks. Jim
WARNING: You are using ASDF version 3.1.3 (probably from (require "asdf") or loaded by quicklisp) and have an older version of ASDF 3.0.2 registered at #P"/usr/local/share/common-lisp/source/asdf/asdf.asd". Having an ASDF installed and registered is the normal way of configuring ASDF to upgrade itself, and having an old version registered is a configuration error. ASDF will ignore this configured system rather than downgrade itself. In the future, you may want to either: (a) upgrade this configured ASDF to a newer version, (b) install a newer ASDF and register it in front of the former in your configuration, or (c) uninstall or unregister this and any other old version of ASDF from your configuration. Note that the older ASDF might be registered implicitly through configuration inherited from your system installation, in which case you might have to specify :ignore-inherited-configuration in your in your ~/.config/common-lisp/source-registry.conf or other source-registry configuration file, environment variable or lisp parameter. Indeed, a likely offender is an obsolete version of the cl-asdf debian or ubuntu package, that you might want to upgrade (if a recent enough version is available) or else remove altogether (since most implementations ship with a recent asdf); if you lack the system administration rights to upgrade or remove this package, then you might indeed want to either install and register a more recent version, or use :ignore-inherited-configuration to avoid registering the old one. Please consult ASDF documentation and/or experts.
On 4/14/16 Apr 14 -3:26 AM, Jim Newton wrote:
Can someone help me with an asdf problem I don’t understand.
When I load quicklisp I get the warning (below) apparently from ASDF. Advise (b) says that I might: install a newer ASDF and register it in front of the former in your configuration,
Can someone explain to me how I can do that?
I’m working on a machine where I don’t have administrator rights so I can’t change anything in /usr etc. I’ve installed and compiled sbcl locally, as well as downloaded a local copy of the newest asdf under my home directory.
You can use your .sbclrc to ensure that your local copy shadows the main copy.
One thing to do would be to
1. (REQUIRE :ASDF) 2. Push the location of the local copy onto ASDF:*CENTRAL-REGISTRY* 3. (ASDF:LOAD-SYSTEM "ASDF")
As far as integration with Quicklisp is concerned, I have no idea, since I don't use QL. You should ask about that on a QL discussion place.
And what it says: if you have a cl-asdf package installed from something like debian, get rid of it.
Fare disagrees with me, but I think this package is just a nuisance, since every implementation I know of ships with ASDF bundled.
cheers, r
Thanks. Jim
WARNING: You are using ASDF version 3.1.3 (probably from (require "asdf") or loaded by quicklisp) and have an older version of ASDF 3.0.2 registered at #P"/usr/local/share/common-lisp/source/asdf/asdf.asd". Having an ASDF installed and registered is the normal way of configuring ASDF to upgrade itself, and having an old version registered is a configuration error. ASDF will ignore this configured system rather than downgrade itself. In the future, you may want to either: (a) upgrade this configured ASDF to a newer version, (b) install a newer ASDF and register it in front of the former in your configuration, or (c) uninstall or unregister this and any other old version of ASDF from your configuration. Note that the older ASDF might be registered implicitly through configuration inherited from your system installation, in which case you might have to specify :ignore-inherited-configuration in your in your ~/.config/common-lisp/source-registry.conf or other source-registry configuration file, environment variable or lisp parameter. Indeed, a likely offender is an obsolete version of the cl-asdf debian or ubuntu package, that you might want to upgrade (if a recent enough version is available) or else remove altogether (since most implementations ship with a recent asdf); if you lack the system administration rights to upgrade or remove this package, then you might indeed want to either install and register a more recent version, or use :ignore-inherited-configuration to avoid registering the old one. Please consult ASDF documentation and/or experts.
On Thu, Apr 14, 2016 at 4:26 AM, Jim Newton jnewton@lrde.epita.fr wrote:
Can someone help me with an asdf problem I don’t understand.
When I load quicklisp I get the warning (below) apparently from ASDF. Advise (b) says that I might: install a newer ASDF and register it in front of the former in your configuration,
Can someone explain to me how I can do that?
Yes. ASDF tries to update itself from registered source, but your administrator's source installation in /usr/local is antiquated and older than what your implementation provides.
My advice: 1- request that your sysadmin should either remove ASDF or keep it regularly updated. These day, all recent releases of CL implementations come with a decently recent ASDF (except that e.g. clisp has no recent release), so unless he is always keeps his ASDF more recent than all implementations, he's doing a disservice to users.
2- If your sysadmin isn't responsive, "just" install the source code for the latest ASDF in your ~/common-lisp/asdf/ and you'll enjoy its features and bug fixes while removing this message.
I’m working on a machine where I don’t have administrator rights so I can’t change anything in /usr etc. I’ve installed and compiled sbcl locally, as well as downloaded a local copy of the newest asdf under my home directory.
Where in your home directory did you put it? If it's not a standard place, you may have to configure your source-registry (see the ASDF documentation about that), or preferably, move it to a pre-configured place, such as ~/common-lisp/asdf/
—♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• http://fare.tunes.org If you waste time explaining why a socialist's welfare plan will fail, it didn't: it successfully diverted your attention from a Power Grab.