[PyKDE] Building SIP + PyQt on Mac OS X

barronsnyder at mac.com barronsnyder at mac.com
Mon Apr 22 00:27:53 BST 2002


I too, was able to get SIP installed (hopefully) but when trying to make 
PyQt, I get most of the same output as Ludger Humbert. I also show all 
the same issues with sipqtProxyqt.h (output below). How can I get around 
this?

Thanks for any help,
Barron

------begin output------------------
[localhost:/Applications/PyQt-3.2rc2] barron% make
make  all-recursive
Making all in features
c++ -DHAVE_CONFIG_H -I. -I. -I..  -I/sw/include/python2.2  
-I/Applications/QtMacEval/include -DQT_THREAD_SUPPORT  
-I/usr/X11R6/include  -fno-exceptions -O2 -c -o sip_helper.o `test -f 
sip_helper.cpp || echo './'`sip_helper.cpp
/bin/sh ../libtool --mode=link c++ -fno-exceptions -O2   -o sip_helper  
sip_helper.o -L/sw/lib/python2.2/site-packages 
-L/Applications/QtMacEval/lib -lqt-mt -L/usr/X11R6/lib  -lSM -lICE -lX11
mkdir .libs
c++ -fno-exceptions -O2 -o sip_helper sip_helper.o  
-L/sw/lib/python2.2/site-packages -L/Applications/QtMacEval/lib -lqt-mt 
-L/usr/X11R6/lib -lSM -lICE -lX11
./sip_helper >../sipQtFeatures.h
Making all in qt
c++ -E -I/sw/include/python2.2  -I/Applications/QtMacEval/include 
-DQT_THREAD_SUPPORT  -I/usr/X11R6/include -I.. sipqtProxyqt.h 
 >moc_sipqtProxyqt.h
