Corey McGuire | 5 Jan 19:18 2003

Kdevelop, M4, Cygwin, and me.

I am trying to use KDevelop under cygwin but the Kdev under your KDE-Cygwin build is version 2.1 and that version has difficult runningy with recent versions of M4 (I had the same trouble when I built kdevelop for my "Linux From Scratch" builds.)

I tried building version 2.1.4 from source, but it tells me "checking for Qt... configure: error: Qt (>= Qt 2.2.2) (libraries) not found. Please check your installation!"

I have QT 2.3 (judging from qt-2-3.dll) and $QTDIR declared and in my path.
 
I love kdev, and I would love to get it working in Cygwin without reverting to an older version.
 
Thanks!
 
P.S. More notes.
 
I also tried using the following
--with-qt-dir=DIR       where the root of Qt is installed
--with-qt-includes=DIR  where the Qt includes are.
--with-qt-libraries=DIR where the Qt library is installed.
--with-qtdoc-dir=DIR    where the Qt documentation is installed
Here are my variables
declare -x !X:="X:\\cygwin\\root\\bin"
declare -x ALLUSERSPROFILE="C:\\Documents and Settings\\All Users"
declare -x APPDATA="C:\\Documents and Settings\\coreyfro\\Application Data"
declare -x COMMONPROGRAMFILES="C:\\Program Files\\Common Files"
declare -x COMPUTERNAME="BAHGTRU"
declare -x COMSPEC="C:\\WINNT\\system32\\cmd.exe"
declare -x CYGWIN="ntsec tty"
declare -x HOME="/home/coreyfro"
declare -x HOMEDRIVE="U:"
declare -x HOMEPATH="\\"
declare -x HOMESHARE="\\\\ilneval\\coreyfro"
declare -x KDEDIR="/opt/kde2"
declare -x LD_LIBRARY_PATH="/usr/local/lib/qt2/lib:/opt/kde2/lib"
declare -x LIBRARY_PATH="/usr/local/lib/qt2/lib:/opt/kde2/lib"
declare -x LOGONSERVER="\\\\ILNEVAL"
declare -x MAKE_MODE="unix"
declare -x MANPATH=":/usr/ssl/man"
declare -x NUMBER_OF_PROCESSORS="1"
declare -x OLDPWD="/usr/src"
declare -x OS="Windows_NT"
declare -x OS2LIBPATH="C:\\WINNT\\system32\\os2\\dll;"
declare -x PATH=":/opt/kde2/bin:/opt/kde2/lib:/usr/local/lib/qt2/bin:/usr/local/lib/qt2/lib:/usr/loc
al/bin:/usr/bin:/bin:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/c
ygdrive/c/PROGRA~1/NCFTP:/usr/bin:/usr/bin:/usr/X11R6/bin:/usr/sbin:/sbin"
declare -x PATHEXT=".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH"
declare -x PROCESSOR_ARCHITECTURE="x86"
declare -x PROCESSOR_IDENTIFIER="x86 Family 6 Model 11 Stepping 1, GenuineIntel"
declare -x PROCESSOR_LEVEL="6"
declare -x PROCESSOR_REVISION="0b01"
declare -x PROGRAMFILES="C:\\Program Files"
declare -x PROMPT="\$P\$G"
declare -x PS1="\\[\\033]0;\\w\\007\
\\033[32m\\]\\u <at> \\h \\[\\033[33m\\w\\033[0m\\]\
\$ "
declare -x PWD="/usr/src/kdevelop-2.1.4_for_KDE_2.2"
declare -x QTDIR="/usr/local/lib/qt2"
declare -x SHLVL="1"
declare -x SYSTEMDRIVE="C:"
declare -x SYSTEMROOT="C:\\WINNT"
declare -x TEMP="/cygdrive/c/DOCUME~1/coreyfro/LOCALS~1/Temp"
declare -x TERM="cygwin"
declare -x TMP="/cygdrive/c/DOCUME~1/coreyfro/LOCALS~1/Temp"
declare -x USER="coreyfro"
declare -x USERDOMAIN="COREYFRO.COM"
declare -x USERNAME="coreyfro"
declare -x USERPROFILE="C:\\Documents and Settings\\coreyfro"
declare -x WINDIR="C:\\WINNT"

