[wingide-users] Building Wing IDE from source

James Reese jreese99 at verizon.net
Sat Sep 6 16:12:39 MDT 2008


Hi,

I'm trying to build Wing IDE Professional under Solaris 9. I have gtk+  
2.12.0 installed in /usr/local along with the usual Gnu tools. I'm  
getting the following errors:

/export/home/jreese/src/wingide-source-3.1.3-1/external/pygtk
cmd for pre-build-optimized : None
cmd for post-build-optimized : /usr/local/bin/python2.5 setup.py --yes- 
i-know-its-not-supported build_ext --inplace --disable-numeric
Running '/usr/local/bin/python2.5 setup.py --yes-i-know-its-not- 
supported build_ext --inplace --disable-numeric' in /export/home/ 
jreese/src/wingide-source-3.1.3-1/external/pygtk
Warning: Too old version of gobject-2.0
          Need gobject-2.0, but 2.0.7 is installed

ERROR: Nothing to do, gobject could not be found and is essential.
cmd for pre-install-optimized : None
Running '/usr/local/bin/python2.5 setup.py --yes-i-know-its-not- 
supported install --prefix=/export/home/jreese/src/wingide- 
source-3.1.3-1/build-files/build-temp/extra-gtk-bin --disable-numeric'  
in /export/home/jreese/src/wingide-source-3.1.3-1/external/pygtk
Warning: Too old version of gobject-2.0
          Need gobject-2.0, but 2.0.7 is installed

ERROR: Nothing to do, gobject could not be found and is essential.
cmd for post-install-optimized : None
/export/home/jreese/src/wingide-source-3.1.3-1/external/pyscintilla2
cmd for pre-build-optimized : None
cmd for post-build-optimized : /usr/local/bin/python2.5 setup.pydist  
build_ext --prefix=/export/home/jreese/src/wingide-source-3.1.3-1/ 
build-files/build-temp/extra-gtk-bin --inplace \
--scintilla-dir=../scintilla --scite-properties-dir=../scite-properties
Running '/usr/local/bin/python2.5 setup.pydist build_ext --prefix=/ 
export/home/jreese/src/wingide-source-3.1.3-1/build-files/build-temp/ 
extra-gtk-bin --inplace \
--scintilla-dir=../scintilla --scite-properties-dir=../scite- 
properties' in /export/home/jreese/src/wingide-source-3.1.3-1/external/ 
pyscintilla2
prefix=/export/home/jreese/src/wingide-source-3.1.3-1/build-files/ 
build-temp/extra-gtk-bin
exec-prefix=/export/home/jreese/src/wingide-source-3.1.3-1/build-files/ 
build-temp/extra-gtk-bin (default)
gtk-prefix=/export/home/jreese/src/wingide-source-3.1.3-1/build-files/ 
build-temp/extra-gtk-bin (default)
scintilla-dir=../scintilla
gtk-scintilla-dir=../gtkscintilla2 (default)
scite-properties-dir=../scite-properties
Function not wrapped: add_styled_text
Function not wrapped: get_styled_text
Function not wrapped: find_text
Function not wrapped: format_range
Function not wrapped: get_text_range
Package pygtk-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `pygtk-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pygtk-2.0' found
Package pygtk-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `pygtk-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pygtk-2.0' found
scintilla.c is up to date
sci_names.py is up to date
def_lexer_info.py is up to date
Generating pyscintilla-2.0.pc
Generating pyscintilla.spec
running build_ext
my_init_posix: changing gcc to g++
building '_scintilla' extension
gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes - 
fPIC -DGTK -DG_THREADS_IMPL_NONE=1 -DSCI_LEXER -I/export/home/jreese/ 
src/wingide-source-3.1.3-1/build-files/build-temp/extra-gtk-bin/ 
include -I../scintilla/include -I../scintilla/src -I/usr/include/ 
gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/ 
include/pango-1.0 -I/usr/openwin/include -I/usr/include/glib-2.0 -I/ 
usr/lib/glib-2.0/include -I../gtkscintilla2 -I/usr/local/include/ 
python2.5 -c ../scintilla/gtk/PlatGTK.cxx -o build/temp.solaris-2.9- 
sun4u-2.5/../scintilla/gtk/PlatGTK.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid  
for C/ObjC but not for C++
../scintilla/gtk/PlatGTK.cxx: In member function `virtual void  
SurfaceImpl::AlphaRectangle(PRectangle, int, ColourAllocated, int,  
ColourAllocated, int, int)':
../scintilla/gtk/PlatGTK.cxx:1130: error: `gdk_draw_pixbuf' was not  
declared in this scope
../scintilla/gtk/PlatGTK.cxx:1130: warning: unused variable  
'gdk_draw_pixbuf'
error: command 'gcc' failed with exit status 1
Traceback (most recent call last):
   File "build-files/wingide.py", line 3892, in <module>
     Main()
   File "build-files/wingide.py", line 3731, in Main
     Binaries(PathJoin(WINGHOME, 'bin'))
   File "build-files/wingide.py", line 2498, in Binaries
     gtk.BuildWingTree(debug = False)
   File "build-files/wingide.py", line 2024, in BuildWingTree
     gtkbuild.main('build', *args)
   File "/export/home/jreese/src/wingide-source-3.1.3-1/build-files/ 
gtkbuild.py", line 1182, in main
     method(*cmd_args)
   File "/export/home/jreese/src/wingide-source-3.1.3-1/build-files/ 
gtkbuild.py", line 1043, in build
     pkg.Install(debug = self.debug)
   File "/export/home/jreese/src/wingide-source-3.1.3-1/build-files/ 
gtkbuild.py", line 678, in Install
     self.Build(debug = debug)
   File "/export/home/jreese/src/wingide-source-3.1.3-1/build-files/ 
gtkbuild.py", line 673, in Build
     self._RunScriptCmd('post-build', debug = debug)
   File "/export/home/jreese/src/wingide-source-3.1.3-1/build-files/ 
gtkbuild.py", line 637, in _RunScriptCmd
     self.__RunSingleScript(cmd)
   File "/export/home/jreese/src/wingide-source-3.1.3-1/build-files/ 
gtkbuild.py", line 617, in __RunSingleScript
     RunCmdInDir(cmd, self.build_dir, self.env_changes)
   File "/export/home/jreese/src/wingide-source-3.1.3-1/build-files/ 
gtkbuild.py", line 317, in RunCmdInDir
     raise ValueError, cmd + ' failed'
ValueError: /usr/local/bin/python2.5 setup.pydist build_ext --prefix=/ 
export/home/jreese/src/wingide-source-3.1.3-1/build-files/build-temp/ 
extra-gtk-bin --inplace \
--scintilla-dir=../scintilla --scite-properties-dir=../scite- 
properties failed

One thing I don't understand is why the gcc command in red above is  
looking for include files in /usr/include instead of /usr/local/include.

Any suggestions will be greatly appreciated.

Jim Reese


-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/wingide-users/attachments/20080906/b4cd609d/attachment.html


More information about the wingide-users mailing list