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\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]<mailto:[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]<mailto:[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.


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