Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jun 2001 10:04:12 -0700
From:      Drew Tomlinson <drewt@writeme.com>
To:        'Mark Sergeant' <msergeant@looksmart.net>
Cc:        "FreeBSD Questions (E-mail)" <freebsd-questions@FreeBSD.org>
Subject:   RE: KDE 2.1.1 build
Message-ID:  <5CD46247635BD511B6B100A0CC3F0239259FB1@ldcmsx01.lc.ca.gov>
In-Reply-To: <200106200419.f5K4Jvs13399@xyzzy.intranet.snsonline.net>

next in thread | previous in thread | raw e-mail | index | archive | help
FWIW, I had lots of trouble building it and building 2.0.  The way I got it
to work was to remove all dependencies and all KDE things.  I even removed
X.

Then I built X and configured it to work with my system.  Once done with
that, I did a make && make install on the kde2 metaport.

HTH,

Drew

> -----Original Message-----
> From: Mark Sergeant [mailto:msergeant@looksmart.net]
> Sent: Tuesday, June 19, 2001 9:20 PM
> To: freebsd-questions@FreeBSD.org
> Subject: KDE 2.1.1 build
>
>
> Has anyone else had any issues building this port ? The error
> I get is as
> follows...
>
> configure:4957: checking for libjpeg6b
> configure:4995: cc -o conftest -O2 -O -pipe  -I/usr/X11R6/include
> -I/usr/inclu
>
> de -D_GETOPT_H -D_PTH_H_ -D_PTH_PTHREAD_H_  -I/usr/local/include
> -I/usr/local/in
>
> clude -I/usr/X11R6/include/qt2	conftest.c
> -L/usr/X11R6/lib  -L/usr/local/lib
> -l
>
> jpeg6b -lm 1>&5
> /usr/libexec/elf/ld: cannot find -ljpeg6b
> configure: failed program was:
> #line 4974 "configure"
> #include "confdefs.h"
> /* Override any gcc2 internal prototype to avoid an error.  */
> struct jpeg_decompress_struct;
> typedef struct jpeg_decompress_struct * j_decompress_ptr;
> typedef int size_t;
> #ifdef __cplusplus
> extern "C" {
> #endif
>     void jpeg_CreateDecompress(j_decompress_ptr cinfo,
> 				    int version, size_t structsize);
> #ifdef __cplusplus
> }
> #endif
> /* We use char because int might match the return type of a gcc2
>     builtin and then its argument prototype would still
> apply.	*/
>
> int main() {
> jpeg_CreateDecompress(0L, 0, 0);
> ; return 0; }
> configure:5018: checking for libjpeg
> configure:5056: cc -o conftest -O2 -O -pipe  -I/usr/X11R6/include
> -I/usr/inclu
>
> de -D_GETOPT_H -D_PTH_H_ -D_PTH_PTHREAD_H_  -I/usr/local/include
> -I/usr/local/in
>
> clude -I/usr/X11R6/include/qt2	conftest.c
> -L/usr/X11R6/lib  -L/usr/local/lib
> -l
>
> jpeg -lm 1>&5
> configure:5221: checking for Qt
> configure:5382: rm -rf SunWS_cache; c++ -o conftest -O2
> -fno-exceptions
> -fno-che
>
> ck-new -Wall -pedantic -W -Wpointer-arith
> -Wmissing-prototypes -Wwrite-strings
> -
>
> Wno-long-long -Wnon-virtual-dtor -fno-builtin -O -pipe
> -I/usr/X11R6/include/qt2
>
> -I/usr/X11R6/include  -I/usr/include -D_GETOPT_H -D_PTH_H_
> -D_PTH_PTHREAD_H_
> -I
>
> /usr/local/include -I/usr/local/include -I/usr/X11R6/include/qt2
> -L/usr/X11R6/l
>
> ib -L/usr/X11R6/lib  -L/usr/local/lib conftest.C -Wl,-export-dynamic
> -L/usr/loca
>
> l/lib -L/usr/X11R6/lib -ljpeg -lgcc -lstdc++ -lqt2 -lpng -lz
> -lm -ljpeg  -lXext
>
> -lX11 -lSM -lICE  1>&5
> conftest.C:11: #error 1
> conftest.C: In function `int main()':
> conftest.C:20: warning: unused variable `int magnolia'
> conftest.C:15: warning: unused variable `class QStringList * t'
> configure: failed program was:
> #include "confdefs.h"
> #include <qglobal.h>
> #include <qapplication.h>
> #include <qapp.h>
> #include <qobjcoll.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;
> }
> (end of "config.log")
> *** Error code 1
>
> Stop in /usr/ports/converters/kdesupport2.
> *** Error code 1
>
> Mark Sergeant
> Unix Systems Administrator
>
> Fortune follows...
>
> If you put garbage in a computer nothing comes out but garbage.  But
> this garbage, having passed through a very expensive machine, is
> somehow enobled and none dare criticize it.
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5CD46247635BD511B6B100A0CC3F0239259FB1>