[PyKDE] Compilation of snapshot
Vegar Neshaug
vneshaug at gmail.com
Fri Nov 3 23:11:13 GMT 2006
Hello
I'm experiencing some problems with building PyQt4 on a Microsoft Windows
machine.
I have installed the opensource mingw version of Qt 4.2 and compiled
the latest snapshot of SIP( 20061028 ) with MinGW.
When trying to compile PyQt snapshot 20061029 with MinGW ( mingw32-make) I
get an "Input line too long" error when it comes to compiling the QtGui
directory. I've searched around and I found this is a windows specific
problem related to a maximum input line size in the command line
interpreter.
I'm not very proficient with c++ or maked projects but it seems to me like
the QtGui directorys Makefile has an exceptionally long OFILES variable
which results in a very long input line to g++, and it unfortunately exceeds
a maximum in Windows.
Is it perhaps possible to alter the Makefile to make the compilation in two
g++ commands instead of one, to shorten the input line?
Thanks in advance,
Vegar
Below is the output of the mingw32-make attempt:
C:\Qt\pyqt>mingw32-make
makefile:30: warning: overriding commands for target `.c.o'
makefile:27: warning: ignoring old commands for target `.c.o'
mingw32-make[1]: Entering directory `C:/Qt/pyqt/QtCore'
mingw32-make[1]: `QtCore.pyd' is up to date.
mingw32-make[1]: Leaving directory `C:/Qt/pyqt/QtCore'
makefile:30: warning: overriding commands for target `.c.o'
makefile:27: warning: ignoring old commands for target `.c.o'
mingw32-make[1]: Entering directory `C:/Qt/pyqt/QtGui'
g++ -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import
-Wl,-enable-runt
ime-pseudo-reloc -shared -Wl,-subsystem,windows -Wl,-s -o QtGui.pydsipQtGuicmod
ule.o sipQtGuiQMap.o sipQtGuiQVector.o sipQtGuiQWorkspace.osipQtGuiQWidgetActio
n.o sipQtGuiQWhatsThis.o sipQtGuiQRegExpValidator.o
sipQtGuiQDoubleValidator.o s
ipQtGuiQIntValidator.o sipQtGuiQValidator.o sipQtGuiQUndoView.osipQtGuiQUndoSta
ck.o sipQtGuiQUndoCommand.o sipQtGuiQUndoGroup.osipQtGuiQTreeWidgetItemIterator
IteratorFlags.o sipQtGuiQTreeWidgetItemIterator.o sipQtGuiQTreeWidget.osipQtGui
QTreeWidgetItem.o sipQtGuiQTreeView.o sipQtGuiQToolTip.o
sipQtGuiQToolButton.o s
ipQtGuiQToolBox.o sipQtGuiQToolBar.o sipQtGuiQTextTable.osipQtGuiQTextTableCell
.o sipQtGuiQTextOptionFlags.o sipQtGuiQTextOption.o
sipQtGuiQTextBlockUserData.o
sipQtGuiQTextFragment.o sipQtGuiQTextBlockiterator.o sipQtGuiQTextBlock.osipQt
GuiQTextFrameiterator.o sipQtGuiQTextFrame.o sipQtGuiQTextObject.osipQtGuiQText
BlockGroup.o sipQtGuiQTextList.o sipQtGuiQTextLine.osipQtGuiQTextLayoutFormatRa
nge.o sipQtGuiQTextLayout.o sipQtGuiQTextInlineObject.osipQtGuiQTextTableFormat
.o sipQtGuiQTextFrameFormat.o sipQtGuiQTextImageFormat.osipQtGuiQTextListFormat
.o sipQtGuiQTextBlockFormat.o sipQtGuiQTextCharFormat.osipQtGuiQTextFormatPageB
reakFlags.o sipQtGuiQTextFormat.o sipQtGuiQTextLength.osipQtGuiQTextEditAutoFor
matting.o sipQtGuiQTextEditExtraSelection.o sipQtGuiQTextDocumentFragment.osipQ
tGuiQTextDocumentFindFlags.o sipQtGuiQTextDocument.o sipQtGuiQt.osipQtGuiQTextC
ursor.o sipQtGuiQTextEdit.o sipQtGuiQTextBrowser.o sipQtGuiQTabWidget.osipQtGui
QTableWidget.o sipQtGuiQTableWidgetItem.o
sipQtGuiQTableWidgetSelectionRange.o s
ipQtGuiQTableView.o sipQtGuiQTabBar.o sipQtGuiQSystemTrayIcon.osipQtGuiQSyntaxH
ighlighter.o sipQtGuiQStylePainter.o sipQtGuiQStyleOptionGraphicsItem.osipQtGui
QStyleOptionSizeGrip.o sipQtGuiQStyleOptionViewItemV2ViewItemFeatures.osipQtGui
QStyleOptionViewItemV2.o sipQtGuiQStyleOptionGroupBox.osipQtGuiQStyleOptionTool
BarToolBarFeatures.o sipQtGuiQStyleOptionToolBar.osipQtGuiQStyleHintReturnMask.
o sipQtGuiQStyleHintReturn.o sipQtGuiQStyleOptionTitleBar.osipQtGuiQStyleOption
ComboBox.o sipQtGuiQStyleOptionToolButtonToolButtonFeatures.osipQtGuiQStyleOpti
onToolButton.o sipQtGuiQStyleOptionSpinBox.o sipQtGuiQStyleOptionSlider.osipQtG
uiQStyleOptionComplex.o sipQtGuiQStyleOptionRubberBand.osipQtGuiQStyleOptionToo
lBox.o sipQtGuiQStyleOptionViewItem.o sipQtGuiQStyleOptionDockWidget.osipQtGuiQ
StyleOptionMenuItem.o sipQtGuiQStyleOptionProgressBarV2.osipQtGuiQStyleOptionPr
ogressBar.o sipQtGuiQStyleOptionTabV2.o
sipQtGuiQStyleOptionTabCornerWidgets.o s
ipQtGuiQStyleOptionTab.o sipQtGuiQStyleOptionButtonButtonFeatures.osipQtGuiQSty
leOptionButton.o sipQtGuiQStyleOptionHeader.o
sipQtGuiQStyleOptionTabBarBase.o s
ipQtGuiQStyleOptionTabWidgetFrame.o
sipQtGuiQStyleOptionFrameV2FrameFeatures.o s
ipQtGuiQStyleOptionFrameV2.o sipQtGuiQStyleOptionFrame.osipQtGuiQStyleOptionFoc
usRect.o sipQtGuiQStyleOption.o sipQtGuiQStyleFactory.osipQtGuiQStyleSubControl
s.o sipQtGuiQStyleState.o sipQtGuiQStyle.o sipQtGuiQStringListModel.osipQtGuiQS
tatusBar.o sipQtGuiQStandardItem.o sipQtGuiQStandardItemModel.osipQtGuiQStacked
Widget.o sipQtGuiQStackedLayout.o sipQtGuiQSplitterHandle.o
sipQtGuiQSplitter.o
sipQtGuiQSplashScreen.o sipQtGuiQDoubleSpinBox.o sipQtGuiQSpinBox.osipQtGuiQSou
nd.o sipQtGuiQSortFilterProxyModel.o sipQtGuiQSlider.o sipQtGuiQSizePolicy.osip
QtGuiQSizeGrip.o sipQtGuiQShortcut.o sipQtGuiQSessionManager.osipQtGuiQScrollBa
r.o sipQtGuiQScrollArea.o sipQtGuiQRubberBand.o sipQtGuiQRegion.osipQtGuiQRadio
Button.o sipQtGuiQPushButton.o sipQtGuiQProxyModel.o
sipQtGuiQProgressDialog.o s
ipQtGuiQProgressBar.o sipQtGuiQPrintEngine.o sipQtGuiQPrintDialog.osipQtGuiQPri
nter.o sipQtGuiQPolygonF.o sipQtGuiQPolygon.o sipQtGuiQPixmapCache.osipQtGuiQPi
ctureIO.o sipQtGuiQPicture.o sipQtGuiQPen.o sipQtGuiQPalette.osipQtGuiQPainterP
athElement.o sipQtGuiQPainterPath.o sipQtGuiQPaintEngineState.osipQtGuiQPaintEn
gineDirtyFlags.o sipQtGuiQPaintEnginePaintEngineFeatures.osipQtGuiQPaintEngine.
o sipQtGuiQTextItemRenderFlags.o sipQtGuiQTextItem.osipQtGuiQPainterRenderHints
.o sipQtGuiQPainter.o sipQtGuiQPageSetupDialog.o sipQtGuiQMovie.osipQtGuiQMessa
geBoxStandardButtons.o sipQtGuiQMessageBox.o sipQtGuiQMenuBar.o
sipQtGuiQMenu.o
sipQtGuiQMatrix.o sipQtGuiQMainWindow.o sipQtGuiQListWidget.osipQtGuiQListWidge
tItem.o sipQtGuiQListView.o sipQtGuiQLineEdit.o sipQtGuiQLCDNumber.osipQtGuiQWi
dgetItem.o sipQtGuiQSpacerItem.o sipQtGuiQLayoutItem.o sipQtGuiQLabel.osipQtGui
QKeySequence.o sipQtGuiQItemDelegate.o sipQtGuiQInputDialog.osipQtGuiQInputCont
ext.o sipQtGuiQImageWriter.o sipQtGuiQImageReader.o
sipQtGuiQImageIOHandler.o si
pQtGuiQPaintDevice.o sipQtGuiQImage.o sipQtGuiQItemSelection.osipQtGuiQItemSele
ctionModelSelectionFlags.o sipQtGuiQItemSelectionModel.osipQtGuiQItemSelectionR
ange.o sipQtGuiQItemEditorFactory.o sipQtGuiQItemEditorCreatorBase.osipQtGuiQIc
onEngine.o sipQtGuiQIcon.o sipQtGuiQHeaderView.o sipQtGuiQGroupBox.osipQtGuiQGr
idLayout.o sipQtGuiQGraphicsViewCacheMode.o sipQtGuiQGraphicsView.osipQtGuiQGra
phicsSceneDragDropEvent.o sipQtGuiQGraphicsSceneHelpEvent.osipQtGuiQGraphicsSce
neHoverEvent.o sipQtGuiQGraphicsSceneContextMenuEvent.osipQtGuiQGraphicsSceneWh
eelEvent.o sipQtGuiQGraphicsSceneMouseEvent.o sipQtGuiQGraphicsSceneEvent.osipQ
tGuiQGraphicsScene.o sipQtGuiQGraphicsItemAnimation.osipQtGuiQGraphicsItemGroup
.o sipQtGuiQGraphicsSimpleTextItem.o sipQtGuiQGraphicsTextItem.osipQtGuiQGraphi
csPixmapItem.o sipQtGuiQGraphicsLineItem.o sipQtGuiQGraphicsPolygonItem.osipQtG
uiQGraphicsEllipseItem.o sipQtGuiQGraphicsRectItem.o
sipQtGuiQGraphicsPathItem.o
sipQtGuiQAbstractGraphicsShapeItem.o
sipQtGuiQGraphicsItemGraphicsItemFlags.o s
ipQtGuiQGraphicsItem.o sipQtGuiQFontMetricsF.o sipQtGuiQFontMetrics.osipQtGuiQF
ontInfo.o sipQtGuiQFontDialog.o sipQtGuiQList.o sipQtGuiQFontDatabase.osipQtGui
QFontComboBoxFontFilters.o sipQtGuiQFontComboBox.o sipQtGuiQFont.osipQtGuiQFocu
sFrame.o sipQtGuiQFileDialogOptions.o sipQtGuiQFileDialog.osipQtGuiQWindowState
ChangeEvent.o sipQtGuiQShortcutEvent.o sipQtGuiQFileOpenEvent.osipQtGuiQActionE
vent.o sipQtGuiQWhatsThisClickedEvent.o sipQtGuiQStatusTipEvent.osipQtGuiQHelpE
vent.o sipQtGuiQDragLeaveEvent.o sipQtGuiQDragEnterEvent.osipQtGuiQDragMoveEven
t.o sipQtGuiQMimeSource.o sipQtGuiQDropEvent.osipQtGuiQInputMethodEventAttribut
e.o sipQtGuiQInputMethodEvent.o sipQtGuiQContextMenuEvent.o
sipQtGuiQHideEvent.o
sipQtGuiQShowEvent.o sipQtGuiQIconDragEvent.o sipQtGuiQCloseEvent.osipQtGuiQRe
sizeEvent.o sipQtGuiQMoveEvent.o sipQtGuiQPaintEvent.o sipQtGuiQFocusEvent.osip
QtGuiQKeyEvent.o sipQtGuiQTabletEvent.o sipQtGuiQWheelEvent.osipQtGuiQHoverEven
t.o sipQtGuiQMouseEvent.o sipQtGuiQInputEvent.o sipQtGuiQErrorMessage.osipQtGui
QDrag.o sipQtGuiQDockWidgetDockWidgetFeatures.o sipQtGuiQDockWidget.osipQtGuiQD
irModel.o sipQtGuiQFileIconProvider.o
sipQtGuiQDialogButtonBoxStandardButtons.o
sipQtGuiQDialogButtonBox.o sipQtGuiQDial.o sipQtGuiQDesktopWidget.osipQtGuiQDes
ktopServices.o sipQtGuiQDateEdit.o sipQtGuiQTimeEdit.osipQtGuiQDateTimeEditSect
ions.o sipQtGuiQDateTimeEdit.o sipQtGuiQDataWidgetMapper.o sipQtGuiQCursor.osip
QtGuiQCompleter.o sipQtGuiQComboBox.o sipQtGuiQColorDialog.osipQtGuiQClipboard.
o sipQtGuiQCheckBox.o sipQtGuiQButtonGroup.o sipQtGuiQConicalGradient.osipQtGui
QRadialGradient.o sipQtGuiQLinearGradient.o sipQtGuiQGradient.o
sipQtGuiQBrush.o
sipQtGuiQColor.o sipQtGuiQCalendarWidget.o sipQtGuiQVBoxLayout.osipQtGuiQHBoxL
ayout.o sipQtGuiQLayout.o sipQtGuiQBoxLayout.o sipQtGuiQPixmap.osipQtGuiQBitmap
.o sipQtGuiQApplication.o sipQtGuiQActionGroup.o sipQtGuiQAction.osipQtGuiQAbst
ractSlider.o sipQtGuiQAbstractTextDocumentLayoutPaintContext.osipQtGuiQAbstract
TextDocumentLayoutSelection.o sipQtGuiQAbstractTextDocumentLayout.osipQtGuiQAbs
tractSpinBoxStepEnabled.o sipQtGuiQAbstractSpinBox.o sipQtGuiQFrame.osipQtGuiQA
bstractProxyModel.o sipQtGuiQAbstractPrintDialogPrintDialogOptions.osipQtGuiQDi
alog.o sipQtGuiQAbstractPrintDialog.o
sipQtGuiQAbstractItemViewEditTriggers.o si
pQtGuiQAbstractScrollArea.o sipQtGuiQAbstractItemView.osipQtGuiQAbstractItemDel
egate.o sipQtGuiQWidget.o sipQtGuiQAbstractButton.o -L"C:\Program
Files\Python\2
.5\libs" -LC:\Qt\4.2.1\lib -lpython25 -lQtGui4 -lgdi32 -lcomdlg32 -loleaut32
-li
mm32 -lwinmm -lwinspool -lws2_32 -lole32 -luuid -luser32 -ladvapi32
-lQtCore4 -l
kernel32 -luser32 -lshell32 -luuid -lole32 -ladvapi32 -lws2_32
The input line is too long.
mingw32-make[1]: *** [QtGui.pyd] Error 255
mingw32-make[1]: Leaving directory `C:/Qt/pyqt/QtGui'
mingw32-make: *** [all] Error 2
C:\Qt\pyqt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20061104/62c47227/attachment.html
More information about the PyQt
mailing list