Problem compiling KDE package (kdepim)
Tobias Larsson
tola01 at student.bth.se
Thu Feb 12 08:44:39 CET 2004
(This was also sent to the SF forum)
Hi
I'm trying to build kdepim from the KDE cvs (tag KDE_3_1_4_RELEASE) but
already during configure I get problems.
I've installed KDE 3.1.4 and Qt 3, as well as all requirements, using the
Cygwin installer.
Command:
CC="gcc-2" CXX="g++-2" ./configure --prefix=/opt/kde3 --disable-closure
--disable-rpath --with-qt-dir=/opt/qt3
(according to instructions on the website)
Output:
checking for X... configure: error: Can't find X libraries. Please check your
installation and add the correct paths!
The X libraries are installed, and the path is in LD_LIBRARY_PATH
More detailed from config.log:
configure:21512: $? = 0
configure:21515: test -s conftest.exe
configure:21518: $? = 0
configure:21530: result: yes
configure:21568: checking for X
configure:21613: gcc-2 -E conftest.c
configure:21619: $? = 0
configure:21710: gcc-2 -o conftest.exe -O2 conftest.c -lXt >&5
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-10/../../../../i686-pc-cygwin/bin/ld:
cannot find -lXt
collect2: ld returned 1 exit status
configure:21716: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "kdepim"
| #define VERSION "3.1.4"
| #define HAVE_TEMPLATE_REPOSITORY 1
| #define KDELIBSUFF ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_CRYPT 1
| #define ksize_t socklen_t
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 4
| #define SIZEOF_CHAR_P 4
| #define SIZEOF_CHAR 1
| #define HAVE_VSNPRINTF 1
| #define HAVE_SNPRINTF 1
| /* end confdefs.h. */
|
| int
| main ()
| {
| XtMalloc()
| ;
| return 0;
| }
configure:21857: error: Can't find X libraries. Please check your installation
and add the correct paths!
For a complete config.log, I've uploaded it to http://beeblebrox.homedns.org/
config.log
Anyone know a solution to this?
Thanks,
Tobias
More information about the kde-cygwin
mailing list