On Thu, Jul 1, 2010 at 7:11 PM, Marius Schamschula <mschamsch...@gmail.com> wrote: > Puneet, > > What does > > ls /usr/X11R6/include/ > > give you?
punk...@lucknow ~$ls /usr/X11R6/include/ GL/ X11/ cairo/ fontconfig/ freetype2/ ft2build.h libpng12/ pixman-1/ png.h@ pngconf.h@ xcb/ punk...@lucknow ~$ > > My guess is that cmake picks up Apple's obsolete libraries. I disable the > include files in the above directory by renaming them. > Are you suggesting that I just rename /usr/X11R6 and then try building PLplot? > On Jul 1, 2010, at 6:52 PM, P Kishor wrote: > >> Ok. I tried building PLplot once again, but failed in enabling PNG >> output. In the process, I updated fontconfig, libiconv, cairo, >> poppler, and pkg-config. Here is my long-ish account of what I did >> >> punk...@lucknow ~/Projects/plplot-5.9.6$ ls >> .gitignore PROBLEMS >> cmake/ lib/ >> AUTHORS README >> config.h.cmake pkgcfg/ >> CMakeLists.txt README.Release_Manager_Cookbook >> data/ plplot-c-style.el >> COPYING.LIB README.developers >> debian/ plplot_test/ >> ChangeLog README.emacs doc/ >> rpm/ >> Copyright README.release >> drivers/ scripts/ >> FAQ README.testing >> examples/ src/ >> INSTALL SERVICE >> fonts/ uncrustify.cfg >> NEWS ToDo git/ >> utils/ >> OLD-README.release bindings/ >> include/ www/ >> punk...@lucknow ~/Projects/plplot-5.9.6$ cd .. >> punk...@lucknow ~/Projects$ mkdir plplot-build/ >> punk...@lucknow ~/Projects$ cd plplot-build/ >> punk...@lucknow ~/Projects/plplot-build$ cmake -DPLD_aqt=OFF \ >> -DENABLE_java=OFF \ >> -DENABLE_octave=OFF \ >> -DENABLE_python=OFF \ >> -DENABLE_tcl=OFF \ >> -DENABLE_itcl=OFF \ >> -DENABLE_tk=OFF \ >> -DENABLE_itk=OFF \ >> -DENABLE_ada=OFF \ >> -DENABLE_d=OFF \ >> -DENABLE_ocaml=OFF \ >> -DENABLE_qt=OFF \ >> -DENABLE_pdl=OFF \ >> -DENABLE_wxwidgets=OFF \ >> -DPLD_wxwidgets=OFF \ >> -DWITH_FREETYPE=OFF \ >> -DPL_FREETYPE_FONT_PATH=/usr/local/share/fonts/default/TrueType \ >> -DFREETYPE_INCLUDE_DIR=/usr/local/include/freetype2 \ >> -DFREETYPE_LIBRARY=/usr/local/lib/libfreetype.dylib \ >> -DPLD_png=ON \ >> -DPLD_gif=ON \ >> -DPLD_jpeg=ON \ >> -DPLD_pngcairo=ON \ >> -DPLD_svgcairo=ON \ >> -DHAVE_QHULL=ON \ >> -DHAVE_AGG=ON \ >> ../plplot-5.9.6 >> -- CMake version = 2.6.2 >> -- Checking whether system has ANSI C header files >> -- ANSI C header files - found >> -- SWIG_VERSION = 1.3.31 >> -- Looking for pkg-config - found >> -- X11_FOUND = 1 >> -- X11_INCLUDE_DIR = /usr/include >> -- X11_COMPILE_FLAGS = -I/usr/include >> -- X11_LIBRARIES = >> /usr/X11R6/lib/libSM.dylib;/usr/X11R6/lib/libICE.dylib;/usr/X11R6/lib/libX11.dylib;/usr/X11R6/lib/libXext.dylib >> -- NOTICE: Found: /usr/local/bin/gfortran >> -- ENABLE_tcl is OFF so disabling everything else that is Tcl/Tk related >> -- FREETYPE_INCLUDE_DIR = /usr/local/include/freetype2 >> -- FREETYPE_LIBRARIES = /usr/local/lib/libfreetype.dylib >> Fonts not found - disabling freetype >> -- checking for module 'pango' >> -- package 'pango' not found >> -- WARNING: pkg-config does not find pango. >> -- checking for module 'pangoft2' >> -- package 'pangoft2' not found >> -- WARNING: pkg-config does not find pangoft2. >> -- Found LTDL: /usr/lib/libltdl.dylib;/usr/lib/libdl.dylib >> -- LTDL_INCLUDE_DIR = /usr/include >> -- LTDL_LIBRARY_DIR = /usr/lib >> -- LTDL_LIBRARIES = /usr/lib/libltdl.dylib;/usr/lib/libdl.dylib >> -- checking for module 'pangocairo' >> -- package 'pangocairo' not found >> includedir = >> libdir = >> linkflags = >> cflags = >> -- WARNING: pango and/or cairo not found with pkg-config. >> Disabling cairo drivers. To enable these drivers you must install >> development versions of pango and cairo and/or set >> the environment variable PKG_CONFIG_PATH appropriately. >> -- Not a Windows platform so setting wincairo driver to OFF. >> -- Found GD: /usr/local/lib/libgd.dylib >> -- WARNING: validate target will not be available to check for syntax >> errors in the PLplot DocBook documentation because onsgmls was not >> found. >> >> Summary of CMake build system results for PLplot >> >> Install location variables which can be set by the user: >> CMAKE_INSTALL_PREFIX: /usr/local >> CMAKE_INSTALL_EXEC_PREFIX /usr/local >> CMAKE_INSTALL_BINDIR /usr/local/bin >> CMAKE_INSTALL_DATADIR /usr/local/share >> CMAKE_INSTALL_LIBDIR /usr/local/lib >> CMAKE_INSTALL_INCLUDEDIR /usr/local/include >> CMAKE_INSTALL_INFODIR /usr/local/share/info >> CMAKE_INSTALL_MANDIR /usr/local/share/man >> >> Derived install location variables: >> DATA_DIR /usr/local/share/plplot5.9.6 >> LIB_DIR /usr/local/lib >> INCLUDE_DIR /usr/local/include/plplot >> BIN_DIR /usr/local/bin >> TCL_DIR /usr/local/share/plplot5.9.6/tcl >> ADA_INCLUDE_DIR /usr/local/share/ada/adainclude/plplotadad >> ADA_LIB_DIR /usr/local/lib/ada/adalib/plplotadad >> PYTHON_INSTDIR >> DRV_DIR /usr/local/lib/plplot5.9.6/driversd >> DOC_DIR /usr/local/share/doc/plplot >> MAN_DIR /usr/local/share/man >> INFO_DIR /usr/local/share/info >> >> Other important CMake variables: >> >> CMAKE_SYSTEM_NAME: Darwin >> UNIX: 1 >> WIN32: >> APPLE: 1 >> MSVC: (MSVC_VERSION: ) >> MINGW: >> MSYS: >> CYGWIN: >> BORLAND: >> WATCOM: >> >> SWIG_FOUND: 1 >> PERL_FOUND: TRUE >> X11_FOUND: 1 >> >> CMAKE_BUILD_TYPE: >> CMAKE_C_COMPILER CMAKE_C_FLAGS: /usr/bin/gcc >> CMAKE_CXX_COMPILER CMAKE_CXX_FLAGS: /usr/bin/c++ >> CMAKE_Fortran_COMPILER CMAKE_Fortran_FLAGS: /usr/local/bin/gfortran >> Target Fortran: >> LIB_TAG: d >> >> ENABLE_DYNDRIVERS: ON >> DRIVERS_LIST: mem;null;ps;svg;xfig;xwin >> DEVICES_LIST: mem;null;ps;svg;xfig;xwin >> >> Library options: >> BUILD_SHARED_LIBS: ON PL_DOUBLE: ON >> >> Optional libraries: >> HAVE_QHULL: OFF WITH_CSA: ON >> HAVE_FREETYPE: HAVE_PTHREAD: OFF >> HAVE_AGG: >> >> Language Bindings: >> ENABLE_f77: ON ENABLE_f95: ON >> ENABLE_cxx: ON ENABLE_java: OFF >> ENABLE_python: OFF ENABLE_octave: OFF >> ENABLE_tcl: OFF ENABLE_itcl: OFF >> ENABLE_tk: OFF ENABLE_itk: OFF >> ENABLE_pdl: OFF ENABLE_wxwidgets: OFF >> ENABLE_ada: OFF ENABLE_d: OFF >> ENABLE_ocaml: OFF ENABLE_lua: OFF >> ENABLE_qt: OFF ENABLE_pyqt4: OFF >> >> -- Configuring done >> -- Generating done >> -- Build files have been written to: /Users/punkish/Projects/plplot-build >> punk...@lucknow ~/Projects/plplot-build$ >> >> >> I am at my wit's end. As can be seen from the devices list, I just >> can't get png to be enabled. >> >> DEVICES_LIST: mem;null;ps;svg;xfig;xwin >> >> I also have agg installed, and that also doesn't get recognized >> (actually, I don't quite know how to turn on agg other than >> -DHAVE_AGG=ON, which is not really in the documentation). >> >> On Wed, Jun 30, 2010 at 9:15 AM, Arjen Markus <arjen.mar...@deltares.nl> >> wrote: >>> Hi Puneet, >>> >>> you are right: the --help option of CMake does not display any >>> PLplot-specific information (that is: it does not read it from >>> the CMakeLists.txt file). Perhaps we ought to add that. >>> (And of course, some more illustrative examples of building >>> PLplot ;)). >>> >> .. >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by Sprint >> What will you do first with EVO, the first 4G phone? >> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first >> _______________________________________________ >> Plplot-general mailing list >> Plplot-general@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/plplot-general > > -- Puneet Kishor http://www.punkish.org Carbon Model http://carbonmodel.org Charter Member, Open Source Geospatial Foundation http://www.osgeo.org Science Commons Fellow, http://sciencecommons.org/about/whoweare/kishor Nelson Institute, UW-Madison http://www.nelson.wisc.edu ----------------------------------------------------------------------- Assertions are politics; backing up assertions with evidence is science ======================================================================= ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general