AVS 4.0 is available for Solaris 10 at http://www.sun.com through the “try and buy” program… but if you want (like me), compile and install the opensource AVS on a solaris 10 (at your own risk), here is the procedure:
1) You can download the AVS source code from here.
2) IMPORTANT: You will need to install SunStudio 11, at the time of this writting, the compilation of AVS with SunStudio 12 leaves to that errors.. and that too.
3) The people who are very conservatives, should not read on… you will need a “simple trick” to compile AVS on solaris 10 u3.. You must edit the file src/sun_avs/Makefile.master, and change the “string”:
VERSION:sh= echo “11.11.0″
to
VERSION:sh= echo “11.10.0″
That is necessary for the installation of the packages. The opensource AVS is supposed to run on nevada. I think is no problem with that, if you think different, please let me know.
4) I did compile with the command: ./openAVS_build -NE openAVS.release
Thanks to Jim Dunham and his team for the excellent compilation procedure.. just works! I know, i know, it supposed to be that way, but many softwares don’t.
That’s all, i think this procedure may help someone (crazy) else, who knows?
Installing OpenSource AVS on Solaris 10 u3
Installing OpenSource AVS on Solaris 10 u3
You can follow all the replies to this entry through the comments feed
As of Feb 29, 2008 the VERSION:SH has changed from
VERSION:sh= OSVERS=${OSVERS:=`uname -r`};\
if [ -r $CODEMGR_WS/src/sun_nws/Makefile.config -a $OSVERS = "5.11" ]; then\
to
VERSION:sh= OSVERS=${OSVERS:=`uname -r`};\
if [ -r $CODEMGR_WS/src/sun_nws/Makefile.config -a $OSVERS = "5.10" ]; then\
Karl Rossing, wrote:
———————————————————
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
VERSION:sh= OSVERS=${OSVERS:=`uname -r`};\
if [ -r $CODEMGR_WS/src/sun_nws/Makefile.config -a $OSVERS = "5.11" ];
then\
to
VERSION:sh= OSVERS=${OSVERS:=`uname -r`};\
if [ -r $CODEMGR_WS/src/sun_nws/Makefile.config -a $OSVERS = "5.10" ];
then\
Make the required changes to /export/builds/nws-src-”’DATE”’/opennws.env
# 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.
MAILTO=somebody@somewhere.com; 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
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
———————————————————
Because of the problems compiling the new version of AVS software, i will leave here the old AVS source code as well as the packages:
Source code:
http://www.eall.com.br/hp/Solaris/AVS-src-20070209.tar.bz2
and the packages/i386 (in installation order):
http://www.eall.com.br/hp/Solaris/SUNWscmr.tar.gz
http://www.eall.com.br/hp/Solaris/SUNWscmu.tar.gz
http://www.eall.com.br/hp/Solaris/SUNWspsvr.tar.gz
http://www.eall.com.br/hp/Solaris/SUNWspsvu.tar.gz
http://www.eall.com.br/hp/Solaris/SUNWiir.tar.gz
http://www.eall.com.br/hp/Solaris/SUNWiiu.tar.gz
http://www.eall.com.br/hp/Solaris/SUNWrdcr.tar.gz
http://www.eall.com.br/hp/Solaris/SUNWrdcu.tar.gz
That’s all
@jimm i see now you are right because this vid proves the point made http://www.youtube.com/watch?v=1NVuUAr4MMs
Congratulations! You have just won a new feed reader :) .. really delicious blog, Mike.