Bugs item #2060276, was opened at 2008-08-19 11:02
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102915&aid=2060276&group_id=2915

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Glenn Morris (rgmorris)
Assigned to: Nobody/Anonymous (nobody)
Summary: itcl.h build failure on rhel 5.2

Initial Comment:
5.9.0 build failure on rhel 5.2 due to itcl.h
problems:

itcl.h is in a non-standard location on my system
(/data/soft/local).

Tried the following:

export CPPFLAGS=-I/data/soft/local/include
export LDFLAGS=-L/data/soft/local/libs

cmake -DCMAKE_INSTALL_PREFIX=/data/soft/plplot/5.9.0 \
  -DCMAKE_INCLUDE_PATH=/data/soft/local/include \
  -DCMAKE_LIBRARY_PATH=/data/soft/local/lib ..

cmake reports:

-- Looking for itcl.h
-- Looking for itcl.h - found
-- Looking for itcl library
-- Looking for itcl library - found
-- ITCL_INCLUDE_PATH = /data/soft/local/include
-- ITCL_LIBRARY = /data/soft/local/lib/itcl3.3/libitcl3.3.so

which is all correct.

However, build fails:
[100%] Building C object utils/CMakeFiles/pltcl.dir/pltcl.o
/tmp/plplot-5.9.0/utils/pltcl.c:37:19: error: itcl.h: No such file or directory
make[2]: *** [utils/CMakeFiles/pltcl.dir/pltcl.o] Error 1
make[1]: *** [utils/CMakeFiles/pltcl.dir/all] Error 2
make: *** [all] Error 2

Fixed by editing 
utils/CMakeFiles/pltcl.dir
by hand to add -I/data/soft/local/include
to C_FLAGS.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102915&aid=2060276&group_id=2915

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to