Please do not cross-post to three of our lists simultanously.  That's just
annoying for those who are subscribed to all three.  plplot-general
alone is fine for this question.

Anybody else that responds, please remove all but plplot-general from the
replies.

On 2009-10-31 13:56-0000 JIA Pei wrote:

> Hi, all:
>
> I downloaded the most current stable plplot 5.9.5 and would like to
> use it in Windows XP + Visual Studio 2008 .
> I strictly follow
> http://www.miscdebris.net/plplot_wiki/index.php?title=Configure_PLplot_for_Visual_CXX
>
> But, I obtained the following error messages always:
>
>
> -- WARNING: validate target will not be available to check for syntax errors 
> in
> the PLplot DocBook documentation because onsgmls was not found.

The PLplot build system issues WARNINGs when it has adjusted for some
missing system resource by removing a component/ability of PLplot.  In this
case, the removed ability is the possibility of checking for syntax errors
in our DocBook documentation source files.  That missing ability would
affect PLplot documenters, but presumably has no impact on you.

> CMake Error at bindings/CMakeLists.txt:67 (message):
>  program to concatenate files not found

This is a more serious issue.

>
>
> In bindings/CMakeList.txt, the final lines are just like:
>
>
>
>
> if(index)
>  if(UNIX)
>      add_custom_target(pkgIndex.tcl ALL
>      COMMAND cat ${index} > pkgIndex.tcl
>      DEPENDS ${index}
>      )
>  else(UNIX)
>    find_program(CAT NAMES cat)
>    if(NOT CAT)
>      find_program(COPY NAMES cmd)
>      if(NOT COPY)
>        find_program(COPY NAMES command)
>      endif(NOT COPY)
>      if(COPY)
>        set(CAT  ${COPY} CACHE INTERNAL "program to concatenate files" FORCE)
>        set(COPY "copy"  CACHE INTERNAL "program to concatenate files" FORCE)
>      else(COPY)
>        message(FATAL_ERROR "program to concatenate files not found")
>      endif(COPY)
>      message(STATUS "Copy: ${COPY} - ${CAT}")
>    endif(NOT CAT)
>    if(NOT COPY)
>      set(indexn)
>      foreach(file ${index})
>        file(TO_NATIVE_PATH ${file} filen)
>        set(indexn ${indexn} ${filen})
>      endforeach(file ${index})
>      add_custom_target(pkgIndex.tcl ALL
>      COMMAND ${CAT} ${indexn} > pkgIndex.tcl
>      DEPENDS ${index}
>      )
>    else(NOT COPY)
>      set(indexn)
>      set(prefix)
>      foreach(file ${index})
>        file(TO_NATIVE_PATH ${file} filen)
>       set(indexn ${indexn} ${prefix}${filen})
>       set(prefix +)
>      endforeach(file ${index})
>      add_custom_target(pkgIndex.tcl ALL
>      COMMAND ${COPY} ${indexn} pkgIndex.tcl
>      DEPENDS ${index}
>      )
>    endif(NOT COPY)
>  endif(UNIX)
>  install(
>  FILES ${CMAKE_CURRENT_BINARY_DIR}/pkgIndex.tcl
>  DESTINATION ${DATA_DIR}
>  )
> endif(index)
>
>
>
>> From these 4 lines,
> "
>  if(UNIX)
>      add_custom_target(pkgIndex.tcl ALL
>      COMMAND cat ${index} > pkgIndex.tcl
>      DEPENDS ${index}
>      )
>  else(UNIX)
> "
>
> it seems, there is no condition for Windows, but both for UNIX ...

Not really.  In CMake (just like in C) if the IF condition is not true, then
the ELSE block of code is executed.  So what the error message means above
is that CMake could not find any of "cat", "cmd", or "command" on your
Windows system.  You will need advice from our Windows developers how to
install one of those.  But for now, you should work around the error by
disabling Tcl (e.g., by using the -DENABLE_tcl=OFF cmake option).

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to