"Alan W. Irwin" <[EMAIL PROTECTED]> writes:

> On 2006-12-15 09:56+0100 Werner Smekal wrote:
>
> There are two issues here (and a third one below):
>
> (1) Working out the current bugs in the package target.  I suggest you first
>      do that with your MinGW platform since that is obviously an important
>      release platform.  Once that is done, then everybody should check that
>      the package target works on their platform of choice (e.g., Linux,
>      Cygwin, VC++ 2005, and VC++ 6.0).  I suspect there will be no additional
>      problems for the first two because the package target (once it is
>      working properly) only exercises the various install commands and those
>      have all been thoroughly checked out on those platforms by making sure
>      the install target installs all the files correctly.  However, I don't
>      think the install target has yet been tried for VC++ 2005 and VC++ 6.0
>      so there may be a few additional issues to sort out there.
>

I just tried this build using Visual Studio .NET 2003 and Intel Fortran
9.1.  I was able get a successful build using

cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Debug 
  -DCMAKE_INSTALL_PREFIX=\opt\test 
  -DCMAKE_INSTALL_LIBDIR=\opt\test\lib\i686-pc-win32-ivf
  -DBUILD_SHARED_LIBS=OFF -G "NMake Makefiles" path_to_source

The key line was the "-DBUILD_SHARED_LIBS=OFF" because it would not
build otherwise.  After a "nmake all" followd by a "nmake install"
I noticed the first problem.  Install will install relative to the
build directory.  Not quite what I wanted.  So I tried again and
inserted a "C:" in the install directory locations and that fixed
that problem.

As an aside, two really cool things about CMake.  First, I think the
build runs faster than the ABS version.  Second, in the windows build,
I can specify a network share as the source file location, e.g.
\\server\path\to\plplot\source, and cmake is able to work.  

I then proceeded to try cpack, and got an empty tar.gz file.  I tried
cpack with a "-G ZIP" option with no luck either.  I tried to use cpack
on a linux build (gcc) and at first it didn't work because it could not
set permissions in the install directory.  A quick "sudo cpack" and I
got an empty tar.gz file.

I'm using cmake version 2.4-patch 5

-jd


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to