On 2008-07-09 18:35-0700 R C wrote:

> Hi,
> I am having problems compiling plplot-5.9.0 on an AMD64/Ubuntu 8.04 machine, 
> with the Intel Fortran ifort compiler. I ran cmake and then make.
> Initially I got an error from the -KPIC option in the FORTRAN_FLAGS setting 
> in the flags,make files, but it seemed to run OK when I changed this to 
> -fPIC. However, then make quit because it could not find the gnome.defs file 
> (error listed below). I have installed the pygtk and pygtk-dev packages. Any 
> suggestions for fixing this problem are appreciated.
> Recif
>
>  File "/usr/share/pygtk/2.0/codegen/codegen.py", line 1670, in main
>    p.startParsing()
>  File "/usr/share/pygtk/2.0/codegen/scmexpr.py", line 113, in startParsing
>    for statement in statements:
>  File "/usr/share/pygtk/2.0/codegen/scmexpr.py", line 27, in parse
>    fp = open(filename, 'r')
> IOError: [Errno 2] No such file or directory: 
> '/usr/share/pygtk/2.0/defs/gnome.defs'
> make[2]: *** [bindings/gnome2/python/cplplotcanvas.c] Error 1
> make[1]: *** [bindings/gnome2/python/CMakeFiles/cplplotcanvasmodule.dir/all] 
> Error 2
> make: *** [all] Error 2

Hi:

I recently had the same error in Debian testing due to Debian moving
gnome.defs to a different package.  For Debian you can use
debian.org/distrib/packages to check for packages that contain gnome.defs
(or any other file) for the various versions of Debian.  For Debian testing
it is contained in python-gnome2-dev.  If that package name doesn't work for
your version of Ubuntu, then you should use an equivalent Ubuntu site to
find the package that contains gnome.defs for your version of Ubuntu.

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); PLplot scientific plotting software
package (plplot.org); 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
__________________________

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to