PDA

View Full Version : Xandros, the (ongoing) saga of trying to install Kshowmail



Terry Porritt
16-04-2004, 09:59 PM
Some time back Gorela mentioned Kshowmail as an email program that lets you look at emails on the ISP mail server and manage them without necessarily downloading, eg they can be deleted from the server. Windows Foxmail does this which makes it a useful program.

So trying to install kshowmail is where the fun started, my hair is already grey/white, but if it wasnt it would be :)

Kshowmail can be downloaded from Sourceforge (http://sourceforge.net/project/showfiles.php?group_id=45904&package_id=45724&release_id=212395)
The first hurdle is trying to decide which of the listed kshowmail packages to download. The packages have RH9 or SuSE90 or WB3 in the file name, and are rpm source files.
I guess these are no good for Xandros Debian system, I was hoping for a .deb package.

Oh well, so I downloaded the kshowmail-3.1.o.tar.gz source file and reading told me that this file had to be unzipped and unarchived, configured, make, and make install. What a nonsense and rigmarole just to install a simple program.

OK so after refreshing up on Unix command line syntax, and remembering Unix is case sensitive I read the instructions ( these always assume you know how to do things anyway) and unpacked the file into a directory /opt/kshowmail-3.1.0.

Ah ha, next all we have to do is ./configure. What a joke!

After a lot of huffing and puffing the configure command comes up with this error message....

Checking for X- - -configure:error:Can't find X includes

also there was something about Qt, but that comes later.

So back to Google and more reading, this is quite a common phenomenon with Linux apparently, Linux is throwing up this error message all over the place.

Anyway it seems Xandros needs to have installed some mysterious files contained in xlibs-dev package, whatever that is, but Xandros Networks is the place to go for these libs.

I also had to install various other libs to get rid of the dreaded Cant find X includes, including libjpeg. But I didnt make detailed notes on this, just blindly installed libs until the error message went away. :)

Phew, making some progress, but wait there is more, now ./configure is complaining about Qt, or the lack of Qt.

Qt??? what is Qt? I remember the old expression from war days about hearing it "on the QT", then there is or was the amateur radio "Q" code, eg QTH= my position is.....(confused)

So back to Google and the kshowmail install instructions, and this is also a Linux error that ocurrs not infrequently, and now it seem that Xandros should have Qt/X11Free Edition 3.3.0 installed.

It can be downloaded from Trolltech (http://www.trolltech.com/download/qt/x11.html), and it is also a .tar.gz source file that has to be unpacked, unzipped de-tarred configured, make, make install etc Oh no, where does it all end???

By now Im getting pretty adept at logging in as root to issue Unix commands getting the spaces in the right places etc [ eg in dos you have cd.. but in Unix cd .. ok spot the difference], and what do you know by carefully following the install instructions, going away literally for hours whilst configuring took place, issued make, then make install commands this mysterious Qt was successfully installed.

By this time I was too tired to do any more, so Kshowmail was left until next day.

So lets try ./configure again, fantastic, went right through without any glitch, and it finished up telling me I could now issue this magic "make" command. :)

But it wouldnt "make", all sorts of errors thrown up, hear is what it said to me:


