Upon trying to install wxgtk2.8-py25, I encounter a compilation
failure. Specifically,
# cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
$ uname -a
Darwin jdmbp.local 10.0.0 Darwin Kernel Version 10.0.0: Fri Jul 31
22:47:34 PDT 2009; root:xnu-1456.1.25~1/RELEASE_I386 i386
$ fink selfupdate
rsync -az -q rsync://distfiles.master.finkmirrors.net/finkinfo//TIMESTAMP
/sw/fink/TIMESTAMP.tmp
I will now run the rsync command to retrieve the latest package descriptions.
rsync -rtz --delete-after --delete -q --include='10.4/'
--include='10.4/unstable/' --include='10.4/unstable/main/'
--include='10.4/unstable/main/finkinfo/'
--include='10.4/unstable/main/finkinfo/*/'
--include='10.4/unstable/main/finkinfo/*'
--include='10.4/unstable/main/finkinfo/**/*' --include='10.4/'
--include='10.4/unstable/' --include='10.4/unstable/crypto/'
--include='10.4/unstable/crypto/finkinfo/'
--include='10.4/unstable/crypto/finkinfo/*/'
--include='10.4/unstable/crypto/finkinfo/*'
--include='10.4/unstable/crypto/finkinfo/**/*' --include='VERSION'
--include='DISTRIBUTION' --include='README' --exclude='**'
'rsync://distfiles.master.finkmirrors.net/finkinfo' '/sw/fink/'
Scanning package description files..........
Information about 8357 packages read in 1 seconds.
No packages to install.
The core packages have been updated. You should now update the other
packages using commands like 'fink update-all'.
$ fink install wxgtk2.8-py25
Password:
Information about 8355 packages read in 0 seconds.
The following package will be installed or updated:
wxgtk2.8-py25
The following additional package will be installed:
wxgtk2.8
Do you want to continue? [Y/n]
Reading buildlock packages...
/sw/bin/dpkg-lockwait -i
/sw/fink/dists/unstable/main/binary-darwin-i386/x11/wxgtk2.8_2.8.9-20_darwin-i386.deb
Selecting previously deselected package wxgtk2.8.
dpkg: considering removing wxmac28 in favour of wxgtk2.8 ...
dpkg: yes, will remove wxmac28 in favour of wxgtk2.8.
(Reading database ... 47104 files and directories currently installed.)
Unpacking wxgtk2.8 (from .../wxgtk2.8_2.8.9-20_darwin-i386.deb) ...
Setting up wxgtk2.8 (2.8.9-20) ...
Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-wxgtk2.8-py25-2.8.9.1-1
/sw/src/fink.build
dpkg-deb: building package `fink-buildlock-wxgtk2.8-py25-2.8.9.1-1' in
`/sw/src/fink.build/fink-buildlock-wxgtk2.8-py25-2.8.9.1-1_2009.10.21-22.02.45_darwin-i386.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i
/sw/src/fink.build/fink-buildlock-wxgtk2.8-py25-2.8.9.1-1_2009.10.21-22.02.45_darwin-i386.deb
Selecting previously deselected package fink-buildlock-wxgtk2.8-py25-2.8.9.1-1.
(Reading database ... 47074 files and directories currently installed.)
Unpacking fink-buildlock-wxgtk2.8-py25-2.8.9.1-1 (from
.../fink-buildlock-wxgtk2.8-py25-2.8.9.1-1_2009.10.21-22.02.45_darwin-i386.deb)
...
Setting up fink-buildlock-wxgtk2.8-py25-2.8.9.1-1 (2009.10.21-22.02.45) ...
bzip2 -dc /sw/src/wxPython-src-2.8.9.1.tar.bz2 | /sw/bin/tar -xf -
--no-same-owner --no-same-permissions
/sw/bin/python2.5 setup.py WXPORT=gtk2
WX_CONFIG=/sw/lib/wx/config/gtk2-unicode-release-2.8 build_ext
WARNING: WXWIN not set in environment. Assuming '..'
Preparing CORE...
Preparing GLCANVAS...
Preparing STC...
Preparing GIZMOS...
running build_ext
building '_core_' extension
creating build-gtk2.unicode
creating build-gtk2.unicode/temp.macosx-10.6-i386-2.5
creating build-gtk2.unicode/temp.macosx-10.6-i386-2.5/src
creating build-gtk2.unicode/temp.macosx-10.6-i386-2.5/src/gtk
gcc -fno-strict-aliasing -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -I/sw/include -DSWIG_TYPE_TABLE=_wxPython_table
-DSWIG_PYTHON_OUTPUT_TUPLE -DWXP_USE_THREAD=1 -UNDEBUG
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -Iinclude -Isrc
-I/sw/lib/wx/include/gtk2-unicode-release-2.8 -I/sw/include/wx-2.8
-I/sw/include/gtk-2.0 -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0
-I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/glib-2.0
-I/sw/lib/glib-2.0/include -I/sw/include/pixman-1
-I/sw/include/freetype2 -I/sw/include -I/sw/include/libpng12
-I/usr/X11R6/include -I/usr/X11/include -I/sw/include/python2.5 -c
src/helpers.cpp -o
build-gtk2.unicode/temp.macosx-10.6-i386-2.5/src/helpers.o -fno-rtti
-fno-exceptions -O3
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
In file included from /sw/include/wx-2.8/wx/memory.h:16,
from /sw/include/wx-2.8/wx/object.h:20,
from /sw/include/wx-2.8/wx/wx.h:16,
from include/wx/wxPython/wxPython_int.h:19,
from src/helpers.cpp:16:
/sw/include/wx-2.8/wx/string.h: In function 'int Stricmp(const char*,
const char*)':
/sw/include/wx-2.8/wx/string.h:141: error: 'strcasecmp' was not
declared in this scope
src/helpers.cpp: In member function 'void wxPyApp::_BootstrapApp()':
src/helpers.cpp:421: warning: deprecated conversion from string
constant to 'char*'
src/helpers.cpp:422: warning: deprecated conversion from string
constant to 'char*'
src/helpers.cpp: In function 'PyObject* __wxPySetDictionary(PyObject*,
PyObject*)':
src/helpers.cpp:643: warning: deprecated conversion from string
constant to 'char*'
src/helpers.cpp:648: warning: deprecated conversion from string
constant to 'char*'
src/helpers.cpp: In function 'void wxPyOORClientData_dtor(wxPyOORClientData*)':
src/helpers.cpp:811: warning: deprecated conversion from string
constant to 'char*'
src/helpers.cpp: In static member function 'static wxPyCBInputStream*
wxPyCBInputStream::create(PyObject*, bool)':
src/helpers.cpp:1291: warning: deprecated conversion from string
constant to 'char*'
src/helpers.cpp:1292: warning: deprecated conversion from string
constant to 'char*'
src/helpers.cpp:1293: warning: deprecated conversion from string
constant to 'char*'
src/helpers.cpp: In static member function 'static wxPyCBOutputStream*
wxPyCBOutputStream::create(PyObject*, bool)':
src/helpers.cpp:1486: warning: deprecated conversion from string
constant to 'char*'
src/helpers.cpp:1487: warning: deprecated conversion from string
constant to 'char*'
src/helpers.cpp:1488: warning: deprecated conversion from string
constant to 'char*'
src/helpers.cpp: In member function 'void wxPyCallback::EventThunker(wxEvent&)':
src/helpers.cpp:1689: warning: deprecated conversion from string
constant to 'char*'
src/helpers.cpp:1689: warning: deprecated conversion from string
constant to 'char*'
error: command 'gcc' failed with exit status 1
### execution of /sw/bin/python2.5 failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-wxgtk2.8-py25-2.8.9.1-1
(Reading database ... 47075 files and directories currently installed.)
Removing fink-buildlock-wxgtk2.8-py25-2.8.9.1-1 ...
Failed: phase compiling: wxgtk2.8-py25-2.8.9.1-1 failed
Before reporting any errors, please run "fink selfupdate" and
try again. If you continue to have issues, please check to see if the
FAQ on fink's website solves the problem. If not, ask on the fink-users
or fink-beginners mailing lists, with a carbon copy to the maintainer:
Jed Frechette <[email protected]>
Note that this is preferable to emailing the maintainer directly, since
most fink package maintainers do not have access to all possible
hardware and software configurations.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users