[Xfc-dev] Newbie compile problems
Frank Blinn
frank.blinn at freenet.de
Thu Nov 12 15:18:21 CET 2009
Bo Lorentsen wrote:
>
> Frank Blinn wrote:
>> Hi,
>>
>> I tried to compile xfc on my machine with zenwalk linux and I had some
>> problems:
>>
> Did you use the git version, or the last stable ?
>
> I am using the git version of xfc, but I am using xfce that has been
> delivered with my distribution (contains XFCE 4.6.1)
>
>> automake 1.10.2 does not know the AM_COND_IF makro, so I had to modify
>> the
>> configure.ac file. Maybe this can be removed to increase robustness?
>>
> I am not quite sure, I have not been looking into these parts lately.
> See also http://old.nabble.com/AM_COND_IF-td21253597.html automake
> problem
> It seems to be a known problem. I modified the file, but I'm not sure, if
> it is correct:
>
> diff --git a/configure.ac b/configure.ac
> index 2b3b470..5cd0351 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -496,9 +496,15 @@ AC_CONFIG_FILES([libXFCde/Makefile \
> libXFCde/xfc/ui/Makefile \
> libXFCde/xfc/ui/inline/Makefile])
>
> -AM_COND_IF([USE_PANEL], [AC_CONFIG_FILES([
> - libXFCde/xfc/panel/Makefile \
> - libXFCde/xfc/panel/inline/Makefile])] )
> +if test "x$DE_PANEL_FOUND" == "xyes"; then
> + AC_CONFIG_FILES([
> + libXFCde/xfc/panel/Makefile \
> + libXFCde/xfc/panel/inline/Makefile])
> +fi
> +
> +#AM_COND_IF([USE_PANEL], [AC_CONFIG_FILES([
> +# libXFCde/xfc/panel/Makefile \
> +# libXFCde/xfc/panel/inline/Makefile])] )
>
> AC_OUTPUT()
>
>
>
>
>
>
>> audiofile 0.2.6 has a problem in the audiofile.m4 file. I had to patch
>> this.
>>
>> aalib 1.4rc5 has the same problem in aalib.m4.
>>
>> /xfce/xfconf/tree/xfconf/xfconf-errors.h: the last enumeration value
>> 'XFCONF_ERROR_INVALID_CHANNEL,' has a comma at the end of the line (last
>> enum value). That does not compile.
>>
> Have you made a diff file, for me to look at ?
>
> Yes, here it is:
>
> diff --git a/xfconf/xfconf-errors.h b/xfconf/xfconf-errors.h
> index 470ebb4..082bdbd 100644
> --- a/xfconf/xfconf-errors.h
> +++ b/xfconf/xfconf-errors.h
> @@ -42,7 +42,7 @@ typedef enum
> XFCONF_ERROR_INTERNAL_ERROR,
> XFCONF_ERROR_NO_BACKEND,
> XFCONF_ERROR_INVALID_PROPERTY,
> - XFCONF_ERROR_INVALID_CHANNEL,
> + XFCONF_ERROR_INVALID_CHANNEL
> } XfconfError;
>
> GType xfconf_error_get_type(void) G_GNUC_CONST;
>
>
>
>> The files for pkgconfig has been copied to /usr/local/lib. All other
>> pkgconfig files on my system are in /usr/lib/pkgconfig. Is there a
>> standard
>> for the path usage or does this depend on the distribution?
>>
> Hmm, automake will normally put things into /usr/local but the
> "--prefix" option on the configure script can change this.
>
> /BL
> _______________________________________________
> Xfc-dev mailing list
> Xfc-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/xfc-dev
>
>
--
View this message in context: http://old.nabble.com/Newbie-compile-problems-tp26297718p26319468.html
Sent from the Xfce - Dev - Xfc C++ mailing list archive at Nabble.com.
More information about the Xfc-dev
mailing list