[SOLVED] gcc not recognized in QT after installation
-
Now that i have tried everything mentioned another idea came to my mind:
Could it be possible it is my IP which is disliked by ubuntu? therefor only offering certain packages, excluding dev?
(moderation comment: we don't think there is a global conspiracy on Ubuntu packages, and looks like the problem was solved below)
-
Hi,
@developSomething said:
and this is the content of /etc/apt/sources.list:
I see that you don't have any official repositories available. See https://help.ubuntu.com/community/Repositories/Ubuntu to add them. (At the very least, you need the "Main" repository. I also suggest adding "Universe" and "Restricted" to make Ubuntu nicer to useable.)
Then, try downloading the packages again.
isn't there a more complete package for qt-installation? I mean this is really the hard way to get one error fixed after the other. One surprise follows the next.
I've been using Ubuntu as a secondary computer for many years now. All this while, the only things I've needed to do to develop with Qt on Ubuntu are:
- Install Ubuntu
- Install g++
- Install OpenGL development libraries (Mesa)
- Install Qt
You're having difficulties because your machine has been misconfigured somewhere. (Usually,some repositories are enabled by default as soon as you install Ubuntu.)
Maybe this is kind of a location-based-service, meaning, well...
In my neighborhood there are living a lot of people from all over the world, including many muslims.
Could it be possible it is my IP which is disliked by ubuntu? therefor only offering certain packages, excluding dev?Given that Canonical wants Ubuntu to spread all over the world, I'd be very surprised if they did this. However, you could ask at https://askubuntu.com to verify.
Anyway, I don't see how Muslims are related to your issue.
-
@JKSH
thanks to your little install guide now everything works fine!all i had to do was remove the whole ubuntu installation and restart from scratch.
Surprisingly the repositories were all set up correctly by default, maybe it was because i have chosen the default US-english installation instead of the german one ..^^
I would even be willing to add SOLVED to the title of the thread
if only i knew how to? -
@developSomething
How to mark as solved?Simply go to the first post where you started. Press the gear wheel on the very right and select the left (Edit) symbol.
Go to your title line. Add there [solved] in the beginning of line.