This topic contains 0 replies, has 0 voices, and was last updated by  Panther30 11 years, 4 months ago.

  • Author
    Posts
  • #4441

    Crispy Critter
    Participant

    This is for config.ac, and it adds the –unicode=no option to the configure script, and puts in the libpango-1.0, libpangox-1.0, and libalut checks as well, so that it isn’t necessary to manually modify the configure script, nor manually modify src/scorched/Makefile.

    It does not fix the problem with va_copy, so it’s still necessary to use CFLAGS=-DHAVE_VA_COPY when invoking the configure script. I’m not proficient enough with autoconf to figure out how to detect a macro.

    The last line of the patch is blank.


    --- configure.ac.orig 2006-05-23 14:25:17.000000000 -0500
    +++ configure.ac 2006-05-23 17:14:35.000000000 -0500
    @@ -227,6 +227,9 @@
    fi
    fi

    +# Crispy Critter: Force wx-config to NOT use unicode
    +wx_config_args='--unicode=no'
    +
    dnl Checks for static linking for wx windows
    AC_ARG_WITH([wx-static],
    AC_HELP_STRING(,
    @@ -275,6 +278,12 @@
    CXXFLAGS="$CXXFLAGS $FT2_CFLAGS"
    LIBS="$LIBS $FT2_LIBS"

    +# Crispy Critter (needed for compiling on FC5)
    +# pangox must be checked first
    +AC_CHECK_LIB(pangox-1.0,pango_x_render)
    +AC_CHECK_LIB(pango-1.0,pango_renderer_activate)
    +AC_CHECK_LIB(alut, alutInit)
    +
    # Checl for extra functions
    AC_CHECK_FUNCS(vsnprintf snprintf)

    #29628

    Panther30
    Participant

    Even with the patch (well even the patch gave me a couple errors at line 3 and stoipped but anyways.) I still get this error:


    then mv -f ".deps/GLWPlanView.Tpo" ".deps/GLWPlanView.Po"; else rm -f ".deps/GLWPlanView.Tpo"; exit 1; fi
    ../landscape/LandscapePoints.h:44: error: extra qualification ‘LandscapePoints::’ on member ‘findPoint’
    ../landscape/MovementMap.h:68: error: extra qualification ‘MovementMap::’ on member ‘POINT_TO_UINT’
    make[2]: *** [GLWPlanView.o] Error 1
    make[2]: Leaving directory `/home/server1/scorched/src/scorched'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/server1/scorched/src'
    make: *** [all-recursive] Error 1
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.