Building QT3/X11 Free within Cygwin Bash Shell

Steven Boothe steven at poiema.org
Sun Feb 27 01:35:29 CET 2005


Steven Boothe wrote:
> Ralf Habacker wrote:
> 
>>> Steven Boothe wrote:
>>>
>>>>
>>>> I'll keep you all posted as to my progress.
>>>
>>>
>>>
>>> Well I got stuck again but this I sure got a whole lot further. 
>>> Although this time the last instruction for g++ to compile was 
>>> incredibly lonnnnnggg!
>>>
>> <skip>
>> cannot find -ldl
>> </skip>
>> ...
>> This dependency should not be in mkspecs/cygwin-g++/qmake.conf. I have 
>> fixed this issue in the cvs. You can update the relating part with
>>
>> cd $QT_SOURCE_DIR
>> cvs update mkspecs/cygwin-g++
>>
>> Ralf
> 
> 
> Well I made it a bit further, but still got hung up:
> 
> 321  cd $QT_SOURCE_TREE
> 322  cvs -z7 update -PdC
> 323  make -f  $QT_SOURCE_TREE/Makefile.cvs
> 324  cd $QTDIR
> 325  make
> ...
> g++ -c -pipe -fdata-sections -fno-exceptions -O2  -DQT_MOC 
> -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_N
> O_COMPRESS -DYY_NO_UNISTD_H -I/home/noone/qt-3/mkspecs/cygwin-g++ 
> -I/home/noone/qt-3/src/moc -I../../include -I/home/noone/qt-3/
> include -I/home/noone/qt-3/src/tools -I/home/noone/qt-3/src/moc -I. -o 
> ./qbuffer.o /home/noone/qt-3/src/tools/qbuffer.cpp
> In file included from /home/noone/qt-3/src/tools/qiodevice.h:42,
>                  from /home/noone/qt-3/src/tools/qbuffer.h:42,
>                  from /home/noone/qt-3/src/tools/qbuffer.cpp:38:
> /home/noone/qt-3/src/tools/qglobal.h:770:22: qmodules.h: No such file or 
> directory
> make[2]: *** [qbuffer.o] Error 1
> make[2]: Leaving directory `/home/noone/build/src/moc'
> make[1]: *** [src-moc] Error 2
> make[1]: Leaving directory `/home/noone/build'
> make: *** [init] Error 2
> 
> noone at sector0 ~/build
> $
> 
> I'm going to start over with a fresh checkout of cvs...

Here's what I got following a fresh start with cvs:

   328  cd
   329  ll
   330  rm -fr qt-3
   331  cvs -z3 -d :pserver:anonymous at cvs.sourceforge.net:/cvsroot/kde-cygwin 
co -r QT_WIN32_3_3_BRANCH qt-3
   332  ll
   333  cd build/
   334  rm -fr *
   335  make -f  $QT_SOURCE_TREE/Makefile.cvs
   336  $QT_SOURCE_TREE/configure -platform cygwin-g++ -plugin-imgfmt-mng 
-qt-zlib -qt-gif -qt-libpng -qt-libjpeg -qt-libmng -no-g++-exceptions -thread 
-no-stl -no-sm -no-xft -no-xkb -no-xrender -disable-opengl -disable-sql 
-prefix /opt/qt/3.3 -fast
   337  make
...
release-shared-mt/moc_qwindowsstyle.o .obj/release-shared-mt/moc_qmotifstyle.o 
  -L/usr/X11R6/lib -lXrandr -lXcursor -lXext -lX11
  -ldl -lpthread
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/bin/ld: 
cannot find -ldl
collect2: ld returned 1 exit status
make[2]: *** [../lib/../bin/cygqt-mt-3.dll] Error 1
make[2]: Leaving directory `/home/noone/build/src'
make[1]: *** [sub-src] Error 2
make[1]: Leaving directory `/home/noone/build'
make: *** [init] Error 2

noone at sector0 ~/build
$


More information about the kde-cygwin mailing list