#27 [Ubuntu 9.04 Jaunty] mozilla-plugin won't install correctly

open
nobody
5
2009-08-30
2009-08-30
Bjarne T
No

When building libopensync-plugin-mozilla-0.1.6 everything seems to work fine. When installing the build, however it shows two errors and the install is not succesfull. Being a linux novice, I really do not know how to solve this problem on my own and it doesn't seem like any others. I have followed every instruction to the letter and thus can only assume it is a bug.

Here's the output when i run "cmake" and, after that, when i run "make install":

cmake:
bjarne@bjarne-laptop:~/build$ cmake -DCMAKE_INSTALL_PREFIX="$PREFIX" /home/bjarne/Skrivebord/libopensync-plugin-mozilla-0.1.6
-- The CXX compiler identification is GNU
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- checking for one of the modules 'glib-2.0'
-- found glib-2.0, version 2.20.1
-- checking for one of the modules 'libxml-2.0'
-- found libxml-2.0, version 2.6.32
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found OpenSync: /usr/local/lib/libopensync.so
-- checking for one of the modules 'thunderbird-xpcom;icedove-xpcom'
-- found thunderbird-xpcom, version 2.0.0.23
THUNDERBIRDXPCOM_INCLUDE_DIRS /usr/include/thunderbird;/usr/include/thunderbird/xpcom;/usr/include/thunderbird/string;/usr/include/nspr
-- Found thunderbird-xpcom
XPCOM_INCLUDE_DIRS /usr/include/thunderbird;/usr/include/thunderbird/xpcom;/usr/include/thunderbird/nspr;/usr/include/thunderbird/necko;/usr/include/thunderbird/rdf;/usr/include/thunderbird/string;/usr/include/thunderbird/addrbook;/usr/include/thunderbird/js;/usr/include/thunderbird/xpcom_obsolete;/usr/include/thunderbird;/usr/include/thunderbird/xpcom;/usr/include/thunderbird/string;/usr/include/nspr
GRE_DIR /usr/lib/thunderbird
-- checking for one of the modules 'sunbird-xpcom'
-- found sunbird-xpcom, version 0.9
-- Found sunbird
SUNBIRD_INCLUDE_DIRS /usr/include/sunbird;/usr/include/sunbird/xpcom;/usr/include/sunbird/string;/usr/include/nspr
SEVERAL
XPCOM_INCLUDE_DIRS /usr/include/thunderbird;/usr/include/thunderbird/xpcom;/usr/include/thunderbird/nspr;/usr/include/thunderbird/necko;/usr/include/thunderbird/rdf;/usr/include/thunderbird/string;/usr/include/thunderbird/addrbook;/usr/include/thunderbird/js;/usr/include/thunderbird/xpcom_obsolete;/usr/include/thunderbird;/usr/include/thunderbird/xpcom;/usr/include/thunderbird/string;/usr/include/nspr;/usr/include/sunbird
-- CTest cannot determine repository type. Please set UPDATE_TYPE to 'cvs' or 'svn'. CTest update will not work.
LIBTBXPCOM_INCLUDE_DIR
XPCOM_LIBRARIES /usr/lib/thunderbird/libxpcom.so
CMAKING libopensync-plugin-mozilla 0.1.6
-- Configuring done
CMake Warning (dev) at src/CMakeLists.txt:84 (ADD_EXECUTABLE):
Policy CMP0003 should be set before this line. Add code such as

if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)

as early as possible but after the most recent call to
cmake_minimum_required or cmake_policy(VERSION). This warning appears
because target "mozilla-connect-test" links to some libraries for which the
linker must search:

xml2, glib-2.0

and other libraries with known full path:

/usr/lib/thunderbird/libxpcom.so

CMake is adding directories in the second list to the linker search path in
case they are needed to find libraries from the first list (for backwards
compatibility with CMake 2.4). Set policy CMP0003 to OLD or NEW to enable
or disable this behavior explicitly. Run "cmake --help-policy CMP0003" for
more information.
This warning is for project developers. Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /home/bjarne/build

