henning,
'make dbschema' works, but takes way too much time. in k, the command completes in no time, but sr version takes forever. is sr version doing some extra stuff?
-- juha
henning,
perhaps "slowness" of 'make dbschema' has something to do with this:
Build database schemas /usr/bin/make -C lib/srdb1/schema make[2]: Entering directory `/usr/src/trunk-src/openxg-sip-proxy/lib/srdb1/schema' for FILE in acc alias_db auth_db avpops carrierroute cpl dialog dialplan dispatcher domainpolicy domain extensions group htable imc lcr msilo pdt permissions presence purple registrar rls siptrace speeddial standard uri_db userblacklist usrloc; do \ XML_CATALOG_FILES=../../..//docbook/catalog.xml /usr/bin/xsltproc --novalid --xinclude \ --stringparam dir "../../..//tools/kamctl//mysql" \ --stringparam prefix "$FILE-" \ --stringparam db "mysql" \ ../../..//doc/stylesheets/dbschema_k/xsl/mysql.xsl kamailio-"$FILE".xml ; \ done error : unreachable network acc.xml:8: warning: failed to load external entity "http://kamailio.org/pub/kamailio/dbschema/dtd/1.1/dbschema.dtd" ]>
that is, when i try to build my debian package without network connectivity, i start to gets lots of errors like in above. and when i have slow network connectivity, the command works slowly because if that.
anyway, network connectivity should not be needed when executing 'make dbschema'.
-- juha
On Fri, October 2, 2009 5:08 pm, Juha Heinanen wrote:
henning,
perhaps "slowness" of 'make dbschema' has something to do with this:
Build database schemas kamailio-"$FILE".xml [..] ; \ done error : unreachable network acc.xml:8: warning: failed to load external entity "http://kamailio.org/pub/kamailio/dbschema/dtd/1.1/dbschema.dtd" ]>
that is, when i try to build my debian package without network connectivity, i start to gets lots of errors like in above. and when i have slow network connectivity, the command works slowly because if that.
anyway, network connectivity should not be needed when executing 'make dbschema'.
Hi Juha,
ok, this has probably something to do with the catalog.xml, it should default to the local DTD. I'll take a look.
Henning
On Freitag, 2. Oktober 2009, Henning Westerholt wrote:
perhaps "slowness" of 'make dbschema' has something to do with this:
Build database schemas kamailio-"$FILE".xml [..] ; \ done error : unreachable network acc.xml:8: warning: failed to load external entity "http://kamailio.org/pub/kamailio/dbschema/dtd/1.1/dbschema.dtd" ]>
that is, when i try to build my debian package without network connectivity, i start to gets lots of errors like in above. and when i have slow network connectivity, the command works slowly because if that.
anyway, network connectivity should not be needed when executing 'make dbschema'.
Hi Juha,
ok, this has probably something to do with the catalog.xml, it should default to the local DTD. I'll take a look.
Juha,
i've think i fixed the problem, at least on my system its not slow anymore.
Regards,
Henning
Henning Westerholt writes:
i've think i fixed the problem, at least on my system its not slow anymore.
henning,
thanks, it doesn't go to the net anymore.
by the way, i don't know what is the proper procedure to mix modules from k and s. i created a k style schema for those s modules that i use and included them as extra schemas in k schema system.
-- juha