Hi Alan

comprehensive_test.tar.gz is attached


export CFLAGS='-g'
export CXXFLAGS='-g'
export FFLAGS='-g'


ok, I see I thought you meant environment variables specific for PLplot to build. These are gcc compiler flags, personally I never set them this way, but instead I do it for each makefile.

In this build they are the above  environment variables

thanks

-Pedro


----- Original Message ----- From: "Alan W. Irwin" <ir...@beluga.phys.uvic.ca>
To: "Pedro Vicente" <pedro.vice...@space-research.org>
Cc: <plplot-devel@lists.sourceforge.net>
Sent: Friday, December 09, 2016 5:05 PM
Subject: Re: [Plplot-devel] Soft freeze on December 3rd and release on December 17th?


On 2016-12-09 11:38-0500 Pedro Vicente wrote:


Hi Alan

I get an error on the script

ERROR: cmake in the build tree failed

what I did (CentOS 6.8)

git clone http://git.code.sf.net/p/plplot/plplot plplot-plplot
cd plplot-plplot/scripts
./comprehensive_test.sh

Please look in the prefix directory  (by default that is
../comprehensive_test_disposable relative to the top
of the source tree) for the report tarball, comprehensive_test.tar.gz,
and send that tarball (on or off list) to me.  That should allow me to
find out why that cmake invocation failed for you, and give you
some recommendations about running this test again.


then I tried

mkdir build
cd build
cmake ..
make

This is already a big difference with your comprehensive test result
above because cmake succeeded here but not there.  But I will know
a lot more once I receive the above report tarball from you that
is generated by the comprehensive test.

Note:

1)

Essentially all you have to do is set up
the relevant environment variables that you normally use to build
PLplot


I never did set any environment variables to build PLplot before, which
ones?

It depends on your individual needs.  I like to test PLplot with certain
compiler options so I typically set

export CFLAGS='-O3 -fvisibility=hidden -Wuninitialized'
export CXXFLAGS='-O3 -fvisibility=hidden -Wuninitialized'
export FFLAGS='-O3 -Wuninitialized -Wunused'

But when debugging issues I reduce those to

export CFLAGS='-g'
export CXXFLAGS='-g'
export FFLAGS='-g'

Also, I generally find setting the environment variables PATH, CMAKE_INCLUDE_PATH, CMAKE_LIBRARY_PATH, and PKG_CONFIG_PATH are often
a big help if cmake is having trouble finding software installed in
non-standard locations.

I can provide further debug output, let me know to which email address
should I send to

I would prefer to work with your results for the comprehensive test
script since that often supplies me with all the information I need to
answer your questions.  In this case, that script did not get very far
the first time you invoked it, but once I see that report tarball, I
can likely advise you what simple fix to make so that cmake completes
without errors, which means your next comprehensive test run should
get to this current build problem concerning wxwidgets with all the
information I need, and we can take it from there.

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); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); 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
__________________________

Attachment: comprehensive_test.tar.gz
Description: GNU Zip compressed data

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to