You are not logged in.
Pages: 1
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
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
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
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
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
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
Offline
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
Thanks,
yes, that`s it!
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
Pages: 1