Leal,

I'm hoping to get remote mirror going on S10U4. I have not tested it yet 
but should be able to give it a try over the next couple of days.

I get the feeling that the compiled AVS may not work quite right on S10 
but paying $34K really isn't in the cards. Moving off of Solaris onto 
OpenSolaris isn't on the table either.

Below you will find the steps on how i built AVS on Solaris 10U4. Maybe 
the wiki code will also be useful.

== Get the Software ==

Install SUN Studio 11 from 
http://developers.sun.com/sunstudio/downloads/previous/index.jsp

Download the source from http://www.opensolaris.org/os/project/nws/ 
***make note of the date in the filename. Extract the archive to 
/export/builds. It should create a directory called 
/export/builds/nws-src-DATE.

Download the Open System Network from 
http://dlc.sun.com/osol/on/downloads/'''DATE'''/on-src.tar.bz2 that 
corresponds to the date in step 1. Extract the archive to 
/export/builds/OpenSolaris-DATE

Download the build tools from 
http://dlc.sun.com/osol/on/downloads/'''DATE'''/SUNWonbld.sparc.tar.bz2 
and add the package to the system.

== Compile the Software and Install ==

Edit /export/builds/nws-src-'''DATE'''/src/sun_avs/Makefile.master
<nowiki>VERSION:sh= OSVERS=${OSVERS:=`uname -r`};\
if [ -r $CODEMGR_WS/src/sun_nws/Makefile.config -a $OSVERS = "5.11" ]; 
then\</nowiki>
to
<nowiki>
VERSION:sh= OSVERS=${OSVERS:=`uname -r`};\
if [ -r $CODEMGR_WS/src/sun_nws/Makefile.config -a $OSVERS = "5.10" ]; 
then\</nowiki>

Make the required changes to /export/builds/nws-src-'''DATE'''/opennws.env
<nowiki># The BUILD_OPTIONS variable sets build options.
# Current options available are:
# i Incremental build do NOT make clobber
# p Make packages, requires N or D
# l Make lint, requires D
# N Build Non-debug binaries
# D Build Debug binaries
#
BUILD_OPTIONS="Np"; export BUILD_OPTIONS

# The Open Solaris Reference Build sets the location to your 
successfully built
# opensolaris source.
OS_REF_BUILD=/export/builds/OpenSolaris-20080219; export OS_REF_BUILD

# This is the variable to set the name of the nws workspace
GATE=nws-src-20080219; export GATE

# The CODEMGR_WS variable sets the location of your build.
CODEMGR_WS="/export/builds/$GATE"; export CODEMGR_WS

# Set the MAILTO variable to the email address you would like the build log
# sent to. If this is empty or NULL, the build log will not be sent.
[EMAIL PROTECTED]; export MAILTO

# The SPRO_ROOT variable should point to location of your SUNWspro compilers
SPRO_ROOT=/opt/SUNWspro; export SPRO_ROOT

# Set the ONBLD_TOOLS variable to the location of the SUNWonbld
ONBLD_TOOLS=/opt/onbld/bin; export ONBLD_TOOLS

# LD_LIBRARY_PATH minimum settings.
LD_LIBRARY_PATH=/lib:/usr/lib:; export LD_LIBRARY_PATH
</nowiki>

You should now be able to compile the software
cd /export/builds/nws-src-'''DATE'''
./opennws_build -E ./opennws.env

The compiled packages can be found in 
/export/builds/nws-src-'''DATE'''/packages/sparc/nightly-nondebug


msl wrote:
> That's really nice! Can you post the needed procedures? What was the diffs 
> between the procedures for the old version? I did see your comment in my 
> post, and i think the AVS is a little different... maybe you can add that 
> informations here: http://www.posix.brte.com.br/blog/?p=74, and/or here on 
> the list.
>  p.s: seems like now it's necessary a build of opensolaris? Would be nice 
> hear your expericences...
>  thanks.
>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> storage-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/storage-discuss
>   



CONFIDENTIALITY NOTICE:  This communication (including all attachments) is
confidential and is intended for the use of the named addressee(s) only and
may contain information that is private, confidential, privileged, and
exempt from disclosure under law.  All rights to privilege are expressly
claimed and reserved and are not waived.  Any use, dissemination,
distribution, copying or disclosure of this message and any attachments, in
whole or in part, by anyone other than the intended recipient(s) is strictly
prohibited.  If you have received this communication in error, please notify
the sender immediately, delete this communication from all data storage
devices and destroy all hard copies.
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to