Building QT3/X11 Free within Cygwin Bash Shell

Steven Boothe steven at poiema.org
Fri Feb 25 23:12:27 CET 2005


Steven Boothe wrote:
> Peter Kümmel wrote:
> 
>> Steven Boothe wrote:
>>
>>> Peter Kümmel wrote:
>>>
>>>> Are there really  directories like
>>>> /home/cboothe/src/qt-3/build/include
>>>> /home/cboothe/src/qt-3/build/src
>>>> etc.
>>>> Peter
>>>
>>>
>>>
>>>
>>> Yes. Thank you for asking!
>>>
>>> cboothe at IT-staff ~/src/qt-3/build
>>> $ ll
>>> total 38
>>> lrwxrwxrwx  1 cboothe Administrators    31 Feb 25 12:20 Makefile -> 
>>> /home/cboothe/src/qt-3/Makefile
>>> drwxr-xr-x+ 2 cboothe Administrators     0 Feb 25 12:17 bin/
>>> lrwxrwxrwx  1 cboothe Administrators    26 Feb 25 12:20 doc -> 
>>> /home/cboothe/src/qt-3/doc/
>>> drwxr-xr-x+ 3 cboothe Administrators     0 Feb 25 12:17 include/
>>> drwxr-xr-x+ 2 cboothe Administrators 28672 Feb 25 12:20 mkspecs/
>>> drwxr-xr-x+ 6 cboothe Administrators  8192 Feb 25 12:20 qmake/
>>> drwxr-xr-x+ 3 cboothe Administrators     0 Feb 25 12:17 src/
>>> drwxr-xr-x+ 4 cboothe Administrators     0 Feb 25 12:17 tools/
>>>
>>> cboothe at IT-staff ~/src/qt-3/build
>>
>>
>>
>> If you use a cvs checkout you maybe forgot
>> make -f Makefile.cvs
>>
>> see http://kde-cygwin.sourceforge.net/qt3/compiling.php :
>>
>>    8. prepare configuring (this creates the links in the include 
>> directory)
>>    cd <qt-src-dir>
>>    make -f Makefile.cvs
>>
>> and there are include errors.

I'm going to try going through this again at home over lunch. But in the 
mean time I thought I would send this latest output of my last effort:

cboothe at IT-staff ~/src/qt-3
$ make -f Makefile.cvs
cd include && headers=`ls q*.h 2>/dev/null` &&\
[ "x$headers" != "x" ] && rm -f $headers;
make: [all] Error 1 (ignored)
[ -d include/private ] || mkdir -p include/private
if test -z /home/cboothe/src/qt-3; then \
         cd include && ln -f -s ../src/*/q*.h . && ln -f -s 
../extensions/*/src/q*.h . && \
         ln -f -s ../tools/designer/uilib/q*.h . &&\
         ln -f -s ../tools/assistant/lib/q*.h . && rm -f q*_p.h && \
         rm qtmultilineedit.h qttableview.h && \
         cd private && rm -f q*.h && ln -f -s ../../src/*/q*_p.h .; \
else \
         cd include && ln -f -s /home/cboothe/src/qt-3/src/*/q*.h . && 
ln -f -s /home/cboothe/src
/qt-3/extensions/*/src/q*.h . && \
         ln -f -s /home/cboothe/src/qt-3/tools/designer/uilib/q*.h . &&\
         ln -f -s /home/cboothe/src/qt-3/tools/assistant/lib/q*.h . && 
rm -f q*_p.h && \
         rm qtmultilineedit.h qttableview.h && \
         cd private && rm -f q*.h && ln -f -s 
/home/cboothe/src/qt-3/src/*/q*_p.h .; \
fi

cboothe at IT-staff ~/src/qt-3
$ cd build/

cboothe at IT-staff ~/src/qt-3/build
$ $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
Preparing build tree...
This is the Qt/X11 Free Edition.

You are licensed to use this software under the terms of either
the Q Public License (QPL) or the GNU General Public License (GPL).

