Ubustu 8.10 and Qt-4.x
I am an engineer and have been running Kubuntu for my programming and tried 8.10. It is a disaster with KDE 4.x
(enhancement to the point of non-usability) so I tried Ubuntu 8.10. What a pleasant surprise, so I downloaded Qt-x11-opensource-src.4.4.3 ok, but I could not run su -c "make install". I tried all variations of the command line, check for "make" (which was installed) Help would be most appreciated. Thanks |
That is not the way.
#sudo apt-get ... or synaptic or adept_manager Read the apt-get documentation for working with src etc too You could have added ubuntu to kubuntu directly. |
#sudo make install
|
I'm sorry, but I don't understand. I'm pretty new to this. As far as adding "ubuntu" to "kubuntu", I am trying to keep them separate. I am doing my programming on kubuntu 8.04 which is ok. I use 2 hard drives.
when an upgrade is released I do a fresh install on the old hard drive, in this case I used the drive that had kubuntu 7.10 on it. When I saw what a mess kubuntu 8.10 was, I decided to try ubuntu 8.10 last night. I hadn't used ubuntu before. I think I will go back and do afresh install of Qt on the ubuntu, being a little more careful as I want to use it. It will be a couple of days as I shall be away. Thanks |
amani was pointing out that *buntu defaults to sudo rather than su.
Ubuntu and Kubuntu are essentially the same with the difference being the Gnome desktop (with gtk libraries) and the KDE desktop (with QT libraries). You can install both the gnome-desktop and the kde-desktop packages and make a choice at login as to whether you want Gnome or KDE as your desktop experience. |
Well I could not leave it alone, so I am embarrassed to say that I had forgotten to run "make" after the "./configure xshape". All is fine now, I thank you all.
|
Ok, apparently I am missing a lot of stuff I need to program in Qt in Ubuntu 8.10. As I said I have a 2 hard drive system. I have access to the Ot-4.4.1 directory for my Kubuntu 8.04 installation and the Qt-4.4.3 in the Ubuntu installation.
Two questions: 1. Can I just copy the missing files over? 2. If I wanted a straight Ubuntu installation of Qt-4.4.3 what would I have to have installed before installing Qt? Is there a document anywhere? Thanks |
How come you're not using Ubuntu's Qt packages?
You can easily install Qt 4.4.3 development packages by running: Code:
sudo apt-get install qt4-dev-tools |
thanks.
Code:
pete@myComputer:~$ sudo apt-get install qt4-dev-tools |
Quote:
Quote:
The qt4-dev-tools package is enough. Also make sure that build-essential package is installed too (but if you've already programmed in C++ using your current Ubuntu installation, the package should be installed already). In summary, starting from a clean Ubuntu installation, these are the only commands you need to run in order to install g++ and Qt 4.4.3 for development: Code:
sudo apt-get install build-essential qt4-dev-tools Always check whether the applications or libraries you require are in the official package repositories first, before attempting to install from tar.gz sources. Ubuntu (like Debian) has excellent support for Qt development with all core and optional components and tools, the packages are already in the repositories. |
Thanks. I am leaving for a week or so. Will let you know how I make out when I get back. again thanks.
pete perry |
Hi I'm back and have qt stuff up and running. I thank you for your help, but I discovered I had not run my up grades. tsk! tsk! shame on me.
|
A followup problem:
A fresh Ubuntu installation do full Upgrades run your "sudo apt-get....". No warnings or errors that I saw. able to edit and run existing programs OK BUT When I go to load "kdevelop" or "qdevelop" Code:
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/m/m4/m4_1.4.11-1_i386.deb Is there a way to correct this condition? In the past I have not had much luck with "gdb" or "insight" debugging. Thanks for your help |
It looks like the APT package manager can't get the right *.deb files for installation. That is (or was) a problem with your repository mirror. Try again, and if it still doesn't work, go to Software Sources and change the mirror location to somewhere else.
|
Thanks, I shall try that and let you know.
In other words, just running Quote:
On my other computer where I loaded Qt-4 the old fashion way, using Quote:
|
All times are GMT -5. The time now is 06:34 AM. |