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


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


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

2008-04-28 Thread Enrique Catalan
The latest version of Maurizio works pretty well, you might need to use the
Redistributable package VC++ 2008 instead of the 2005.

http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en

-Enrique

On Mon, Apr 28, 2008 at 2:17 PM, Titi Alailima <[EMAIL PROTECTED]> wrote:

> I had similar issues when I used Visual Studio 2005.  When I used the
> redistributable package that Maurizio links to, it worked.  But for the 2005
> version I had to go into one of the header (".h") files, I forget which, and
> comment out the macro redefinitions.  Anyone know how to recode it so that
> it knows which version of Visual Studio it's using and includes the macro
> definitions appropriately.
>
> Titi Ala'ilima
> Lead Architect
> MedTouch LLC
> 1100 Massachusetts Avenue
> Cambridge, MA 02138
> 617.621.8670 x309
>
> > -Original Message-
> > From: AOLserver Discussion [mailto:[EMAIL PROTECTED] On
> > Behalf Of Shedis
> > Sent: Saturday, April 26, 2008 12:09 AM
> > 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

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

2008-04-28 Thread Titi Alailima
If you're comfortable mucking around on the command line and with the 
makefiles, I'd work off of Maurizio's package and the redistributable VC++ 
package.  The binaries are good, and all the source is included so if you have 
to recompile with a few tweaks it's not too painful.  As I mentioned, it may 
not work as well with other compiler versions.

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.

Titi Ala'ilima
Lead Architect
MedTouch LLC
1100 Massachusetts Avenue
Cambridge, MA 02138
617.621.8670 x309

From: AOLserver Discussion [mailto:[EMAIL PROTECTED] On Behalf Of Shedis
Sent: Saturday, April 26, 2008 12:32 PM
To: AOLSERVER@LISTSERV.AOL.COM
Subject: Re: [AOLSERVER] Compiling 4.5 on Win32 using Visual Studio Express 
Edition 2008


Last week i did came across the compiling instructions @ friendlybits 
(http://www.friendlybits.com/en/inf_tec_en/win32openacs_en/build_inst_en/) but 
i was getting different error messages.  so i decided to stick with simply 
compiling tcl and aolserver only.


On Apr 26, 2008, at 8:39 AM, Maurizio Martignano wrote:


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<mailto: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\

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

2008-04-28 Thread Titi Alailima
I had similar issues when I used Visual Studio 2005.  When I used the 
redistributable package that Maurizio links to, it worked.  But for the 2005 
version I had to go into one of the header (".h") files, I forget which, and 
comment out the macro redefinitions.  Anyone know how to recode it so that it 
knows which version of Visual Studio it's using and includes the macro 
definitions appropriately.

Titi Ala'ilima
Lead Architect
MedTouch LLC
1100 Massachusetts Avenue
Cambridge, MA 02138
617.621.8670 x309

> -Original Message-
> From: AOLserver Discussion [mailto:[EMAIL PROTECTED] On
> Behalf Of Shedis
> Sent: Saturday, April 26, 2008 12:09 AM
> 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-26 Thread Maurizio Martignano
In case you fail, the binaries are there.

 

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

 

 

Last week i did came across the compiling instructions @ friendlybits
(http://www.friendlybits.com/en/inf_tec_en/win32openacs_en/build_inst_en/)
but i was getting different error messages.  so i decided to stick with
simply compiling tcl and aolserver only.

 

 

On Apr 26, 2008, at 8:39 AM, Maurizio Martignano wrote:





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

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

2008-04-26 Thread Shedis


Last week i did came across the compiling instructions @ friendlybits (http://www.friendlybits.com/en/inf_tec_en/win32openacs_en/build_inst_en/ 
) but i was getting different error messages.  so i decided to stick  
with simply compiling tcl and aolserver only.



On Apr 26, 2008, at 8:39 AM, Maurizio Martignano wrote:


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 lis

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

2008-04-25 Thread Shedis

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.