Type 'Q' to view the Q Public License.
Type 'G' to view the GNU General Public License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.

Do you accept the terms of either license? yes

Creating qmake. Please wait...
g++ -c -o project.o -I. -Igenerators -Igenerators/unix 
-Igenerators/win32 -Igenerators/mac -I/ho
me/cboothe/src/qt-3/build/include/qmake 
-I/home/cboothe/src/qt-3/build/include -I/home/cboothe/s
rc/qt-3/include -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES 
-DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_CO
MPRESS -I/home/cboothe/src/qt-3/mkspecs/cygwin-g++ -DHAVE_QCONFIG_CPP 
project.cpp
...
g++ -Wl,--enable-runtime-pseudo-reloc 
-Wl,--script,/home/cboothe/src/qt-3/build/mkspecs/cygwin-g++/i386pe.x-no-rdata
  -fno-exceptions -o ../../bin/moc ./qbuffer.o ./qptrcollection.o 
./qcstring.o ./qdatastream.o ./qdatetime.o ./qfile.
o ./qdir.o ./qfileinfo.o ./qgarray.o ./qgdict.o ./qglist.o ./qglobal.o 
./qgvector.o ./qiodevice.o ./qregexp.o ./qstr
ing.o ./qlocale.o ./qunicodetables.o ./qstringlist.o ./qtextstream.o 
./qbitarray.o ./qmap.o ./qgcache.o ./qtextcodec
.o ./qutfcodec.o ./moc_yacc.o ./qfile_unix.o ./qdir_unix.o 
./qfileinfo_unix.o
make[2]: Leaving directory `/home/cboothe/src/qt-3/build/src/moc'
cd src && make
make[2]: Entering directory `/home/cboothe/src/qt-3/build/src'
g++ -c -pipe -fdata-sections -fno-exceptions -Wall -W -O2 -D_REENTRANT 
-DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
  -DQT_THREAD_SUPPORT -DQT_NO_CUPS -DQT_NO_NIS -DQT_NO_XINERAMA 
-DQT_NO_SHAPE -DQT_NO_XCURSOR -DQT_NO_XRANDR -DQT_NO_
XRENDER -DQT_NO_XFTFREETYPE -DQT_NO_XKB -DQT_NO_SM_SUPPORT -DQT_NO_IPV6 
-DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG -DQ
T_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA 
-DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_
STYLE_COMPACT -DQT_NO_STYLE_POCKETPC 
-I/home/cboothe/src/qt-3/mkspecs/cygwin-g++ -I/home/cboothe/src/qt-3/src 
-I../i
nclude -I/home/cboothe/src/qt-3/src/3rdparty/libpng 
-I/home/cboothe/src/qt-3/src/3rdparty/zlib -I/home/cboothe/src/q
t-3/include -I/usr/X11R6/include -I. -I.moc/release-shared-mt/ -o 
.obj/release-shared-mt/qtaddons_x11.o /home/cbooth
e/src/qt-3/src/kernel/qtaddons_x11.cpp
In file included from /home/cboothe/src/qt-3/src/kernel/qtaddons_x11.cpp:25:
/home/cboothe/src/qt-3/src/kernel/qt_x11_p.h:66:22: X11/Xlib.h: No such 
file or directory
/home/cboothe/src/qt-3/src/kernel/qt_x11_p.h:71:23: X11/Xutil.h: No such 
file or directory
/home/cboothe/src/qt-3/src/kernel/qt_x11_p.h:76:23: X11/Xatom.h: No such 
file or directory
make[2]: *** [.obj/release-shared-mt/qtaddons_x11.o] Error 1
make[2]: Leaving directory `/home/cboothe/src/qt-3/build/src'
make[1]: *** [sub-src] Error 2
make[1]: Leaving directory `/home/cboothe/src/qt-3/build'
make: *** [init] Error 2

cboothe at IT-staff ~/src/qt-3/build
$


More information about the kde-cygwin mailing list