"make install":
bjarne@bjarne-laptop:~/build$ make install
Scanning dependencies of target mozilla-connect-test
[ 5%] Building CXX object src/CMakeFiles/mozilla-connect-test.dir/xml-config.o
/home/bjarne/Skrivebord/libopensync-plugin-mozilla-0.1.6/src/xml-config.cpp: In function ‘gboolean mozilla_config_parse(const char*, MozillaConfig*, char**, void (*)(int, const char*, ...))’:
/home/bjarne/Skrivebord/libopensync-plugin-mozilla-0.1.6/src/xml-config.cpp:209: advarsel: formatering er ikke en strengkonstant og der er ingen formateringsparametre
/home/bjarne/Skrivebord/libopensync-plugin-mozilla-0.1.6/src/xml-config.cpp:231: advarsel: formatering er ikke en strengkonstant og der er ingen formateringsparametre
[ 11%] Building CXX object src/CMakeFiles/mozilla-connect-test.dir/mozilla-utils.o
[ 16%] Building CXX object src/CMakeFiles/mozilla-connect-test.dir/mozilla-xpcom.o
[ 22%] Building CXX object src/CMakeFiles/mozilla-connect-test.dir/nsProfileDirServiceProvider.o
[ 27%] Building CXX object src/CMakeFiles/mozilla-connect-test.dir/thunderbird-card.o
[ 33%] Building CXX object src/CMakeFiles/mozilla-connect-test.dir/thunderbird-addressbook.o
[ 38%] Building CXX object src/CMakeFiles/mozilla-connect-test.dir/mozilla-calendar.o
[ 44%] Building CXX object src/CMakeFiles/mozilla-connect-test.dir/calendar-event.o
/home/bjarne/Skrivebord/libopensync-plugin-mozilla-0.1.6/src/calendar-event.cpp: In function ‘gboolean EventAdd(mozIStorageConnection*, const char*, const char*, char**, char**, char**, void (*)(int, const char*, ...))’:
/home/bjarne/Skrivebord/libopensync-plugin-mozilla-0.1.6/src/calendar-event.cpp:126: advarsel: format ‘%u’ expects type ‘unsigned int’, but argument 4 has type ‘time_t’
/home/bjarne/Skrivebord/libopensync-plugin-mozilla-0.1.6/src/calendar-event.cpp: In function ‘gboolean EventModify(mozIStorageConnection*, const char*, const char*, const char*, char**, char**, void (*)(int, const char*, ...))’:
/home/bjarne/Skrivebord/libopensync-plugin-mozilla-0.1.6/src/calendar-event.cpp:209: fejl: no matching function for call to ‘nsDerivedSafe<calIICSService>::ParseICS(nsEmbedCString&, nsGetterAddRefs<calIIcalComponent>)’
/usr/include/sunbird/calbase/calIICSService.h:1074: bemærk: candidates are: virtual nsresult calIICSService::ParseICS(const nsACString&, calITimezoneProvider*, calIIcalComponent**)
/home/bjarne/Skrivebord/libopensync-plugin-mozilla-0.1.6/src/calendar-event.cpp:242: advarsel: format ‘%u’ expects type ‘unsigned int’, but argument 2 has type ‘time_t’
/home/bjarne/Skrivebord/libopensync-plugin-mozilla-0.1.6/src/calendar-event.cpp:250: advarsel: format ‘%u’ expects type ‘unsigned int’, but argument 2 has type ‘time_t’
/home/bjarne/Skrivebord/libopensync-plugin-mozilla-0.1.6/src/calendar-event.cpp:271: fejl: no matching function for call to ‘nsDerivedSafe<calIDateTime>::GetTimezone(nsEmbedCString&)’
/usr/include/sunbird/calbase/calIDateTime.h:131: bemærk: candidates are: virtual nsresult calIDateTime::GetTimezone(calITimezone**)
/home/bjarne/Skrivebord/libopensync-plugin-mozilla-0.1.6/src/calendar-event.cpp:272: fejl: no matching function for call to ‘nsDerivedSafe<calIDateTime>::GetTimezone(nsEmbedCString&)’
/usr/include/sunbird/calbase/calIDateTime.h:131: bemærk: candidates are: virtual nsresult calIDateTime::GetTimezone(calITimezone**)
/home/bjarne/Skrivebord/libopensync-plugin-mozilla-0.1.6/src/calendar-event.cpp: In function ‘gboolean EventICS(mozIStorageConnection*, const char*, const char*, char**, char**, void (*)(int, const char*, ...))’:
/home/bjarne/Skrivebord/libopensync-plugin-mozilla-0.1.6/src/calendar-event.cpp:482: fejl: no matching function for call to ‘nsDerivedSafe<calIDateTime>::SetTimeInTimezone(PRInt64, const nsDependentCString_external&)’
/usr/include/sunbird/calbase/calIDateTime.h:200: bemærk: candidates are: virtual nsresult calIDateTime::SetTimeInTimezone(PRTime, calITimezone*)
/home/bjarne/Skrivebord/libopensync-plugin-mozilla-0.1.6/src/calendar-event.cpp:482: fejl: no matching function for call to ‘nsDerivedSafe<calIDateTime>::GetInTimezone(NS_ConvertUTF16toUTF8_external, nsGetterAddRefs<calIDateTime>)’
/usr/include/sunbird/calbase/calIDateTime.h:210: bemærk: candidates are: virtual nsresult calIDateTime::GetInTimezone(calITimezone*, calIDateTime**)
/home/bjarne/Skrivebord/libopensync-plugin-mozilla-0.1.6/src/calendar-event.cpp:482: fejl: ‘class nsDerivedSafe<calIICSService>’ has no member named ‘GetTimezone’
/home/bjarne/Skrivebord/libopensync-plugin-mozilla-0.1.6/src/calendar-event.cpp:482: fejl: no matching function for call to ‘nsDerivedSafe<calIIcalComponent>::AddTimezoneReference(nsCOMPtr<calIIcalComponent>&)’
/usr/include/sunbird/calbase/calIICSService.h:220: bemærk: candidates are: virtual nsresult calIIcalComponent::AddTimezoneReference(calITimezone*)
/home/bjarne/Skrivebord/libopensync-plugin-mozilla-0.1.6/src/calendar-event.cpp:483: fejl: no matching function for call to ‘nsDerivedSafe<calIDateTime>::SetTimeInTimezone(PRInt64, const nsDependentCString_external&)’
/usr/include/sunbird/calbase/calIDateTime.h:200: bemærk: candidates are: virtual nsresult calIDateTime::SetTimeInTimezone(PRTime, calITimezone*)
/home/bjarne/Skrivebord/libopensync-plugin-mozilla-0.1.6/src/calendar-event.cpp:483: fejl: no matching function for call to ‘nsDerivedSafe<calIDateTime>::GetInTimezone(NS_ConvertUTF16toUTF8_external, nsGetterAddRefs<calIDateTime>)’
/usr/include/sunbird/calbase/calIDateTime.h:210: bemærk: candidates are: virtual nsresult calIDateTime::GetInTimezone(calITimezone*, calIDateTime**)
/home/bjarne/Skrivebord/libopensync-plugin-mozilla-0.1.6/src/calendar-event.cpp:483: fejl: ‘class nsDerivedSafe<calIICSService>’ has no member named ‘GetTimezone’
/home/bjarne/Skrivebord/libopensync-plugin-mozilla-0.1.6/src/calendar-event.cpp:483: fejl: no matching function for call to ‘nsDerivedSafe<calIIcalComponent>::AddTimezoneReference(nsCOMPtr<calIIcalComponent>&)’
/usr/include/sunbird/calbase/calIICSService.h:220: bemærk: candidates are: virtual nsresult calIIcalComponent::AddTimezoneReference(calITimezone*)
/home/bjarne/Skrivebord/libopensync-plugin-mozilla-0.1.6/src/calendar-event.cpp:484: fejl: no matching function for call to ‘nsDerivedSafe<calIDateTime>::SetTimeInTimezone(PRInt64, const nsDependentCString_external&)’
/usr/include/sunbird/calbase/calIDateTime.h:200: bemærk: candidates are: virtual nsresult calIDateTime::SetTimeInTimezone(PRTime, calITimezone*)
/home/bjarne/Skrivebord/libopensync-plugin-mozilla-0.1.6/src/calendar-event.cpp:484: fejl: no matching function for call to ‘nsDerivedSafe<calIDateTime>::GetInTimezone(NS_ConvertUTF16toUTF8_external, nsGetterAddRefs<calIDateTime>)’
/usr/include/sunbird/calbase/calIDateTime.h:210: bemærk: candidates are: virtual nsresult calIDateTime::GetInTimezone(calITimezone*, calIDateTime**)
/home/bjarne/Skrivebord/libopensync-plugin-mozilla-0.1.6/src/calendar-event.cpp:484: fejl: ‘class nsDerivedSafe<calIICSService>’ has no member named ‘GetTimezone’
/home/bjarne/Skrivebord/libopensync-plugin-mozilla-0.1.6/src/calendar-event.cpp:484: fejl: no matching function for call to ‘nsDerivedSafe<calIIcalComponent>::AddTimezoneReference(nsCOMPtr<calIIcalComponent>&)’
/usr/include/sunbird/calbase/calIICSService.h:220: bemærk: candidates are: virtual nsresult calIIcalComponent::AddTimezoneReference(calITimezone*)
/home/bjarne/Skrivebord/libopensync-plugin-mozilla-0.1.6/src/calendar-event.cpp:485: fejl: no matching function for call to ‘nsDerivedSafe<calIDateTime>::SetTimeInTimezone(PRInt64, const nsDependentCString_external&)’
/usr/include/sunbird/calbase/calIDateTime.h:200: bemærk: candidates are: virtual nsresult calIDateTime::SetTimeInTimezone(PRTime, calITimezone*)
/home/bjarne/Skrivebord/libopensync-plugin-mozilla-0.1.6/src/calendar-event.cpp:485: fejl: no matching function for call to ‘nsDerivedSafe<calIDateTime>::GetInTimezone(NS_ConvertUTF16toUTF8_external, nsGetterAddRefs<calIDateTime>)’
/usr/include/sunbird/calbase/calIDateTime.h:210: bemærk: candidates are: virtual nsresult calIDateTime::GetInTimezone(calITimezone*, calIDateTime**)
/home/bjarne/Skrivebord/libopensync-plugin-mozilla-0.1.6/src/calendar-event.cpp:485: fejl: ‘class nsDerivedSafe<calIICSService>’ has no member named ‘GetTimezone’
/home/bjarne/Skrivebord/libopensync-plugin-mozilla-0.1.6/src/calendar-event.cpp:485: fejl: no matching function for call to ‘nsDerivedSafe<calIIcalComponent>::AddTimezoneReference(nsCOMPtr<calIIcalComponent>&)’
/usr/include/sunbird/calbase/calIICSService.h:220: bemærk: candidates are: virtual nsresult calIIcalComponent::AddTimezoneReference(calITimezone*)
/home/bjarne/Skrivebord/libopensync-plugin-mozilla-0.1.6/src/calendar-event.cpp:486: fejl: no matching function for call to ‘nsDerivedSafe<calIDateTime>::SetTimeInTimezone(PRInt64, const nsDependentCString_external&)’
/usr/include/sunbird/calbase/calIDateTime.h:200: bemærk: candidates are: virtual nsresult calIDateTime::SetTimeInTimezone(PRTime, calITimezone*)
/home/bjarne/Skrivebord/libopensync-plugin-mozilla-0.1.6/src/calendar-event.cpp:486: fejl: no matching function for call to ‘nsDerivedSafe<calIDateTime>::GetInTimezone(NS_ConvertUTF16toUTF8_external, nsGetterAddRefs<calIDateTime>)’
/usr/include/sunbird/calbase/calIDateTime.h:210: bemærk: candidates are: virtual nsresult calIDateTime::GetInTimezone(calITimezone*, calIDateTime**)
/home/bjarne/Skrivebord/libopensync-plugin-mozilla-0.1.6/src/calendar-event.cpp:486: fejl: ‘class nsDerivedSafe<calIICSService>’ has no member named ‘GetTimezone’
/home/bjarne/Skrivebord/libopensync-plugin-mozilla-0.1.6/src/calendar-event.cpp:486: fejl: no matching function for call to ‘nsDerivedSafe<calIIcalComponent>::AddTimezoneReference(nsCOMPtr<calIIcalComponent>&)’
/usr/include/sunbird/calbase/calIICSService.h:220: bemærk: candidates are: virtual nsresult calIIcalComponent::AddTimezoneReference(calITimezone*)
make[2]: *** [src/CMakeFiles/mozilla-connect-test.dir/calendar-event.o] Fejl 1
make[1]: *** [src/CMakeFiles/mozilla-connect-test.dir/all] Fejl 2
make: *** [all] Fejl 2

Discussion

  • Bjarne T

    Bjarne T - 2009-08-30
    • summary: mozilla-plugin won't install correctly --> [Ubuntu 9.04 Jaunty] mozilla-plugin won't install correctly
     
  • KaarPoSoft

    KaarPoSoft - 2009-09-06

    Please try to build from trunk. Version 0.16 will not be maintained.
    /Henrik

     
  • Nobody/Anonymous

    Sourceforge.. Super :)

     
  • Nobody/Anonymous

    Sourceforge.. Dandy :)

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks