Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to compile and install K3dsurf following the instructions in the "Readme", which says:

tar -xvzf k3dsurf-0.6.2.tar.gz;
cd k3dsurf;
qmake; make;
./bin/k3dsurf & ;

The problem is that when I execute make, the following error message appears:

cd src/ && make -f Makefile make[1]: Entering directory /home/miguel/Downloads/k3dsurf-0.6.2/src' /usr/lib/x86_64-linux-gnu/qt4/bin/uic k3dsurf.ui -o ui_k3dsurf.h uic: File generated with too old version of Qt Designer (3.3) File 'k3dsurf.ui' is not valid make[1]: *** [ui_k3dsurf.h] Error 1 make[1]: Leaving directory/home/miguel/Downloads/k3dsurf-0.6.2/src' make: * [sub-src-make_default] Error 2

Thanks

share|improve this question

1 Answer 1

up vote 0 down vote accepted

The error message is telling you that the program depends on an outdated version of Qt Designer (3.3). In theory, that is fixable; but I would guess it would be just the first in a long chain of outdated dependencies.

The basic problem is that program has not been updated since 2007. Debian removed the package from both testing and unstable in June, 2012. Ubuntu removed the package from 12.10 both because Debian did so and because it depends on obsolete Qt3 libraries.

k3dsurf is, however, available in the Universe repository in 12.04. If you are already running 12.04 or can install 12.04 to a new partition or to an external drive, that is your best bet for using the program.

The most recent version 0.6.2.4-1 is available directly from the Software Center, so you won't need to worry about installing from source.

Update: The OP stated in a comment that the k3dsurf Windows version runs fine under Wine.

Given that the software is fairly old and is using an older version of Qt, it may a good idea to be aware of security risks with Wine, no matter how unlikely they may be.

The Wine FAQ on risks states:

Just because Wine runs on a non-Windows OS doesn't mean you're protected from viruses, trojans, and other forms of malware.

Securing Wine on the Wine Wiki warns:

Wine doesn't support most Windows security constructs, and instead relies on the underlying operating system for security. Unless you run Wine as root, for instance, it's hard for malicious software in Wine to modify files belonging to other users. But Wine doesn't protect you against malware you run yourself.

Both pages go on to list several ways to improve security.

share|improve this answer
    
Thanks for the answer, but I just installed the Windows version using wine and it works perfectly :D –  Msegade Jul 2 '13 at 19:02
    
Great. I'm glad it worked out. And thanks for accepting the answer. You are obviously familiar with Wine, but I'll add the info on Wine along with a security warning for older software for future readers. –  chaskes Jul 2 '13 at 19:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.