Dear Edwin,

After applying the patch, I am able to compile clamav 0.94.1.

Thanks.
Regards,
ANANT.


Quoting Török Edwin <[EMAIL PROTECTED]>:

> On 2008-11-09 08:44, ANANT S ATHAVALE wrote:
>> Dear Edwin,
>>
>> I installed bash by downloading RPM from AIX Linux toolkit.  Tried
>> configuring and compiling under bash, but it resulted in same error.
>>
>> Finally, I modified the source. Wherever this error was coming,
>> replaced "TARGET_OS_TYPE" with aix5.3.0.0, "TARGET_ARCH_TYPE" with
>> ppc, and "TARGET_CPU_TYPE" with powerpc.  These values were available
>> in file called 'x'.  After this, I could compile and use clamav
>> 0.94.1.  This input may give developers, the fix for my problem in
>> future releases.
>>
>>
>
> There was a similar bugreport, where we couldn't determine why target.h
> was not created:
> https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1171
>
> The code that generates target.h did not change since 0.94, so its very
> strange.
>
> For some reason this code:
> ac_need_target_h_file=`echo target.h`
> produces
> ac_need_target_h_file=x
>
> Can you try the patch below on the original 0.94.1 sources, run
> configure, and see if it compiles?
>
> diff --git a/configure b/configure
> index eafc3c8..872d6d0 100755
> --- a/configure
> +++ b/configure
> @@ -2214,7 +2214,7 @@ ac_need_target_h_file_new=true
>
>
>
> -ac_need_target_h_file=`echo target.h`
> +ac_need_target_h_file=target.h
>  ac_need_target_h_prefix=`echo target | sed -e
> 'y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:' -e
> 's:[^A-Z0-9_]::g'`
>  #
>  target_os0=`echo "$target_os"  | sed -e
> 'y:abcdefghijklmnopqrstuvwxyz.-:ABCDEFGHIJKLMNOPQRSTUVWXYZ__:' -e
> 's:[^A-Z0-9_]::g'`
> diff --git a/m4/acinclude.m4 b/m4/acinclude.m4
> index faf30bf..9ab7f11 100644
> --- a/m4/acinclude.m4
> +++ b/m4/acinclude.m4
> @@ -117,7 +117,7 @@ AC_DEFUN([AC_CREATE_TARGET_H_UPPER],
>  [AC_REQUIRE([AC_CANONICAL_CPU_ARCH])
>  AC_REQUIRE([AC_CREATE_TARGET_H_FILE])
>  changequote({, })dnl
> -ac_need_target_h_file=`echo ifelse($1, , target.h, $1)`
> +ac_need_target_h_file=ifelse($1, , target.h, $1)
>  ac_need_target_h_prefix=`echo ifelse($2, , target, $2) | sed -e
> 'y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:' -e
> 's:[^A-Z0-9_]::g'`
>  #
>  target_os0=`echo "$target_os"  | sed -e
> 'y:abcdefghijklmnopqrstuvwxyz.-:ABCDEFGHIJKLMNOPQRSTUVWXYZ__:' -e
> 's:[^A-Z0-9_]::g'`
>
> Best regards,
> --Edwin
>
>
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://www.clamav.net/support/ml
>



Regards,

Anant Athavale.
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to