Re: [AOLSERVER] Warnings during compilation, nsd won't run

2006-03-14 Thread Nima
I found these sources regarding that problem:

- http://article.gmane.org/gmane.comp.web.aolserver/10804
- http://www.panoptic.com/aolserver/chat/20050418.html
- http://openacs.org/forums/message-view?message_id=345263

Thus I commented out the relevant if statement in nsd/tclobj.c.

Now it seems that the server runs again. But isn't there a better
approach?


--
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.


Re: [AOLSERVER] Warnings during compilation, nsd won't run

2006-03-14 Thread Dossy Shiobara
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.


Re: [AOLSERVER] Warnings during compilation, nsd won't run

2006-03-14 Thread Nima
Thank you. It works now.


--
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.