!X:='X:\cygwin\root\bin'
ALLUSERSPROFILE='C:\Documents and Settings\All Users'
APPDATA='C:\Documents and Settings\coreyfro\Application Data'
BASH=/usr/bin/bash
BASH_VERSINFO=([0]="2" [1]="05b" [2]="0" [3]="8" [4]="release" [5]="i686-pc-cygwin")
BASH_VERSION='2.05b.0(8)-release'
COLUMNS=100
COMMONPROGRAMFILES='C:\Program Files\Common Files'
COMPUTERNAME=BAHGTRU
COMSPEC='C:\WINNT\system32\cmd.exe'
CYGWIN='ntsec tty'
DIRSTACK=()
EUID=13018
GROUPS=()
HISTFILE=/home/coreyfro/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/home/coreyfro
HOMEDRIVE=U:
HOMEPATH='\'
HOMESHARE='\\ilneval\coreyfro'
HOSTNAME=BAHGTRU
HOSTTYPE=i686
IFS=$' \t\n'
KDEDIR=/opt/kde2
LD_LIBRARY_PATH=/usr/local/lib/qt2/lib:/opt/kde2/lib
LIBRARY_PATH=/usr/local/lib/qt2/lib:/opt/kde2/lib
LINES=70
LOGONSERVER='\\ILNEVAL'
MACHTYPE=i686-pc-cygwin
MAILCHECK=60
MAKE_MODE=unix
MANPATH=:/usr/ssl/man
NUMBER_OF_PROCESSORS=1
OLDPWD=/usr/src
OPTERR=1
OPTIND=1
OS=Windows_NT
OS2LIBPATH='C:\WINNT\system32\os2\dll;'
OSTYPE=cygwin
PATH=:/opt/kde2/bin:/opt/kde2/lib:/usr/local/lib/qt2/bin:/usr/local/lib/qt2/lib:/usr/local/bin:/usr/
bin:/bin:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/cygdrive/c/PR
OGRA~1/NCFTP:/usr/bin:/usr/bin:/usr/X11R6/bin:/usr/sbin:/sbin
PATHEXT='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PIPESTATUS=([0]="0")
PPID=1
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER='x86 Family 6 Model 11 Stepping 1, GenuineIntel'
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0b01
PROGRAMFILES='C:\Program Files'
PROMPT='$P$G'
PS1=$'\\[\\033]0;\\w\\007\n\\033[32m\\]\\u <at> \\h \\[\\033[33m\\w\\033[0m\\]\n$ '
PS2='> '
PS4='+ '
PWD=/usr/src/kdevelop-2.1.4_for_KDE_2.2
QTDIR=/usr/local/lib/qt2
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
SHLVL=1
SYSTEMDRIVE=C:
SYSTEMROOT='C:\WINNT'
TEMP=/cygdrive/c/DOCUME~1/coreyfro/LOCALS~1/Temp
TERM=cygwin
TMP=/cygdrive/c/DOCUME~1/coreyfro/LOCALS~1/Temp
UID=13018
USER=coreyfro
USERDOMAIN=COREYFRO.COM
USERNAME=coreyfro
USERPROFILE='C:\Documents and Settings\coreyfro'
WINDIR='C:\WINNT'
X11PATH=/usr/X11R6/bin
_=export
i=/etc/profile.d/openssl.sh
Here is my ./configure outpot
coreyfro <at> BAHGTRU /usr/src/kdevelop-2.1.4_for_KDE_2.2
$ ./configure --prefix=/opt/kde2 && make && make install && echo error free
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking target system type... i686-pc-cygwin
checking for a BSD compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix... .exe
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether g++ supports -fno-exceptions... yes
checking whether g++ supports -fno-check-new... yes
checking whether g++ supports -fexceptions... yes
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports -frepo... yes
checking for ld used by GCC... /usr/i686-pc-cygwin/bin/ld.exe
checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes
checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... file_magic file format pei*-i386(.*architecture: i3
86)?
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if gcc static flag -static works... yes
finding the maximum length of command line arguments... 18433
checking if gcc supports -c -o file.o... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking whether the linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... Win32 ld.exe
checking command to parse /usr/bin/nm -B output... ok
checking if libtool supports shared libraries... yes
checking if package supports dlls... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
creating libtool
updating cache /dev/null
checking host system type... i686-pc-cygwin
checking build system type... i686-pc-cygwin
ltcf-cxx: with_gcc=yes ; with_gnu_ld=yes
checking for objdir... .libs
checking for g++ option to produce PIC... -DDLL_EXPORT -DPIC
checking if g++ PIC flag -DDLL_EXPORT -DPIC works... yes
checking if g++ static flag -static works... yes
finding the maximum length of command line arguments... 18433
checking if g++ supports -c -o file.o... yes
checking if g++ supports -fno-rtti -fno-exceptions ... yes
checking whether the linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared libraries... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... Win32 ld.exe
checking command to parse /usr/bin/nm -B output... ok
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
appending configuration tag "CXX" to libtool
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... yes
checking for main in -lutil... no
checking for main in -lcompat... no
checking for crypt in -lcrypt... no
checking for crypt in -lc... no
configure: WARNING: you have no crypt in either libcrypt or libc.
You should install libcrypt from another source or configure with PAM
support
checking for socklen_t... socklen_t
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... no
checking for shmat in -lipc... no
checking for res_init... no
checking for killpg in -lucb... no
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for char *... yes
checking size of char *... 4
checking for char... yes
checking size of char... 1
checking for dlopen in -ldl... no
checking for shl_unload in -ldld... no
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for Xinerama... no
checking for extra includes... no
checking for extra libs... no
checking for libz... -lz
checking for libpng... -lpng -lz -lm
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for Qt... configure: error: Qt (>= Qt 2.2.2) (libraries) not found. Please check your insta
llation!
For more details about this problem, look at the end of config.log.
Attached is my config.log
/\/\/\/\/\/\ Nothing is foolproof to a talented fool. /\/\/\/\/\/\ coreyfro <at> coreyfro.com http://www.coreyfro.com/ http://stats.distributed.net/rc5-64/psearch.php3?st=3Dcoreyfro ICQ : 3168059 -----BEGIN GEEK CODE BLOCK----- GCS !d--(+) s: a- C++++$ UL++>++++ P+ L++>++++ E- W+++$ N++ o? K?= w++++$>+++++$ O---- !M--- V- PS+++ PE++(--) Y+ PGP- t--- 5(+) !X- R(+) !tv= b-(+) Dl++(++++) D++ G++(-) e>+++ h++(---) r++>+$ y++**>$ H++++ n---(----)= p? !au w+ v- 3+>++ j- G'''' B--- u+++*** f* Quake++++>+++++$ ------END GEEK CODE BLOCK------ Home of Geek Code - http://www.geekcode.com/ The Geek Code Decoder Page - http://www.ebb.org/ungeek//
Attachment (config.log): application/octet-stream, 48 KiB
Ralf Habacker | 6 Jan 21:07 2003
Picon

