Re: [AOLSERVER] Compiling 4.5 on Win32 using Visual Studio Express Edition 2008

2008-04-29 Thread Maurizio Martignano
Dear all,
When this community produces a new stable release of Aolserver, let
it be 4.5.1 or 4.5.x, I'll be more than happy to produce a new version of
the Win32-OpenACS distribution containing it.

Cheers and thanks,
Maurizio


-Original Message-
From: AOLserver Discussion [mailto:[EMAIL PROTECTED] On Behalf Of
Dossy Shiobara
Sent: 28 April 2008 16:47
To: AOLSERVER@LISTSERV.AOL.COM
Subject: Re: [AOLSERVER] Compiling 4.5 on Win32 using Visual Studio Express
Edition 2008

On 2008.04.28, Titi Alailima [EMAIL PROTECTED] wrote:
 Speaking of Maurizio's work, since he is basing his work on 4.5.0, is
 there any chance we could start a stable branch of 4.5.0-based code?
 Seems like 4.5.0 is getting some real traction, but the current HEAD
 sounds a little like a moving target, so I'd like to see something
 that basically just has bug fixes to 4.5.0.  I don't care if we call
 it 4.5.0.x or 4.5.x (and look at the HEAD more as 4.6 alpha), but I
 don't like having to comb through the CVS and find the bug fixes I
 need and patch them in manually, and I've heard enough on this list to
 realize it would be foolish to try to take something to production
 using the HEAD.

So, here's what I'm thinking ...

* Push out one final 4.0.11 release as the last in the 4.0.x series.
* Merge down fixes from CVS HEAD into the 4.5.x branch, then push out
  a 4.5.1 release.

There is already a aolserver_v45_bp branch for 4.5.x.  In theory, CVS
HEAD can be viewed as 4.6.x, as you point out.  Should the version
strings be changed to reflect this?


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


--
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] Compiling 4.5 on Win32 using Visual Studio Express Edition 2008

2008-04-28 Thread Maurizio Martignano
Hello there,
Please have a look at the following Win32-OpenACS port:

http://www.friendlybits.com/en/inf_tec_en/win32openacs_en/

This port has been compiled using Visual Studio 2008 Professional Edition
and I believe you should be able to compile it also with the Express
Edition.

The distribution contains both the binary files and the source codes.

Building/compilation instructions can be found on the web page.


Happy compiling

Cheers,
Maurizio


-Original Message-
From: AOLserver Discussion [mailto:[EMAIL PROTECTED] On Behalf Of
Shedis
Sent: 26 April 2008 06:09
To: AOLSERVER@LISTSERV.AOL.COM
Subject: [AOLSERVER] Compiling 4.5 on Win32 using Visual Studio Express
Edition 2008

Hello,

TCL: 8.5.2
AOLserver: aolserver-HEAD-20071203

This is one of my many attempts to but in the past 6 months i have  
never managed to compile. Once successful, i wanted to write up the  
process for other like me out there. But it never happend. Except for  
one case where with lots of back and forth emails from Dossy help me  
to compile on suse 10.1. But it was a lot of test and trial and i lost  
track of how i actually started. But i have to admit that once nsd was  
started it just works.

Guys why not try to document the compilation process and try to align  
it with 'it just compiles' notion. is it too far fetched. For example  
a clear instructions for:

a. compiling on suse 10.1
b. compiling on suse 10.2
c. compiling on win32 2003 sp1, with vs express edition 2008
etc

I'm trying to compile 4.5 using visual studio express edition 2008 but  
keep getting the following error. Does any one know how to fix this?


Steps i'm using to compile:

1. C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools 
\vsvars32.bat

2. nmake -f makefile.vc INSTALLDIR=c:\aolserver OPTS=threads,thrdalloc

3. nmake -f makefile.vc INSTALLDIR=c:\aolserver OPTS=threads,thrdalloc  
install

4. c:\aolserver\bin\tclsh85t.exe nsconfig.tcl

Configuring include/ns.mak with variables:
 AOLSERVER=c:\aolserver
 DEBUG=0
 TCLSH=c:\aolserver\bin\tclsh85t.exe
 TCLINC=c:\aolserver\include
 TCLLIB=c:\aolserver\lib\tcl85t.lib

5. nmake install

make install: nsd

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation.  All rights reserved.

 c:\aolserver\bin\tclsh85t.exe C:\source\aolserver- 
HEAD-20071203\util\nsi
nstall.tcl -d c:\aolserver\bin init.tcl
installed: C:/aolserver/bin/init.tcl
 cl /EHsc /W3 /nologo /c /MD /O2  /D _WINDOWS /D  
TCL_THREADS=1 /D WI
N32  /D FD_SETSIZE=128 /D NO_CONST=1 /D _MBCS /D NDEBUG /I C: 
\source\a
olserver-HEAD-20071203\include /I c:\aolserver\include /c / 
Foadpcmds.o adpcmd
s.c
adpcmds.c
c:\source\aolserver-head-20071203\nsd\nsd.h(71) : warning C4005:  
'POLLIN' : macr
o redefinition
 C:\Program Files\Microsoft SDKs\Windows\v6.0A\include 
\winsock2.h(1495) :
  see previous definition of 'POLLIN'
c:\source\aolserver-head-20071203\nsd\nsd.h(72) : warning C4005:  
'POLLOUT' : mac
ro redefinition
 C:\Program Files\Microsoft SDKs\Windows\v6.0A\include 
\winsock2.h(1499) :
  see previous definition of 'POLLOUT'
c:\source\aolserver-head-20071203\nsd\nsd.h(73) : warning C4005:  
'POLLPRI' : mac
ro redefinition
 C:\Program Files\Microsoft SDKs\Windows\v6.0A\include 
\winsock2.h(1496) :
  see previous definition of 'POLLPRI'
c:\source\aolserver-head-20071203\nsd\nsd.h(74) : warning C4005:  
'POLLHUP' : mac
ro redefinition
 C:\Program Files\Microsoft SDKs\Windows\v6.0A\include 
\winsock2.h(1503) :
  see previous definition of 'POLLHUP'
c:\source\aolserver-head-20071203\nsd\nsd.h(75) : error C2011:  
'pollfd' : 'struc
t' type redefinition
 C:\Program Files\Microsoft SDKs\Windows\v6.0A\include 
\winsock2.h(1506) :
  see declaration of 'pollfd'
NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio  
9.0\VC\BIN
\cl.EXE' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'c:\aolserver\bin\tclsh85t.exe' : return  
code '0x1'
Stop.

Thanks in advance.


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


--
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] Compiling 4.5 on Win32 using Visual Studio Express Edition 2008

