<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">So of course now I get the following error after installing paraview.  It will not draw into the main window, and spits the following out onto stderr: <DIV><BR class="khtml-block-placeholder"><DIV># Error or warning: There was a VTK Error in file: /usr/global/tools/Kitware/Paraview/2.4.2/src/aix_5_64_fed/paraview-2.4.2/GUI/Widgets/vtkKWTkUtilities.cxx (217)</DIV><DIV> vtkPVApplication (110185af0): </DIV><DIV>    Script: </DIV><DIV>focus .paraview.24.33.36.37.40.161.163.165.168.169.174</DIV><DIV>    Returned Error on line 1: </DIV><DIV>bad window path name ".paraview.24.33.36.37.40.161.163.165.168.169.174"</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV><DIV>On Feb 3, 2006, at 9:08 AM, Rich Cook wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">I am building Paraview on AIX using xlC.  <DIV>I have noticed I needed to make some changes to make it work.  I am not sure to whom I should submit this kind of thing.  ?  Thanks.  </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>On AIX I ran into some issues.  g++ appears to expect ISO C++, so I get: </DIV><DIV>/usr/X11R6/include/X11/Xutil.h:380: error: ISO C++ forbids declaration of `XClipBox' with no type</DIV><DIV>What flag gets around this?  There's no gcc man page on our AIX system, so I try xlc and xlC.  Ironically, I found that on AIX, ccmake gets confused easily, so moved away gcc build and source directories first.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>CC=xlc CXX=xlC LD=xlC /usr/global/tools/Kitware/CMake/latest/$SYS_TYPE/bin/ccmake /usr/global/tools/Kitware/Paraview/2.4.2/src/$SYS_TYPE/paraview-2.4.2</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I get the following error :</DIV><DIV>"/usr/global/tools/Kitware/Paraview/2.4.2/src/aix_5_64_fed/paraview-2.4.2/VTK/Common/Testing/Cxx/TestSmartPointer.cxx", line 5</DIV><DIV>2.7: 1540-0219 (S) The call to "operator==" has no best match.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Fixed by commenting out lines 52-57 in TestSmartPointer.cxx</DIV><DIV>Keep your fingers crossed!  :-)  The real fix would be to cast the 0 to a SmartPointer, but perhaps that was the whole point of the test.  Oh, well.  </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Then I get another error:</DIV><DIV>"/usr/global/tools/Kitware/Paraview/2.4.2/src/aix_5_64_fed/paraview-2.4.2/GUI/Widgets/vtkKWParameterValueFunctionEditor.h", line 46.7: 1540-0400 (S) "class ostrstream" has a conflicting declaration.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Fix: comment out line 55 in vtkKWParameterValueFunctionEditor.h:</DIV><DIV> //BTX</DIV><DIV>//class ostrstream;</DIV><DIV>//ETX</DIV><DIV>and add the following to the top of it:</DIV><DIV># include &lt;strstream&gt; // Include real ansi strstreams.</DIV><DIV>using std::strstream;</DIV><DIV>  virtual void RedrawPoint(int id, ostrstream *tk_cmd = 0);</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Onward, ho!  Next problem: </DIV><DIV>"/usr/global/tools/Kitware/Paraview/2.4.2/src/aix_5_64_fed/paraview-2.4.2/GUI/Widgets/vtkKWSpinBox.h", line 70.16: 1540-2606 (W) "restrict" can only qualify a pointer or reference type.  The "restrict" keyword is ignored.</DIV><DIV>"/usr/global/tools/Kitware/Paraview/2.4.2/src/aix_5_64_fed/paraview-2.4.2/GUI/Widgets/vtkKWSpinBox.cxx", line 97.6: 1540-2606 (W) "restrict" can only qualify a pointer or reference type.  The "restrict" keyword is ignored.</DIV><DIV>"/usr/global/tools/Kitware/Paraview/2.4.2/src/aix_5_64_fed/paraview-2.4.2/GUI/Widgets/vtkKWSpinBox.cxx", line 99.15: 1540-0063 (S) The text ")" is unexpected.</DIV><DIV>gmake[2]: *** [GUI/Widgets/CMakeFiles/KWWidgets.dir/vtkKWSpinBox.o] Error 1</DIV><DIV>gmake[1]: *** [GUI/Widgets/CMakeFiles/KWWidgets.dir/all] Error 2</DIV><DIV>gmake: *** [all] Error 2</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Fix:  use irestrict instead of restrict for parameter name to function -- restrict is a C++ keyword, I guess. </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Then: </DIV><DIV>"/usr/global/tools/Kitware/Paraview/2.4.2/src/aix_5_64_fed/paraview-2.4.2/GUI/Widgets/Utilities/tkcon/vtkKWTkconTclLibrary.h", line 9.3: 1540-0872 (S) A string literal cannot be longer than 32765 characters.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Fix:  broke the string into 5 parts and made declarations to be: </DIV><DIV>static const unsigned char *file_tkcon_tcl_sections[5]  = {</DIV><DIV>  file_tkcon_tcl_section_1,</DIV><DIV>  file_tkcon_tcl_section_5,</DIV><DIV>  file_tkcon_tcl_section_3,</DIV><DIV>  file_tkcon_tcl_section_4,</DIV><DIV>  file_tkcon_tcl_section_2</DIV><DIV>};</DIV><DIV>and </DIV><DIV>static const unsigned int file_tkcon_tcl_nb_sections = 5;</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Similarly with this error:</DIV><DIV>"/usr/global/tools/Kitware/Paraview/2.4.2/src/aix_5_64_fed/paraview-2.4.2/GUI/Client/Resources/vtkPVSplashScreen.h", line 12.3: 1540-0872 (S) A string literal cannot be longer than 32765 characters.</DIV><DIV>Divide into sections, etc. </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Build completed and paraview is now installed as of 2/3/06</DIV><DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><FONT class="Apple-style-span" face="Helvetica" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;; font-family: Helvetica; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 11px; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 11px; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 11px; ">--</SPAN></SPAN></SPAN></SPAN></FONT><FONT class="Apple-style-span" face="Helvetica" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;; font-family: Helvetica; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 11px; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 11px; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 11px; "> </SPAN></SPAN></SPAN></SPAN></FONT><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Helvetica" size="3"><SPAN class="Apple-style-span" style="font-size: 12px;; font-family: Helvetica; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; ">"There's no time to stop for gas, we're already late"</SPAN></SPAN></SPAN></SPAN></FONT><FONT class="Apple-style-span" face="Helvetica" size="3"><SPAN class="Apple-style-span" style="font-size: 12px;; font-family: Helvetica; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; ">-- Karin Donker</SPAN></SPAN></SPAN></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Helvetica" size="3"><SPAN class="Apple-style-span" style="font-size: 12px;; font-family: Helvetica; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; ">--</SPAN></SPAN></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Helvetica" size="3"><SPAN class="Apple-style-span" style="font-size: 12px;; font-family: Helvetica; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; ">Rich "wealthychef" Cook</SPAN></SPAN></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Helvetica" size="3"><SPAN class="Apple-style-span" style="font-size: 12px;; font-family: Helvetica; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; ">&lt;<A href="http://www.pleasantonplayhouse.com/byebyebirdie/">http://www.pleasantonplayhouse.com/byebyebirdie/</A>&gt;</SPAN></SPAN></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Helvetica" size="3"><SPAN class="Apple-style-span" style="font-size: 12px;; font-family: Helvetica; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; ">925-784-3077</SPAN></SPAN></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Helvetica" size="3"><SPAN class="Apple-style-span" style="font-size: 12px;; font-family: Helvetica; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; ">--</SPAN></SPAN></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR class="khtml-block-placeholder"></DIV></SPAN><BR class="Apple-interchange-newline"></SPAN></SPAN> </DIV><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">ParaView mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:ParaView@paraview.org">ParaView@paraview.org</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</A></DIV> </BLOCKQUOTE></DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><FONT class="Apple-style-span" face="Helvetica" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;; font-family: Helvetica; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 11px; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 11px; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 11px; ">--</SPAN></SPAN></SPAN></SPAN></FONT><FONT class="Apple-style-span" face="Helvetica" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;; font-family: Helvetica; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 11px; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 11px; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 11px; "> </SPAN></SPAN></SPAN></SPAN></FONT><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Helvetica" size="3"><SPAN class="Apple-style-span" style="font-size: 12px;; font-family: Helvetica; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; ">"There's no time to stop for gas, we're already late"</SPAN></SPAN></SPAN></SPAN></FONT><FONT class="Apple-style-span" face="Helvetica" size="3"><SPAN class="Apple-style-span" style="font-size: 12px;; font-family: Helvetica; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; ">-- Karin Donker</SPAN></SPAN></SPAN></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Helvetica" size="3"><SPAN class="Apple-style-span" style="font-size: 12px;; font-family: Helvetica; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; ">--</SPAN></SPAN></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Helvetica" size="3"><SPAN class="Apple-style-span" style="font-size: 12px;; font-family: Helvetica; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; ">Rich "wealthychef" Cook</SPAN></SPAN></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Helvetica" size="3"><SPAN class="Apple-style-span" style="font-size: 12px;; font-family: Helvetica; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; ">&lt;<A href="http://www.pleasantonplayhouse.com/byebyebirdie/">http://www.pleasantonplayhouse.com/byebyebirdie/</A>&gt;</SPAN></SPAN></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Helvetica" size="3"><SPAN class="Apple-style-span" style="font-size: 12px;; font-family: Helvetica; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; ">925-784-3077</SPAN></SPAN></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Helvetica" size="3"><SPAN class="Apple-style-span" style="font-size: 12px;; font-family: Helvetica; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; ">--</SPAN></SPAN></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR class="khtml-block-placeholder"></DIV></SPAN><BR class="Apple-interchange-newline"></SPAN></SPAN> </DIV><BR></DIV></DIV></BODY></HTML>