LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-25-2010, 09:15 PM   #1
Rothbardian_Tech
LQ Newbie
 
Registered: Jan 2010
Distribution: Fedora / CentOS
Posts: 16

Rep: Reputation: 0
Question Problems compiling liarliar-0.5.2 in fedora 12


Hi all. I'm trying to compile liarliar-0.5.2, a VSA app in my netbook (Acer Aspire One D150 10", intel atom N280 (Hyper Threading Enabled), 2GB Corsair RAM, Fedora 12 with KDE 4.3.4 up to date as of today 26 January. This is what I get when executing ./configure:

[...]
checking for pkg-config... /usr/bin/pkg-config
checking for gtkmm-2.0 gthread-2.0 gstreamer-0.6... Package gtkmm-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtkmm-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtkmm-2.0' found Package gstreamer-0.6 was not found in the pkg-config search path. Perhaps you should add the directory containing `gstreamer-0.6.pc' to the PKG_CONFIG_PATH environment variable No package 'gstreamer-0.6' found
configure: error: Library requirements (gtkmm-2.0 gthread-2.0 gstreamer-0.6) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

And I'm sure I've installed these libraries, their location is:

/usr/include/gtkmm-2.4/gtkmm

/usr/include/gstreamer-0.10


If my libraries are in a nonstandard prefix as suggested, how do I set up the PKG_CONFIG_PATH env variable in order to fix this? I even have a clue of what a "nonstandard prefix" is. Can anybody shed some light on this?
Thanks in Advance.
 
Old 01-26-2010, 01:57 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
you NEED to make sure the -devel.rpm's are installed for those packages
if you built the prerequisites from source and use there DEFAULT install location of " /usr/local/???
then you need to add that to your $PATH
FEDORA DOSE NOT USE /usr/local

--- or --- uninstall those programs and use the " --prefix=/usr " in the configure line
 
Old 01-26-2010, 06:50 AM   #3
Rothbardian_Tech
LQ Newbie
 
Registered: Jan 2010
Distribution: Fedora / CentOS
Posts: 16

Original Poster
Rep: Reputation: 0
@John: The devel packages are installed, and setting up the $PATH variable doesn't work. Same with the configure --prefix=/usr option. As the program reports:

[...]
checking for pkg-config... /usr/bin/pkg-config
Package gtkmm-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtkmm-2.0.pc' to the PKG_CONFIG_PATH environment variable [...]

How I do that?
 
Old 01-26-2010, 09:28 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
' liarliar-0.5.2 ' .. .. Fedora 12.

Welcome to LQ.

gtkmm "2.0" e.g. 2.2.12 is required. Not 2.4 !
gstreamer 0.6 is required. Not 0.8 - 0.10 or 0.11 .
libsigc++ 1.2 is required. E.g. version 1.2.7 .
( The liarliar-0.5.2 code is six years old.)

For the try, I used a converted libgtkmm from Debian ..
libgtkmm2.0-1c2a-2.2.12-3 , libgtkmm2.0-dev-2.2.12-3
.. and from Fedora 1 (one) :
gstreamer-0.6.3-1 , gstreamer-devel-0.6.3-1
.. and .. libsigc++1.2_5-1.2.7-4pclos2010,
libsigc++1.2_5-devel-1.2.7-4pclos2010

# yum install compat-gcc-34 compat-gcc-34-c++

'liarliar-0.5.2' : Not at all Fedora specific, 13 <files>.la
are required in /usr/lib/ :
Code:
libatk-1.0.la         libgmodule-2.0.la     libpangoft2-1.0.la
libcairo.la           libgobject-2.0.la     libpangox-1.0.la
libgdk_pixbuf-2.0.la  libgtk-x11-2.0.la     libpangoxft-1.0.la
libgdk-x11-2.0.la     libpango-1.0.la
libglib-2.0.la        libpangocairo-1.0.la
cd liarliar-0.5.2/ && ./configure CC=gcc34 CXX=g++34

make
.. will compile the most ..
The gcc, g++ version 3.3 can do it. ( PCLinuxOS, Debian Etch ).