2008-04-28 Thread Maurizio Martignano
I just forgot to mention...
Compiling with Visual Studio 2008 is just as easy (or as difficult) as
compiling with gcc on a Linux/Unix box.

Cheers,
Maurizio


-Original Message-
From: AOLserver Discussion [mailto:[EMAIL PROTECTED] On Behalf Of
Shedis
Sent: 26 April 2008 06:09
To: AOLSERVER@LISTSERV.AOL.COM
Subject: [AOLSERVER] Compiling 4.5 on Win32 using Visual Studio Express
Edition 2008

Hello,

TCL: 8.5.2
AOLserver: aolserver-HEAD-20071203

This is one of my many attempts to but in the past 6 months i have  
never managed to compile. Once successful, i wanted to write up the  
process for other like me out there. But it never happend. Except for  
one case where with lots of back and forth emails from Dossy help me  
to compile on suse 10.1. But it was a lot of test and trial and i lost  
track of how i actually started. But i have to admit that once nsd was  
started it just works.

Guys why not try to document the compilation process and try to align  
it with 'it just compiles' notion. is it too far fetched. For example  
a clear instructions for:

a. compiling on suse 10.1
b. compiling on suse 10.2
c. compiling on win32 2003 sp1, with vs express edition 2008
etc

I'm trying to compile 4.5 using visual studio express edition 2008 but  
keep getting the following error. Does any one know how to fix this?


Steps i'm using to compile:

1. C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools 
\vsvars32.bat

2. nmake -f makefile.vc INSTALLDIR=c:\aolserver OPTS=threads,thrdalloc

3. nmake -f makefile.vc INSTALLDIR=c:\aolserver OPTS=threads,thrdalloc  
install

4. c:\aolserver\bin\tclsh85t.exe nsconfig.tcl

Configuring include/ns.mak with variables:
 AOLSERVER=c:\aolserver
 DEBUG=0
 TCLSH=c:\aolserver\bin\tclsh85t.exe
 TCLINC=c:\aolserver\include
 TCLLIB=c:\aolserver\lib\tcl85t.lib

5. nmake install

make install: nsd

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation.  All rights reserved.

 c:\aolserver\bin\tclsh85t.exe C:\source\aolserver- 
HEAD-20071203\util\nsi
nstall.tcl -d c:\aolserver\bin init.tcl
installed: C:/aolserver/bin/init.tcl
 cl /EHsc /W3 /nologo /c /MD /O2  /D _WINDOWS /D  
TCL_THREADS=1 /D WI
N32  /D FD_SETSIZE=128 /D NO_CONST=1 /D _MBCS /D NDEBUG /I C: 
\source\a
olserver-HEAD-20071203\include /I c:\aolserver\include /c / 
Foadpcmds.o adpcmd
s.c
adpcmds.c
c:\source\aolserver-head-20071203\nsd\nsd.h(71) : warning C4005:  
'POLLIN' : macr
o redefinition
 C:\Program Files\Microsoft SDKs\Windows\v6.0A\include 
\winsock2.h(1495) :
  see previous definition of 'POLLIN'
c:\source\aolserver-head-20071203\nsd\nsd.h(72) : warning C4005:  
'POLLOUT' : mac
ro redefinition
 C:\Program Files\Microsoft SDKs\Windows\v6.0A\include 
\winsock2.h(1499) :
  see previous definition of 'POLLOUT'
c:\source\aolserver-head-20071203\nsd\nsd.h(73) : warning C4005:  
'POLLPRI' : mac
ro redefinition
 C:\Program Files\Microsoft SDKs\Windows\v6.0A\include 
\winsock2.h(1496) :
  see previous definition of 'POLLPRI'
c:\source\aolserver-head-20071203\nsd\nsd.h(74) : warning C4005:  
'POLLHUP' : mac
ro redefinition
 C:\Program Files\Microsoft SDKs\Windows\v6.0A\include 
\winsock2.h(1503) :
  see previous definition of 'POLLHUP'
c:\source\aolserver-head-20071203\nsd\nsd.h(75) : error C2011:  
'pollfd' : 'struc
t' type redefinition
 C:\Program Files\Microsoft SDKs\Windows\v6.0A\include 
\winsock2.h(1506) :
  see declaration of 'pollfd'
NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio  
9.0\VC\BIN
\cl.EXE' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'c:\aolserver\bin\tclsh85t.exe' : return  
code '0x1'
Stop.

Thanks in advance.


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


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