Re: [dev] openoffice build problem

2011-02-02 Thread Mathias Bauer

On 01.02.2011 15:10, Rohit Kulkarni wrote:

I am building OpenOffice but stuck with some linking error related to
redland.
I have OpenOffice source code which contains redland module with redland
1.0.8 , rasqal 0.9.16 and raptor 1.4.18.
Kindly provide me with links or patches that can solve this issue



Please tell us the platform you are building on and also add the exact 
error message to your mail.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] mozilla problem

2011-02-02 Thread Zongbo Zhang
Hi Mathias,

Thanks for your quick apply, I have read through the build guide, and got those 
3 zipped mozilla files and put them together into a folder called 'moz' and the 
sub folder called 'zipped', is this the rigth way to name the folders? then I 
put these folders into the dev300_m97 folder. this is all what I did.

Based on this, as you have advised, I use the --disable-mozilla-build option, 
but the same thing happen again, saying that no tooling found.

Thanks again and look forward to seeing your instruction.

BR
zongbo zhang

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] Re: openoffice build

2011-02-02 Thread Michael Stahl
On 24/01/2011 17:15, Rohit Kulkarni wrote:
 I am getting the error while building OpenOffice.
 I have done ./configure successfully. Then ./bootstrap also.
 And then when
 cd instsetoo_native  build --all
 is executed. After 1 hour, it gave me error-
 
 /usr/bin/ld: roqet.o : undefined reference to symbol 'raptor_serialize_end'
 /usr/bin/ld: note: 'raptor_serialize_end' is defined is DSO
 /usr/lib/libraptor.so.1 so try adding it to linker command line
 /usr/lib/libraptor.so.1: could not read symbols : Invalid operation
 collect2: ld returned 1 exit status

apparently the GNU ld behavior with regard to missing symbols has changed
in recent linux distros.

this particular rasqal problem was fixed by the CWS cmcfixes72 (rev
5a3095bbb41b), by disabling the build of the unneeded utilities via the
following addition to the redland/rasqal/rasqal-0.9.16.patch.ooo_build:

+--- misc/rasqal-0.9.16/Makefile.am 2010-02-12 08:43:21.0 +
 misc/build/rasqal-0.9.16/Makefile.am   2010-02-12 08:43:56.0
+
+@@ -22,7 +22,7 @@
+
+ noinst_SCRIPTS = rasqal-src-config
+
+-SUBDIRS=src utils tests docs data win32
++SUBDIRS=src tests docs data win32
+
+ pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = rasqal.pc
+--- misc/rasqal-0.9.16/Makefile.in 2010-02-12 08:43:19.0 +
 misc/build/rasqal-0.9.16/Makefile.in   2010-02-12 08:44:03.0
+
+@@ -242,7 +242,7 @@
+ with_raptor = @with_raptor@
+ with_redland = @with_redland@
+ noinst_SCRIPTS = rasqal-src-config
+-SUBDIRS = src utils tests docs data win32
++SUBDIRS = src tests docs data win32
+ pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = rasqal.pc
+ EXTRA_DIST = ChangeLog ChangeLog.1 ChangeLog.2 ChangeLog.3 ChangeLog.4 \


you should try again with a milestone that integrates this change
(DEV300m75 or newer).

-- 
If your language's mechanisms for abstracting away accidental
 complexity are so laborious that you cannot remove the useless, the
 hard to read, and the tedious from your programs without introducing
 code that is even more useless, harder to read, and more tedious to
 your framework, then change languages. -- Reginald Braithwaite


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] openoffice build problem

2011-02-02 Thread Rohit Kulkarni
I am using Fedora 13.
I am getting the error while building OpenOffice.
I have done ./configure successfully. Then ./bootstrap also.
And then when
cd instsetoo_native  build --all
is executed. After 1 hour, it gave me error-

