SUMMARY: KDE compile woes

From: Gregory Patrick Rudd (G.Rudd@isu.usyd.edu.au)
Date: Fri Nov 07 2003 - 03:31:00 EST


Thanks to Fred N. van Kempen

The problem was with the configure script assuming that it was using GNU
grep (most open source software is compiled and developed on X86
linux) which by default is not case sensitive. So what I did was sed for
all instances of grep and replaced it with grep -i and it does the trick

--
Greg Rudd
Information Technology Services
University Computing Centre
University of Sydney NSW 2006
Australia
Phone: +61 2 9351 5531
E-mail: G.Rudd@isu.usyd.edu.au
Fax:   +61 2 9351 6004
"A Cynic is what an Idealist calls a Realist"  - Sir. Humphrey Appleby
Microsoft treats IT managers the way Proctor & Gamble treats nine-year-old
prospective consumers: lots of noise, bright colors, and jumping around.
Other software vendors just wish they could be so successful.
                                         -- Cameron Laird in comp.lang.tcl
On Thu, 6 Nov 2003, Fred N. van Kempen wrote:
> Date: Thu, 6 Nov 2003 12:53:50 +0100
> From: Fred N. van Kempen <Fred.van.Kempen@microwalt.nl>
> To: Gregory Patrick Rudd <G.Rudd@isu.usyd.edu.au>
> Subject: RE: KDE compile woes
>
> In the configure script, there is a check somewhere on the
> output of the compiler.  They pipe that through "grep", but
> assume (...) it is GNU Grep, so, case-insensitive by default.
>
> In my source, it is the block of code around line 23172 of
> the configure script:
>
> ------------------
> kde_line="$kde_line -impl actest.h actest.ui > actest.cpp"
> if { (eval echo "$as_me:$LINENO: \"$kde_line\"") >&5
>   (eval $kde_line) 2>&5
>   ac_status=$?
>   echo "$as_me:$LINENO: \$? = $ac_status" >&5
>   (exit $ac_status); }; then
>         if test -f actest.cpp && grep -i klineedit actest.cpp > /dev/null; then
>                 kde_cv_uic_plugins=yes
>         fi
> fi
> rm -f actest.ui actest.cpp
> --------------------
>
> I added the "-i" argument to grep there, so teh compiler wont
> barf on it.  It *should* be looking for KLineEdit ;-)
>
> Cheers,
> 	Fred
>
> > -----Original Message-----
> > From: Gregory Patrick Rudd [mailto:G.Rudd@isu.usyd.edu.au]
> > Sent: Thursday, November 06, 2003 7:20 AM
> > To: tru64-unix-managers@ornl.gov
> > Subject: KDE compile woes
> >
> >
> > Hi All
> >
> > I am getting the following problem when trying to compile
> > from source KDE
> > 3.1.4 on tru64 4.0g.
> >
> > arts and kdelibs compile ok with a few flags but when I get
> > the begin the
> > configure of kdebase I get the following message
> >
> >
> > When I check the config.log the following
> >
> > configure: 22979: /usr/local/kde/include/ksharedptr.h
> > taking that
> > configure: 23009: /usr/local/kde/lib/libkio.la
> > taking that
> > configure: 23027:
> > /usr/local/kde/lib/kde3/plugins/designer/kdewidgets.la
> > taking that
> > configure:23097: result: libraries /usr/local/kde/lib, headers
> > /usr/local/kde/include
> > configure:23134: checking if UIC has KDE plugins available
> > configure:23161: /usr/local/qt/bin/uic -L
> > /usr/local/kde/lib/kde3/plugins/designer -nounload -impl actest
> > .h actest.ui > actest.cpp
> > configure:23164: $? = 0
> > configure:23179: error: not found - you need to install kdelibs first.
> >
> > But when I look into /usr/local/kde/lib/kde3/plugins
> > directory both the
> > designer and syles both have shared objects in them.  I have
> > looked at the
> > KDE doco but cant find nothing about this.
> >
> > Any one come across this one before.
> >
> > CC = Compaq C V6.5-207 (dtk) on Digital UNIX V4.0G (Rev. 1530)
> > Compiler Driver V6.5-207 (dtk) (dtk) cc Driver
> >
> > CFLAGS -arch host -ieee -pthread -I/usr/local/include
> >
> > CXX compiler compaq c++ 6.5
> > CXXFLAGS  -arch host -ieee -pthread -I/usr/local/include
> > -D__USE_STD_IOSTREAM
> >
> > LDFLAGS -v
> >
> > Thanks in advance
> >
> > -greg
> >
> > --
> > Greg Rudd
> >
> > Information Technology Services
> > University Computing Centre
> > University of Sydney NSW 2006
> > Australia
> >
> > Phone: +61 2 9351 5531
> >
> > E-mail: G.Rudd@isu.usyd.edu.au
> >
> > Fax:   +61 2 9351 6004
> >
> >
> > "A Cynic is what an Idealist calls a Realist"  - Sir. Humphrey Appleby
> >
> > Microsoft treats IT managers the way Proctor & Gamble treats
> > nine-year-old
> > prospective consumers: lots of noise, bright colors, and
> > jumping around.
> > Other software vendors just wish they could be so successful.
> >                                          -- Cameron Laird in
> > comp.lang.tcl
> >
>
>


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:43 EDT