Results 1 to 3 of 3

Thread: an Error in installing QT4.3.1 on solaris!

  1. #1
    Join Date
    Aug 2007
    Location
    HangZhou,China
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11

    Question an Error in installing QT4.3.1 on solaris!

    When i finished ./configure
    and edit src/gui/Makefile to remove -O2
    then gmake ,at the end of output script,there have an error like this:
    cd src/gui/ && gmake -f Makefile gmake[1]: Entering directory `/var/tmp/qt-x11-opensource-src-4.3.1/src/gui" gmake[1]: *** No rule to make target `.uic/release-shared/ui_qprintdialog.h", needed by `../../lib/libQtGui.so.4.3.1". Stop. gmake[1]: Leaving directory `/var/tmp/qt-x11-opensource-src-4.3.1/src/gui" gmake: *** [sub-gui-make_default-ordered] Error 2.


    then i check the file src/gui/Makefile ,there have rules like next:

    ####### Build rules

    all: Makefile ../../lib/libQtGui.prl ../../lib/libQtGui.la ../../lib/pkgconfig/QtGui.pc ../../lib/$(TARGET)

    ../../lib/$(TARGET): .uic/release-shared/ui_qprintdialog.h .uic/release-shared/ui_qprintpropertiesdialog.h .uic/release-shared/ui_qfiledialo
    g.h $(OBJECTS) $(SUBLIBS) $(OBJCOMP)
    @$(CHK_DIR_EXISTS) ../../lib/ || $(MKDIR) ../../lib/
    -$(DEL_FILE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2)
    $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP)
    -ln -s $(TARGET) $(TARGET0)
    -ln -s $(TARGET) $(TARGET1)
    -ln -s $(TARGET) $(TARGET2)
    -$(DEL_FILE) ../../lib/$(TARGET)
    -$(DEL_FILE) ../../lib/$(TARGET0)
    -$(DEL_FILE) ../../lib/$(TARGET1)
    -$(DEL_FILE) ../../lib/$(TARGET2)
    -$(MOVE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) ../../lib/



    staticlib: $(TARGETA)

    $(TARGETA): .uic/release-shared/ui_qprintdialog.h .uic/release-shared/ui_qprintpropertiesdialog.h .uic/release-shared/ui_qfiledialog.h $(OBJ
    ECTS) $(OBJCOMP)
    -$(DEL_FILE) $(TARGETA)
    $(AR) $(TARGETA) $(OBJECTS)

    ../../lib/libQtGui.prl:
    @$(QMAKE) -prl -spec ../../mkspecs/solaris-cc -unix gui.pro
    Makefile: gui.pro ../../.qmake.cache ../../mkspecs/solaris-cc/qmake.conf ../../mkspecs/common/unix.conf \
    ../../mkspecs/features/exclusive_builds.prf \
    ../../mkspecs/features/default_pre.prf \
    :/ui_qprintdialog.h

    I don't know why this error occurs.thanks for helping

  2. #2
    Join Date
    Aug 2007
    Location
    HangZhou,China
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: an Error in installing QT4.3.1 on solaris!

    more info.

    when i use gmake -d,i got more details
    as:
    Considering target file `../../lib/libQtGui.so.4.3.1'.
    File `../../lib/libQtGui.so.4.3.1' does not exist.
    Considering target file `.uic/release-shared/ui_qprintdialog.h'.
    File `.uic/release-shared/ui_qprintdialog.h' does not exist.
    Looking for an implicit rule for `.uic/release-shared/ui_qprintdialog.h'.
    Trying pattern rule with stem `ui_qprintdialog.h'.
    Trying implicit prerequisite `.uic/release-shared/ui_qprintdialog.h,v'.
    Trying pattern rule with stem `ui_qprintdialog.h'.
    Trying implicit prerequisite `.uic/release-shared/RCS/ui_qprintdialog.h,v'.
    Trying pattern rule with stem `ui_qprintdialog.h'.
    Trying implicit prerequisite `.uic/release-shared/RCS/ui_qprintdialog.h'.
    Trying pattern rule with stem `ui_qprintdialog.h'.
    Trying implicit prerequisite `.uic/release-shared/s.ui_qprintdialog.h'.
    Trying pattern rule with stem `ui_qprintdialog.h'.
    Trying implicit prerequisite `.uic/release-shared/SCCS/s.ui_qprintdialog.h'.
    No implicit rule found for `.uic/release-shared/ui_qprintdialog.h'.
    Finished prerequisites of target file `.uic/release-shared/ui_qprintdialog.h'.
    Must remake target `.uic/release-shared/ui_qprintdialog.h'.
    gmake[1]: Entering directory `/var/tmp/qt-x11-opensource-src-4.3.1/src/gui'
    gmake[1]: *** No rule to make target `.uic/release-shared/ui_qprintdialog.h', needed by `../../lib/libQtGui.so.4.3.1'. Stop.
    gmake[1]: Leaving directory `/var/tmp/qt-x11-opensource-src-4.3.1/src/gui'
    Got a SIGCHLD; 1 unreaped children.
    Reaping losing child 0x080b4690 PID 27326
    gmake: *** [sub-gui-make_default-ordered] Error 2
    Removing child 0x080b4690 PID 27326 from chain.

  3. #3
    Join Date
    Aug 2007
    Location
    HangZhou,China
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Compilation Error: "inconsistent operand constraints in an `asm'"

    Quote Originally Posted by jcraig View Post
    I had the same issue with Red Hat. The response from Trolltech support was...

    This is a known issue when building Qt 4.3 with gcc 3.4. To work around this bug, recompile qstylesheetstyle.cpp with removing -O2, or add the -fno-gcse compiler option. For more information, please see the description of task 161994, available online at

    http://trolltech.com/developer/task-...ntry&id=161994

    I did "make confclean" and then "./configure" and then edited the
    makefile to remove "-O2" from CFLAGS and CXXFLAGS. The Qt now successfully
    builds.
    very nice!
    but after i succeeded in doing first step:configure -platform solaris-g++-64
    remove-O2 from src/gui/Makefile,
    when i run gmake next,it return one error
    like this:
    considering target file `../../lib/libQtGui.so.4.3.1'.
    File `../../lib/libQtGui.so.4.3.1' does not exist.
    Considering target file `.uic/release-shared/ui_qprintdialog.h'.
    File `.uic/release-shared/ui_qprintdialog.h' does not exist.
    Looking for an implicit rule for `.uic/release-shared/ui_qprintdialog.h'.
    Trying pattern rule with stem `ui_qprintdialog.h'.
    Trying implicit prerequisite `.uic/release-shared/ui_qprintdialog.h,v'.
    Trying pattern rule with stem `ui_qprintdialog.h'.
    Trying implicit prerequisite `.uic/release-shared/RCS/ui_qprintdialog.h,v'.
    Trying pattern rule with stem `ui_qprintdialog.h'.
    Trying implicit prerequisite `.uic/release-shared/RCS/ui_qprintdialog.h'.
    Trying pattern rule with stem `ui_qprintdialog.h'.
    Trying implicit prerequisite `.uic/release-shared/s.ui_qprintdialog.h'.
    Trying pattern rule with stem `ui_qprintdialog.h'.
    Trying implicit prerequisite `.uic/release-shared/SCCS/s.ui_qprintdialog.h'.
    No implicit rule found for `.uic/release-shared/ui_qprintdialog.h'.
    Finished prerequisites of target file `.uic/release-shared/ui_qprintdialog.h'.
    Must remake target `.uic/release-shared/ui_qprintdialog.h'.
    gmake[1]: Entering directory `/var/tmp/qt-x11-opensource-src-4.3.1/src/gui'
    gmake[1]: *** No rule to make target `.uic/release-shared/ui_qprintdialog.h', needed by `../../lib/libQtGui.so.4.3.1'. Stop.
    gmake[1]: Leaving directory `/var/tmp/qt-x11-opensource-src-4.3.1/src/gui'
    Got a SIGCHLD; 1 unreaped children.
    Reaping losing child 0x080b4690 PID 27326
    gmake: *** [sub-gui-make_default-ordered] Error 2
    Removing child 0x080b4690 PID 27326 from chain.


    I don't know why?

Similar Threads

  1. Problems when installing QT 4 on Solaris
    By zeki709 in forum Installation and Deployment
    Replies: 6
    Last Post: 10th February 2007, 13:22
  2. Installing on Solaris...PLEASE HELP!
    By Rayven in forum Installation and Deployment
    Replies: 3
    Last Post: 27th July 2006, 17:33

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.