* Compiling KDE 1.0 on Linux/Alpha
@ 1998-07-14 4:00 Michael Gilbert
1998-07-14 4:00 ` Hans Aschauer
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Michael Gilbert @ 1998-07-14 4:00 UTC (permalink / raw)
Kdebase vers. 1.0 fails to compile on: RedHat 2.1.108, egcs 1.0.3a.
Any ideas?
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/kde/include
-I/usr/lib/qt/include -O2 -Wall -c kmimemagic.cpp
/usr/lib/qt/include/qstring.h: In function `int cstrncmp(const char *, const
char *, unsigned int)':
In file included from /usr/lib/qt/include/qregexp.h:26,
from kmimemagic.cpp:21:
/usr/lib/qt/include/qstring.h:95: warning: implicit declaration of function
int strncmp(...)'
kmimemagic.cpp: In function `int apprentice()':
kmimemagic.cpp:491: warning: implicit declaration of function `int
strerror(...)'
kmimemagic.cpp: In function `int buff_apprentice(char *)':
kmimemagic.cpp:533: warning: implicit declaration of function `int
strncpy(...)'
kmimemagic.cpp:535: warning: implicit declaration of function `int
strchr(...)'
kmimemagic.cpp:535: warning: assignment to `char *' from `int' lacks a cast
kmimemagic.cpp:539: warning: implicit declaration of function `int
strcat(...)'
kmimemagic.cpp: In function `int mconvert(union VALUETYPE *, struct magic *)':
kmimemagic.cpp:962: warning: assignment to `char *' from `int' lacks a cast
kmimemagic.cpp: In method `int KMimeMagic::fsmagic(const char *, struct stat
*)':
kmimemagic.cpp:1413: warning: implicit declaration of function `int
strrchr(...)'
kmimemagic.cpp:1413: warning: assignment to `char *' from `int' lacks a cast
kmimemagic.cpp: In method `void KMimeMagic::mprint(union VALUETYPE *, struct
magic *)':
kmimemagic.cpp:1685: warning: assignment to `char *' from `int' lacks a cast
kmimemagic.cpp: In method `int KMimeMagic::ascmagic(unsigned char *, int)':
kmimemagic.cpp:1745: warning: implicit declaration of function `int
memchr(...)'
kmimemagic.cpp:1745: ANSI C++ forbids comparison between pointer and integer
kmimemagic.cpp:1750: warning: implicit declaration of function `int
memset(...)'
kmimemagic.cpp:1759: warning: implicit declaration of function `int
strtok(...)'
kmimemagic.cpp:1759: warning: assignment to `char *' from `int' lacks a cast
kmimemagic.cpp: In method `KMimeMagic::KMimeMagic(const char *)':
kmimemagic.cpp:2009: warning: implicit declaration of function `int
strdup(...)'
kmimemagic.cpp:2009: warning: assignment to `char *' from `int' lacks a cast
kmimemagic.cpp: In method `bool KMimeMagic::mergeConfig(const char *)':
kmimemagic.cpp:2048: warning: assignment to `char *' from `int' lacks a cast
make[2]: *** [kmimemagic.o] Error 1
make[2]: Leaving directory `/usr/src/kde-1.0/kdebase-1.0/kfm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/kde-1.0/kdebase-1.0'
make: *** [all-recursive-am] Error 2
MICHAEL Wm. GILBERT mgilbert@oit.umass.edu
Technology Development and Special Projects
Office of Information Technology (OIT)
University of Massachusetts at Amherst
Voice: 413-545-3124 Fax: 413-545-3203
A115 Lederle Graduate Research Center
UMASS Amherst, MA 01003 USA
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Compiling KDE 1.0 on Linux/Alpha
1998-07-14 4:00 Compiling KDE 1.0 on Linux/Alpha Michael Gilbert
@ 1998-07-14 4:00 ` Hans Aschauer
1998-07-14 4:00 ` Michael Gilbert
1998-07-15 4:00 ` Robert Harley
1998-07-18 4:00 ` Frank Luedke
2 siblings, 1 reply; 5+ messages in thread
From: Hans Aschauer @ 1998-07-14 4:00 UTC (permalink / raw)
Michael Gilbert wrote:
>
> Kdebase vers. 1.0 fails to compile on: RedHat 2.1.108, egcs 1.0.3a.
> Any ideas?
>
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/kde/include
> -I/usr/lib/qt/include -O2 -Wall -c kmimemagic.cpp
> /usr/lib/qt/include/qstring.h: In function `int cstrncmp(const char *, const
> char *, unsigned int)':
> In file included from /usr/lib/qt/include/qregexp.h:26,
> from kmimemagic.cpp:21:
> /usr/lib/qt/include/qstring.h:95: warning: implicit declaration of function
> int strncmp(...)'
[...]
> make[2]: *** [kmimemagic.o] Error 1
> make[2]: Leaving directory `/usr/src/kde-1.0/kdebase-1.0/kfm'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/kde-1.0/kdebase-1.0'
> make: *** [all-recursive-am] Error 2
>
Hi,
I guess you are not compiling KDE 1.0 but one of the previews
(pre-1?) -- they had exactly the problems you describe here.
AFAIK there will 'officially' built RH-5.1 (or RH-5.0 w/egcs)
rpm packages (officially means that they will be available
on ftp.kde.org and mirrors).
-- Hans.
Hans.Aschauer@Physik.uni-muenchen.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Compiling KDE 1.0 on Linux/Alpha
1998-07-14 4:00 ` Hans Aschauer
@ 1998-07-14 4:00 ` Michael Gilbert
0 siblings, 0 replies; 5+ messages in thread
From: Michael Gilbert @ 1998-07-14 4:00 UTC (permalink / raw)
In article <35AB15FF.7870B735@physik.uni-muenchen.de>, Hans Aschauer <hans.aschauer@physik.uni-muenchen.de> wrote:
>> Kdebase vers. 1.0 fails to compile on: RedHat 2.1.108, egcs 1.0.3a.
>> Any ideas?
>>
>> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/kde/include
>> -I/usr/lib/qt/include -O2 -Wall -c kmimemagic.cpp
>> /usr/lib/qt/include/qstring.h: In function `int cstrncmp(const char *, const
>> char *, unsigned int)':
>> In file included from /usr/lib/qt/include/qregexp.h:26,
>> from kmimemagic.cpp:21:
>> /usr/lib/qt/include/qstring.h:95: warning: implicit declaration of function
>> int strncmp(...)'
>
>[...]
>
>> make[2]: *** [kmimemagic.o] Error 1
>> make[2]: Leaving directory `/usr/src/kde-1.0/kdebase-1.0/kfm'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/usr/src/kde-1.0/kdebase-1.0'
>> make: *** [all-recursive-am] Error 2
>I guess you are not compiling KDE 1.0 but one of the previews
>(pre-1?) -- they had exactly the problems you describe here.
>AFAIK there will 'officially' built RH-5.1 (or RH-5.0 w/egcs)
>rpm packages (officially means that they will be available
>on ftp.kde.org and mirrors).
Thanks, but this was compiling KDE 1.0 and NOT a prerelease....
MICHAEL Wm. GILBERT mgilbert@oit.umass.edu
Technology Development and Special Projects
Office of Information Technology (OIT)
University of Massachusetts at Amherst
Voice: 413-545-3124 Fax: 413-545-3203
A115 Lederle Graduate Research Center
UMASS Amherst, MA 01003 USA
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Compiling KDE 1.0 on Linux/Alpha
1998-07-14 4:00 Compiling KDE 1.0 on Linux/Alpha Michael Gilbert
1998-07-14 4:00 ` Hans Aschauer
@ 1998-07-15 4:00 ` Robert Harley
1998-07-18 4:00 ` Frank Luedke
2 siblings, 0 replies; 5+ messages in thread
From: Robert Harley @ 1998-07-15 4:00 UTC (permalink / raw)
mgilbert@oit.umass.edu (Michael Gilbert) writes:
> Kdebase vers. 1.0 fails to compile on: RedHat 2.1.108, egcs 1.0.3a.
> Any ideas?
Nope, but it compiled OK with gcc 2.7.2.1 on RedHat 4.0. There were a
few worrying warnings in libgif but I didn't try fixing them... and a
few other warnings about malloc not declared etc. But anyway I'm
using it without any particular problems (unlike the previous betas).
BTW, you need truck-loads of disk. If you 'make' everything
simultaneously it takes 180 megs or so! I suppose one should 'make;
make install; make clean' package by package. The final install is:
> du -s /usr/local/kde/
43731 /usr/local/kde
I just installed Netscape Communicator 4.5 too, it's pretty nice:
ftp://ftp20.netscape.com/pub/communicator/4.5/4.5_PR1/english/unix/linux20/
> du -s /home/corton/harley/communicator4.5/
38211 /home/corton/harley/communicator4.5
Gulp. My 4 Gig disk is starting to look small!
Rob.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Compiling KDE 1.0 on Linux/Alpha
1998-07-14 4:00 Compiling KDE 1.0 on Linux/Alpha Michael Gilbert
1998-07-14 4:00 ` Hans Aschauer
1998-07-15 4:00 ` Robert Harley
@ 1998-07-18 4:00 ` Frank Luedke
2 siblings, 0 replies; 5+ messages in thread
From: Frank Luedke @ 1998-07-18 4:00 UTC (permalink / raw)
Michael Gilbert <mgilbert@oit.umass.edu> wrote:
>Kdebase vers. 1.0 fails to compile on: RedHat 2.1.108, egcs 1.0.3a.
>Any ideas?
Do you have qt 1.33 or higher installed? KDE seems to check only if
there is a qt 1.3x in 'configure', but you need 1.33 or higher to
compile it.
I had installed qt 1.32 but 'configure' run through. Later I got
'undeclared functions' error messages ... After installing qt 1.33
it worked.
You can find qt 1.33 or 1.4 at ftp.troll.no
--
Wind*ws95, n:
32 bit extensions and a graphical shell for a 16 bit patch to an
8 bit operating system originally coded for a 4 bit microprocessor,
written by a 2 bit company that can't stand 1 bit of competition.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1998-07-18 4:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-14 4:00 Compiling KDE 1.0 on Linux/Alpha Michael Gilbert
1998-07-14 4:00 ` Hans Aschauer
1998-07-14 4:00 ` Michael Gilbert
1998-07-15 4:00 ` Robert Harley
1998-07-18 4:00 ` Frank Luedke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox