PDA

View Full Version : Dependable Knoppix??



Andrew22
04-29-2004, 06:47 AM
Hi people.

I am really insterested to shift to linux. I want to do with it my usual work, it is : work in accountancy, design of autocad and share with the local network.

Is there a program able to re-use my actual data on my old acountant program o should I make the whole work new again? (bit too much work indeed!). How about Cad and networks..?

Can I do a "restore" if something crashes like in XP?
Or can I restore it somehow else...?

Now I have tried to install opera, but when installing with the install package tool, says : not found "libqt3.mt". How I get it and install it?

Thanks.

Andrew. :D :D :D :D :D :D :D :D

garyng
04-29-2004, 07:49 AM
stick with XP and its companion products. I don't recommend gnu/linux except for geeks, at the current stage.

eco2geek
04-29-2004, 08:08 AM
stick with XP and its companion products. I don't recommend gnu/linux except for geeks, at the current stage.

Somehow, garyng, I think you're pulling our legs. In any case, the way you become a geek is by playing around.


Now I have tried to install opera, but when installing with the install package tool, says : not found "libqt3.mt". How I get it and install it?

Download and install the QT Static *.deb package, not the "QT Shared" package.

As for your questions regarding your accounting and CAD programs: Linux has CAD programs (search freshmeat.net (http://freshmeat.net)). However, your accounting program(s) will likely have no Linux counterparts. If they run on Windows 98, you may be able to run them on Linux using WINE (type "man wine" at a shell prompt for more info). But if they only run under Windows XP, then your only choice is to install a Windows virtual machine program like VMWare Workstation, then install Windows on the virtual machine.

In which case, it'd probably be easier to keep WinXP installed, and dual-boot.

garyng
04-29-2004, 08:54 AM
Just trying to be realistic. IMO, a geek is a person who don't mind messing around fully understand that all the time spent may end up fruitless.

The original question asking about accounting system and CAD seems to be very business oriented and in that case, may not have that many time to spend to sort out the linux complexity. Right tools for the right job and it seems that XP is the right tools here.

The wow factor of KNOPPIX is very high, much higher than XP but blending a typical gnu/linux workstation into everyday business use is really not easy and time is money here.

eco2geek
04-29-2004, 09:49 AM
If he's looking for an "instant-on" business solution, he's bound to be disappointed, that's true.
-- Linux has a rather steep learning curve once you get beyond KDE.-- He's not likely to find professional accounting applications that run natively on Linux, if at all.-- There are a few CAD apps for Linux out there, but certainly AutoCAD doesn't make a Linux version. (I just checked; Autodesk says AutoCAD won't work on a virtual machine, either, so scratch that idea.)
OTOH, for basic business stuff like email, word processing, spreadsheets, and Web browsing, Linux is fine. See this story (http://news.com.com/2008-1082_3-5065859.html?tag=lh.) for an example of how one business guy got audited by the BSA and decided to toss Microsoft products out of his business.

garyng
04-29-2004, 11:09 AM
Agree. The price paid for XP is not it does the general stuff better(KNOPPIX can do it just as well) but for it as a platform to install and run readily available packages. A few example, GIMP is fine but Photoshop is more comprehensive if one needs those features. Openoffice is fine but looks ugly comparing with Office. Then there are things like Quicken, tax packages etc. which open source(often free) just can't keep with the pace for those annual update of tax rules etc. or AutoCAD that is so specialized that takes lots of man power to develop.

For a well planned business platform handled by appropriate people(consultants), linux is just as capable if not more than Windows, but not for joe public.

I am getting the best of both world though, thanks to colinux. I have gone from KNOPPIX(cd boot) to dual boot to XP running colinux. This way, I am enjoying the features of XP like its much matured power management feature, extensive hardware support, a platform where I can run Office, Photoshop etc. but at the same time running linux for what it is good for like DNS server, mail server, spam killer etc.

What is even better is that because colinux runs under XP, I don't need to worry about hardware stuff so I can move it from one machine to another easily. Just install a copy of colinux(and the tap-win32 driver) and copy over the rootfs(in one single large file) and it is up and running again. So it becomes a great testing platform and most linux server would endup as headless with specific hardware which I can drop in with the appropriate kernel image instead of colinux. KNOPPIX's hardware detection is impressive, but I no longer need that.


Anyone who needs dual boot between XP and linux should give it a try.

Andrew22
04-29-2004, 02:33 PM
I have been reading your notes, thanks, I feel they very interesting.

I am feed up with XP o Microchuuf stuff.

Yes it is difficult and painful. But I am a real warrior, I wish to learn to best I can, so if despite all alone, I try as much as I can to get best distro to reach my goal: get rid of Microchuuf.

About Autocad, I have no doubt, I will write to them about the subject. For the accountancy, can be 100 times easier, because many little enterprises can do a new program to Linux.

So, I really do not care too much to pay to one or to other, why can have it on Linux?

I will keep looking about Linux and reading you, thanks.

Andrew.

:)

aay
04-29-2004, 03:37 PM
I am getting the best of both world though, thanks to colinux. I have gone from KNOPPIX(cd boot) to dual boot to XP running colinux. This way, I am enjoying the features of XP like its much matured power management feature, extensive hardware support, a platform where I can run Office, Photoshop etc. but at the same time running linux for what it is good for like DNS server, mail server, spam killer etc.

What is even better is that because colinux runs under XP, I don't need to worry about hardware stuff so I can move it from one machine to another easily. Just install a copy of colinux(and the tap-win32 driver) and copy over the rootfs(in one single large file) and it is up and running again. So it becomes a great testing platform and most linux server would endup as headless with specific hardware which I can drop in with the appropriate kernel image instead of colinux. KNOPPIX's hardware detection is impressive, but I no longer need that.


Anyone who needs dual boot between XP and linux should give it a try.

I've read a bit abotu Colinux, but haven't tried it out. Does it basically use the live cd iso under windows or is there a way to "install" it so as to add new stuff? It's an interesting idea.

Adam

garyng
04-29-2004, 04:30 PM
no. It is more like uml. So there is a win32 program(and its supporting stuff, all run under XP) which 'loads' a special linux kernel(there is a patch to standard 2.4), and that is it. Not VMWare style but IMO much better than VMWare.

Once booted, you can add stuff to the rootfs just like any installation. Better yet, if you put the rootfs(a big file under XP) on NTFS, you can have sparse file and compression support.

aay
04-30-2004, 01:28 AM
no. It is more like uml. So there is a win32 program(and its supporting stuff, all run under XP) which 'loads' a special linux kernel(there is a patch to standard 2.4), and that is it. Not VMWare style but IMO much better than VMWare.

Once booted, you can add stuff to the rootfs just like any installation. Better yet, if you put the rootfs(a big file under XP) on NTFS, you can have sparse file and compression support.

Sounds pretty cool. I may load it on a laptop of mine. I'm running Knoppix on the laptop now, but there is no hope of getting ACPI to work on that thing. Frankly that would be my only reason for running windows on it. If I do put windows on it, then I'll be sure to try out colinux. Glad to hear you say you like it better than VMware. VMware is nice, but can be a performance hog at times.

garyng
04-30-2004, 02:53 AM
I don't feel any degrade in performance(there must be but not that I can notice) when running it to do the things I normally do on native linux. For networking(to the internet), I can still get about 300kB through apt-get, depending on sites.

ACPI is one thing I found colinux+XP is way superior to native linux. Suspend to RAM or hibernation of XP(thus colinux as well) all runs smoothly(well there is some clock tick lose on resume but has been worked around at the moment with NTP under both window and linux).

With a VNC viewer(under XP) or Cygwin-X(X-win32 too), I can also run X applications in colinux. This way, I don't need to wait for Cygwin port of the latest like GIMP 2.0.

I was told that even multimedia application works if esound is used(linux output sound to esound server under XP), haven't tried it though.

And there is no more USB storage issue as I can just export the drive under XP and access it through samba client from colinux or vice versa(access storage under colinux through samba server). No more problem of NTFS read/write or special drivers under XP to access ext2/3 file system. Same goes for wireless card. Then there is printer(again shared under XP, access from linux through samba client/CUPS), even fonts.

This is basically linux without the hardware hassles. There is performance degrade but shouldn't be a problem for normal desktop usage, just don't use it for high throughput servers :-)

edit: just want to add, it is quite possible if someone expand the KNOPPIX system(live CD one) into an ext2/3 file system on loopback and put it through colinux, if people want the application mix in Knoppix. The change should be minimal, just some symlink stuff and remove the hardware detection and anything related to hardware(like USB/PCMCIA/1394 drivers).

Cuddles
04-30-2004, 02:42 PM
Watching this thread, I am reminded of my "current" problem...

Having "converted" from Windows completely to Knoppix/Debian, I am "constantly" looking for the "Open Source" versions of programs that were written specificaly for Windows.

Current one is, I bought an "off the shelf" Clip Art program will tons of clip art images, only to find the program (get this) runs on Win98 ONLY ! Figured there is NO WAY I am going back to M$'s OS, I viewed the CD-ROM for images to scavenge off the program. I found more than a thousand images, some in JPEG format, thats good, and more than 98% of them in "Windows Media Format", or WMF - I used GIMP to view a few of them, simply to test that I can read and view these "Windows" specific image files, but would like to know if I could get the same "hover" ability I get with the other "known" image formats, with the WMF images as well...

You know what I mean by "hover" - open a Konqourer window, hover the mouse over a JPG, or other known image format that Knoppix knows about, and you get a nice "thumbnail" view of the image without having to open the image. Very cool if you are search a thousand images for "just the right" image for that publication. Can I make Knoppix "smart" enough to do the same "hover" thumbnail view of a WMF image?????

Also, getting into publications with the currect church I am working for, I am now getting into the monthly newsletter -=- The person I am working with has WinXP, and is currently using Quark Xpress for the publications, does Linux/Open Source/GNU have a "package" that can read/write and work with these formats, in its arsenal already???

Sorry to "piggy-back" this thread, but, the discussion is pretty close to the lines I need answers on -=- merging a WinXP system with a Knoppix/Linux system, and getting it to work, without either party having to "throw away" what they already have.

Thanks tons,
Cuddles

eco2geek
04-30-2004, 08:53 PM
Also, getting into publications with the currect church I am working for, I am now getting into the monthly newsletter -=- The person I am working with has WinXP, and is currently using Quark Xpress for the publications, does Linux/Open Source/GNU have a "package" that can read/write and work with these formats, in its arsenal already???

Interesting question. (My wife used to do the bulletin for her church using formerly Aldus, now Adobe, PageMaker.) There is a DTP program for Linux called Scribus (http://web2.altmuehlnet.de/fschmid/about.html). I don't know what it can or can't do; I just know it's there -- and it comes installed on Knoppix. Documentation's available here (http://ahnews.music.salford.ac.uk/scribus/documentation/).


Can I make Knoppix "smart" enough to do the same "hover" thumbnail view of a WMF image?????

A quick search yeilded a link to a WMF-Thumbnail-Plugin for Konqueror (http://www.kde-apps.org/content/download.php?content=11404&id=1) on KDE-Apps.org (http://www.kde-apps.org).

Let us know how it goes!

Cuddles
04-30-2004, 11:05 PM
Eco2Geek,

Knew about scribus - not sure on it myself - will need to take a look at it...

D/L'ed the wmfthumbnail tarball, unbz2'ed it, got it all unpacked, read the readme, which says: just configure, make, and then make install - thats it...

Well, I run ./configure and it goes about ten pageful screens and dies with "configure: error: Couldn't find 'libwmf-config'"

I checked, damn str8 I don't have a -config, but I do have the libwmf on my system -=- I'm lost -=- why does everything always end up messin up with me? Things should just run, as they say they should, but no, not with me, why????

Any clues on getting this past just the FIRST STEP ???

Thanks to anyone,
Cuddles

Stephen
05-01-2004, 12:22 AM
Well, I run ./configure and it goes about ten pageful screens and dies with "configure: error: Couldn't find 'libwmf-config'"

I checked, damn str8 I don't have a -config, but I do have the libwmf on my system -=- I'm lost -=- why does everything always end up messin up with me? Things should just run, as they say they should, but no, not with me, why????

Any clues on getting this past just the FIRST STEP ???

Thanks to anyone,
Cuddles

Apt-file is a good little program to have installed for instances like this it works in a similar manner to apt-get.



HappyTux:/home/stephen# apt-file search libwmf-config
libwmf-dev: usr/bin/libwmf-config
libwmf-dev: usr/bin/libwmf-config
libwmf-dev: usr/bin/libwmf-config
libwmf-dev: usr/share/man/man1/libwmf-config.1.gz


And as you can see you need the -dev package for the library you are trying to compile for this is a good thing to check for before you build something as it is usually always required to have the developement files.

Cuddles
05-01-2004, 01:27 AM
Stephen,

Thanks again - I am "now" installing the apt-file...

I have one question - do I need to "syncronize" the -dev package with the libwmf I already have, or will apt do that for me, or, is a -dev package non-version specific???

If I need to get the -dev package with the same version as the libwmf I already have, how would I determine which version I have, so that I could get the correct development package ???

Thanks, I hope to get this wmf thumbnail plugin running, it will make finding the right clip art a lot easier :D

Cuddles

eco2geek
05-01-2004, 02:10 AM
Cuddles: I spent some time installing the WMF plugin. (Too long. This is what I hate about Linux: the software's free, but you have to bang your head on it to get it to work!)

Anyway, you'll have to install libwmf-dev. Simply (as root) apt-get update then apt-get install libwmf-dev. (And you can use "dpkg --list "packagename*" or "dpkg -l "packagename*" to find out what packages are installed and available.)

Next, extract it and navigate to the /wmfthumbnail-0.2/src directory. You'll need to edit the file "wmfthumbcreator.cpp" because, for some reason, it isn't finding the math library and will error out on the "ceil" function when you try to "make" it. (I don't know much about editing "make" files, or I'd try that instead.)

At the top of the file, right after the #include "wmfthumbcreator.h" line, add a new line that reads #include "/usr/include/math.h", all on its own line by itself.

Then ./configure, make, and (as root) make install like normal.

Finally, it doesn't install the binaries in the right places. You'll need to copy or move the files "wmfthumbnail.la" and "wmfthumbnail.so" from /usr/local/kde/lib/kde3 (where the installer put them) to /usr/lib/kde3, and copy or move the file "wmfthumbnail.desktop" from /usr/local/kde/share/services (where the installer put it) to /usr/share/services.

You can move the docs (or not) as you choose!

Stephen
05-01-2004, 02:13 AM
Stephen,

Thanks again - I am "now" installing the apt-file...

I have one question - do I need to "syncronize" the -dev package with the libwmf I already have, or will apt do that for me, or, is a -dev package non-version specific???

If I need to get the -dev package with the same version as the libwmf I already have, how would I determine which version I have, so that I could get the correct development package ???

Thanks, I hope to get this wmf thumbnail plugin running, it will make finding the right clip art a lot easier :D

Cuddles


You should have the version for the package you have installed to find it do.


HappyTux:/home/stephen# apt-cache policy libwmf-dev
libwmf-dev:
Installed: (none)
Candidate: 0.2.8-1.1
Version Table:
0.2.8-1.1 0
990 http://ftp.de.debian.org testing/main Packages
600 http://ftp.de.debian.org unstable/main Packages
0.2.2-4 0
500 http://ftp.de.debian.org stable/main Packages
HappyTux:/home/stephen# apt-file search libwmf
karbon: usr/lib/kde3/libwmfexport.la
karbon: usr/lib/kde3/libwmfexport.la
karbon: usr/lib/kde3/libwmfexport.so
karbon: usr/lib/kde3/libwmfexport.so
karbon: usr/lib/kde3/libwmfimport.la
karbon: usr/lib/kde3/libwmfimport.la
karbon: usr/lib/kde3/libwmfimport.so
karbon: usr/lib/kde3/libwmfimport.so
koffice-libs: usr/lib/kde2/libwmfimport.la
koffice-libs: usr/lib/kde2/libwmfimport.so
libwmf-bin: usr/bin/libwmf-fontmap
libwmf-bin: usr/bin/libwmf-fontmap
libwmf-bin: usr/bin/libwmf-fontmap
libwmf-bin: usr/share/doc/libwmf-bin
libwmf-bin: usr/share/doc/libwmf-bin
libwmf-bin: usr/share/doc/libwmf-bin
libwmf-bin: usr/share/man/man1/libwmf-fontmap.1.gz
libwmf-dev: usr/bin/libwmf-config
libwmf-dev: usr/bin/libwmf-config

[snip ...]

libwmf0.2-2: usr/lib/libwmf-0.2.so.2
libwmf0.2-2: usr/lib/libwmf-0.2.so.2.0.0
libwmf0.2-2: usr/share/doc/libwmf0.2-2/changelog.Debian.gz
libwmf0.2-2: usr/share/doc/libwmf0.2-2/copyright
libwmf0.2-7: usr/lib/libwmf-0.2.so.7
libwmf0.2-7: usr/lib/libwmf-0.2.so.7
libwmf0.2-7: usr/lib/libwmf-0.2.so.7.1.0
libwmf0.2-7: usr/lib/libwmf-0.2.so.7.1.0
libwmf0.2-7: usr/lib/libwmflite-0.2.so.7
libwmf0.2-7: usr/lib/libwmflite-0.2.so.7
libwmf0.2-7: usr/lib/libwmflite-0.2.so.7.0.1
libwmf0.2-7: usr/lib/libwmflite-0.2.so.7.0.1
libwmf0.2-7: usr/share/doc/libwmf0.2-7/CREDITS
libwmf0.2-7: usr/share/doc/libwmf0.2-7/CREDITS
libwmf0.2-7: usr/share/doc/libwmf0.2-7/README.gz
libwmf0.2-7: usr/share/doc/libwmf0.2-7/README.gz
libwmf0.2-7: usr/share/doc/libwmf0.2-7/TODO
libwmf0.2-7: usr/share/doc/libwmf0.2-7/TODO
libwmf0.2-7: usr/share/doc/libwmf0.2-7/changelog.Debian.gz
libwmf0.2-7: usr/share/doc/libwmf0.2-7/changelog.Debian.gz
libwmf0.2-7: usr/share/doc/libwmf0.2-7/changelog.gz
libwmf0.2-7: usr/share/doc/libwmf0.2-7/changelog.gz
libwmf0.2-7: usr/share/doc/libwmf0.2-7/copyright
libwmf0.2-7: usr/share/doc/libwmf0.2-7/copyright

OR if package is installed.

HappyTux:/home/stephen# dpkg -S libwmf
libwmf0.2-7: /usr/lib/libwmflite-0.2.so.7.0.1
libwmf0.2-7: /usr/share/doc/libwmf0.2-7/TODO
libwmf0.2-7: /usr/share/doc/libwmf0.2-7/CREDITS
libwmf0.2-7: /usr/share/doc/libwmf0.2-7/changelog.gz
libwmf0.2-7: /usr/lib/libwmf-0.2.so.7.1.0
libwmf0.2-7: /usr/lib/libwmflite-0.2.so.7
libwmf0.2-7: /usr/lib/libwmf-0.2.so.7
libwmf0.2-7: /usr/share/doc/libwmf0.2-7
libwmf0.2-7: /usr/share/doc/libwmf0.2-7/copyright
libwmf0.2-7: /usr/share/doc/libwmf0.2-7/README.gz
libwmf0.2-7: /usr/share/doc/libwmf0.2-7/changelog.Debian.gz


HappyTux:/home/stephen# apt-cache policy libwmf0.2-7
libwmf0.2-7:
Installed: 0.2.8-1.1
Candidate: 0.2.8-1.1
Version Table:
*** 0.2.8-1.1 0
990 http://ftp.de.debian.org testing/main Packages
600 http://ftp.de.debian.org unstable/main Packages
100 /var/lib/dpkg/status


They are both at the same version so you just install libwmf-dev and you will get the correct package.

Cuddles
05-01-2004, 03:21 AM
Eco2Geek,

First of all, thanks for the groundwork...

I tried what you stated, I modified the file, download and installed the -dev package, and did the ./configure fine...

But when I tried the make, and even though I saw something that ( I think ) was an error, continued through the make install - no files exist where you suggested they would have been installed. Below is the output of both the make and make install - hopefully you can see "what went wrong", because I've been lost even since I modified the file with the inclusion of the math header file...


root@Polaris:/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2# make
make all-recursive
make[1]: Entering directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2'
Making all in doc
make[2]: Entering directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/doc'
Making all in .
make[3]: Entering directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/doc'
Making all in en
make[3]: Entering directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/doc/en'
/usr/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
make[3]: Leaving directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/doc/en'
make[2]: Leaving directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/doc'
Making all in src
make[2]: Entering directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/src'
if /bin/sh ../libtool --silent --mode=compile --tag=CXX 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 -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -I/usr/include/freetype2 -I/usr/include -MT wmfthumbnail.lo -MD -MP -MF ".deps/wmfthumbnail.Tpo" \
-c -o wmfthumbnail.lo `test -f 'wmfthumbnail.cpp' || echo './'`wmfthumbnail.cpp; \
then mv -f ".deps/wmfthumbnail.Tpo" ".deps/wmfthumbnail.Plo"; \
else rm -f ".deps/wmfthumbnail.Tpo"; exit 1; \
fi
if /bin/sh ../libtool --silent --mode=compile --tag=CXX 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 -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -I/usr/include/freetype2 -I/usr/include -MT wmfthumbcreator.lo -MD -MP -MF ".deps/wmfthumbcreator.Tpo" \
-c -o wmfthumbcreator.lo `test -f 'wmfthumbcreator.cpp' || echo './'`wmfthumbcreator.cpp; \
then mv -f ".deps/wmfthumbcreator.Tpo" ".deps/wmfthumbcreator.Plo"; \
else rm -f ".deps/wmfthumbcreator.Tpo"; exit 1; \
fi
wmfthumbcreator.cpp: In member function `virtual bool
WMFThumbCreator::create(const QString&, int, int, QImage&)':
wmfthumbcreator.cpp:65: warning: unused parameter `int width'
wmfthumbcreator.cpp:65: warning: unused parameter `int height'
wmfthumbcreator.cpp: In function `static int WMFThumbCreator::sink(void*,
char*, int)':
wmfthumbcreator.cpp:144: warning: unused parameter `void*context'
/bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -I/usr/include/freetype2 -I/usr/include -L/usr/lib -lwmf -lwmflite -lfreetype -lz -L/usr/X11R6/lib -lSM -lICE -lX11 -lexpat -ljpeg -lpng -lz -lm -o wmfthumbnail.la -rpath /usr/local/kde/lib/kde3 -module -L/usr/X11R6/lib -L/usr/share/qt3/lib -L/usr/lib -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/lib -R /usr/share/qt3/lib -R /usr/X11R6/lib wmfthumbnail.lo wmfthumbcreator.lo -lkio
grep: /usr/lib/libXft.la: No such file or directory
/bin/sed: can't read /usr/lib/libXft.la: No such file or directory
libtool: link: `/usr/lib/libXft.la' is not a valid libtool archive
make[2]: *** [wmfthumbnail.la] Error 1
make[2]: Leaving directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2'
make: *** [all] Error 2
root@Polaris:/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2# make install
Making install in doc
make[1]: Entering directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/doc'
Making install in .
make[2]: Entering directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/doc'
make[3]: Entering directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/doc'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/doc'
make[2]: Leaving directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/doc'
Making install in en
make[2]: Entering directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/doc/en'
make[3]: Entering directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/doc/en'
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../../admin/mkinstalldirs /usr/local/kde/share/doc/HTML/en/wmfthumbnail
mkdir -p -- /usr/local/kde/share/doc/HTML/en/wmfthumbnail
/usr/bin/install -c -p -m 644 index.docbook /usr/local/kde/share/doc/HTML/en/wmfthumbnail/index.docbook
/bin/sh ../../admin/mkinstalldirs /usr/local/kde/share/doc/HTML/en/wmfthumbnail
/usr/bin/install -c -p -m 644 index.cache.bz2 /usr/local/kde/share/doc/HTML/en/wmfthumbnail/
rm -f /usr/local/kde/share/doc/HTML/en/wmfthumbnail/common
ln -s /usr/share/doc/kde/HTML/en/common /usr/local/kde/share/doc/HTML/en/wmfthumbnail/common
make[3]: Leaving directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/doc/en'
make[2]: Leaving directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/doc/en'
make[1]: Leaving directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/doc'
Making install in src
make[1]: Entering directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/src'
/bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -I/usr/include/freetype2 -I/usr/include -L/usr/lib -lwmf -lwmflite -lfreetype -lz -L/usr/X11R6/lib -lSM -lICE -lX11 -lexpat -ljpeg -lpng -lz -lm -o wmfthumbnail.la -rpath /usr/local/kde/lib/kde3 -module -L/usr/X11R6/lib -L/usr/share/qt3/lib -L/usr/lib -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/lib -R /usr/share/qt3/lib -R /usr/X11R6/lib wmfthumbnail.lo wmfthumbcreator.lo -lkio
grep: /usr/lib/libXft.la: No such file or directory
/bin/sed: can't read /usr/lib/libXft.la: No such file or directory
libtool: link: `/usr/lib/libXft.la' is not a valid libtool archive
make[1]: *** [wmfthumbnail.la] Error 1
make[1]: Leaving directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/src'
make: *** [install-recursive] Error 1

The konsole window is still open, in case you want any output that I have not provided...
Cuddles

eco2geek
05-01-2004, 05:13 AM
Here's the problem:


grep: /usr/lib/libXft.la: No such file or directory
/bin/sed: can't read /usr/lib/libXft.la: No such file or directory
libtool: link: `/usr/lib/libXft.la' is not a valid libtool archive
make[2]: *** [wmfthumbnail.la] Error 1

Make isn't finding a file it needs, so it's quitting with an error and not "making" anything. So there's nothing to "make install".

The only clue I have is that this package is meant for versions of Linux with libraries located in other directories. While I was trying to get it to work, here's what I did. I edited the beginning of "wmfthumbcreator.cpp" to explicitly tell the compiler where the headers are, and added the path to the math libary header:


#include "/usr/include/kde/kdebug.h"
#include "/usr/include/qt3/qimage.h"
#include "/usr/include/qt3/qcstring.h"
#include "/usr/include/qt3/qmutex.h"
#include "/usr/include/kde/kpixmap.h"
#include "wmfthumbcreator.h"
#include "/usr/include/math.h"

And I also modified the beginning of "wmfthumbcreator.h" to also explicitly tell the compiler where the headers were:


#include "/usr/include/libwmf/api.h"
#include "/usr/include/libwmf/gd.h"
#include "/usr/include/qt3/qvaluevector.h"
#include "/usr/include/kde/kio/thumbcreator.h"

I didn't stop and retry making after each change, so I don't know which change will fix your problem. I do know that my problem was different than yours! So this solution may not work.

Stephen
05-01-2004, 05:19 AM
grep: /usr/lib/libXft.la: No such file or directory
/bin/sed: can't read /usr/lib/libXft.la: No such file or directory
libtool: link: `/usr/lib/libXft.la' is not a valid libtool archive
make[1]: *** [wmfthumbnail.la] Error 1
make[1]: Leaving directory `/gblusr/Installs/KonqPlugIns/wmfthumbnail-0.2/src'
make: *** [install-recursive] Error 1[/code]

The konsole window is still open, in case you want any output that I have not provided...
Cuddles

You need the libxft-dev package now.



HappyTux:/home/stephen# dpkg -S libXft.la
dpkg: *libXft.la* not found.
HappyTux:/home/stephen# apt-file search libXft.la
libxft-dev: usr/lib/libXft.la
libxft-dev: usr/lib/libXft.la

eco2geek
05-01-2004, 06:06 AM
You need the libxft-dev package now.

Which is odd, since I don't have it installed.

Cuddles
05-01-2004, 02:38 PM
Eco2Geek, made the physical changes in both the .cpp and .h files, tried, and it failed with the same error, at the same place... So....

Stephen, decided to go with your suggestion, and did an apt-get install of libxft-dev - unfortunately, I don't think things got any better, the install required upgrading one package, removal of another, and a host of four newly installed, during the unpacking, it died... Output follows:


root@Polaris:~# apt-get -u install libxft-dev
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
libx11-6 libx11-dev libxft2 x-dev
The following packages will be REMOVED:
libxft2-dev
The following NEW packages will be installed:
libx11-6 libx11-dev libxft-dev x-dev
The following packages will be upgraded:
libxft2
1 upgraded, 4 newly installed, 1 to remove and 513 not upgraded.
Need to get 2282kB of archives.
After unpacking 6406kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.egr.msu.edu testing/main libx11-6 4.3.0-7 [672kB]
Get:2 http://ftp.egr.msu.edu testing/main x-dev 4.3.0-7 [177kB]
Get:3 http://ftp.egr.msu.edu testing/main libx11-dev 4.3.0-7 [1323kB]
Get:4 http://ftp.egr.msu.edu testing/main libxft2 2.1.2-6 [50.1kB]
Get:5 http://ftp.egr.msu.edu testing/main libxft-dev 2.1.2-6 [60.2kB]
Fetched 2282kB in 7m34s (5024B/s)
dpkg: libxft2-dev: dependency problems, but removing anyway as you request:
libqt3-mt-dev depends on libxft-dev; however:
Package libxft-dev is not installed.
Package libxft2-dev which provides libxft-dev is to be removed.
(Reading database ... 103482 files and directories currently installed.)
Removing libxft2-dev ...
Removing `diversion of /usr/X11R6/include/X11/Xft/Xft.h to /usr/X11R6/include/X11/Xft/Xft1.h by libxft2-dev'
Removing `diversion of /usr/X11R6/lib/libXft.a to /usr/X11R6/lib/libXft1.a by libxft2-dev'
Removing `diversion of /usr/X11R6/lib/libXft.so to /usr/X11R6/lib/libXft1.so by libxft2-dev'
Selecting previously deselected package libx11-6.
(Reading database ... 103468 files and directories currently installed.)
Unpacking libx11-6 (from .../libx11-6_4.3.0-7_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libx11-6_4.3.0-7_i386.deb (--unpack):
trying to overwrite `/usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2', which is also in package xlibs
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Selecting previously deselected package x-dev.
Unpacking x-dev (from .../archives/x-dev_4.3.0-7_all.deb) ...
dpkg: error processing /var/cache/apt/archives/x-dev_4.3.0-7_all.deb (--unpack):
trying to overwrite `/usr/X11R6/include/X11/DECkeysym.h', which is also in package xlibs-dev
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Selecting previously deselected package libx11-dev.
Unpacking libx11-dev (from .../libx11-dev_4.3.0-7_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libx11-dev_4.3.0-7_i386.deb (--unpack):
trying to overwrite `/usr/X11R6/include/X11/XKBlib.h', which is also in package xlibs-dev
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Preparing to replace libxft2 2.1.1-2 (using .../libxft2_2.1.2-6_i386.deb) ...
Unpacking replacement libxft2 ...
Selecting previously deselected package libxft-dev.
Unpacking libxft-dev (from .../libxft-dev_2.1.2-6_i386.deb) ...
Errors were encountered while processing:
/var/cache/apt/archives/libx11-6_4.3.0-7_i386.deb
/var/cache/apt/archives/x-dev_4.3.0-7_all.deb
/var/cache/apt/archives/libx11-dev_4.3.0-7_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@Polaris:~#

I have reason to believe I am (now) going to start backing up my system, the last time I saw this from apt-get, it required me to install a new system on a freshly "gutted" one...

Any ideas on resolution, sheesh, I can't believe all of this "sh*t" is happening just to get a thumbnail viewer in Konq ????

HELP
Cuddles

Cuddles
05-01-2004, 04:36 PM
Considering the length of this thread, and the fact that it has gotten worse, and that I also was "piggy-back" 'ing this topic -=-

I have moved my "thread" within this topic, to a new topic -=- "wmfthumbnail issues (cont)"

To save this thread from going even longer, and that it should have been on its own thread, the new topic should be used for responses. I think that is a better "example" than to continue on a "borrowed" thread.

Thank you,
Cuddles