View previous topic :: View next topic |
Author |
Message |
fca Guru
Joined: 22 Feb 2003 Posts: 346 Location: Netherlands
|
Posted: Fri Nov 05, 2004 3:11 pm Post subject: |
|
|
Thanks, forgot to add that part in the openoffice-ximian ebuild.
Updated overlay on the same address.
If this works, I'll also build a generic (march=i686) quickpackage and host it. |
|
Back to top |
|
|
4nykey Apprentice
Joined: 11 Feb 2004 Posts: 176
|
Posted: Fri Nov 05, 2004 3:29 pm Post subject: |
|
|
Hm, I'm also trying to get ooo-ximian going. It breaks on
Code: | /var/tmp/portage/openoffice-ximian-1.3.5-r1/work/OOo_1.1.3_src/ucb/source/ucp/gvfs
...snip...
Making: ../../../unxlngi4.pro/slo/content.obj
...snip...
/var/tmp/portage/openoffice-ximian-1.3.5-r1/work/OOo_1.1.3_src/ucb/source/ucp/gvfs/directory.hxx: At global scope:
/var/tmp/portage/openoffice-ximian-1.3.5-r1/work/OOo_1.1.3_src/ucb/source/ucp/gvfs/directory.hxx:40: error: expected type-name
/var/tmp/portage/openoffice-ximian-1.3.5-r1/work/OOo_1.1.3_src/ucb/source/ucp/gvfs/directory.hxx:44: error: using-declaration for non-member at class scope
/var/tmp/portage/openoffice-ximian-1.3.5-r1/work/OOo_1.1.3_src/ucb/source/ucp/gvfs/directory.hxx:44: error: expected `;' before '*' token |
And that's part of ximian pathes (patches/OOO_1_1/vfs-directory.diff) |
|
Back to top |
|
|
PrakashP Veteran
Joined: 27 Oct 2003 Posts: 1249 Location: C.C.A.A., Germania
|
Posted: Fri Nov 05, 2004 3:54 pm Post subject: |
|
|
@geki
Which jdk are you using? Sun or blackdown? |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Fri Nov 05, 2004 4:12 pm Post subject: |
|
|
blackdown-jdk-1.4.2 |
|
Back to top |
|
|
fca Guru
Joined: 22 Feb 2003 Posts: 346 Location: Netherlands
|
Posted: Fri Nov 05, 2004 4:17 pm Post subject: |
|
|
4nykey wrote: | Hm, I'm also trying to get ooo-ximian going. It breaks on
Code: | /var/tmp/portage/openoffice-ximian-1.3.5-r1/work/OOo_1.1.3_src/ucb/source/ucp/gvfs
...snip...
Making: ../../../unxlngi4.pro/slo/content.obj
...snip...
/var/tmp/portage/openoffice-ximian-1.3.5-r1/work/OOo_1.1.3_src/ucb/source/ucp/gvfs/directory.hxx: At global scope:
/var/tmp/portage/openoffice-ximian-1.3.5-r1/work/OOo_1.1.3_src/ucb/source/ucp/gvfs/directory.hxx:40: error: expected type-name
/var/tmp/portage/openoffice-ximian-1.3.5-r1/work/OOo_1.1.3_src/ucb/source/ucp/gvfs/directory.hxx:44: error: using-declaration for non-member at class scope
/var/tmp/portage/openoffice-ximian-1.3.5-r1/work/OOo_1.1.3_src/ucb/source/ucp/gvfs/directory.hxx:44: error: expected `;' before '*' token |
And that's part of ximian pathes (patches/OOO_1_1/vfs-directory.diff) |
Hmm... I am using -gnome +kde, so I'm not seeing any of this. It seems to be this code:
Code: |
struct gvfs::DataSupplier_Impl;<-- error here
class DataSupplier : public ucb::ResultSetDataSupplier
{
private:
gvfs::DataSupplier_Impl *m_pImpl;
sal_Bool DataSupplier::getData();
public:
|
|
|
Back to top |
|
|
4nykey Apprentice
Joined: 11 Feb 2004 Posts: 176
|
Posted: Fri Nov 05, 2004 4:38 pm Post subject: |
|
|
Yeah, figured as much.
I actually don't need gnome-vfs support that bad. I wonder if removing gvfs from ucb/prj/build.lst would help? |
|
Back to top |
|
|
fca Guru
Joined: 22 Feb 2003 Posts: 346 Location: Netherlands
|
Posted: Fri Nov 05, 2004 6:19 pm Post subject: |
|
|
I'm now having problems with other ximian specific patches. I'll guess it wasn't so simple after all. I have other things to do, maybe I can get back to it next week. |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Fri Nov 05, 2004 6:38 pm Post subject: |
|
|
fca wrote: | 4nykey wrote: | Hm, I'm also trying to get ooo-ximian going. It breaks on
Code: | /var/tmp/portage/openoffice-ximian-1.3.5-r1/work/OOo_1.1.3_src/ucb/source/ucp/gvfs
...snip...
Making: ../../../unxlngi4.pro/slo/content.obj
...snip...
/var/tmp/portage/openoffice-ximian-1.3.5-r1/work/OOo_1.1.3_src/ucb/source/ucp/gvfs/directory.hxx: At global scope:
/var/tmp/portage/openoffice-ximian-1.3.5-r1/work/OOo_1.1.3_src/ucb/source/ucp/gvfs/directory.hxx:40: error: expected type-name
/var/tmp/portage/openoffice-ximian-1.3.5-r1/work/OOo_1.1.3_src/ucb/source/ucp/gvfs/directory.hxx:44: error: using-declaration for non-member at class scope
/var/tmp/portage/openoffice-ximian-1.3.5-r1/work/OOo_1.1.3_src/ucb/source/ucp/gvfs/directory.hxx:44: error: expected `;' before '*' token |
And that's part of ximian pathes (patches/OOO_1_1/vfs-directory.diff) |
Hmm... I am using -gnome +kde, so I'm not seeing any of this. It seems to be this code:
Code: |
struct gvfs::DataSupplier_Impl;<-- error here
class DataSupplier : public ucb::ResultSetDataSupplier
{
private:
gvfs::DataSupplier_Impl *m_pImpl;
sal_Bool DataSupplier::getData();
public:
|
|
Code: |
typename struct gvfs::DataSupplier_Impl; // try this! or: struct typename ...
class DataSupplier : public ucb::ResultSetDataSupplier
{
private:
gvfs::DataSupplier_Impl *m_pImpl;
sal_Bool DataSupplier::getData();
public:
|
if it asks for type-name add typename ... in front ^^ |
|
Back to top |
|
|
PrakashP Veteran
Joined: 27 Oct 2003 Posts: 1249 Location: C.C.A.A., Germania
|
Posted: Fri Nov 05, 2004 7:09 pm Post subject: |
|
|
@geki
I did the emerge --newuse world but oo still segfaults at compile time... |
|
Back to top |
|
|
4nykey Apprentice
Joined: 11 Feb 2004 Posts: 176
|
Posted: Sat Nov 06, 2004 2:05 am Post subject: |
|
|
geki wrote: | if it asks for type-name add typename ... in front ^^ |
Oh boy, so it needs typename, literally... Thanks, but doesn't look like.
Here's full header: http://4nykey.nm.ru/tmp/directory.hxx (it's at line 40)
It still fails on linking
Code: | ../../../unxlngi4.pro/slo/content.o(.text+0xb5d): In function `getDateFromUnix(long)': : undefined reference to `Date::Date()'
../../../unxlngi4.pro/slo/content.o(.text+0xb68): In function `getDateFromUnix(long)': : undefined reference to `Time::Time()' ../../../unxlngi4.pro/slo/content.o(.text+0xb84): In function `getDateFromUnix(long)': : undefined reference to `DateTime::MakeDateTimeFromSec(Date const&, unsigned long)'
../../../unxlngi4.pro/slo/provider.o(.text+0xf61): In function `gvfs::ContentProvider::queryContent(com::sun::star::uno::Reference<com::sun::star::ucb::XContentIdentifier> const&)':
: undefined reference to `String::String(rtl::OUString const&)'
../../../unxlngi4.pro/slo/provider.o(.text+0xf6f): In function `gvfs::ContentProvider::queryContent(com::sun::star::uno::Reference<com::sun::star::ucb::XContentIdentifier> const&)':
: undefined reference to `String::String()'
../../../unxlngi4.pro/slo/provider.o(.text+0x100b): In function `gvfs::ContentProvider::queryContent(com::sun::star::uno::Reference<com::sun::star::ucb::XContentIdentifier> const&)':
: undefined reference to `INetURLObject::setAbsURIRef(String const&, bool, INetURLObject::EncodeMechanism, unsigned short, bool, INetURLObject::FSysStyle)'
../../../unxlngi4.pro/slo/provider.o(.text+0x1013): In function `gvfs::ContentProvider::queryContent(com::sun::star::uno::Reference<com::sun::star::ucb::XContentIdentifier> const&)':
: undefined reference to `String::~String()'
../../../unxlngi4.pro/slo/provider.o(.text+0x10b3): In function `gvfs::ContentProvider::queryContent(com::sun::star::uno::Reference<com::sun::star::ucb::XContentIdentifier> const&)':
: undefined reference to `String::~String()'
../../../unxlngi4.pro/slo/provider.o(.text+0x10cd): In function `gvfs::ContentProvider::queryContent(com::sun::star::uno::Reference<com::sun::star::ucb::XContentIdentifier> const&)':
: undefined reference to `String::~String()'
../../../unxlngi4.pro/slo/provider.o(.text+0x10f4): In function `gvfs::ContentProvider::queryContent(com::sun::star::uno::Reference<com::sun::star::ucb::XContentIdentifier> const&)':
: undefined reference to `String::~String()'
../../../unxlngi4.pro/slo/provider.o(.text+0x1106): In function `gvfs::ContentProvider::queryContent(com::sun::star::uno::Reference<com::sun::star::ucb::XContentIdentifier> const&)':
: undefined reference to `String::~String()' |
doesn't seem related to directory.hxx though |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Sat Nov 06, 2004 2:30 am Post subject: |
|
|
well, there is one that got ximian working... and another one asked if that one may post his patch... I try to get connectivity working atm... so I do not dig into that, sorry... |
|
Back to top |
|
|
4nykey Apprentice
Joined: 11 Feb 2004 Posts: 176
|
Posted: Sat Nov 06, 2004 10:50 am Post subject: |
|
|
Np, I'll skip gvfs for now. Right now it builds svx, shall see how far it can go. |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Sat Nov 06, 2004 2:57 pm Post subject: |
|
|
did a +java build without that one java function (if-block dropped + cxx/hxx cleaned)
OOo starts up fine. Now I will build OOo with -java. I hope it breaks then.... hehe |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Sat Nov 06, 2004 5:38 pm Post subject: |
|
|
ok, found a new way for that sfx2 | -java problem! let the linking ignore undefined references and it builds! that java function is just a stub so should be fine... new overlay soon. |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Sat Nov 06, 2004 5:54 pm Post subject: |
|
|
PrakashKC wrote: | @geki
I did the emerge --newuse world but oo still segfaults at compile time... |
you may use a non-ck kernel... they seem bad lastly |
|
Back to top |
|
|
PrakashP Veteran
Joined: 27 Oct 2003 Posts: 1249 Location: C.C.A.A., Germania
|
Posted: Sat Nov 06, 2004 6:00 pm Post subject: |
|
|
Well, could you explain me why a kernel would do something harmful here? Every other package compiles nicely...(firefox, thunderbird, etc...) |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Sat Nov 06, 2004 6:24 pm Post subject: |
|
|
try 2.6.7-love7 ... to see what kernels do... at least here all merges segfaulted or errored out horrible hehe...
you are the only one with a segfault like that yet. i cannot reproduce it and others neither.... |
|
Back to top |
|
|
PrakashP Veteran
Joined: 27 Oct 2003 Posts: 1249 Location: C.C.A.A., Germania
|
Posted: Sat Nov 06, 2004 6:33 pm Post subject: |
|
|
Well, which kernel are you using, then? |
|
Back to top |
|
|
IntergalacticWalrus Guru
Joined: 07 Jan 2003 Posts: 513 Location: Montreal QC (Canada)
|
Posted: Sat Nov 06, 2004 7:44 pm Post subject: |
|
|
Finally! No more need to screw up my system with two versions of GCC installed! |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Sun Nov 07, 2004 12:30 am Post subject: |
|
|
PrakashKC wrote: | Well, which kernel are you using, then? |
2.6.10-rc1-bk6-ano, own kreation with reiser4 and some other goodies like 1g_lowmem, config-tty-nrs and nvidia-compat |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Sun Nov 07, 2004 12:47 am Post subject: |
|
|
ok guys, i must have the ultimate machine.
i build without java support and it starts up fine. so the source of your segfaults may be in that wrapper script doing bad?
did you try to start just 'soffice'? i just remember someone starting with oowriter... |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Sun Nov 07, 2004 12:19 pm Post subject: |
|
|
ok, i installed OOo the gentoo-way and oowriter sets up OOo and starts without segfault. dunno what to do about segfaults. i just do not get one. |
|
Back to top |
|
|
PrakashP Veteran
Joined: 27 Oct 2003 Posts: 1249 Location: C.C.A.A., Germania
|
Posted: Sun Nov 07, 2004 12:24 pm Post subject: |
|
|
Have you uploaded your current overlay? |
|
Back to top |
|
|
Genkaku n00b
Joined: 26 Aug 2004 Posts: 72 Location: Poland
|
Posted: Sun Nov 07, 2004 12:40 pm Post subject: |
|
|
I'm getting this:
USE="-java -gnome kde"
Code: |
/var/tmp/portage/openoffice-ximian-1.3.5-r2/work/oo_1.1.2_src/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx:657: error: `dn' undeclared (first use this function)
/var/tmp/portage/openoffice-ximian-1.3.5-r2/work/oo_1.1.2_src/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx:657: error: `getter_Copies' undeclared (first use this function)
/var/tmp/portage/openoffice-ximian-1.3.5-r2/work/oo_1.1.2_src/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx:661: error: `PRUint32' undeclared (first use this function)
/var/tmp/portage/openoffice-ximian-1.3.5-r2/work/oo_1.1.2_src/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx:661: error: expected `;' before "options"
/var/tmp/portage/openoffice-ximian-1.3.5-r2/work/oo_1.1.2_src/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx:662: error: `options' undeclared (first use this function)
/var/tmp/portage/openoffice-ximian-1.3.5-r2/work/oo_1.1.2_src/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx:668: error: `nsILDAPConnection' undeclared (first use this function)
/var/tmp/portage/openoffice-ximian-1.3.5-r2/work/oo_1.1.2_src/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx:668: error: `ldapConnection' undeclared (first use this function)
/var/tmp/portage/openoffice-ximian-1.3.5-r2/work/oo_1.1.2_src/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx:674: error: `nsILDAPMessageListener' undeclared (first use this function)
/var/tmp/portage/openoffice-ximian-1.3.5-r2/work/oo_1.1.2_src/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx:674: error: `messageListener' undeclared (first use this function)
/var/tmp/portage/openoffice-ximian-1.3.5-r2/work/oo_1.1.2_src/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx:684: error: `nsnull' undeclared (first use this function)
/var/tmp/portage/openoffice-ximian-1.3.5-r2/work/oo_1.1.2_src/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx:529: error: `sal_Bool connectivity::mozab::MLDAPMessageListener::connected()' is private
/var/tmp/portage/openoffice-ximian-1.3.5-r2/work/oo_1.1.2_src/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx:689: error: within this context
/var/tmp/portage/openoffice-ximian-1.3.5-r2/work/oo_1.1.2_src/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx: At global scope:
/var/tmp/portage/openoffice-ximian-1.3.5-r2/work/oo_1.1.2_src/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx:102: warning: 'NS_DEFINE_CID' defined but not used
/var/tmp/portage/openoffice-ximian-1.3.5-r2/work/oo_1.1.2_src/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx:202: warning: 'kPropertyName' defined but not used
dmake: Error code 1, while making '../../../../unxlngi4.pro/slo/MDatabaseMetaDataHelper.obj'
---* TG_SLO.MK *---
ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-ximian-1.3.5-r2/work/oo_1.1.2_src/connectivity/source/drivers/mozab/mozillasrc
|
Geki, you should know: How can i prevent portage from building modules connectivity, disable of building mozilla headers, mozillasrc, or anything else that will help me with compilation ? |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Sun Nov 07, 2004 1:22 pm Post subject: |
|
|
my patchset excluded mozab and mozillasrc. dunno whats up but i am going to build ximian now with -gnome and -kde ... openbox forever |
|
Back to top |
|
|
|