Menu

#18 cmake error

unstable
open
5
2008-09-29
2008-09-26
Anonymous
No

Hi,

I'm trying to compile bluezync an get the following error executing build-install-bluezync.sh

-- checking for one of the modules 'thunderbird-xpcom;icedove-xpcom'
CMake Error: None of the required 'thunderbird-xpcom;icedove-xpcom' found
CMake Error: Error in cmake code at
/home/tb/download/programs/bluezync/libopensync-plugin-mozilla/cmake/modules/FindThunderbirdXpcom.cmake:49:
Unknown CMake command "PKGCONFIG".

dist: hardy

# locate thunderbird-xpcom
/usr/lib/pkgconfig/thunderbird-xpcom.pc

Discussion

  • KaarPoSoft

    KaarPoSoft - 2008-09-29

    Hi,
    It seems that the PKG_SEARCH_MODULE in /libopensync-plugin-mozilla/cmake/modules/FindThunderbirdXpcom.cmake line 8 did NOT find thunderbird.
    This is odd, as it "should" work on Ubunty hardy.
    1) Do you have nspr >= 4.7.1 installed? If you look in /usr/lib/pkgconfig/thunderbird-xpcom.pc you will see that it is a requred prerequisite.
    2) Try "pkg-config --cflags thunderbird-xpcom". Does it find thunderbird-xpcom?
    3) Check the setting of PKG_CONFIG_PATH before calling build-install-bluezync.sh
    4) Which version of CMake are you using. Should be at least 2.4.7.
    /Henrik

     
  • KaarPoSoft

    KaarPoSoft - 2008-09-29
    • labels: 1033739 --> OpenSync plugin
    • milestone: --> unstable
    • assigned_to: nobody --> kaarposoft
     
  • Nobody/Anonymous

    Thanks and sorry, it was all my fault. I thought I wouldn't need the sunbird-dev files since I wanted to use only thunderbird. After installing libnspr4-dev I got almost the same error for sunbird and installed sunbird-dev which also installed libnspr3-dev and all went well.

     

Log in to post a comment.