Bug 43898 - Error when running configure
Summary: Error when running configure
Status: RESOLVED NOTOURBUG
Alias: None
Product: Ytstenut
Classification: Unclassified
Component: plugins (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Robert Staudinger
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-16 11:16 UTC by Alvaro Soliverez
Modified: 2012-02-08 05:35 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Alvaro Soliverez 2011-12-16 11:16:42 UTC
While running configure, I get this error on yts-plugins.

checking for SALUT... no
checking telepathy-salut executable... configure: error: could not determine location of telepathy-salut executable
program finished with exit code 1


telepathy-salut is installed, but it's throwing the error anyway.

I ran it the following way:

./autogen.sh --prefix=/usr/local

Am I missing something?
Comment 1 Rob Staudinger 2012-01-09 08:37:10 UTC
Saw this too, but need a sustainable solution for the buildbot. CCing Jonny as he's the original author.
Comment 2 Jonny Lamb 2012-01-09 08:43:20 UTC
checking for SALUT... no

Well, it can't find salut at all. I just pushed a patch upstream to actually fail if it can't find salut or gabble now.

I don't think this is a bug here, I think your paths aren't set up properly.

Perhaps you're looking for:

    ./autogen.sh --prefix=/usr/local PKG_CONFIG_PATH=/path/to/the/actual/pc/files

?
Comment 3 Alvaro Soliverez 2012-01-09 09:36:16 UTC
(In reply to comment #2)
> checking for SALUT... no
> 
> Well, it can't find salut at all. I just pushed a patch upstream to actually
> fail if it can't find salut or gabble now.
> 
> I don't think this is a bug here, I think your paths aren't set up properly.
> 
> Perhaps you're looking for:
> 
>     ./autogen.sh --prefix=/usr/local
> PKG_CONFIG_PATH=/path/to/the/actual/pc/files
> 
> ?

This is the complete info on what is executed:

./autogen.sh --prefix=/var/lib/buildbot/install/usr
 in dir /var/lib/buildbot/telepathy/yts-plugins-default-i386/build (timeout 1200 secs)
 watching logfiles {}
 argv: ['./autogen.sh', '--prefix=/var/lib/buildbot/install/usr']
 environment:
  GIT_SSH=/usr/bin/ssh
  HOME=/var/lib/buildbot
  LANG=en_GB.UTF-8
  LD_LIBRARY=/var/lib/buildbot/install/usr/lib
  LOGNAME=buildbot
  MAIL=/var/mail/buildbot
  PATH=/opt/androgenizer:/opt/android-sdk/tools:/opt/android-ndk:/opt/android-ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin:/opt/android-sdk/platform-tools:/var/lib/buildbot/.local/bin:/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin
  PKG_CONFIG_PATH=/var/lib/buildbot/install/usr/lib/pkgconfig
  PWD=/var/lib/buildbot/telepathy/yts-plugins-default-i386/build
  SHELL=/bin/sh
  TERM=linux
  TZ=PST8PDT
  USER=buildbot

You can see the PKG_CONFIG_PATH is set, and it's the same we use for telepathy-qt, which works fine. I have a similar problem in my local environment.

Any ideas?
Comment 4 Rob Staudinger 2012-01-10 05:03:19 UTC
Works here just pointing PKG_CONFIG_PATH to where salut and gabble have been installed.
Comment 5 Alvaro Soliverez 2012-01-10 05:54:45 UTC
after further review, the problem is actually that telepathy-salut.pc is not
copied to PKG_CONFIG_PATH. The same happens in my PC with the latest git
master.
I'll verify what's the actual problem, but it seems to be something on
tp-salut's side
Comment 6 Alvaro Soliverez 2012-02-08 05:35:56 UTC
The telepathy-gabble.pc is only installed if configured with --enable-plugin-api
Building salut and gabble with that option solved the problem.
Also, that shows it was not a yts-plugins error.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.