[Solved] Packages installed, but cmake can't find them

Hello all,
I'm trying to build the new version of Slingshot, called new-slingshot. I've made the following PKGBUILD, but get an error when during the cmake part.
PKGBUILD:
pkgname=new-slingshot
pkgver=latest
pkgrel=1
pkgdesc="New version of elementary's launcher Slingshot."
arch=('i686' 'x86_64')
url="https://code.launchpad.net/~slingshot-devs/"
license=('GPL2')
depends=('libgee' 'gnome-menus' 'granite-bzr' 'zeitgeist')
makedepends=('bzr' 'cmake')
optdepends=('wingpanel-bzr: panel to go with the Pantheon shell')
provides=(slingshot)
conflicts=(slingshot)
options=('!emptydirs' '!libtool')
_bzrtrunk="lp:slingshot"
_bzrmod="new-slingshot"
build() {
cd "${srcdir}"
msg "Connecting to the server...."
if [ -d ${_bzrmod} ]; then
bzr up ${_bzrmod}
msg "The local files are updated."
else
bzr co ${_bzrtrunk} ${_bzrmod}
fi
msg "BZR checkout done or server timeout"
msg "Starting make..."
cd new-slingshot
mkdir build; cd build
cmake ..
make
make DESTDIR="${pkgdir}" install
The error is as followed:
-- checking for modules 'gobject-2.0;glib-2.0;gio-2.0;gio-unix-2.0;gee-1.0;gtk+-3.0;libgnome-menu;granite;zeitgeist-1.0'
-- package 'granite' not found
-- package 'zeitgeist-1.0' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:266 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
CMakeLists.txt:31 (pkg_check_modules)
-- Found Vala: /usr/bin/valac
-- checking for a minimum Vala version of 0.12.0
-- found Vala, version 0.14.0.3-1a311
-- GSettings schemas will be installed locally.
-- GSettings shemas will be compiled.
-- GSettings schemas will be installed into /usr/local/share/glib-2.0/schemas/
-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
Aborting...
I do, however, have granite and zeitgeist installed (from AUR):
┌─[jente@lappy new-slingshot][13:50:18]
└─■ pacman -Qs zeitgeist && pacman -Qs granite
local/zeitgeist 0.8.1.1-1
A service which logs the users's activities and events and makes relevant
information available to other applications
local/granite-bzr 72-1
A development library by the elementary Project.
Can you help me fix this issue? Thanks in advance!
Last edited by Unia (2011-09-21 16:41:06)

I have fixed the granite-bzr PKGBUILD already, and added the
provide=(granite)
line, but that still results in the same error. I had thought about the zeitgeist versioning too, but AFAIK zeitgeist 0.8.1.1-1 is the latest version and I think this is just the Ubuntu naming for it. (initially slingshot is written for elementaryOS which is based on Ubuntu...)
EDIT: Zeitgeist 0.8.1.1-1 is indeed the latest version available. Also, here is the PKGBUILD I used for granite:
pkgname=granite-bzr
pkgver=latest
pkgrel=1
pkgdesc="A development library by the elementary Project."
arch=(i686 x86_64)
url=https://launchpad.net/granite
license=(GPL)
depends=('glib2' 'gobject-introspection' 'gtk3' 'vala-git')
makedepends=('bzr' 'cmake')
provides=(granite)
_bzrtrunk="lp:granite"
_bzrmod="granite"
build()
cd "${srcdir}"
msg "Connecting to the server...."
if [ -d ${_bzrmod} ]; then
bzr up ${_bzrmod}
msg "The local files are updated."
else
bzr co ${_bzrtrunk}
fi
msg "BZR checkout done or server timeout"
msg "Starting make..."
cd granite
mkdir build; cd build
cmake ..
make
make DESTDIR="${pkgdir}" install
Last edited by Unia (2011-09-21 12:22:19)

Similar Messages

  • Had to uninstall iWork trial since I bought the pages app and it wouldn't let me print or save.  Now the app store says I have pages installed but I can't find it anywhere to open and use it.  I'm not very computer savvy and am getting frustrated!

    Ooops, guess I didn't need to post everything in the title - sorry!  I bought the pages app - but couldn't save or print so with some online searching found that I had to uninstall the iWork trial which had expired.  I did that - but now I can't figure out how to re-install the pages app!!  The app store says it's installed, but I can't find it anywhere to open and use it.  I'm not very computer savvy - and am a first time Mac user and am getting extremely frustrated!  I e-mailed some help center and they can't seem to help me either.  I would appreciate any help/advice that can fix my problem - thanks in advance!!

    OK Apple has stuffed up the demo version upgrade process so the first thing you need to do is get rid of the demo.
    That includes getting rid of the files in the system.
    The instructions how to do that are here:
    Note That where you see / that is the sequence of folders, each nested inside each other.
    User/Library/Preferences the com.apple.iwork.Keynote.plist
    Means the User (you, the little home icon, whatever you are called on your computer) then the Library folder inside that and then the Preferences folder inside that.
    Lion initially hides the System folders from you so you have to go to the Finder > Menu > hold down the option key and click on GO > Library to see it.
    Peter

  • Acrobat XI Pro shows as installed, but I can't find it anywhere in my list of programs to use it. What am I missing here?

    I purchased Adobe Creative Cloud. I chose to download and installs 4 of the apps including Acrobat XI Pro. All apps are working great except Acrobat Pro. It shows as installed, but I can't find it anywhere in my list of programs. What am I missing here?

    Hi Sz17111,
    Please follow the article: CC desktop lists applications as "Up to Date" when not installed which will help you to fix this issue.
    Let us know for any further query.
    Thanks,
    Ratandeep Arora

  • I have just setup a new ipad and the first app I downloaded was ibook.  I pad says its installed but I can't find it.  any suggestions please?

    I have just setup a new ipad and first app I downloaded was ibook.  my ipad says its installed but I can't find it.  any suggestions please?

    For some reason this happens to some people.  The one thing that works is to reboot your iPad.  To reboot:  Press and hold BOTH the power and home buttons at the SAME time for at least 10 seconds (ignore the red slider) until the Apple Logo appears, then let go of both buttons and your iPad wil restart.  Once it's back up, I'm betting you'll see iBooks.

  • I bought an app, it is coming as installed but I can not find in ipad

    I bought an app, it is coming as installed but I can not find in ipad

    First thing to try is a reboot of your device. Press and hold the Home and Sleep buttons simultaneously ignoring the red slider until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem.

  • Application Manager says Acrobat X is installed - but I can't find it on my PC. Help.

    Application Manager says Acrobat X is installed - but I can't find it on my PC. Can you help please.

    I am having the same problem. Control Panel shows it is installed(but all that does is let me uninstall it), but I can't find it anywhere. When installing it, it said installation completed, but some components failed to install. Would apprciate any help to figure out how to install this product. I have had no trouble downloading any of the other products I wanted from the Cloud.
    The error report was as follows:
    Exit Code: 6
    Please see specific errors and warnings below for troubleshooting. For example,  ERROR: DW050 ... WARNING: DW066 ...
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 3 error(s), 2 warning(s)
    WARNING: DW066: OS requirements not met for {AC76BA86-1033-F400-7760-000000000005} Acrobat Professional 10.0.0.0
    WARNING: DW066: OS requirements not met for {8706963D-5F48-47CC-998B-DAB70B089DB8} Suite Shared Configuration CS6 3.0.0.0
    ----------- Payload: {AC76BA86-1033-F400-7760-000000000005} Acrobat Professional 10.0.0.0 -----------
    ERROR: Error 1310.Error writing to file: C:\Config.Msi\423cf0.rbf.   Verify that you have access to that directory.
    ERROR: Install MSI payload failed with error: 1603 - Fatal error during installation.
    MSI Error message: Error 1310.Error writing to file: C:\Config.Msi\423cf0.rbf.   Verify that you have access to that directory.
    ERROR: DW050: The following payload errors were found during install:
    ERROR: DW050:  - Acrobat Professional: Install failed
    Thanks,
    Debbie

  • IPad4: some apps installed but i can't find the icons!? They don't be possible to start!?

    IPad4: some apps installed but i can't find the icons!? They don't be possible to start!? - They are shown in AppStore - with grey open - but not possible to start!

    Go to the home screen, and swipe left-to-right.  Type the app name in the search oval that appears, and see if it appears there.

  • Inbox says I have unread messages but I can't find them

    My inbox says I have 45 unread messages (and the number gets higher every day) but I can't find them.  I have gone through all my emails but everything has been read.  How do I fix this?

    This was driving me crazy as well.  Here is how I solved it:
    1. Right click on Inbox and Mark all as read
    2. Go to each subfolder and Mark All Read
    3. Run outlook.exe /cleanviews (enter it in Start panel to run this command)
    4. Close Outlook and restart as Administrator
    5. Again Mark all read (repeat in subfolders)
    6. Close and restart normally
    The unread count disappeared.  No clue where this ghostly email resided, but given that I checked
    all subfolders,  I feel ok that I did not miss anything. Be sure to check your rules too, in case you are moving incoming messages and don't remember setting up such a  rule. 
    Good luck!

  • I have some loops from acid 5 which I have dragged in a folder to the loop browser.  Some of them retain the folder name in the View: and some don't.  I have had some that seem to go in but I can't find them.  Where should I look?

    I have some loops from acid 5 which I have dragged in a folder to the loop browser.  Some of them retain the folder name in the View: and some don't.  I have also had some that seem to go in but I can't find them.  If I try to add them again, I get a msg that they are already there.  Where should I look?

    It may be best to recreate the folder and the smart playlists from scratch.
    tt2

  • Please help me to find my iPad and iPhone 5C. I lost all of them last night. I set up icloud for my devices but i can't find them because they were not connect to the Internet. Please guide me other ways to find my "best friends".

    Dear Apple,
    Please help me to find my iPad Air 2 64 GB and iPhone 5C 8GB. They're in IOS 8.0 maybe...I lost all of them last night. I set up icloud for my devices but i can't find them because they were not connect to the Internet. Please guide me other ways to find my "best friends". They're very important to me. Many important files for my job in here and it has sentimental value to me. My boyfriend gave it for me so i don't want to lose them. And because i just lost my iPad Air last 3 month, and now i just bought iPad Air 2 two months ago. I'm so sad and lost. I want to catch the thief to the police so bad because they keep my bag and many other important things. I can not do anything without them. Please help me and contact me via my email or my phone. Thank you very much. Hope to receive your answer soon.

    Hey there thaovy309,
    Welcome to Apple Support Communities.
    The linked article below provides a lot of great information and suggestions that should address your concerns about your data and finding your lost or stolen iPhone 5c and iPad Air 2.
    If your iPhone, iPad, or iPod touch is lost or stolen - Apple Support
    Take care,
    -Jason

  • HT203167 Hi, I've purchased a few films from itunes (and they are listed as Purchased in my account), but I can't find them on my computer or on my itunes account, and itunes wants me to pay for them again. How do I get around this?

    Hi, I've purchased a few films from itunes (and they are listed as Purchased in my account), but I can't find them on my computer or my itunes account, and itunes wants me to pay for them again. How do I get around this? I've tried all the suggestions, and it's hugely frustrating.

    If you are in the UK, and the film studio allows re-downloading, and you are signed in with the same account that you bought them with, then they might show under the Purchased link under Quinklinks on the right-hand side of the iTunes store home page for re-downloading - if they don't show then check to see if they are hidden (hiding and unhiding).
    But you should be keeping and maintaining your own backup of your downloads and noy rely on being able to re-download any item as they are occasionally removed from the store by the content provider (film studio, tv company, record company etc).

  • I bought songs on my laptop which synced to my iphone and iPad.  But I can't find them on itunes library on my home computer.  However, when I click download for the same song it says it has already been purchased.  How do I find it on home computer?

    I bought songs on my laptop which synced to my iphone and iPad.  But I can't find them on itunes library on my home computer.  However, when I click download for the same song it says it has already been purchased.  How do I find it on home computer?

    Is your "home computer" the same as your laptop or are these two different machines?

  • I downloaded some podcasts, but I can't find them. Where are they?

    I just downloaded 17 podcasts episodes. The iTunes confirms that they're in the iPhone (4S), but I can't find them.
    I already looked in the "Music" section, "More", etc. But the "Podcasts" item it's no there. Neither in the "Video" section.
    Do I need an app to make they work?
    Where they could be?
    Thanks!
    Ana C.

    They are no longer supported in the Music app. You need to download the Podcast app from the App store. It is free.

  • Ipad says I have 149 photo on it but I can't find them, any idea where they might be stored? they are not in any folder including deteted photos folder.

    My ipad says it has 149 photos on it, but I can't find them. Any ideas where they might be?

    Did you ever restore your last iCloud backup?  That contains you camera roll photos & videos, text messages, app data, settings, etc.  It will also redownload your apps and other purchased media.
    If you didn't, follow the steps in this article to restore the backup: https://support.apple.com/kb/ph12521.

  • I just upgraded to the iPhone 6 and before I delete my old phone, I want to make sure all my photos were in icloud, but I can't find them anywhere. Why? I know it may take weeks to download my 14,000 pics, but I want to make sure they're there.

    I just upgraded to the iPhone 6 and before I delete my old phone, I want to make sure all my photos were in icloud, but I can't find them anywhere. Why? I know it may take weeks to download my 14,000 pics, but I want to make sure they're there.

    Extract the photos from the phone to your computer like you would with any other digital camera.
    PhotoStream is NOT permanent storage and iCloud photos is in beta, meaning it's not fully cooked yet and you may lose data stored in it.

Maybe you are looking for

  • Unable to find the Report URL

    Hi All, I am using Application Server Release 2 Forms and Reports services and I want to know the URL of the reports to call it from the forms. Regards...

  • How to split the page in 2, 3 or 4?

    I want to put a specific split right in the middle of the page, so when I'm writing at the left corner and I reach the middle it automaticly goes down. And so on I could use the other half.

  • Need to refresh materialized view from procedure and pl/sql block

    Hi, I need to refresh materialized view (complete refresh)from procedure and pl/sql block .can some one help. MV name:MV_DGN_TEST_SESSION Thanks, Rajasekhar

  • Open files in Mountain Lion

    I c an´t open files in Mountain Lion. When i open a file on desktop or elsewhere, it close Finder an a cannot reach my stuff. I have new harddrive, new systen in my new fresh harddrive. I tryed another harddrive. I moved my harddrive. I have Macpro 2

  • Won't charge, battery good

    My Powerbook will not charge the battery while the computer is in use. If I put the Powerbook in sleep mode, or turn it off, then it WILL charge the battery, but slowly. It's not a bad battery, because if I take the battery to a friend's powerbook an