You are not logged in.

#1 2004-06-19 07:37:23

lomix
Member
From: Germany
Registered: 2004-05-26
Posts: 13

Trying to Compile KShowmail

Hi Forum,
a noob in Arch is trying to compile kshowmail but without success.
./configure is running without any errors but "make" breaks with the following last lines:
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++
showrecordelem.cpp:118: error: extra `;'
make[2]: *** [showrecordelem.o] Error 1
make[2]: Leaving directory `/Linux2/Arch-Linux/kshowmail-3.1.0/kshowmail'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Linux2/Arch-Linux/kshowmail-3.1.0'
make: *** [all] Error 2

I`ve tried it with different prefix-lines like ./configure --prefix=/opt/kde --prefix=/opt/qt ..... but any time it breaks.
Now my question is if anyone here knows how to compile this little program?
Thanks for all answers and greetings


WS : Asus P4PE-X, P4 2.4 GHz HT, GF2 MX400
Slackware 10.0 :Kernel 2.8.1 / Xorg 6.8.1 / KDE 3.3
Arch-Linux Wombat 0.7: still in Heaven after HDD-Crash

Offline

#2 2004-06-19 15:34:42

fragilek
Member
From: UK
Registered: 2004-04-03
Posts: 31

Re: Trying to Compile KShowmail

Have you checked the documentation for a section entitled "Dependancies" or "needs these to run"?


PGP Key: 0xAA86325D
Email: fragile_k@myrealbox.com
Jabber: fragilek@jabber.org

Offline

#3 2004-06-19 15:48:17

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Trying to Compile KShowmail

this is likely a gcc 3.4 issue. you will have to look at the code that gave the error and patch it. or you may have to patch the makefile.


AKA uknowme

I am not your friend

Offline

#4 2004-06-20 08:51:10

lomix
Member
From: Germany
Registered: 2004-05-26
Posts: 13

Re: Trying to Compile KShowmail

Hi,
thanks for all answers!

@ sarah31
I supposed that it is a gcc issue.
But I don`t know how to patch a makefile or or the code (noob...).
Do you know any websites where I can get informations about it?
Greetings


WS : Asus P4PE-X, P4 2.4 GHz HT, GF2 MX400
Slackware 10.0 :Kernel 2.8.1 / Xorg 6.8.1 / KDE 3.3
Arch-Linux Wombat 0.7: still in Heaven after HDD-Crash

Offline

#5 2004-06-20 09:12:05

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Trying to Compile KShowmail

well first you could google for patches. using keywords such as "kshowmail ebuild" you could take a look at the ebuild files to see if there is a patch they made for their ebuild (if they have one). other than that if you know what to correct in the code or the Makefile you just:

-copy the suspect file
-change the copy's name adding a .orig (for example)
-edit the code as necessary
-then use diff to generate a patchfile:

diff -ruN /path/to/original/file /path/to/corrected/file > somename.patch

-if you are trying to make a package out of kshowmail then add a patch line to your PKGBUILD like so:

patch -Np1 -i ../somename.patch

i don't have any direct links but just google using the terms patch or diff or patching code or something along those lines (be sure not to use a generic google but google.com/linux)


AKA uknowme

I am not your friend

Offline

#6 2004-06-20 09:27:39

orelien
Forum Fellow
From: France
Registered: 2002-12-05
Posts: 220
Website

Re: Trying to Compile KShowmail

showrecordelem.cpp:118: error: extra `;'

The message says it all: there's an extra ";" at the end of the line 118 in the above mentionned file.
Remove it and try again wink

Offline

#7 2004-06-20 10:17:47

lomix
Member
From: Germany
Registered: 2004-05-26
Posts: 13

Re: Trying to Compile KShowmail

orelien wrote:

showrecordelem.cpp:118: error: extra `;'

The message says it all: there's an extra ";" at the end of the line 118 in the above mentionned file.
Remove it and try again wink

Thanks,
yes, that`s it! smile
Now KShowmail is working!
Greetings


WS : Asus P4PE-X, P4 2.4 GHz HT, GF2 MX400
Slackware 10.0 :Kernel 2.8.1 / Xorg 6.8.1 / KDE 3.3
Arch-Linux Wombat 0.7: still in Heaven after HDD-Crash

Offline

Board footer

Powered by FluxBB