Lisp HUG Maillist Archive

File "macros/specmac" and delivery on Linux

Hi,

I have a LispWorks server application that I deploy using an custom  
image called lw-base with only ASDF in it.
That image then loads some precompiled FASL files, as necessary, for  
each deploy of the application code.
That way, the server image and application can keep on running while  
being upgraded.

The deliver options are as follows:

(deliver #'(lambda ()
	     (lw-base:delivered-image-startup)
	     (start-tty-listener))
          "lw-base"
          0
          :multiprocessing t
          :keep-pretty-printer t
          :keep-debug-mode t
          :keep-conditions :all
          :interface nil)

This has been working very well for about two years on Mac OS X  
Client and Server over varioius LW versions.

I am now trying the same technique on Linux. At first everything  
seemed fine, but at runtime I get the error:

The file "macros/specmac" does not exist.

This is a load on demand file from the LispWorks library (/usr/lib/ 
LispWorks/lib/4-4-0-0/load-on-demand/pcl/macros/specmac.ufsl) that  
isn't present at runtime on the production server.
Previous lisp-hug messages show that this file is related to the  
compiler - my application is indeed using the compiler at runtime for  
lisp server pages.

The question now is: what module do I have to require before building  
my lw-base image, or what extra options do I need to give to deliver  
so that this load on demand code gets included up front ?

There is some urgency to this ;-)

Thx,

Sven


Re: File "macros/specmac" and delivery on Linux

Unable to parse email body. Email id is 5359

Updated at: 2020-12-10 08:48 UTC