RE: Kdevelop, M4, Cygwin, and me.

 
-----Original Message-----
From: kde-cygwin-admin <at> mail.kde.org [mailto:kde-cygwin-admin <at> mail.kde.org]On Behalf Of Corey McGuire
Sent: Sunday, January 05, 2003 7:19 PM
To: kde-cygwin <at> mail.kde.org
Subject: Kdevelop, M4, Cygwin, and me.

I am trying to use KDevelop under cygwin but the Kdev under your KDE-Cygwin build is version 2.1 and that version has difficult runningy with recent versions of M4 (I had the same trouble when I built kdevelop for my "Linux From Scratch" builds.)

I tried building version 2.1.4 from source, but it tells me "checking for Qt... configure: error: Qt (>= Qt 2.2.2) (libraries) not found. Please check your installation!"

I have QT 2.3 (judging from qt-2-3.dll) and $QTDIR declared and in my path.
 
I love kdev, and I would love to get it working in Cygwin without reverting to an older version.
 
add the line

MIN_CONFIG(2.2) 
 
to  admin/configure.in.min
and run 
 
$make Makefile.cvs again 
 

 
Corey McGuire | 7 Jan 08:21 2003

RE: Kdevelop, M4, Cygwin, and me.

>add the line
>
>MIN_CONFIG(2.2)
>
>to admin/configure.in.min

