Quantcast

compile failure

classic Classic list List threaded Threaded
4 messages Options
John Smith John Smith
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

compile failure

Hi,


Im trying to build libreoffice master (using ./configure
--with-system-saxon=no --with-system-libs, if that matters), and im
running into a compile error. Unfortunately, I have no idea whats
wrong, or how to go about fixing this. Ive attached my
build_error.log, and the last screen output is pasted below. Any and
all help is appreciated.


Regards,


John Smith.


---------------------------------------------------

In file included from
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.cxx:48:0:
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.hxx:75:16:
error: âRepositoryPtrâ is not a member of âlibcmisâ
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.hxx:75:16:
error: âRepositoryPtrâ is not a member of âlibcmisâ
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.hxx:75:39:
error: template argument 1 is invalid
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.hxx:75:39:
error: template argument 2 is invalid
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.hxx:92:5:
error: âRepositoryPtrâ in namespace âlibcmisâ does not name a type
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.hxx:99:20:
error: âRepositoryPtrâ is not a member of âlibcmisâ
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.hxx:99:20:
error: âRepositoryPtrâ is not a member of âlibcmisâ
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.hxx:99:43:
error: template argument 1 is invalid
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.hxx:99:43:
error: template argument 2 is invalid
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.hxx:99:65:
error: âRepositoryPtrâ is not a member of âlibcmisâ
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.hxx:99:65:
error: âRepositoryPtrâ is not a member of âlibcmisâ
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.hxx:99:88:
error: template argument 1 is invalid
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.hxx:99:88:
error: template argument 2 is invalid
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.cxx:61:15:
error: âRepositoryPtrâ is not a member of âlibcmisâ
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.cxx:61:15:
error: âRepositoryPtrâ is not a member of âlibcmisâ
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.cxx:61:38:
error: template argument 1 is invalid
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.cxx:61:38:
error: template argument 2 is invalid
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.cxx:
In member function
âcom::sun::star::uno::Reference<com::sun::star::sdbc::XRow>
cmis::RepoContent::getPropertyValues(const
com::sun::star::uno::Sequence<com::sun::star::beans::Property>&, const
com::sun::star::uno::Reference<com::sun::star::ucb::XCommandEnvironment>&)â:
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.cxx:119:83:
error: âgetRepositoryâ was not declared in this scope
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.cxx:
In member function âvoid cmis::RepoContent::getRepositories(const
com::sun::star::uno::Reference<com::sun::star::ucb::XCommandEnvironment>&)â:
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.cxx:142:30:
error: request for member âsizeâ in
â((cmis::RepoContent*)this)->cmis::RepoContent::m_aRepositoriesâ,
which is of non-class type âintâ
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.cxx:157:88:
error: cannot convert âstd::list<std::basic_string<char> >â to âintâ
in assignment
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.cxx:
At global scope:
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.cxx:175:5:
error: âRepositoryPtrâ in namespace âlibcmisâ does not name a type
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.cxx:
In member function âvirtual
std::list<com::sun::star::uno::Reference<com::sun::star::ucb::XContent>
> cmis::RepoContent::getChildren()â:
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.cxx:364:25:
error: âRepositoryPtrâ is not a member of âlibcmisâ
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.cxx:364:25:
error: âRepositoryPtrâ is not a member of âlibcmisâ
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.cxx:364:48:
error: template argument 1 is invalid
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.cxx:364:48:
error: template argument 2 is invalid
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.cxx:364:60:
error: invalid type in declaration before âitâ
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.cxx:364:60:
error: expected â;â before âitâ
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.cxx:364:60:
error: âitâ was not declared in this scope
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.cxx:364:81:
error: request for member âbeginâ in
â((cmis::RepoContent*)this)->cmis::RepoContent::m_aRepositoriesâ,
which is of non-class type âintâ
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.cxx:365:43:
error: request for member âendâ in
â((cmis::RepoContent*)this)->cmis::RepoContent::m_aRepositoriesâ,
which is of non-class type âintâ
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.cxx:365:48:
error: expected â)â before â;â token
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.cxx:364:51:
warning: unused variable âiteratorâ [-Wunused-variable]
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.cxx:365:52:
error: âitâ was not declared in this scope
/usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.cxx:365:55:
error: expected â;â before â)â token
make[2]: *** [/usr/local/src/libreoffice/workdir/unxlngi6.pro/CxxObject/ucb/source/ucp/cmis/cmis_repo_content.o]
Error 1
make[2]: *** Waiting for unfinished jobs....

-----------------------------------------------------------------------
        Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
            http://wiki.documentfoundation.org/Development

  internal build errors:

ERROR: error 512 occurred while making /usr/local/src/libreoffice/tail_build/prj

 it seems that the error is inside 'tail_build', please re-run build
 inside this module to isolate the error and/or test your fix:

build_error.log should contain the captured output of the failed module(s)

-----------------------------------------------------------------------
To rebuild a specific module:

make tail_build.clean # not recommended, this will re-build almost everything
make tail_build

when the problem is isolated and fixed, re-run 'make'
make[1]: *** [build-packimages] Error 1
make[1]: Leaving directory `/usr/local/src/libreoffice'
make: *** [all] Error 2

_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

build_error.log.gz (109K) Download Attachment
Caolán McNamara Caolán McNamara
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: compile failure

On Wed, 2012-08-01 at 12:23 +0200, John Smith wrote:
> Hi,
>
>
> Im trying to build libreoffice master (using ./configure
> --with-system-saxon=no --with-system-libs, if that matters), and im
> running into a compile error. Unfortunately, I have no idea whats
> wrong, or how to go about fixing this. Ive attached my
> build_error.log, and the last screen output is pasted below. Any and
> all help is appreciated.

> /usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.cxx:48:0:

Possibly the system libcmis is too old to build with libreoffice master
and the configure check didn't know that to warn/error out at configure
time.

C.

_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
John Smith John Smith
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: compile failure

On Wed, Aug 1, 2012 at 12:37 PM, Caolán McNamara <[hidden email]> wrote:

> On Wed, 2012-08-01 at 12:23 +0200, John Smith wrote:
>> Hi,
>>
>>
>> Im trying to build libreoffice master (using ./configure
>> --with-system-saxon=no --with-system-libs, if that matters), and im
>> running into a compile error. Unfortunately, I have no idea whats
>> wrong, or how to go about fixing this. Ive attached my
>> build_error.log, and the last screen output is pasted below. Any and
>> all help is appreciated.
>
>> /usr/local/src/libreoffice/ucb/source/ucp/cmis/cmis_repo_content.cxx:48:0:
>
> Possibly the system libcmis is too old to build with libreoffice master
> and the configure check didn't know that to warn/error out at configure
> time.
>
Thanks.

'rpm -qa | grep libcmis' gives me :

libcmis-0.2.3-2.fc18.i686
libcmis-devel-0.2.3-2.fc18.i686

Do you happen to know if these are indeed too old, and what version I
would need ?
_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Caolán McNamara Caolán McNamara
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: compile failure

On Wed, 2012-08-01 at 12:41 +0200, John Smith wrote:
> 'rpm -qa | grep libcmis' gives me :
>
> libcmis-0.2.3-2.fc18.i686
> libcmis-devel-0.2.3-2.fc18.i686
>
> Do you happen to know if these are indeed too old, and what version I
> would need ?

The "internal" version seems to be 0.2.3 as well, so seems to be a valid
version. Maybe cedric knows ?

C.


_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Loading...