Athlon:/opt/kshowmail-3.1.0# make
make all-recursive
make[1]: Entering directory `/opt/kshowmail-3.1.0'
Making all in kshowmail
make[2]: Entering directory `/opt/kshowmail-3.1.0/kshowmail'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/share/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -MT kshowmailfeedback.o -MD -MP -MF ".deps/kshowmailfeedback.Tpo" \
-c -o kshowmailfeedback.o `test -f 'kshowmailfeedback.cpp' || echo './'`kshowmailfeedback.cpp; \
then mv -f ".deps/kshowmailfeedback.Tpo" ".deps/kshowmailfeedback.Po"; \
else rm -f ".deps/kshowmailfeedback.Tpo"; exit 1; \
fi
In file included from kshowmailfeedback.cpp:18:
kshowmail.h:30:20: qarray.h: No such file or directory
make[2]: *** [kshowmailfeedback.o] Error 1
make[2]: Leaving directory `/opt/kshowmail-3.1.0/kshowmail'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/kshowmail-3.1.0'
make: *** [all] Error 2
Athlon:/opt/kshowmail-3.1.0#

(Athlon is the name of my computer)

So all this just to install a simple email program. :(

Now all you gurus please tell me what is so marvellous about Linux.

It reminds me of my motor biking days when I used to spend more time tinkering and rebuilding and tuning and 'making' and 'installing' parts and 'configuring' my Vincent Black Shadow come Black Lightning than actually going out on the road and riding it. :) [thats not quite true]

Jen C
17-04-2004, 02:17 PM
> Kshowmail can be downloaded from
> Sourcefor
> e (http://sourceforge.net/project/showfiles.php?grou
> _id=45904&package_id=45724&release_id=212395)
> Oh well, so I downloaded the kshowmail-3.1.o.tar.gz
> source file and reading told me that this file had to
> be unzipped and unarchived, configured, make, and
> make install. What a nonsense and rigmarole just to
> install a simple program.

This is standard simple practice when no one has made a precompiled package suitable for your distribution. There are untold numbers of applications available for Linux, you want it, some one has probably written it. However there may only be source available if you want to have that program. This means you get to compile it yourself. With a RPM capable distro there generally are a lot more precompiled applications available - it just depends upon what OS you choose. Linux is not Windows, and the software developers cannot cater for all distro's flavours and package types, so source can be used by anyone. It can however, be a bit harder at times to compile if you don't have all the correct pre-requisite files.

For a Linux newbie, having to deal with these problems can be disheartening, however much you learn from the process. :)

Unless someone can come up with a solution to your compilation make errors (I don't have a debian based system so I cannot replicate what you are doing) I suggest you try a different program which does the same job. Take a look at Mailfilter (http://mailfilter.sourceforge.net/). It has a debian pre-compiled package available - here (http://packages.debian.org/stable/mail/mailfilter). You should be able to use Xandros Networks to look for this package and install it for you.

> So all this just to install a simple email program. :(

This was an bad example program to learn from, for most it is a simple case of ./configure, make, make install. Last night I installed KRadio from source so that I could have a nice GUI for my new TV/FM tuner card. I installed the required libsndfile first (it clearly stated that this was required) and ran ./configure, make and make install - that was it! I now have a nice little radio tuner app.

> Now all you gurus please tell me what is so
> marvellous about Linux.

You have choices and huge flexibility/freedom. Keep your chin up and keep moving forward. Linux does have a lot to offer but only if you are prepared to take it up on that offer. Experienced Window users do find it hard initially being reverted back to a newbie-status and feeling helpless, but this will pass as your confidence and experience grows. :)

Terry Porritt
17-04-2004, 02:35 PM
Thanks for the encouragement Jen, it's like being advised that castor oil, or brimstone and treacle is good for one, and if you persevere, eventually you'll get to like it :) :) Only kidding.

I'll have a look at that email program you mention. But once started on something I never give up, I'll get that kshowmail working even if I have to re-write it myself!!!!!!!!

Jen C
17-04-2004, 02:44 PM
> I'll have a look at that email program you mention.
> But once started on something I never give up, I'll
> get that kshowmail working even if I have to
> re-write it myself!!!!!!!!

That's the fighting spirit Terry - good to see you back to your cheery determined self :D

Graham L
17-04-2004, 03:14 PM
A problem might be that Xandros has been made too user-fiendly.

A lot of software compilations need the header files for the kernel available. Those should be in a "kernel development" package"-- you can install just the headers, without the whole kernel source. I suspect a mail programme would need access to the system definitions.

Again, the Qt problem is because it's a GUI application. ;-)

Terry Porritt
17-04-2004, 04:16 PM
Oh for just the command line Graham :), I reckon GUIs are bad news.

I do have to say that when I worked on a Sun workstation at a CRI in 1994/5, I was very impressed with the Unix system and its GUI.
There was no comparison to Windows 3.1 that I had at home then.

Graham L
17-04-2004, 04:28 PM
There might also be a KDE development pack needed ...

Eventually you get all the bits together. I'm at about my third compile of the 2.6.3 kernel. It's got a "quiet"mode, so there's only about one warning instead of the scarey screeds you see with the older kernel sources. (I always believed that compiler warnings are errors --- these C programmers don't seem to care.:-()

The Sun probably used X-Window too, but they've got lots of new GUI languages like QT now.
I use CLI except when I have to use the GUI. When you punched a card, you were telling the computer what to do. When you click on an icon you're asking it. ;-)

bmason
17-04-2004, 04:32 PM
I would have a look around for a debian package from another source before trying to compile the app yourself. There are a lot of debian users out there.
Failing that, a redhat RPM might install (xandros networks can import them).


The error from make is related to QT (the gui toolkit used by kde for the buttons, scroll bars etc). Try installing the libqt-dev package to get the required headers.


The fact that compiling an app is difficult is not unique to linux systems, nor is it the real problem here.
The problem is you were forced to try compiling from source because the bistros haven't gotten their act together about improving compatibility.

ilikelinux
17-04-2004, 06:12 PM
Just to mention that xandros doesnt have gcc.

go to a sheel, type apt-get update

then do apt-get install gcc


it may take a while.

Terry Porritt
17-04-2004, 07:13 PM
Done :)
Thanks all, and thanks Bret for the tip than Xandros Networks can import RedHat rpm, I found that info in the Networks help following up your tip.

So with a few clicks of the mouse the RH rpm file was downloaded and installed, and Kshowmail works ok.

BUT after all that it isnt what I want :)

It doesnt send email only shows you what is on the server, so it's only half a program. However you can see the full message on the server, whereas with Foxmail only the message headers could be read.

I will follow up on Jen Cs suggested program.

Susan B
17-04-2004, 10:09 PM
> So all this just to install a simple email program.

Oh Terry, you are just about putting me off! :O :D


> Now all you gurus please tell me what is so marvellous about Linux.

> It reminds me of my motor biking days when I used to spend more time tinkering and rebuilding and tuning and 'making' and 'installing' parts and 'configuring' my Vincent Black Shadow come Black Lightning than actually going out on the road and riding it.

Well that's what most people who use Linux seem to do - fiddle with it endlessly. Including me. :p :D

> BUT after all that it isnt what I want

LMAO!

I bet you didn't know whether to laugh or cry. :p :D

Still, think of how much of a learning experience it was. If not for you, then it is for us. :p

What we need now is a program to be able listen to your HTOTW in Linux. ;-)

Terry Porritt
17-04-2004, 10:23 PM
No problem there Susan, there is a Linux version of Real Player, so HTOTW in Linux is go.

There is a but though.

Although Xandros detected the chip of my Triplex Windows sound card it couldnt of course (?) provide the 5.1 sound and the soundcard software for setting and testing surround sound, and Triplex dont provide Linux software.
Also the sound is noticeably inferior and tinny compared to using Windows.

Hardware support is the big Linux drawback. So I have to switch to WinXP if I want to get good sound, and fire up a win98 comp to use the scanner.

Chilling_Silence
19-04-2004, 11:59 AM
> Just to mention that xandros doesnt have gcc.

Then why did make start compiling?


Personally I think Linux has pretty good hardware support out-of-the-box. All hardware Ive had to use so far has come with drivers except for the family's WinModem, and that's hardly the fault of Linux when Doze doesnt even come with drivers for the bloody chipset :-(

Terry Porritt
19-04-2004, 04:35 PM
All depends on your hardware Chill, it's not just a question of drivers either but the other software associated with the hardware.

As I mentioned before, my ClickSmart 420 web/digital cam is not supported, Canoscan FB310 is not supported , 5.1 sound on my Triplex s/c is not supported and to boot the sound is not that good at all compared with that using the pukka drivers and software for Windows 98 or XP.

The other gripe I have with Xandros is the lousy micro-sized fonts, it is a real eye strain.

I noticed that Foxmail 5 is now available for Windows.
I tried using Crossover to install and run it, also the earlier version 4.1 but had the error message : STG_E_FILENOTFOUND when trying to set up an account.
There is some problem with storage file size, but havent tracked it down yet.

Graham L
19-04-2004, 04:54 PM
The hardware support problems are:

(i) manufacturers, some of which won't release the essential information to write the software handlers. Some popular hardware is supported only because very clever people managed to reverse engineer it.

(ii) rare or very new hardware. Most of the programming is by volunteers, who will write handlers for equipment they have bought, and then for hardware which is very popular. I'm sure that 5.1 sound support is on the way.:D Some manufacturers are learning that they can increase their sales by providing handlers for Linux. Others don't learn.

(iii) Old/obsolete hardware. If it didn't get support while it was current, it's unlikely to get it. A lot of hardware isn't usable with Windows XP.

(iii) Users. ;-) It's a good idea to check before buying hardware that it is supported in Linux. There will always be hardware with the well-earned rating of "Paperweight" in the support lists. :D

ilikelinux
19-04-2004, 05:06 PM
>> Just to mention that xandros doesnt have gcc.
>
>Then why did make start compiling?

Well on the free version off Pc autority, it doesnt have gcc, as i installed it on my brothers comp.

(then we didnt see the comp for a week because the hd went bye bye)

Dolby Digital
19-04-2004, 07:01 PM
>>BUT after all that it isnt what I want
Isn't that always the case. After finally downloading all the files it needs to compile, getting it to compile, getting it to run, the program isn't what you want...

Don't you know C Terry? I'm sure if you get "C in 21 days" you'll have the program into shape in... oh... 12 months time... :D

Dolby Digital
19-04-2004, 07:04 PM
>> if I want to get good sound
Got the source for the sound driver... see my comment above!

Gorela
19-04-2004, 08:45 PM
Hi Terry,

Glad to hear ( see ?:| ) that you have sorted kshowmail, but I'm fairly certain you only asked for a program capable of viewing mail prior to download :D

Are you having problems with your soundcard after downloading ALSA (the linux sound card server) or haven't you updated your system yet? If you have yet to get the patches don't download ALSA until you have installed the updated kernel as this will wipe it out and you will merely have to download ALSA again.

bmason
20-04-2004, 12:31 AM
> The other gripe I have with Xandros is the lousy
> micro-sized fonts, it is a real eye strain.

I posted a fix for the mozilla fonts problem here (http://pressf1.pcworld.co.nz/thread.jsp?forum=1&thread=45840#260644) if you missed it.

Murray P
20-04-2004, 12:57 AM
It ain't a Debian problem as per your post in the other thread Brett or not for Mepis at least.

Cheers Murray P

Chilling_Silence
20-04-2004, 09:37 AM
My bad Terry, I lie.....

Webcams... I couldnt get my el-cheapo DSE Webcam to work, nor could I get my Chicony DC-350 to work....

And Im sure now that we are switching the CyberCafe to Ark Linux that we'll encounter more hardware soon.... Im already having a fun time getting the Canon PCL 5e to work (LAN Printer...).

The great thing is that the solution is usually only a google away!


Chill.

Terry Porritt
20-04-2004, 12:12 PM
Well done Brett, You have renewed my faith in Xandros, I can now use Mozilla without needing to wear my Dick Smith magnifying visor :)

I had missed your posting for that modification.
Just to add a bit, in the 'chrome' directory there is an example file called userChrome-example.css which tells you how to modify the fonts. Just need to know that the * is used to disable the sample command in the same way as ; is used in a windows .ini file. (I think?)

Chill I did try your suggestion for trying to get the web cam detected, but had no joy.
I dont feel like buying new hardware at this time just to get a something working in Linux when I can just as easily switch back to Windows (or even MS-DOS :))

However as Graham suggested if one is buying a new piece of hardware or upgrading it would be good to have Linux support too.