Ok, done

>and run
>
>$make Makefile.cvs again

Do you mean "make --file=Markefile.cvs" ?

I tried both and neither made a difference

I have the stable source, not the cvs, if that makes a difference.

I found the original errors in the config.log and this is what I saw

configure:8319: rm -rf SunWS_cache; g++ -o conftest.exe -O2 -fno-exceptions -fno-check-new -I/usr/local/lib/qt2/include -I/usr/X11R6
/include   -L/usr/local/lib/qt2/lib -L/usr/X11R6/lib  conftest.cc  -lqt -lpng -lz -lm -ljpeg  -lXext -lX11 -lSM -lICE  1>&5
/cygdrive/c/DOCUME~1/coreyfro/LOCALS~1/Temp/ccC6SwaQ.o(.text+0x5c):conftest.cc: undefined reference to `QString::shared_null'
/cygdrive/c/DOCUME~1/coreyfro/LOCALS~1/Temp/ccC6SwaQ.o(.text+0xa6):conftest.cc: undefined reference to `QIconView::QIconView[in-char
ge](QWidget*, char const*, unsigned)'
/cygdrive/c/DOCUME~1/coreyfro/LOCALS~1/Temp/ccC6SwaQ.o(.text+0xb6):conftest.cc: undefined reference to `QIconView::setWordWrapIconTe
xt(bool)'
/cygdrive/c/DOCUME~1/coreyfro/LOCALS~1/Temp/ccC6SwaQ.o(.text+0xbb):conftest.cc: undefined reference to `QString::shared_null'
/cygdrive/c/DOCUME~1/coreyfro/LOCALS~1/Temp/ccC6SwaQ.o(.text+0xdf):conftest.cc: undefined reference to `QString::setLatin1(char cons
t*, int)'
/cygdrive/c/DOCUME~1/coreyfro/LOCALS~1/Temp/ccC6SwaQ.o(.text+0xfa):conftest.cc: undefined reference to `QString::shared_null'
/cygdrive/c/DOCUME~1/coreyfro/LOCALS~1/Temp/ccC6SwaQ.o(.text+0x104):conftest.cc: undefined reference to `QStringData::deleteSelf()'
/cygdrive/c/DOCUME~1/coreyfro/LOCALS~1/Temp/ccC6SwaQ.o(.text+0x10c):conftest.cc: undefined reference to `QIconView::~QIconView [in-c
harge]()'
/cygdrive/c/DOCUME~1/coreyfro/LOCALS~1/Temp/ccC6SwaQ.o(.text+0x124):conftest.cc: undefined reference to `QString::shared_null'
/cygdrive/c/DOCUME~1/coreyfro/LOCALS~1/Temp/ccC6SwaQ.o(.text+0x131):conftest.cc: undefined reference to `QString::makeSharedNull()'
/cygdrive/c/DOCUME~1/coreyfro/LOCALS~1/Temp/ccC6SwaQ.o(.text+0x141):conftest.cc: undefined reference to `QString::makeSharedNull()'
collect2: ld returned 1 exit status
configure:8322: $? = 1
configure: failed program was:
#include "confdefs.h"
#include <qglobal.h>
#include <qapplication.h>
#include <qevent.h>
#include <qstring.h>
#include <qstyle.h>
#include <qiconview.h>
#if ! (QT_VERSION >= 222)
#error 1
#endif

int main() {
    QStringList *t = new QStringList();
    QIconView iv(0);
    iv.setWordWrapIconText(false);
    QString s;
    s.setLatin1("Elvis is alive", 14);
    int magnolia = QEvent::Speech; /* new in 2.2 beta2 */
    return 0;
}
configure:8354: error: Qt (>= Qt 2.2.2) (libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.

The offending command seems to be

g++ -o conftest.exe -O2 -fno-exceptions -fno-check-new -I/usr/local/lib/qt2/include -I/usr/X11R6 /include -L/usr/local/lib/qt2/lib -L/usr/X11R6/lib conftest.cc  -lqt -lpng -lz -lm -ljpeg  -lXext -lX11 -lSM -lICE

And the offending program seems to be

#include "confdefs.h"
#include <qglobal.h>
#include <qapplication.h>
#include <qevent.h>
#include <qstring.h>
#include <qstyle.h>
#include <qiconview.h>
#if ! (QT_VERSION >= 222)
#error 1
#endif

int main() {
    QStringList *t = new QStringList();
    QIconView iv(0);
    iv.setWordWrapIconText(false);
    QString s;
    s.setLatin1("Elvis is alive", 14);
    int magnolia = QEvent::Speech; /* new in 2.2 beta2 */
    return 0;
}

so I wrote the above program (minus "#include "confdefs.h"" which seemed to only be version info) and tried the following

coreyfro <at> BAHGTRU /usr/src/kdevelop-2.1.4_for_KDE_2.2
$ g++ -o conftest.exe -O2 -fno-exceptions -fno-check-new -I/usr/local/lib/qt2/include -I/usr/X11R6/include -L/usr/local/lib/qt2/lib/ -L/usr/X11R6/lib conftest.cc -lqt -lpng -lz -lm -ljpeg -lXext -lX11 -lSM -lICE

/tmp/cchaS7L3.o(.text+0x5c):conftest.cc: undefined reference to `QString::shared_null'
/tmp/cchaS7L3.o(.text+0xa6):conftest.cc: undefined reference to `QIconView::QIconView[in-charge](QWidget*, char const*, unsigned)'
/tmp/cchaS7L3.o(.text+0xb6):conftest.cc: undefined reference to `QIconView::setWordWrapIconText(bool)'
/tmp/cchaS7L3.o(.text+0xbb):conftest.cc: undefined reference to `QString::shared_null'
/tmp/cchaS7L3.o(.text+0xdf):conftest.cc: undefined reference to `QString::setLatin1(char const*, int)'
/tmp/cchaS7L3.o(.text+0xfa):conftest.cc: undefined reference to `QString::shared_null'
/tmp/cchaS7L3.o(.text+0x104):conftest.cc: undefined reference to `QStringData::deleteSelf()'
/tmp/cchaS7L3.o(.text+0x10c):conftest.cc: undefined reference to `QIconView::~QIconView [in-charge]()'
/tmp/cchaS7L3.o(.text+0x124):conftest.cc: undefined reference to `QString::shared_null'
/tmp/cchaS7L3.o(.text+0x131):conftest.cc: undefined reference to `QString::makeSharedNull()'
/tmp/cchaS7L3.o(.text+0x141):conftest.cc: undefined reference to `QString::makeSharedNull()'
collect2: ld returned 1 exit status

