LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   gcc in ubuntu faile to compile some sources (https://www.linuxquestions.org/questions/linux-software-2/gcc-in-ubuntu-faile-to-compile-some-sources-475586/)

raduromeo 08-20-2006 07:37 AM

gcc in ubuntu faile to compile some sources
 
I will wright all the story.

I try to install MythTV. First problem I need lame. ok
I download lame and try to install

Code:

Error: C++ preprocessor "/lib/cpp" fails sanity check.
I use apt-get to install gcc and make - no problem there
back to lame the same error.

I decide to go for another program GnomeTV
I download and try to install.

Code:

Could not find the gnomeConf.sh file that is generated by gnome-libs insta
I go and get gnome-libs 1.4.1.2
try to install >

Code:

configure: error: GTK not installed
I go and get gtk+-2.10.0
Try to install dependencie atk-1.9.1 > cairo-1.2.0 > glib-2.12.0 > pango-1.13.4

I compile all with no problems and go back to try the GTK

Code:

checking for GLIB - version >= 2.12.0...
*** 'pkg-config --modversion glib-2.0' returned 2.12.0, but GLIB (2.10.3)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error:
*** GLIB 2.12.0 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/pub/gtk/.


I really dont know for what I start to do this any more.

I like linux. But could not be a little simple?

If any one know how can i fix this or see tv on my pc pls help. Thanks

fakie_flip 08-20-2006 07:59 AM

Install the build-essential package if you do not already have it.

raduromeo 08-20-2006 08:42 AM

ok it seams that I make one more step. TO were I will have to wait to know. Thank you fakie_flip your advice help me pas over the problem with the g++ error but now I have a new one.

My new problem is:

Code:

Creating libs/libmyth/mythconfig.h and libs/libmyth/mythconfig.mak

libs/libmyth/mythconfig.h is unchanged
./configure: line 2958: qmake: command not found

so from what i am understanding the command "qmake" is unknown. I google it and the answare is this:

Qmake is a parallel, distributed make(1) utility. Scheduling
of the parallel make tasks is done by Grid Engine. It is
based on gmake (GNU make), version 3.78.1. Both Grid Engine
and gmake command line options can be specified. They are
separated by "--".

now who can translate me what that means ?


On the other hand for the gnomeTV aplication a still can not install GTK because of this error

Code:

checking for GLIB - version >= 2.12.0...
*** 'pkg-config --modversion glib-2.0' returned 2.12.0, but GLIB (2.10.3)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error:
*** GLIB 2.12.0 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/pub/gtk/.


fakie_flip 08-20-2006 08:45 AM

You are going to have to install a package with qmake in it. I believe I used qmake before. It's for KDE programs, so you probably won't find it in the Ubuntu repositories, but you might find the package in the Kubuntu repositories because Kubuntu is Ubuntu with KDE.

fakie_flip 08-20-2006 08:47 AM

Why are you compiling instead of doing this?

Code:

sudo apt-get install mythtv

fakie_flip 08-20-2006 08:51 AM

You have to add the universe and multiverse repositories to install mythtv with apt-get or synaptic. You are having many dependency problems because you are not using a package manager. One program depends on another, and that one depends on another. That is why there are package managers. This is how to get universe and multiverse repositories in Ubuntu.
https://help.ubuntu.com/community/Re...dc17847d373096

fakie_flip 08-20-2006 08:57 AM

Quote:

I really dont know for what I start to do this any more.

I like linux. But could not be a little simple?

If any one know how can i fix this or see tv on my pc pls help. Thanks
It's very simple. You are doing things the hard way. My suggestion is to use synaptic untill you have had more expierence with Linux, and then you are ready to learn more of the command line. Tvtime is supposed to let you watch tv on your computer. Synaptic will let you search all available packages and get descriptions of each. It's easy enough that your grandmother could use it.

raduromeo 08-20-2006 09:14 AM

Thank you very much. I did not know that could be so simple. Thanks again.


All times are GMT -5. The time now is 01:28 AM.