Re: [SEToolkit-developer] Do we have any 'build' instructions yet?
Brought to you by:
dmichelsen
From: Tankersley, J. <jon...@ed...> - 2007-11-30 16:56:21
|
Maybe that should be README.build-from-SVN Here are my notes Solaris 10, SPARC, Studio12 Dependencies - GNU autoconf, automake, libtool Optional Dependencies - bison, m4 autoreconf -if CC=3Dcc CXX=3DCC CPPFLAGS=3D-m64 -LDFLAGS=3D-m64 ./configure --prefix=3D/usr/local/se make The ReST stuff for the documentation is missing from my dependency list. I had to add the CXX to get it to work. The compiler was saying the -xarch=3Dsparcv9 was deprecated. I added the --prefix just to see what the install would do. make[2]: Entering directory `/home/sysstat/Orca/svn/setoolkit/trunk/se' cat doc/toc doc/preface doc/intro doc/one doc/two doc/three doc/four doc/five doc/six doc/seven doc/eight doc/nine | - doc/USERS.MANUAL.html /bin/bash: -: command not found make[2]: *** [doc/USERS.MANUAL.html] Error 127 So there is a dependency on ReST for the documentation build.=20 Packaging... That will be fun. Should /usr/local be the default for the SE stuff? That's what the current configuration script handles. Or should it be more like /opt/SEToolkit or /opt/RICHPse? The doc/USERS.MANUAL.html should probably be last, not second in the install. ls -R /usr/local/se /usr/local/se: bin lib share /usr/local/se/bin: pw_example.sh se workollator_example.sh /usr/local/se/lib: app-defaults libsegui.la libsegui.so libsenet.la libsenet.so /usr/local/se/lib/app-defaults: Segui /usr/local/se/share: doc setoolkit /usr/local/se/share/doc: setoolkit /usr/local/se/share/doc/setoolkit: CHANGES GUI.MANUAL README.RELEASE EXAMPLES.DOC README.INSTALL REPORTING.BUGS FAQ README.orcallator USERS.MANUAL.html /usr/local/se/share/setoolkit: contrib dio examples net_examples toptool COPYRIGHT etc include perfmon workollator /usr/local/se/share/setoolkit/contrib: dfstats iops kview perfbar psrsetstat watch /usr/local/se/share/setoolkit/contrib/dfstats: author df_stats.se fs_class.se mdf.se /usr/local/se/share/setoolkit/contrib/iops: author iops.se /usr/local/se/share/setoolkit/contrib/kview: author kviewx.se /usr/local/se/share/setoolkit/contrib/perfbar: author perfbar.se /usr/local/se/share/setoolkit/contrib/psrsetstat: author psrsetstat.se /usr/local/se/share/setoolkit/contrib/watch: author watch.se /usr/local/se/share/setoolkit/dio: dio.se dio_disk.se /usr/local/se/share/setoolkit/etc: init.d se-mode.el se-mode.elc se_defines /usr/local/se/share/setoolkit/etc/init.d: mon_cm monlog percol vader va_monitor /usr/local/se/share/setoolkit/examples: aw.se mpvmstat.se pw_log.se bigbrother.se mrvmstat.se rvmstat.se collisions.se msacct.se siostat.se cpg.se msacct_off.se swap.se cpuchk.se multi_meter.se swapctl.se cpu_meter.se net.se syslog.se cpus.se netmonitor.se tcp_monitor.se cpustat.se netstat.se tpry.se ctlr.se netstatx.se uname.se darth.se nfsmonitor.se uptime.se data nfsstat.se util.se disks.se nproc.se vader.se dumpkstats.se nx.se virtual_adrian.se hostid.se pea.se virtual_adrian_lite.se infotool.se peac.se vmmonitor.se iomonitor.se peer.se vmstat.se iost.se percollator.se webtune.se iostat.se perfmeter.se workollator.se kvmname.se pry.se xio.se limits.se ps-ax.se xiostat.se live_test.se ps-p.se xit.se mini_cpu.se pure_test.se xload.se mon_cm.se pw.se zoom.se monlog.se pwatch.se /usr/local/se/share/setoolkit/examples/data: adrian cpu_meter_icon kmem richp xload_icon adrian.bio disk mutex richp.bio zoom blank dnlc network swap callog.root drip.au nfs_client tpry.desc cpu inode ram xit_icon /usr/local/se/share/setoolkit/include: app_wrap_class.se nfs_clnt.se string.se condvar.se partinfo.se sysdepend.se ctlr_class.se p_iostat_class.se sysinfo_class.se ctype.se p_netstat_class.se sys_kstat.se devinfo.se poll.se syslog.se dirent.se proc.se sys_swap.se diskinfo.se process_class.se systeminfo.se dlfcn.se processor.se tapeinfo.se errno.se process_rules.se tcp_class.se fcntl.se pure_rules.se tcp_rules.se gui_defines.h pure_rules_dutch.se tcp_rules_dutch.se gui_lib.se pure_rules_swedish.se time.se kstat.se p_vmstat_class.se tiuser.se live_rules.se pwd.se types.se logfile.se rpc_clnt.se uio.se math.se rstat_class.se unistd.se mib.se se.se uptime_class.se mnt_class.se se_trees.se utmp.se multi_rstat_class.se signal.se utsname.se mutex.se socket.se vfs.se ndd.se stat.se vmstat_class.se netdb.se statvfs.se wait.se netif.se stdio.se workload_class.se net_lib.se stdlib.se /usr/local/se/share/setoolkit/net_examples: client.se sample.se server.se /usr/local/se/share/setoolkit/perfmon: perfmon perfmon.se p_vmstat_class.se vmstat_class.se /usr/local/se/share/setoolkit/toptool: toptool toptool.se /usr/local/se/share/setoolkit/workollator: explode.csh pwgrab README -----Original Message----- From: Alex Kiernan [mailto:ale...@gm...]=20 Sent: Friday, November 30, 2007 6:20 AM To: Dagobert Michelsen Cc: Tankersley, Jon; set...@li... Subject: Re: [SEToolkit-developer] Do we have any 'build' instructions yet? On Nov 30, 2007 6:57 AM, Dagobert Michelsen <da...@ba...> wrote: > Hi Jon, > > Am 29.11.2007 um 19:48 schrieb Tankersley, Jon: > > I'm trying to build with the latest SVN release on a clean Solaris=20 > > 10 SPARC server. > > Alex described this in > > http://sourceforge.net/mailarchive/message.php? > > = msg_id=3Dc461c0d10706130407v2a901afexb2be1a94589b84c4%40mail.gmail.com > > > > If you check out the tree from SVN, then you can generate the build=20 > > framework using autoconf/automake/libtool using: > > > > autoreconf -if > > > > (we've been using autoconf-2.61, automake-1.10, libtool-1.5.22). > > > > then building like this will get you a 64 bit version: > > > > CPPFLAGS=3D-xarch=3Dgeneric64 LDFLAGS=3D-xarch=3Dgeneric64 = ./configure make=20 > > make install > > > > will get you a 64 bit setoolkit installed/built (assuming you've got > > Sun Studio somewhere in your PATH). > > Just added a doc/README.SVN so that this is written down somewhere more useful! -- Alex Kiernan |