The exact syntax and result ./configure had

I tried

cat /usr/local/lib/qt2/include/qglobal.h
cat /usr/local/lib/qt2/include/qiconview.h
cat /usr/local/lib/qt2/include/qglobal.h
cat /usr/local/lib/qt2/include/qapplication.h
cat /usr/local/lib/qt2/include/qevent.h
cat /usr/local/lib/qt2/include/qstring.h
cat /usr/local/lib/qt2/include/qstyle.h

And each exists in a human readable form.

As a last ditch effort, I tried downloading ftp://ftp.trolltech.com/qt/source/qt-x11-2.3.1.tar.gz, extracting it, and cp'ing the cygwin version over it, with the exception of the ./include/ directory.  KDE still works, but ./configure does not.  The error, however, does change.  It does seem to find the file this time, but apperently the Cygwin includes have been modified for Cygwin.

coreyfro <at> BAHGTRU /usr/src/kdevelop-2.1.4_for_KDE_2.2
$ g++ -o conftest.exe -O2 -fno-exceptions -fno-check-new -I/usr/local/lib/qt-2.3.1/include -I/usr/X
11R6/include -L/usr/local/lib/qt-2.3.1/lib -L/usr/X11R6/lib conftest.cc  -lqt -lpng -lz -lm -ljpeg
 -lXext -lX11 -lSM -lICE

