Hi Alan,

On Jun 24, 2013, at 1:52 AM, Alan W. Irwin <ir...@beluga.phys.uvic.ca> wrote:

> Blanks in paths generally cause build trouble so I am wondering if (3)
> has a blank in one of the paths as one of the "minor" path adjustments
> compared to case (2).

I didn't find any stray blanks. I'd be happy to send you the script(s) for GNAT 
2013 which doesn't work and 2011 which does.
> 
> In case this guess for the cause of the issue is not correct, then I
> suggest you take the usual next debugging step which is to attempt to
> replicate the issue for the simplest test case possible.
> 
> Fortunately, such a "Hello World" test case for Ada is already
> implemented.  You should be able to download it using
> 
> svn checkout \
> http://svn.code.sf.net/p/plplot/code/branches/test_cmake/test_ada \
> test_ada

This step fails. I've attached my script and the output made when running with 
both GNAT 2013 and 2011. As you can see, they both fail at the same place.

There should be three attached text files.

Jerry


Attachment: test.sh
Description: Binary data

MBPro:~ jerrybauck$ 
/Users/jerrybauck/Documents/Programs/Ada/Code/Bindings/PLplot/Problems_building_PLplot_with_GNAT_GPL_2013/test_from_readme.sh
 
-- The C compiler identification is GNU 4.7.4
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/local/adacore-gnat-2013/bin/gcc
-- Check for working C compiler: /usr/local/adacore-gnat-2013/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- CMAKE_PLATFORM_INFO_DIR = /Users/jerrybauck/temp_plplot/CMakeFiles
-- Check for working Ada builder: /usr/local/adacore-gnat-2013/bin/gnatmake
-- Check for working Ada builder: /usr/local/adacore-gnat-2013/bin/gnatmake -- 
works
-- gnat version = 4.7
CMake Error at ada.cmake:14 (message):
  Required gnat library not found.
Call Stack (most recent call first):
  CMakeLists.txt:30 (include)


-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found.  Stop.
/Users/jerrybauck/Documents/Programs/Ada/Code/Bindings/PLplot/Problems_building_PLplot_with_GNAT_GPL_2013/test_from_readme.sh:
 line 8: src_executable/hello: No such file or directory
MBPro:~ jerrybauck$ 




























MBPro:~ jerrybauck$ 
/Users/jerrybauck/Documents/Programs/Ada/Code/Bindings/PLplot/Problems_building_PLplot_with_GNAT_GPL_2013/test.sh
 
-- The C compiler identification is GNU 4.5.3
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/local/adacore-gnat-2011/bin/gcc
-- Check for working C compiler: /usr/local/adacore-gnat-2011/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- CMAKE_PLATFORM_INFO_DIR = /Users/jerrybauck/temp_plplot/CMakeFiles
-- Check for working Ada builder: /usr/local/adacore-gnat-2011/bin/gnatmake
-- Check for working Ada builder: /usr/local/adacore-gnat-2011/bin/gnatmake -- 
works
-- gnat version = 4.5
CMake Error at ada.cmake:14 (message):
  Required gnat library not found.
Call Stack (most recent call first):
  CMakeLists.txt:30 (include)


-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found.  Stop.
/Users/jerrybauck/Documents/Programs/Ada/Code/Bindings/PLplot/Problems_building_PLplot_with_GNAT_GPL_2013/test.sh:
 line 8: src_executable/hello: No such file or directory
MBPro:~ jerrybauck$ 
> 
> If that extremely simple test case replicates the issue, you should
> communicate (as attachments) your build tree results (including cmake
> output and make VERBOSE=1 output) as a compressed tarball and also
> your script for building the simple test case for both GNAT 2011 and
> 2013. That e-mail can be posted too this list if the total size is
> less than a MB or so, but otherwise send it to me off list.
> 
> Of course, if that simple test case gives good results for both GNAT
> 2011 and 2013, that is an encouraging result, but that means you need
> to replicate the issue for the simplest PLplot case (no device drivers
> other than ps, no bindings other than Ada), and communicate the PLplot
> build tree result and your build script and build script output for
> that simplest PLplot case for both GNAT 2011 and 2013.

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to