On 2006.03.14, Nima <[EMAIL PROTECTED]> wrote:
> I tried to compile the aolserver on SuSe Enterprise 9. During compilation 
> i get several lines of
> 
> warning: cast to pointer from integer of different size
> 
> Still it seems that everything was compiled. But when I try to test run 
> the server I only get the following line on the shell:
> 
> NsTclInitObjs: sizeof(int) < sizeof(long)
> 
> and then nothing happens.
> 
> Any idea?

Are you on a 64-bit machine?  You should be able to just delete the
following 3 lines from nsd/tclobj.c in NsTclInitTimeType():

    if (sizeof(int) < sizeof(long)) {
        Tcl_Panic("NsTclInitObjs: sizeof(int) < sizeof(long)");
    }

Look around line 88.

Once you've removed these lines, recompile and it should work.

-- Dossy

-- 
Dossy Shiobara              | [EMAIL PROTECTED] | http://dossy.org/
Panoptic Computer Network   | http://panoptic.com/
  "He realized the fastest way to change is to laugh at your own
    folly -- then you can let go and quickly move on." (p. 70)


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to