Re: make debian in 4.04/02

From: Stanislav Nesterov <Stanislav.Nesterov_at_pnpi.spb.ru>
Date: Fri, 20 May 2005 16:46:31 +0400


Hi Cris,

I've made short patch for TASImage.cxx and libAfterImage for Debian-testing to compile. You can try to change temporary the sources until Christian changes building scripts.

And I would like to ask Christian somehow modify `changelog' file to reflect current ROOT version correctly.

Fons Rademakers wrote:

> Hi Chris,
>
> we cannot use anymore the system provided libAfterImage due to the
> many mods we had to make in it (we hope in a later stage to go back
> into sync).
> Can you try building the built-in libAfterImage?
>
> Christian (Holm), can you fix the debian package files such that we
> always use the ROOT provided libAfterImage (I've already disabled
> this option in ./configure in the head).
>
> Cheers, Fons.
>
>
>
> Chris Roat wrote:
>
>> Hi,
>>
>> I'm having difficulty compiling the afterimage part of ROOT using
>> "make debian". The build proceeds through libRGL.so, and then gives
>> the warnings below. I'm using sarge(testing). Any idea what has
>> gone wrong? My afterimage library is up-to-date:
>>
>> [beta] ~/MultiFit > dpkg --list libafterimage-dev
>> Desired=Unknown/Install/Remove/Purge/Hold
>> |
>> Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
>> |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
>> uppercase=bad)
>> ||/ Name Version Description
>> +++-==================-==================-====================================================
>>
>> ii libafterimage-dev 2.00.04-3 imaging library designed
>> for AfterStep - development
>>
>>
>> Chris
>>
>>
>>
>> ==> lib/libRGL.so done
>> g++ -O -I/usr/include/freetype2 -pipe -Wall -W -Woverloaded-virtual
>> -fPIC -Iinclude -DHAVE_CONFIG/include/libAfterBase
>> -I/usr/include/libAfterImage -o asimage/src/TASImage.o -c
>> asimage/src/TASIma
>> asimage/src/TASImage.cxx: In function `void
>> fill_hline_notile_argb32(ASDrawContext*, int, int, int, long
>> unsigned int)':
>> asimage/src/TASImage.cxx:4499: error: cannot convert `CARD8*' to
>> `CARD32*' in
>> initialization
>> asimage/src/TASImage.cxx: In function `void
>> apply_tool_2D_argb32(ASDrawContext*, int, int, long unsigned int)':
>> asimage/src/TASImage.cxx:4521: error: cannot convert `CARD8*' to
>> `CARD32*' in
>> initialization
>> asimage/src/TASImage.cxx:4530: error: cannot convert `CARD8*' to
>> `CARD32*' in
>> initialization
>> asimage/src/TASImage.cxx: In function `ASDrawContext*
>> create_draw_context_argb32(ASImage*, ASDrawTool*)':
>> asimage/src/TASImage.cxx:4577: error: cannot convert `ARGB32*' to
>> `CARD8*' in
>> assignment
>> asimage/src/TASImage.cxx:4581: error: invalid conversion from `void
>> (*)(ASDrawContext*, int, int, int, long unsigned int)' to `void
>> (*)(ASDrawContext*, int, int, int, unsigned char)'
>> asimage/src/TASImage.cxx:4582: error: invalid conversion from `void
>> (*)(ASDrawContext*, int, int, long unsigned int)' to `void
>> (*)(ASDrawContext*, int, int, unsigned char)'
>> asimage/src/TASImage.cxx: In member function `void
>> TASImage::DrawWideLine(unsigned int, unsigned int, unsigned int,
>> unsigned
>> int, unsigned int, unsigned int)':
>> asimage/src/TASImage.cxx:4611: error: cannot convert `CARD32*' to
>> `CARD8*' in
>> assignment
>> /usr/include/libAfterImage/asimage.h: At global scope:
>> /usr/include/libAfterImage/asimage.h:767: warning: inline function `void
>> init_image_layers(ASImageLayer*, int)' used but never defined
>> make[2]: *** [asimage/src/TASImage.o] Error 1
>> make[2]: Leaving directory `/sandbox/croat/Downloads/root-4.04.02'
>> make[1]: *** [build-arch-stamp] Error 2
>> make[1]: Leaving directory `/sandbox/croat/Downloads/root-4.04.02'
>> make: *** [debian] Error 2
>>
>

-- 
			    Best regards,
				    Stanislav.


Received on Fri May 20 2005 - 14:52:23 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:08 MET