sipqtProxyqt.h:39: undefined type, found `class'
sipqtProxyqt.h:39: illegal external declaration, missing `;' after 
`sipProxyqt'
sipqtProxyqt.h:39: undefined type, found `public'
sipqtProxyqt.h:39: illegal external declaration, missing `;' after 
`sipProxy'
sipqtProxyqt.h:41: undefined type, found `Q_OBJECT'
sipqtProxyqt.h:43: illegal external declaration, missing `;' after 
`public'
sipqtProxyqt.h:46: undefined type, found `public'
sipqtProxyqt.h:46: illegal external declaration, missing `;' after 
`slots'
sipqtProxyqt.h:48: undefined type, found `QAction'
sipqtProxyqt.h:50: syntax error, found `&'
sipqtProxyqt.h:50: illegal function definition, found `)'
sipqtProxyqt.h:51: syntax error, found `&'
sipqtProxyqt.h:51: illegal function definition, found `)'
sipqtProxyqt.h:52: syntax error, found `&'
sipqtProxyqt.h:52: illegal function definition, found `)'
sipqtProxyqt.h:54: syntax error, found `&'
sipqtProxyqt.h:54: illegal function definition, found `)'
sipqtProxyqt.h:58: undefined type, found `QIconViewItem'
sipqtProxyqt.h:58: syntax error, found `&'
sipqtProxyqt.h:58: illegal function definition, found `)'
sipqtProxyqt.h:61: undefined type, found `QDropEvent'
sipqtProxyqt.h:61: syntax error, found `&'
sipqtProxyqt.h:61: illegal function definition, found `)'
sipqtProxyqt.h:64: undefined type, found `QIconViewItem'
sipqtProxyqt.h:64: syntax error, found `&'
sipqtProxyqt.h:64: illegal function definition, found `)'
sipqtProxyqt.h:67: undefined type, found `QIconViewItem'
sipqtProxyqt.h:67: syntax error, found `&'
sipqtProxyqt.h:67: illegal function definition, found `)'
sipqtProxyqt.h:70: undefined type, found `QIconViewItem'
sipqtProxyqt.h:72: undefined type, found `QListBoxItem'
sipqtProxyqt.h:72: syntax error, found `&'
sipqtProxyqt.h:72: illegal function definition, found `)'
sipqtProxyqt.h:73: undefined type, found `QListBoxItem'
sipqtProxyqt.h:73: syntax error, found `&'
sipqtProxyqt.h:73: illegal function definition, found `)'
sipqtProxyqt.h:74: undefined type, found `QListBoxItem'
sipqtProxyqt.h:75: undefined type, found `QListViewItem'
sipqtProxyqt.h:76: undefined type, found `QListViewItem'
sipqtProxyqt.h:76: syntax error, found `&'
sipqtProxyqt.h:76: illegal function definition, found `)'
sipqtProxyqt.h:77: undefined type, found `QDropEvent'
sipqtProxyqt.h:78: undefined type, found `QListViewItem'
sipqtProxyqt.h:78: syntax error, found `&'
sipqtProxyqt.h:78: illegal function definition, found `)'
sipqtProxyqt.h:79: undefined type, found `QListViewItem'
sipqtProxyqt.h:79: syntax error, found `&'
sipqtProxyqt.h:79: illegal function definition, found `)'
sipqtProxyqt.h:80: undefined type, found `QListViewItem'
sipqtProxyqt.h:81: undefined type, found `QDockWindow'
sipqtProxyqt.h:82: syntax error, found `&'
sipqtProxyqt.h:82: illegal function definition, found `)'
sipqtProxyqt.h:83: syntax error, found `&'
sipqtProxyqt.h:83: illegal function definition, found `)'
sipqtProxyqt.h:84: undefined type, found `QTextCursor'
sipqtProxyqt.h:85: syntax error, found `::'
sipqtProxyqt.h:85: illegal function definition, found `)'
sipqtProxyqt.h:86: syntax error, found `&'
sipqtProxyqt.h:86: illegal function definition, found `)'
sipqtProxyqt.h:87: syntax error, found `&'
sipqtProxyqt.h:87: illegal function definition, found `)'
sipqtProxyqt.h:89: syntax error, found `::'
sipqtProxyqt.h:89: illegal function definition, found `)'
sipqtProxyqt.h:90: syntax error, found `::'
sipqtProxyqt.h:90: illegal function definition, found `)'
sipqtProxyqt.h:93: syntax error, found `&'
sipqtProxyqt.h:93: illegal function definition, found `)'
sipqtProxyqt.h:96: syntax error, found `&'
sipqtProxyqt.h:96: illegal function definition, found `)'
sipqtProxyqt.h:99: undefined type, found `QNetworkOperation'
sipqtProxyqt.h:102: syntax error, found `&'
sipqtProxyqt.h:102: illegal function definition, found `)'
sipqtProxyqt.h:105: syntax error, found `&'
sipqtProxyqt.h:105: illegal function definition, found `)'
sipqtProxyqt.h:108: undefined type, found `QNetworkOperation'
sipqtProxyqt.h:111: syntax error, found `&'
sipqtProxyqt.h:111: illegal function definition, found `)'
sipqtProxyqt.h:114: syntax error, found `&'
sipqtProxyqt.h:114: illegal function definition, found `)'
sipqtProxyqt.h:115: undefined type, found `QWidget'
sipqtProxyqt.h:116: undefined type, found `QObject'
cpp-precomp: warning: errors during smart preprocessing, retrying in 
basic mode
/Applications/QtMacEval/bin/moc -o sipqtProxyqt.moc moc_sipqtProxyqt.h
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I..  
-I/sw/include/python2.2  -I/Applications/QtMacEval/include 
-DQT_THREAD_SUPPORT  -I/usr/X11R6/include  -fno-exceptions -O2 -c -o 
qtcmodule.lo `test -f qtcmodule.cpp || echo './'`qtcmodule.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/sw/include/python2.2 
-I/Applications/QtMacEval/include -DQT_THREAD_SUPPORT 
-I/usr/X11R6/include -fno-exceptions -O2 -c qtcmodule.cpp  -fno-common 
-DPIC -o qtcmodule.lo
qtcmodule.cpp:168: sipqtQNetworkProtocolFactoryBase.h: No such file or 
directory
In file included from qtcmodule.cpp:169:
sipqtQNetworkProtocol.h:46: sipqtQNetworkProtocolFactoryBase.h: No such 
file or directory
make[2]: *** [qtcmodule.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2





More information about the PyQt mailing list