gcc -g -O2 -Wl,-rpath -Wl,\$ORIGIN:\$ORIGIN/../ure-link/lib
-Wl,-noinhibit-exec -Wl,-z -Wl,noexecstack -o .libs/roqet roqet.o
-L/home/rohitiskul/ooo/OOO320_m19/solver/320/unxlngi6.pro/lib
../src/.libs/librasqal.so
-Wl,--rpath -Wl,/usr/local/lib
/usr/bin/ld: roqet.o : undefined reference to symbol 'raptor_serialize_end'
/usr/bin/ld: note: 'raptor_serialize_end' is defined is DSO
/usr/lib/libraptor.so.1 so try adding it to linker command line
/usr/lib/libraptor.so.1: could not read symbols : Invalid operation
collect2: ld returned 1 exit status

I am attaching screenshot of the error.

Regards,
Rohit

On Wed, Feb 2, 2011 at 1:54 PM, Mathias Bauer nospamfor...@gmx.de wrote:

 On 01.02.2011 15:10, Rohit Kulkarni wrote:

 I am building OpenOffice but stuck with some linking error related to
 redland.
 I have OpenOffice source code which contains redland module with redland
 1.0.8 , rasqal 0.9.16 and raptor 1.4.18.
 Kindly provide me with links or patches that can solve this issue


 Please tell us the platform you are building on and also add the exact
 error message to your mail.

 Regards,
 Mathias

 --
 Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
 OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
 Please don't reply to nospamfor...@gmx.de.
 I use it for the OOo lists and only rarely read other mails sent to it.

 -
 To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
 For additional commands, e-mail: dev-h...@openoffice.org


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org

[dev] Re: mozilla problem

2011-02-02 Thread Michael Stahl
On 02/02/2011 09:30, Zongbo Zhang wrote:
 Hi Mathias,
 
 Thanks for your quick apply, I have read through the build guide, and got 
 those 3 zipped mozilla files and put them together into a folder called 'moz' 
 and the sub folder called 'zipped', is this the rigth way to name the 
 folders? then I put these folders into the dev300_m97 folder. this is all 
 what I did.
 
 Based on this, as you have advised, I use the --disable-mozilla-build option, 
 but the same thing happen again, saying that no tooling found.

this is not surprising, because there is no --disable-mozilla-build option.
there is only a --disable-build-mozilla option and a --with-mozilla-build
option (the latter requires a path argument).
now this is obviously rather confusing, but please try again with
--disable-build-mozilla.

-- 
Greenspun's Tenth Rule of Programming:
any sufficiently complicated C or Fortran program contains an ad hoc
informally-specified bug-ridden slow implementation of half of Common Lisp.


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] not yet solved

2011-02-02 Thread Zongbo Zhang
Hi,

Sorry for having to bother you again with the same problem, I tried:
./configure --disable-build-mozilla --with-jdk-home=/cygdrive/c/program 
files/Java/jdk1.6.0_23

and finally still gor the error:
checking whether to enable build of Mozilla/Mozilla NSS using components... yes
checking whether to build Mozilla addressbook connectivity... yes
checking whethe rto build XML Security support... yes
checking whether to build LDAP configuration backend... yes
checking which LDAP SDK to use... Netscape/Mozilla
checking which mozilla to use... internal
checking for toolkit mozilla should use... checking whether to build 
Mozilla/SeaMonkey... no
checking whether to build provided NSS module... yes
checking for Mozilla build tooling... configure: error: Mozilla build tooling 
not found.
Use the --with-mozilla-build option after installling the tools obtained from 
http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32

Seems that the disable command does not work correctly or what?

BR
zongbo zhang

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Re: openoffice build

2011-02-02 Thread Rohit Kulkarni
Thank you for quick reply.
The patch you have given solved the roqet.o error but now the following
error occured related to same redland module.
Error is--

gcc -DLIBRDF_INTERNAL=1 -g -O2 -DLIBRDF_INTERNAL=1 -g -O2 -o .libs/rdfproc
rdfproc.o -Wl,-rpath -Wl,\$ORIGIN:\$ORIGIN/../ure-link/lib
-Wl,-noinhibit-exec -Wl,-z -Wl,noexecstack
-L/home/rohan/OOO/OOO320_m19/solver/320/unxlngi6.pro/lib../librdf/.libs/librdf.so
 -Wl,--rpath -Wl,/usr/local/lib

