Octaviz, VTK, & Octave CMAKE???
Bill McGonigle
bill at bfccomputing.com
Fri Aug 1 19:11:45 EDT 2008
On Aug 1, 2008, at 10:23, Labitt, Bruce wrote:
> Part of the problem is that VTK is so abstruse to build. It uses
> CMAKE,
> which may be the greatest thing since sliced bread - but deviates
> enough
> from the standard configure that I am having difficulty analyzing what
> is wrong.
I was over to their lab one time (near Albany) and it's an amazing
compilation and build validation system if you have the time to
invest learning it.
> Supposedly I "built VTK" and make did not complain of errors.
> Maybe it did complain, but it scrolled by too fast. However, if I try
> an example file, vtk falls over itself and says it cannot find a
> library.
Suggestion: steal from the experts.
ATRPMS has vtk pre-built:
http://dl.atrpms.net/sl5-x86_64/atrpms/stable/
so use it unless you need to compile it differently. If you do,
steal their SRPM and tweak the build options there, as they've worked
out the rest already.
Fedora has octave, and here's a link to building octave from Fedora 6
RPM's on CentOS 5, so it ought to work on SL5:
http://lists.centos.org/pipermail/centos-devel/2007-March/003160.html
It seems (naively, perhaps) likely that *SCIENTIFIC* Linux would be
interested in things like octave/vtk, though it does appear slightly
more aimed at sysadmins at scientific institutions than scientists.
Still, one supports the other. [aside: I don't see immediately why
they would rather be a distro than a repo with a custom spin script,
though there must be an answer. Their wiki doesn't cover their
current release well, so it's hard to guess, but that sort of re-
enforces the point.] Anyway, the point I was getting to is that if
you do get octaviz/octave building well via RPM, there's probably a
repo who would take it off your hands. Axel's would be a place to
start since he has vtk already, but there's also EPEL which is
appropriate, and many others like RPM[forge,fusion] who take packages
willingly.
> Can I pipe the output data stream that would ordinarily go to
> the screen to a file?
probably something like
ccmake . > ccmake-output 2>&1
random ref: http://www.cyberciti.biz/faq/redirecting-stderr-to-stdout/
-Bill
>
-----
Bill McGonigle, Owner Work: 603.448.4440
BFC Computing, LLC Home: 603.448.1668
bill at bfccomputing.com Cell: 603.252.2606
http://www.bfccomputing.com/ Page: 603.442.1833
Blog: http://blog.bfccomputing.com/
VCard: http://bfccomputing.com/vcard/bill.vcf
More information about the gnhlug-discuss
mailing list