You are not logged in.

1

Monday, May 24th 2004, 11:23am

Konstruct KDE 3.2.2 error...

Hi there!! I'm a complete newbie in Linux and I'm trying to install the KDE 3.2.2 (now using KDE 3.1) to a Mandrake 9.1.4.. (via Konstruct)..

All went fine until I encountered the following :


make[8]: Entering directory `/home/user/tmp/konstruct/libs/qt-x11-free/work/qt-x11-free-3.2.3/plugins/src/imageformats/jpeg'
g++ -c -pipe -fno-exceptions -Wall -W -O2 -pipe -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -I/home/user/tmp/konstruct/libs/qt-x11-free/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I../../../../include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/main.o main.cpp
In file included from main.cpp:11:
../../../../src/kernel/qjpegio.cpp:59:21: jpeglib.h: No such file or directory
In file included from main.cpp:11:
../../../../src/kernel/qjpegio.cpp:66: parse error before `{' token
.
.
.
.
{standard input}: Assembler messages:
{standard input}:31: Error: symbol `dev' is already defined
make[8]: *** [.obj/release-shared-mt/main.o] Error 1
make[8]: Leaving directory `/home/user/tmp/konstruct/libs/qt-x11-free/work/qt-x11-free-3.2.3/plugins/src/imageformats/jpeg'
make[7]: *** [sub-jpeg] Error 2
make[7]: Leaving directory `/home/user/tmp/konstruct/libs/qt-x11-free/work/qt-x11-free-3.2.3/plugins/src/imageformats'
make[6]: *** [sub-imageformats] Error 2
make[6]: Leaving directory `/home/user/tmp/konstruct/libs/qt-x11-free/work/qt-x11-free-3.2.3/plugins/src'
make[5]: *** [sub-plugins] Error 2
make[5]: Leaving directory `/home/user/tmp/konstruct/libs/qt-x11-free/work/qt-x11-free-3.2.3'
make[4]: *** [build-work/qt-x11-free-3.2.3/Makefile] Error 2
make[4]: Leaving directory `/home/user/tmp/konstruct/libs/qt-x11-free'
make[3]: *** [dep-../../libs/qt-x11-free] Error 2
make[3]: Leaving directory `/home/user/tmp/konstruct/libs/arts'
make[2]: *** [dep-../../libs/arts] Error 2
make[2]: Leaving directory `/home/user/tmp/konstruct/kde/kdelibs'
make[1]: *** [dep-../../kde/kdelibs] Error 2
make[1]: Leaving directory `/home/user/tmp/konstruct/kde/kdebase'
make: *** [dep-../../kde/kdebase] Error 2


It seems t cannot find the jpeglib.h. The thing is that the file exists in /home/user/tmp/konstruct/libs/qt-x11-free/work/qt-x11-free-3.2.3/src/3rdparty/libjpeg, but I have the feeling that Konstruct doesn't look there...

I have started the installation in the /home/user/tmp/konstruct, which I know it isn't the most appropriate thing to do... did I mentioned I'm a complete newbie??

Thanks in advance for any help you could give on that (I have been stucked there for 2 days now)... :evil:

2

Monday, May 24th 2004, 5:40pm

Qt gets configured to use the system libjpeg, so install the libjpeg62-devel package.

3

Tuesday, May 25th 2004, 5:16pm

Thanks for the tip, binner!! I installed libjpeg and everything went fine, until... I got this :


checking for pcre-config... /usr/bin/pcre-config
configure: error: You're missing libpcre.
Download libpcre from http://www.pcre.org or find a binary package for your platform.
Alternatively, you can specify --disable-pcre, but some web pages - using regular
expressions in Javascript code - will not work correctly, the regexp support being
quite limited if libpcre isn't present.


... so I tried to find (yet another) rpm package, and I did find it (in rmpfind.net) namely the libpcre0-3.9-5mdk RPM for i586, from Mandrake.. When I tried to run it, I got "Everything already installed". I found the same RPM (3.9-5mdk) from my mandrake cd's, and I installed it via the Mandrakes' Software Management Control Center... but again nothing.. I get the same (above) error...

I'm getting frustrated, I have encountered half a dozen lost dependencies/missing packets that were required - and I'm getting tired. Like I said I'm new in Linux, and the way the thing goes - I'm gonna stay a newbie (aka.return to Windows) ... I only can imagine what was (and still is) it like when there weren't such wonderful Linux GUI's that did much of the job, so automated... still IMHO, there are far away from a Mac/Microsoft OS [not trying to start a flame here, just a poor user's opinion]..

4

Tuesday, May 25th 2004, 6:21pm

You always need the corresponding *-devel package if there is anyone, so install libpcre0-devel*.rpm.

You can try to install the development packages of your current KDE version (kdebase-devel) and your package manager will likely install most necessary dependencies automatically.

5

Wednesday, May 26th 2004, 6:33pm

...ok done that! After 3-4 rpms needed (bzip2, yacc, etc) & (approx.) 4 hours of compilation, I'm stuck again.. This time :

configure: error: *** TIFF library not found ***

although I've been downloaded the tiff libraries rpms (base/devel/static-devel) for 2-3 versions (namely libtiff3-3.5.7-10mdk.i586, libtiff3-3.5.7-11mdk.i586 & libtiff3-3.6.1mdk.i586), I cannot install the devel part (for either of those versions).

I install the base rpm (ex.libtiff3-3.5.7-11mdk.i586) & when I try to install the (same version) devel rpm, I get :


Conflicts were detected

devel(libjpeg) is needed
devel(libm) is needed
devel(libz) is needed


The funny thing is that I have installed the libjpeg62-devel-6b-26mdk-i586.rpm, but still I cannot go through it..
Trying the libtiff3-3.5.7-10mdk.i586 rpm, only libjpeg & libz devel were asked..

As for the libtiff3-3.6.1mdk.i586, it is the most problematic of all - can't get past the signature checks... so much for the most recent update .. :?

Any help/advice would be greatly appreciated..

seb

Professional

Posts: 622

Location: Sydney

Occupation: Student

  • Send private message

6

Thursday, May 27th 2004, 3:47am

I'm not sure that you even need the tiff development packages to use konstruct, as i remember - i had the same problem and installed the vanilla tiff files and it worked :).

Hope it works for you
Seb

7

Thursday, May 27th 2004, 10:52am

Seb, where can I find the vanilla tiff files? I looked with google for 'vanilla tiff linux mandrake' but I don't seem to find some reliable URL...

138

Trainee

Posts: 81

Location: Helsinki, Finland

  • Send private message

8

Thursday, May 27th 2004, 2:33pm

Hi,

I think what Seb meant was to get the source for tiff ( http://www.libtiff.org/ ) and compiling it. Vanilla = source from the author, not from the distributor, ie. vanilla Linux kernel from http://www.kernel.org vs. kernel from the distributor. Distributors packages might have some minor modifications on them or there could be patches that aren't in the vanilla sources.
If I am completely clueless what I am talking about, please someone set me straight. :)

Quoted

I'm getting frustrated, I have encountered half a dozen lost dependencies/missing packets that were required - and I'm getting tired. Like I said I'm new in Linux, and the way the thing goes - I'm gonna stay a newbie (aka.return to Windows) ... I only can imagine what was (and still is) it like when there weren't such wonderful Linux GUI's that did much of the job, so automated... still IMHO, there are far away from a Mac/Microsoft OS [not trying to start a flame here, just a poor user's opinion]..


If you are all new to Linux I would recommend NOT to compile your programs from the source, you should wait until your distro has prepared proper packages for you. And if you want to learn how to compile your programs by yourself, I would recommend to start with something little bit smaller and not so complicated as KDE. IMHO konstruckt is NOT a newbie tool.

And if you are comparing program installation in Linux with a Mac/Windows, please do remember that you aren't compiling programs from the source to Mac/Windows (well at least most of the users aren't), you are installing binaries just like in linux when you install *.rpm. I think if you try to compile programs for Mac/Windows you probably find out that there are dependencies there also (I really don't know what I am talking about, just assuming since I have never ever compiled anything on Mac/Windows).

Anyway, IMHO normal users who aren't that much interested in computers shouldn't have to compile programs them self, it is a distributors job to do that. But if you want to compile programs, be ready for problems on the way.

ps. If you want to know about some of the dependencies in KDE here is some information about that http://www.se.linuxfromscratch.org/blfs/view/cvs/kde/kde.html , there is also a lot of information about the compiling.
Siili teki maalin.

9

Thursday, May 27th 2004, 5:33pm

Quoted

Original von 138


If you are all new to Linux I would recommend NOT to compile your programs from the source, you should wait until your distro has prepared proper packages for you. And if you want to learn how to compile your programs by yourself, I would recommend to start with something little bit smaller and not so complicated as KDE. IMHO konstruckt is NOT a newbie tool.

And if you are comparing program installation in Linux with a Mac/Windows, please do remember that you aren't compiling programs from the source to Mac/Windows (well at least most of the users aren't), you are installing binaries just like in linux when you install *.rpm. I think if you try to compile programs for Mac/Windows you probably find out that there are dependencies there also (I really don't know what I am talking about, just assuming since I have never ever compiled anything on Mac/Windows).

Anyway, IMHO normal users who aren't that much interested in computers shouldn't have to compile programs them self, it is a distributors job to do that. But if you want to compile programs, be ready for problems on the way.


Well, I seem to hit a nerve, didn't I? My intention from the start wasn't to make compilation - just to upgrade from KDE 3.1 to KDE 3.2.2 via an "automatic" way/process - at least that is what Konstruct is promising... I'm very interested in computers and - beilieve me - I'm not so stupid to try something out of my knowledge (and quite complicated as it turned out) as KDE installation, but I was fooled by thinking that Konstruct would install all the needed files by itself - which in a large part, it does. It even connects to various ftp sites & downloads tarballs and stuff.. Anyway now I'm in the middle of it, and I want to complete it.. that's all.
Thanks for the input anyway, I'll surely visit the http://www.se.linuxfromscratch.org/blfs/view/cvs/kde/kde.html as I want to learn more of the compilation process, although I'll try to finish first KDE upgrade (cross my fingers.. :( )

138

Trainee

Posts: 81

Location: Helsinki, Finland

  • Send private message

10

Thursday, May 27th 2004, 9:06pm

Quoted


Well, I seem to hit a nerve, didn't I? My intention from the start wasn't to make compilation - just to upgrade from KDE 3.1 to KDE 3.2.2 via an "automatic" way/process - at least that is what Konstruct is promising...


Don't get me wrong, konstruct is a fine tool, but if they are promising that konstruct is an easy and automatic way to upgrade your KDE, my opinion is that they a little bit misleading. IMHO konstruct is very good at testing new versions of KDE without losing your working KDE and it does automate the compiling process, as long as everything works out allright and if it doesn't work, there is no point for automation :). Also I wouldn't call it a proper upgrade because it puts everything on your home directory, not where everything actually belongs (where that is, is a matter of another discussion :).
I am not saying that people who make konstruct are doing a bad job because it doesn't work everywhere, there is just too much different kind of linux installations for it to work on all of them.
About compiling stuff and Mac/Windows, I was trying to say that when people are used to do some things one way they might find another way to do it annoying. For example I have used win98 few times lately(long story, don't ask) and everything seems to work, but at the same time it doesn't feel to work like it supposed to, that is, the way like I am used to. And that is annoying.

Quoted


I'm very interested in computers and - beilieve me - I'm not so stupid to try something out of my knowledge (and quite complicated as it turned out) as KDE installation, but I was fooled by thinking that Konstruct would install all the needed files by itself


Yes I can see that you are interested in computers, otherwise you wouldn't try to use konstruct :) and if you are preferring a part where I said that normal users shouldn't compile their own programs I wasn't preferring to you personally as a normal user, I meant the mystical "Joe Average".
You are already beyond average user because you are trying to compile KDE and not only trying, but also finding out how to do it and not giving it up :). It IS NOT something that one can't learn, allmost everybody can, look at me, even I learned how to do it eventually. So after you have done your KDE installation it will be a lot easier to install any other program from the source, but I still would say that it is easier to start learning how to do your own compiling from a little application than from the programs like KDE. But you have to start somewhere, right? :)

Quoted


Anyway now I'm in the middle of it, and I want to complete it.. that's all.
Thanks for the input anyway, I'll surely visit the http://www.se.linuxfromscratch.org/blfs/view/cvs/kde/kde.html as I want to learn more of the compilation process, although I'll try to finish first KDE upgrade (cross my fingers.. )


I hope that you get you problems solved and a shiny new KDE installation up front of you. My fingers are crossed for you. :)
Siili teki maalin.