Issue 30801 - use system libraries where possible
Summary: use system libraries where possible
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: caolanm
QA Contact: issues@porting
URL:
Keywords:
Depends on: 23779 30815
Blocks:
  Show dependency tree
 
Reported: 2004-06-28 08:08 UTC by caolanm
Modified: 2004-10-14 12:42 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description caolanm 2004-06-28 08:08:48 UTC
i.e. --with-system-jpeg --with-system-expat --with-system-freetype
--with-system-libxml --with-system-python --with-system-db --with-system-sablot
--with-system-odbc
Comment 1 caolanm 2004-06-28 08:33:41 UTC
accepted
Comment 2 caolanm 2004-06-28 09:58:21 UTC
--without-stlport4 to use system STL and not builtin stlport (GCC only for now)
Comment 3 rene 2004-06-29 02:12:19 UTC
Hi,

a) I wonder why some of my stuff in Issue 23779 were integrated without telling
anyone in this issue? And the db stuff looks that it does not either force
db4.x, x>=1 or conditionalize the Java files. This doesn't look possible.
I add Issue 23779 to Depends:.
Similar with some other system-* stuff. (python etc.).

b) You sure jpeg, sablot, icu etc are possible? They are (heavily) patched in
OOo? That's the reason I did not do them yet. Same with expat with his
two-library-build in OOo (besides the fact that OOo's expat is API-incompatible
with the newer ones)

Regards,

René



Comment 4 sander_traveling 2004-06-29 02:20:37 UTC
\Isn't doing all this under one issue rather large? ok, I can see "allow to use
compiler stlport" as one isue but all of teh otrher libraries aswell?

Comment 5 pavel 2004-07-01 19:14:44 UTC
I can't build 20040704 on GNU/Linux x86:

cp pythonloader.py ../../unxlngi4.pro/lib/pythonloader.py
rm -f ../../unxlngi4.pro/lib/pyuno_services.rdb
../../unxlngi4.pro/lib/pyuno_services.tmp ../../unxlngi4.pro/lib/pyuno_services.rdb
cd ../../unxlngi4.pro/lib && regcomp -register -r pyuno_services.tmp -c
typeconverter.uno -c invocation.uno -c reflection.uno -c introspection.uno -c
invocadapt.uno -c proxyfac.uno -c pythonloader.uno
register component 'typeconverter.uno' in registry 'pyuno_services.tmp' succesful!
register component 'invocation.uno' in registry 'pyuno_services.tmp' succesful!
register component 'reflection.uno' in registry 'pyuno_services.tmp' succesful!
register component 'introspection.uno' in registry 'pyuno_services.tmp' succesful!
register component 'invocadapt.uno' in registry 'pyuno_services.tmp' succesful!
register component 'proxyfac.uno' in registry 'pyuno_services.tmp' succesful!
register component 'pythonloader.uno' in registry 'pyuno_services.tmp' failed!
error (CannotRegisterImplementationException): loading component library failed:
pythonloader.uno.so
dmake:  Error code 1, while making '../../unxlngi4.pro/lib/pyuno_services.rdb'
'---* TG_SLO.MK *---'

ERROR: Error 65280 occurred while making
/home/oo/BuildDir/ooo_cws_src680_ooo20040704_src/pyuno/source/loader
dmake:  Error code 1, while making 'build_all'
'---* TG_SLO.MK *---'

This fixes it:

--- makefile.mk.~1.6.12.1.~	2004-06-28 17:24:01.000000000 +0200
+++ makefile.mk	2004-07-01 20:13:06.222343816 +0200
@@ -91,7 +91,7 @@
 # python executable brings in the needed python core symbols,
 # so this library cannot be checked
 SHL1NOCHECK=yes
-.IF "$(OS)"=="SOLARIS" || "$(OS)"=="MACOSX"
+.IF "$(OS)"=="SOLARIS" || "$(OS)"=="MACOSX" || "$(OS)"=="LINUX"
 PYTHONLIB=-lpython
 .ENDIF
 CFLAGS+=-I$(SOLARINCDIR)$/python

Caolan?
Comment 6 rene 2004-07-05 17:23:43 UTC
Hi,

so, now I am *really* pissed off.

I did many of the stuff in ooo-build. You just took *my* patches
and commit them referencing *your* issue. I am just working
on getting 1.1.2 into Debian proper so not much time for 680 but I planned
to do that once I get 1.1.2 into Debian unstable.

And let's talk about details: we Debian folks need to build with db >= 4.1 since
there only the Java bindings are packaged and we want to use *everything
possible* external. This includes this one, too - whereas using db3 does *not*
help, it works for builds with everything internal and without-java-builds using
db3 external but not for Java-builds with db external. This is why I wrote in
"my" Issue 23779 that this needs to be reworked.

Could you *PLEASE* not commit stuff I did and know whether there is some bugs in
it and which I already *did* file an issue foor blindly without communicating
with me on whatever media (mail, IRC, ..)? I did have to contact you...

I got committ access to the tree as discussed in dev@tools. For what? Committing
*my* system-* patches.

Really, really upset,

René
Comment 7 caolanm 2004-07-06 08:25:14 UTC
I'm sorry rene, I didn't mean to piss you off or attempt to steal your thunder,
I just wanted to get what was possible systemside in place early and improve it
over time if necessary. I guess the db one is the one that bothers you most, and
indeed its only a javaless build that can take advantage of an external db3 so
its a temporary stopgap measure.
Comment 8 caolanm 2004-10-14 12:42:03 UTC
closing