If you prefer not to write the thirteen ' <text-files>.la ' yourself,
send a mail, I will attach files and compile result(s) to a
return mail.
.....

Last edited by knudfl; 01-26-2010 at 04:27 PM.
 
Old 01-26-2010, 08:12 PM   #5
Rothbardian_Tech
LQ Newbie
 
Registered: Jan 2010
Distribution: Fedora / CentOS
Posts: 16

Original Poster
Rep: Reputation: 0
@knudfl: I thought I could use a more recent version of these libraries instead if they preserved the backwards compatibility.(I was wrong) Well, I won't give up and will try to download these specific libraries as you recommended.But there's an issue:
these '.la' files are a type of file I'm not familiar with. You said I could write these text files. Are them a kind of configuration files like '.rtorrent.rc'? If you give me the format and structure of these text files then I gladly will write them myself. Lots of Thanks for being such a candle in this darkness...

Last edited by Rothbardian_Tech; 01-27-2010 at 08:19 AM.
 
Old 01-26-2010, 08:57 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
if you hack the configure script or the configure.ini ( and run " autoreconf -v -i ")

you might get away with the NEW libs -- MAYBE / MAYBE-NOT

Quote:
rtorrent.rc
rtorrent IS IN the fedora repos

looking at the sourceforge page
http://sourceforge.net/projects/liarliar/files/
this was last updated in 2004
i just DL'ed it and to quote the README
Quote:
Please note that this is alpha quality software. It is not yet finished, though it is mostly functional if you are willing to overlook some missing parts and a few minor bugs.

Also note that the plugin provided is mostly for testing purposes. The simple test plugin uses only one characteristic for detecting stress in a voice sample. It is definately not guaranteed to be accurate at detecting lies or stress in a person's voice. It has not been tested for that purpose yet by the developers. We hope to provide much better tested plugins in the next release.

You can contact the authors at:
Gene Ruebsamen <gene@erachampion.com>
Quan Nguyen <friday_morning@yahoo.com>


KNOWN ISSUES:
-------------

*IMPORTANT: Upon completion of make install, you will need to manually move the plugins from the ./plugins/.libs directory to the ~/.liarliar/plugins/ directory. This step is not yet automated. It is expected to be automated in the next release.

* Volume slider functionality not yet implemented
* Occassionally the GUI thread will freeze and not update the GUI properly. This is probably due to the way we are updating the GUI from the plugin thread. This bug mainly manifests itself on slower machines.
* When using ESD output, buffer does not fully clear, so you will have to press
the stop button when the audio stream is done.
* Configuration settings are not saved.
* Must manually create the plugins directory (see above).
this thing was ONLY in Alpha state back in 04
and just ran ./configure WITHOUT installing any new-old software and got this

Code:
checking for gtkmm-2.0 gthread-2.0 gstreamer-0.6... Package gtkmm-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtkmm-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtkmm-2.0' found Package gstreamer-0.6 was not found in the pkg-config search path. Perhaps you should add the directory containing `gstreamer-0.6.pc' to the PKG_CONFIG_PATH environment variable No package 'gstreamer-0.6' found
configure: error: Library requirements (gtkmm-2.0 gthread-2.0 gstreamer-0.6) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
unless I would NEED and i do mean REALLY NEED this i would not even try on this OLD and no longer worked on dead project

but if you want go for it
I would not.
 
Old 01-27-2010, 02:06 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
@ Rothbardian_Tech : I did send the thirteen text files.
( If your ' email' works )
By the way : Please don't show your email address here.
Google will cache it forever. Use "LQ 'Send email..'" instead.

Liarliar compiles on Fedora 12 with the PCLinuxOS compat
gcc33 = gcc3.3-3.3.6 + gcc3.3-c++-3.3.6 , etc.

You can have as many compilers, as you want, at the same time.
Example : 1) the default gcc-4.4.2
2) compat-gcc-34-(c++)
3) gcc3.3-c++-3.3.6 (pclos)
4) gcc41-4.1.2 "compat" from Suse 11.1 .
.....
 
Old 01-27-2010, 07:39 PM   #8
Rothbardian_Tech
LQ Newbie
 
