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

Frank Hartmann <[email protected]> Tue, 31 Aug 2010 19:28:09 +0200
Newsgroups gmane.org.osaf.devel
Message-ID <[email protected]>
Owen Morris <[email protected]> writes:

> Updates also below
>
> On Thu, Aug 26, 2010 at 3:33 PM, Grant Baillie <grant-6zGkXsw2EZWGJGYlWa3Ukdi2O/[email protected]> wrote:
>> On 26 Aug, 2010, at 00:13, Frank Hartmann wrote:
>>
>>> Was in the meantime anybody successful rebuilding chandler on a recent
>>> ubuntu or debian system? Could you please share your build scripts and
>>> experiences?
>>
>> The most recent system I have built Chandler on was Ubuntu Karmic last year (I have never tried Debian itself). Mostly that was just tweaking the dependencies, if I remember correctly, but you can check out the scripts at:
>>
>> http://svn.osafoundation.org/sandbox/packaging/deb/chandler/trunk/karmic
>
> I've used the debian files above to successfully build and run
> chandler on Ubuntu Lucid, the only changes required were to the
> Makefiles to add Lucid to the list of names being checked (grep -r
> karmic * and add lucid after each instance of karmic).  My mail of the
> beginning of June has more details and a patch for this.  If a new
> release could be tagged in svn with these changes I'll happily build
> and upload the deb file somewhere...

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 both
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=lucid

To my debian squeeze system. 

The build fails now for wx-widgets:
make[2]: Entering directory `/home/frank/data.nobackup/chandler/pack/trunk/karmic/unmodified-chandeler/external/wx'
/usr/bin/make -C /home/frank/data.nobackup/chandler/pack/trunk/karmic/external/wx/wxPython-r220 DEBUG=0 RELVER_FLAGS=-r220-1 RELVER=2.8.7.1-r220-1 build
make[3]: Entering directory `/home/frank/data.nobackup/chandler/pack/trunk/karmic/unmodified-chandeler/external/wx/wxPython-r220'
cd /home/frank/data.nobackup/chandler/pack/trunk/karmic/unmodified-chandeler/external/wx/wxPython-r220; mkdir -p build_release; cd build_release; \
	../configure --prefix=/home/frank/data.nobackup/chandler/pack/trunk/karmic/external/release --enable-optimized \
		--enable-monolithic \
		--enable-unicode \
		--enable-geometry \
		--enable-graphics_ctx \
		--enable-sound \
		--disable-display \
		--with-sdl \
		--with-gnomeprint \
		--with-libpng \
		--with-libtiff=builtin \
		--with-gtk=2
configure: error: cannot find sources (wx-config.in) in .. or ..
make[3]: *** [/home/frank/data.nobackup/chandler/pack/trunk/karmic/unmodified-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?



BTW, if I do not clean using "dpkg-buildpackage -rfakeroot -us -uc -nc",
the build still compiles lots (>8minutes on my small laptop) of files
it has compiled just minutes ago: swig,jcc,lucene from the names
scrolling by.

Is this expected?  Shouldn't it avoid recompiling automatically?  

Of course this is a minor point, currently I would be happy if I could
build any chandler myself :)

kind regards
  Frank
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

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