Re: [chandler-dev] ***SPAM*** Re: debian squeeze build

Owen Morris <[email protected]> Thu, 2 Sep 2010 10:23:17 +0100
Newsgroups gmane.org.osaf.devel
Message-ID <[email protected]>
> Hi,
>
> I had used
> http://svn.osafoundation.org/sandbox/packaging/deb/chandler/trunk/karmic
> as a starting point and made lots of changes too this. This was not
> really succesful.
>
>
>
> Today I have now reverted back to the checked in state (latest svn for bo=
th
> the debian/control files and chandler itself) and applied Owens Patch
> for the lucid compile.
>
> Additionally I added the following file: $ cat /etc/lsb-release
> DISTRIB_CODENAME=3Dlucid
>
> To my debian squeeze system.
>
> The build fails now for wx-widgets:
> make[2]: Entering directory `/home/frank/data.nobackup/chandler/pack/trun=
k/karmic/unmodified-chandeler/external/wx'
> /usr/bin/make -C /home/frank/data.nobackup/chandler/pack/trunk/karmic/ext=
ernal/wx/wxPython-r220 DEBUG=3D0 RELVER_FLAGS=3D-r220-1 RELVER=3D2.8.7.1-r2=
20-1 build
> make[3]: Entering directory `/home/frank/data.nobackup/chandler/pack/trun=
k/karmic/unmodified-chandeler/external/wx/wxPython-r220'
> cd /home/frank/data.nobackup/chandler/pack/trunk/karmic/unmodified-chande=
ler/external/wx/wxPython-r220; mkdir -p build_release; cd build_release; \
> =A0 =A0 =A0 =A0../configure --prefix=3D/home/frank/data.nobackup/chandler=
/pack/trunk/karmic/external/release --enable-optimized \
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0--enable-monolithic \
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0--enable-unicode \
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0--enable-geometry \
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0--enable-graphics_ctx \
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0--enable-sound \
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0--disable-display \
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0--with-sdl \
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0--with-gnomeprint \
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0--with-libpng \
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0--with-libtiff=3Dbuiltin \
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0--with-gtk=3D2
> configure: error: cannot find sources (wx-config.in) in .. or ..
> make[3]: *** [/home/frank/data.nobackup/chandler/pack/trunk/karmic/unmodi=
fied-chandeler/external/wx/wxPython-r220/build_release/Makefile] Error 1
> make[3]: Leaving directory `/home/frank/data.nobackup/chandler/pack/trunk=
/karmic/unmodified-chandeler/external/wx/wxPython-r220'
> make[2]: *** [build] Error 2
> make[2]: Leaving directory `/home/frank/data.nobackup/chandler/pack/trunk=
/karmic/unmodified-chandeler/external/wx'
> make[1]: *** [wx] Error 2
> make[1]: Leaving directory `/home/frank/data.nobackup/chandler/pack/trunk=
/karmic/unmodified-chandeler/external
> make: *** [build-stamp] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
>
>
> In the directory
> /home/frank/data.nobackup/chandler/pack/trunk/karmic/unmodified-chandeler=
/external/wx/wxPython-r220
> is only a file: wx-config-inplace.in
>
> Do I miss some autoconf/automake/autoXXX packages for building this?

The build downloads a tar file from the chandler servers using curl
that contains the whole of the wxPython/wx sources, there is a target
called download in the Makefile.  Once this has run, there should be a
directory full of files under external/wx/wxPython-r220/ - I don't
think autotools is needed as the configure file is already there.  Of
course, running the clean command will remove this file.

I ran the build by using the svn-buildpackage command from the wiki
but patching the .orig.tar.gz obtained by debian/rules
get-orig-sources to include the lucid lines.

Have you got all the build depends installed?

Regards,
Owen
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "chandler-dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/chandler-dev