Re: [documancer] documancer without wxmozilla

Arnd Baecker <arnd.baecker-S0/[email protected]> Fri, 17 Dec 2004 21:20:20 +0100 (CET)
Newsgroups gmane.text.documancer.user
Message-ID <[email protected]>
Hi Vaclav,

thanks for your reply - that got me going a bit further:

On Fri, 17 Dec 2004, Vaclav Slavik wrote:

> Hi,
>
> > Sorry for the late reply, I was swamped with other stuff.
> >
> > I just tried it out and get the following:
> >
> > ./autogen.sh
> > aclocal: configure.in: 11: macro `AM_OPTIONS_WXCONFIG' not found in
> > library
> > aclocal: configure.in: 37: macro `AM_PATH_WXCONFIG' not found in
> > library aclocal: configure.in: 197: macro `AM_PATH_GTK' not found
> > in library aclocal: configure.in: 199: macro `AM_PATH_GTK_2_0' not
> > found in library
>
> You have to have all the packages Documancer depends on installed on
> the system, wxGTK and GTK+ included.

Well, first I thought I had everything installed correctly,
but it turns out that for wx 2.5
the file wxwin.m4  is in devel/wx2.5-common (and not as it used
to be in the corresponding devel/wx2.5-headers

So with the following packages from sarge

ii  libwxgtk2.5-dev
ii  libwxgtk2.5.3
ii  libwxgtk2.5.3-python
ii  wxpython2.5.3

apt-get install swish-e
apt-get install libwxgtk2.5-dev wx2.5-headers
apt-get install wx2.5-common
apt-get install libgtk2.0-dev
apt-get install libgtk-dev
apt-get install mozilla-dev

(and _maybe_ also:
  apt-get install python-gtk2-dev
  apt-get install libnspr-dev)


> > ./configure --prefix=/usr/opt/
> >
> > [...]
> > configure: running /bin/sh admin/configure --prefix=/usr/opt/
> > '--prefix=/usr/opt/' --cache-file=/dev/null --srcdir=.
> > admin/configure: admin/configure: No such file or directory
>
> You have to generate it using autogen.sh.

I actually did ./autogen.sh, but it stopped before
entering the wxmozilla part (so it this was a follow-up
error from the AM_... stuff above).


> > configure: error: /bin/sh admin/configure failed for
> > bundled/wxmozilla
> >
> > So this looks more serious: actually there is no configure in
> >   bundled/wxmozilla/
> > (and no autogen.sh there either).
>
> The autogen.sh script is in root directory and regenerates all
> makefiles, wxMozilla's ones included.

You are (of course) absolutely right - I should have had
a look at autogen.sh ;-)

> > I hope that I could use documancer with this package
>
> You can, but you must make wxMozilla work there first yourself (or use
> the low-quality wxHTML engine).

This sounds crucial: are you saying with this that
wxMozilla has not (yet) been "ported" to wx-2.5 ??
(In bundled/wxmozilla/wxPython/contrib
one finds the directories  mozilla  and mozilla25,
but the contents looks different ...)
I fear this point goes beyond my knowledge ...
(OTOH: maybe you would like to guide me through that
procedure? - but only if your really want)


> > Are there any configure switches to convince
> > the installation to use wx-2.5.3-gtk2-unicode
> > instead of the wx (which is 2.4 and also installed)?
>
> See the output of wxMozilla's configure --help, it lists several
> switches that affect wx-config searching.

It turned out that on my new machine I have not yet installed
and wx 2.4 dev related packages. So it automatically picked
the 2.5.3. stuff (presumably this would not work if 2.4 dev
things were installed).

To summarize: overall things went fine in the
end, but when doing `make install` I get the error below,
which might have to do with the wxmozilla/python part ...

Best and many thanks,

Arnd



----------------------------------------------------------------------
make[2]: Leaving directory
`/tmp/baecker/documancer/bundled/wxmozilla/src'
make[1]: Leaving directory
`/tmp/baecker/documancer/bundled/wxmozilla/src'
(cd bundled/wxmozilla/wxPython ; make install)
make[1]: Entering directory
`/tmp/baecker/documancer/bundled/wxmozilla/wxPython'
make[2]: Entering directory
`/tmp/baecker/documancer/bundled/wxmozilla/wxPython'
make[2]: Nothing to be done for `install-exec-am'.
/bin/sh ../mkinstalldirs /usr/opt//lib/documancer
 /bin/sh ../libtool --mode=install /usr/bin/install -c  mozillac.la
/usr/opt//lib/documancer/mozillac.la
libtool: install: warning: relinking `mozillac.la'
(cd /tmp/baecker/documancer/bundled/wxmozilla/wxPython; /bin/sh
../libtool  --mode=relink g++ -I/usr/include/mozilla/nspr
-I/usr/include/mozilla/xpcom -I/usr/include/mozilla/string
-I/usr/include/mozilla/gtkembedmoz -I/usr/include/mozilla/xpcom
-I/usr/include/mozilla/string -I/usr/include/mozilla/nspr
-I/usr/include/mozilla -I/usr/include/mozilla/unix
-I/usr/include/mozilla/dom -I/usr/include/mozilla/windowwatcher
-I/usr/include/mozilla/webbrowserpersist -I/usr/include/mozilla/appcomps
-I/usr/include/mozilla/find -I/usr/include/mozilla/txtsvc
-I/usr/include/mozilla/docshell -I/usr/include/mozilla/shistory
-I/usr/include/mozilla/webshell -I/usr/include/mozilla/gfx
-I/usr/include/mozilla/necko -I/usr/include/mozilla/widget
-I/usr/include/mozilla/content -I/usr/include/mozilla/layout
-I/usr/include/mozilla/browser -I/usr/include/mozilla/webbrwsr
-I/usr/include/mozilla/uconv -I/usr/include/mozilla/embed_base
-I/usr/include/mozilla/uriloader -I/usr/include/mozilla/editor
-I/usr/include/mozilla/commandhandler -I/usr/include/mozilla/composer
-I/usr/include/mozilla/pref -I/usr/include/mozilla/profdirserviceprovider
-I/usr/lib/wx/include/gtk2-unicode-release-2.5 -I/usr/include/wx-2.5
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I../src -I/usr/include/python2.3 -g -O2 -o mozillac.la -rpath
/usr/opt//lib/documancer -avoid-version -module
-Wl,--rpath,/usr/opt//lib/documancer mozilla_wrap.lo -L/usr/lib/mozilla
-lxpcom -lplds4 -lplc4 -lnspr4 -ldl -lc -lpthread -L/usr/lib/mozilla
-lgtkembedmoz -lxpcom -lplds4 -lplc4 -lnspr4 -ldl -lc -lpthread
-Wl,-rpath,/usr/local/netscape -pthread -L/usr/X11R6/lib
-lwx_gtk2u_xrc-2.5 -lwx_gtk2u_html-2.5 -lwx_gtk2u_adv-2.5
-lwx_gtk2u_core-2.5 -lwx_baseu_xml-2.5 -lwx_baseu_net-2.5 -lwx_baseu-2.5
../src/libwxmozilla_gtk2u-2.5.la )
mv: cannot stat `mozillac': No such file or directory
libtool: install: error: relink `mozillac.la' with the above command
before installing it
make[2]: *** [install-wxpythonLTLIBRARIES] Error 1
make[2]: Leaving directory
`/tmp/baecker/documancer/bundled/wxmozilla/wxPython'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory
`/tmp/baecker/documancer/bundled/wxmozilla/wxPython'



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/