In file included from conftest.cc:1:
/usr/local/lib/qt-2.3.1/include/qglobal.h:135:2: #error "Qt has not been ported to this OS - talk to qt-bugs <at> trolltech.com"

I am green to programming in Linux/Cygwin/*nix (which might explain why I am using Kdevelop instead of vi or e-macs ;-) so these things seem a little arcane to me, but I am trying my best to at least bark up the suspicious trees.

One thing I have noticed with my use of cygwin in the past is that Windows tends to replace unix line endings with dos/windows line endings, and this has played havoc on me before.  I must always use tar.exe when archiving under cygwin.  Is it possible that windows foobar'd the includes prior to packing?  I took a look with notepad, and things looked as they would with unix line endings, but I thought it was worth mentioning.

Otherwise, I am at a loss.

/\/\/\/\/\/\ Nothing is foolproof to a talented fool. /\/\/\/\/\/\ coreyfro <at> coreyfro.com http://www.coreyfro.com/ http://stats.distributed.net/rc5-64/psearch.php3?st=3Dcoreyfro ICQ : 3168059 -----BEGIN GEEK CODE BLOCK----- GCS !d--(+) s: a- C++++$ UL++>++++ P+ L++>++++ E- W+++$ N++ o? K?= w++++$>+++++$ O---- !M--- V- PS+++ PE++(--) Y+ PGP- t--- 5(+) !X- R(+) !tv= b-(+) Dl++(++++) D++ G++(-) e>+++ h++(---) r++>+$ y++**>$ H++++ n---(----)= p? !au w+ v- 3+>++ j- G'''' B--- u+++*** f* Quake++++>+++++$ ------END GEEK CODE BLOCK------ Home of Geek Code - http://www.geekcode.com/ The Geek Code Decoder Page - http://www.ebb.org/ungeek//
Ralf Habacker | 8 Jan 09:16 2003
Picon

RE: Kdevelop, M4, Cygwin, and me.

> >add the line
> >
> >MIN_CONFIG(2.2)
> >
> >to admin/configure.in.min
> Ok, done
> >and run
> >
> >$make Makefile.cvs again
> Do you mean "make --file=Markefile.cvs" ?
or
$ make -f Makefile.cvs

> I tried both and neither made a difference
> I have the stable source, not the cvs, if that makes a difference.

yes, than you have to patch configure. :-(

<many error messages>

> I am green to programming in Linux/Cygwin/*nix (which might explain why I am
> using Kdevelop instead of vi or e-macs ;-) so these things seem a
> little arcane to me, but I am trying my best to at least bark up the
suspicious trees.

Please note, that porting kdevelop on cygwin isn't a task for a beginner. There
are several issues you should get familar before you can port a such a big
application.
Additional the recent kdevelop port is marked as alpha state and it will still
be in the next time because with the recent xfree/cygwin performance it will not
be usefull.

If you are really interessted in porting kdevelop you should do the following:

1. get familiar with cygwin and cygwin/xfree
2. get familiar with the compiling/linking process under cygwin using
gcc/ld/automake/autoconf/libtool/make.
3. get familiar compiling and using the qt library (cygwin binary dist or cvs
source from kde-cygwin; NOT the original releases from trolltech)
4. check out the recent kdevelop sources from kde-cygwin and update to the
recent kdevelop sources
5. Try to compile/port the missing thinks.

I think this whole stuff needs about 3-8 weeks depending on your personal
know-how.

> One thing I have noticed with my use of cygwin in the past is that
> Windows tends to replace unix line endings with dos/windows line endings, and
this
> has played havoc on me before.  I must always use tar.exe when archiving under
> cygwin.  Is it possible that windows foobar'd the includes prior to packing?
I
> took a look with notepad, and things looked as they would with unix line
endings, but I
> thought it was worth mentioning.

Please use an editor which supports unix line eol. This could be for example
vi/emacs or ultraedit or other editor.

Ralf
Ralf Habacker | 9 Jan 00:28 2003
Picon

FW: Looking for virtual Open Source teams for study.

Hi all 

> We are working on a master thesis about virtual teams and wish to get 
> in contact with Open Source projects as part of our research study.
> 
> You are recieving this e-mail as you are listed as a project manager 
> for a highly active project (kde-cygwin) on SourceForge, that appears 
> suitable for our study. 
> 
> The study is two-fold, where both parts are independent. In the first 
> part we would like to interview one or more of the project members 
> regarding their experiences with working in virtual teams. In the 
> second part, we would like to follow the whole project (or a selected 
> core team) over some time, administering a survey/questionnaire to 
> all team members at two or more points in time.
> 
Is anyone there who like to join to this survey  ? 

> More information can be found on the URL below.
> If you and/or your virtual team of Open Source developers would 
> consider aiding us by part-taking in our study, please reply to this e-mail. 
> 
--

-- 
regards,
Kent Dahl and Christian Wormnes
http://www.stud.ntnu.no/groups/vircol/en/
Allô Vouzôtres | 9 Jan 04:23 2003
Picon

Idea for configuration of Windows

Why not exploit what windows has? You link the control center sections to 
the .cpl windows files, or you just "rebuild" (sort of) the control center 
of KDE (2.2.1) to use Windows' control possibilities. Just an idea.

_________________________________________________________________
The new MSN 8 is here: Try it free* for 2 months 
http://join.msn.com/?page=dept/dialup
gilles.degottex | 14 Jan 20:22 2003
Picon

linking error in qt3 program

Hi hi

	I did a qt3 program under rh8 linux, everything goes fine, compiling 
runing, etc ...
	then I try to compile it under cygwin because, like you surely know, 
qt3 is not available for Visual Studio 6.

	here are the commands:

uic gui/form.ui -o gui/form.h
uic gui/inform.ui -o gui/inform.h
uic gui/AboutDialog.ui -o gui/AboutDialog.h
c++ -I/lib/qt3/include  -o obj/main.o -c main.cpp
c++ -I/lib/qt3/include  -o obj/FormCustom.o -c FormCustom.cpp
...
moc gui/AboutDialog.h -o gui/moc_AboutDialog.cpp
c++ -I/lib/qt3/include  -o obj/moc_AboutDialog.o -c gui/moc_AboutDialog.cpp
c++ -I/lib/qt3/include  -o obj/Ordinapoche.o -c Ordinapoche.cpp
c++ -L/lib/qt3/lib -lqt obj/main.o obj/FormCustom.o obj/form.o 
obj/moc_form.o obj/inform.o obj/moc_inform.o obj/AboutDialog.o 
obj/moc_AboutDialog.o obj/Ordinapoche.o -o Ordp

	and at linking step I get a lot of:

obj/main.o(.text+0xc2):main.cpp: undefined reference to 
'QApplication::QApplication[in-charge](int&, char**, bool)'
obj/main.o(.text+0xea):main.cpp: undefined reference to 
'QString::operator=(char const*)'
...
obj/FormCustom.o(.data$_ZTV10FormCustom+0xf0):FormCustom.cpp: undefined 
reference to 'QMainWindow::sizeHint() const'

thanks for all :)
David Fraser | 15 Jan 09:16 2003

Re: Work on KDE/QT native port to MS Windows started.

Ralf Habacker wrote:

>>BTW: I have added you to this list.
>>
>>    
>>
>
>I mean the email address from the uni hannover, from which you have send your
>last mail
>(I assume that your holgis.net email account will not work yet because of your
>name server problem)
>
>Regards
>
>Ralf
>
>_______________________________________________
>kde-cygwin mailing list
>kde-cygwin <at> mail.kde.org
>http://mail.kde.org/mailman/listinfo/kde-cygwin
>
>  
>
Anything further happened with the KDE/QT native port? Problems, 
difficulties, success or holidays :-)?

David
gilles.degottex | 15 Jan 13:00 2003
Picon

Re: linking error in qt3 program

I solved my problem
    compiling was done with gcc 3.2 and the lib was built with gcc 2.9* ...

gilles.degottex wrote:

> Hi hi
>
>     I did a qt3 program under rh8 linux, everything goes fine, 
> compiling runing, etc ...
>     then I try to compile it under cygwin because, like you surely 
> know, qt3 is not available for Visual Studio 6.
>
>     here are the commands:
>
> uic gui/form.ui -o gui/form.h
> uic gui/inform.ui -o gui/inform.h
> uic gui/AboutDialog.ui -o gui/AboutDialog.h
> c++ -I/lib/qt3/include  -o obj/main.o -c main.cpp
> c++ -I/lib/qt3/include  -o obj/FormCustom.o -c FormCustom.cpp
> ...
> moc gui/AboutDialog.h -o gui/moc_AboutDialog.cpp
> c++ -I/lib/qt3/include  -o obj/moc_AboutDialog.o -c 
> gui/moc_AboutDialog.cpp
> c++ -I/lib/qt3/include  -o obj/Ordinapoche.o -c Ordinapoche.cpp
> c++ -L/lib/qt3/lib -lqt obj/main.o obj/FormCustom.o obj/form.o 
> obj/moc_form.o obj/inform.o obj/moc_inform.o obj/AboutDialog.o 
> obj/moc_AboutDialog.o obj/Ordinapoche.o -o Ordp
>
>     and at linking step I get a lot of:
>
> obj/main.o(.text+0xc2):main.cpp: undefined reference to 
> 'QApplication::QApplication[in-charge](int&, char**, bool)'
> obj/main.o(.text+0xea):main.cpp: undefined reference to 
> 'QString::operator=(char const*)'
> ...
> obj/FormCustom.o(.data$_ZTV10FormCustom+0xf0):FormCustom.cpp: 
> undefined reference to 'QMainWindow::sizeHint() const'
>
>
> thanks for all :)
>
> _______________________________________________
> kde-cygwin mailing list
> kde-cygwin <at> mail.kde.org
> http://mail.kde.org/mailman/listinfo/kde-cygwin
>
Holger Schroeder | 17 Jan 02:16 2003
Picon

Re: Work on KDE/QT native port to MS Windows started.

Hi,

the short form is, i was on the ccc meeting in berlin and now i have a
lot to do for university this week, but i will prepare my changes for a
new branch in the qt-2 module this week. so people shoould be able to
checkout stuff by the next week.
now i bought the programming windows-book from charles petzold, and it
helped quite a lot. i also have to clean up my file names to fit into
the kde-cygwin layout and look over the copyrights in the files.

don´t download my old stuff at the old link, it is already quite
outdated..

Holger

On Wed, 2003-01-15 at 00:16, David Fraser wrote:
> Ralf Habacker wrote:
> 
> >>BTW: I have added you to this list.
> >>
> >>    
> >>
> >
> >I mean the email address from the uni hannover, from which you have send your
> >last mail
> >(I assume that your holgis.net email account will not work yet because of your
> >name server problem)
> >
> >Regards
> >
> >Ralf
> >
> >_______________________________________________
> >kde-cygwin mailing list
> >kde-cygwin <at> mail.kde.org
> >http://mail.kde.org/mailman/listinfo/kde-cygwin
> >
> >  
> >
> Anything further happened with the KDE/QT native port? Problems, 
> difficulties, success or holidays :-)?
> 
> David
> 
> _______________________________________________
> kde-cygwin mailing list
> kde-cygwin <at> mail.kde.org
> http://mail.kde.org/mailman/listinfo/kde-cygwin
> 

Gmane