/usr/share/pygtk/2.0/codegen/h2def.py on Fedora is not executable. The
following patch fixes. If there is a variable for the python
executable, presumably you want to use that instead.
--- plplot-5.7.1/bindings/gnome2/python/CMakeLists.txt.pygtk2
2006-11-26 19:27:01.000000000 -0700
+++ plplot-5.7.1/bindings/gnome2/python/CMakeLists.txt 2006-11-27
13:59:49.000000000 -0700
@@ -30,8 +30,9 @@
# Use sed to rename PLINT and PLFLT so that h2def.py knows what to do.
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/gcw.defs
-COMMAND ${codegen}/h2def.py
+COMMAND python
ARGS
+${codegen}/h2def.py
${CMAKE_SOURCE_DIR}/include/gcw.h
| sed -e s/PLINT/gint32/ -e s/PLFLT/double/
> ${CMAKE_CURRENT_BINARY_DIR}/gcw.defs
@@ -61,8 +62,9 @@
# Use sed to rename PLINT and PLFLT so that h2def.py knows what to do.
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/plplotcanvas.defs
-COMMAND ${codegen}/h2def.py
+COMMAND python
ARGS
+${codegen}/h2def.py
${CMAKE_SOURCE_DIR}/include/plplotcanvas.h
| sed -e s/PLINT/gint32/ -e s/PLFLT/double/
> ${CMAKE_CURRENT_BINARY_DIR}/plplotcanvas.defs
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane [EMAIL PROTECTED]
Boulder, CO 80301 http://www.cora.nwra.com
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel