[Lispweb] Re: Problem installing portableaserve

Tim Moore moore at bricoworks.com
Tue Mar 12 11:57:59 CST 2002


On Tue, 12 Mar 2002, Eric Marsden wrote:

> >>>>> "jp" == John Pontious <pontious at interhack.net> writes:
> 
>   jp> Error in function COMMON-LISP::FOREIGN-SYMBOL-ADDRESS-AUX:
>   jp> Unknown foreign symbol: "setuid" If I exit out and come back I get
>   jp> a much briefer interaction with the top level (stuff is already
>   jp> compiled..) and the whole mess looks like this:

I got past this with this patch to aserve/main.cl:

diff -r1.15 main.cl
324a325,329
>   (defun setuid (uid)
>     (unix:unix-setreuid uid uid))
>   (defun setgid (gid)
>     (unix:unix-setregid gid gid))
>   #+nil
325a331
>   #+nil


> 
> the problem is that the CMUCL runtime for FreeBSD isn't linked with
> setuid. I don't think foreign loading works very well on CMUCL for
> FreeBSD currently.

It will be much better in 18d :)

Tim
> 
> Since the use of these calls is conditionalized on a unix platform,
> you can partially get around this problem by pretending you're not
> running on Unix, for example with 
> 
>  USER> (let ((*features* (remove :unix *features*))) (load "INSTALL"))
> 
> This may break other stuff, but aserve at least works partially.
>  
> -- 
> Eric Marsden                          <URL:http://www.laas.fr/~emarsden/>
> _______________________________________________
> Lispweb mailing list
> Lispweb at red-bean.com
> http://www.red-bean.com/mailman/listinfo/lispweb
> 




More information about the lispweb mailing list