/usr/bin/ld: warning: librasqal.so.1, needed by ../librdf/.libs/librdf.so,
not found (try using -rpath or -rpath-link)
/usr/bin/ld: rdfproc.o: undefined reference to symbol 'raptor_free_iostream'
/usr/bin/ld: note: 'raptor_free_iostream' is defined in DSO
/usr/lib/libraptor.so.1 so try adding it to the linker command line
/usr/lib/libraptor.so.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [rdfproc] Error 1
make[1]: Leaving directory `/home/rohan/OOO/OOO320_m19/redland/
unxlngi6.pro/misc/build/redland-1.0.8/utils'
make: *** [all-recursive] Error 1
dmake:  Error code 2, while making '../
unxlngi6.pro/misc/build/so_built_so_redland'

ERROR: Error 65280 occurred while making
/home/rohan/OOO/OOO320_m19/redland/redland
rmdir /tmp/9w4_7A0l8z


Regards,
Rohit
On Wed, Feb 2, 2011 at 3:58 PM, Michael Stahl michael.x.st...@oracle.comwrote:

 On 24/01/2011 17:15, Rohit Kulkarni wrote:
  I am getting the error while building OpenOffice.
  I have done ./configure successfully. Then ./bootstrap also.
  And then when
  cd instsetoo_native  build --all
  is executed. After 1 hour, it gave me error-
 
  /usr/bin/ld: roqet.o : undefined reference to symbol
 'raptor_serialize_end'
  /usr/bin/ld: note: 'raptor_serialize_end' is defined is DSO
  /usr/lib/libraptor.so.1 so try adding it to linker command line
  /usr/lib/libraptor.so.1: could not read symbols : Invalid operation
  collect2: ld returned 1 exit status

 apparently the GNU ld behavior with regard to missing symbols has changed
 in recent linux distros.

 this particular rasqal problem was fixed by the CWS cmcfixes72 (rev
 5a3095bbb41b), by disabling the build of the unneeded utilities via the
 following addition to the redland/rasqal/rasqal-0.9.16.patch.ooo_build:

 +--- misc/rasqal-0.9.16/Makefile.am 2010-02-12 08:43:21.0 +
  misc/build/rasqal-0.9.16/Makefile.am   2010-02-12 08:43:56.0
 +
 +@@ -22,7 +22,7 @@
 +
 + noinst_SCRIPTS = rasqal-src-config
 +
 +-SUBDIRS=src utils tests docs data win32
 ++SUBDIRS=src tests docs data win32
 +
 + pkgconfigdir = $(libdir)/pkgconfig
 + pkgconfig_DATA = rasqal.pc
 +--- misc/rasqal-0.9.16/Makefile.in 2010-02-12 08:43:19.0 +
  misc/build/rasqal-0.9.16/Makefile.in   2010-02-12 08:44:03.0
 +
 +@@ -242,7 +242,7 @@
 + with_raptor = @with_raptor@
 + with_redland = @with_redland@
 + noinst_SCRIPTS = rasqal-src-config
 +-SUBDIRS = src utils tests docs data win32
 ++SUBDIRS = src tests docs data win32
 + pkgconfigdir = $(libdir)/pkgconfig
 + pkgconfig_DATA = rasqal.pc
 + EXTRA_DIST = ChangeLog ChangeLog.1 ChangeLog.2 ChangeLog.3 ChangeLog.4 \


 you should try again with a milestone that integrates this change
 (DEV300m75 or newer).

 --
 If your language's mechanisms for abstracting away accidental
  complexity are so laborious that you cannot remove the useless, the
  hard to read, and the tedious from your programs without introducing
  code that is even more useless, harder to read, and more tedious to
  your framework, then change languages. -- Reginald Braithwaite


 -
 To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
 For additional commands, e-mail: dev-h...@openoffice.org