Registered: Jan 2010
Distribution: Fedora / CentOS
Posts: 16

Original Poster
Rep: Reputation: 0
@knudfl: I have replied to your email (I have received the files) But it seems you are managing my mail address as spam. Why? My email address is a legitimate one, No sarcasms needed at all.
"If your 'email' works" is not a demonstration of mutual trust, but just the contrary. It reveals some hidden and dark aspects of your personality surely you aren't even aware of. In business, this type of misunderstandings costs millions, In love, the partner of your life.
Watch out for these type of things.
 
Old 01-28-2010, 02:21 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Sorry, if I offended you with a ( from my view )
harmless remark. Just this : your email address
is very short, and could look like a miss spell.

About not being able to send : Seems my email provider has
a ( unnecessary ) tight filter ? ( I "never" receive spam.)
I have no direct email, only something like Gmail, etc.

About sending email to LQ members : Click the target name
( in the left column ) and click "Send email to <name>".
.....
 
Old 01-29-2010, 07:04 PM   #10
Rothbardian_Tech
LQ Newbie
 
Registered: Jan 2010
Distribution: Fedora / CentOS
Posts: 16

Original Poster
Rep: Reputation: 0
@Knudfl: I can't find The Debian packages you mentioned:

libgtkmm2.0-1c2a-2.2.12-3 , libgtkmm2.0-dev-2.2.12-3


Astonishingly, Google makes zero hits.

Last edited by Rothbardian_Tech; 01-29-2010 at 10:31 PM.
 
Old 01-29-2010, 11:46 PM   #11
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
this is one of the reasons that i stated
Unless I NEED it , and i do mean really MUST use THIS program and NOTHING else will do, i would not bother trying.

It was ONLY at an alpha state and only partially working back in 2004 when development on it was stopped .
 
Old 01-30-2010, 03:09 AM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Like in Fedora, the complete name isn't always used in a search.

libgtkmm2.0-1c2a debian :
http://packages.debian.org/etch/libs/libgtkmm2.0-1c2a
Next click " i386 " ( if that is your architecture.)
http://ftp.de.debian.org/debian/pool....12-2_i386.deb
> > libgtkmm2.0-1c2a_2.2.12-2_i386.deb

libgtkmm2.0-dev
http://packages.debian.org/etch/libgtkmm2.0-dev

http://ftp.de.debian.org/debian/pool....12-2_i386.deb
> > libgtkmm2.0-dev_2.2.12-2_i386.deb

.....
.....

No problem building liarliar, but as @John VV says :
Do not expect it to be usable for anything.
.....
 
Old 01-30-2010, 11:58 AM   #13
Rothbardian_Tech
LQ Newbie
 
Registered: Jan 2010
Distribution: Fedora / CentOS
Posts: 16

Original Poster
Rep: Reputation: 0
Well, I finally did the thing. It main purpose was to be evaluated by an engineer friend of mine. The program is plain simple and doesn't support advanced features, but is enough for the intended purposes.The goal is is to make -from scratch- a similar app supporting VoIP streaming but powered by the more capable VSIPL++ libraries. I have yet to investigate more about the "microtremors" theory.(I see no use uploading Pseudoscientific SW to SourceForge)

Thanks everyone for your support, especially Knudfl.(and sorry for lashing at you, just you sometimes sound like you are used to deal with morons, not people in the process of learning) Updated the status of this thread to SOLVED.

Last edited by Rothbardian_Tech; 01-30-2010 at 02:09 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling kernel on Fedora 10 and copying it to another machine with Fedora 5 on it ddel Linux - Newbie 8 04-13-2009 08:14 AM
Problems Compiling Grub In Fedora 7 (configure error) The00Dustin Linux - Software 3 10-23-2007 11:17 AM
Problems compiling via video driver in Fedora Core 5 darwin2kx Linux - Desktop 1 12-03-2006 06:40 AM
liarliar paul62 Linux - Software 3 09-27-2004 02:51 PM
Problems compiling LIRC on Fedora Core 2 EHart7 Linux - Hardware 1 06-25-2004 08:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration