Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.7
    • Fix Version/s: 0.10.0
    • Component/s: Build
    • Labels:
      None
    • Environment:
      Freebsd 5.3 Release

      Description

      the complier report error of unavaliablity of alloca.h in /include/log4cxx/helpers/tchar.h

      I add a new test macro to check the freebsd system and change it into #include<stdlib.h>, then all right.

      hope the next release will solve this problem

        Issue Links

          Activity

          Andreas Fester made changes -
          Resolution Fixed [ 1 ]
          Fix Version/s 0.10.0 [ 10782 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          Hide
          Andreas Fester added a comment -

          The autotools based build system is in a good shape. Build on FreeBSD succeeds. An inofficial nightly autotools based build is available at http://littletux.homelinux.org/log4cxx/

          Show
          Andreas Fester added a comment - The autotools based build system is in a good shape. Build on FreeBSD succeeds. An inofficial nightly autotools based build is available at http://littletux.homelinux.org/log4cxx/
          Hide
          Andreas Fester added a comment -

          I added the configure option --enable-wchar_t to allow manual disablng of the wchar_t interfaces. This allows compilation on systems which do not support a _STDC_ISO_10646_ wchar_t implementation. With this option, compilation on FreeBSD 5.2.1 with gcc 3.3.3 succeded and the test suite could be successfully executed. See also http://wiki.apache.org/logging-log4cxx/UNIXBuildInstructions for additional build instructions.

          Show
          Andreas Fester added a comment - I added the configure option --enable-wchar_t to allow manual disablng of the wchar_t interfaces. This allows compilation on systems which do not support a _ STDC_ISO_10646 _ wchar_t implementation. With this option, compilation on FreeBSD 5.2.1 with gcc 3.3.3 succeded and the test suite could be successfully executed. See also http://wiki.apache.org/logging-log4cxx/UNIXBuildInstructions for additional build instructions.
          Andreas Fester made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Hide
          Andreas Fester added a comment -

          See http://issues.apache.org/jira/browse/LOGCXX-66 for syslog() and LOG4CXX_HAVE_SYSLOG solution.

          Show
          Andreas Fester added a comment - See http://issues.apache.org/jira/browse/LOGCXX-66 for syslog() and LOG4CXX_HAVE_SYSLOG solution.
          Andreas Fester made changes -
          Assignee Andreas Fester [ andreas ]
          Hide
          Curt Arnold added a comment -

          Configure needs to detect presence of syslog() and set LOG4CXX_HAVE_SYSLOG for SyslogAppender.

          Show
          Curt Arnold added a comment - Configure needs to detect presence of syslog() and set LOG4CXX_HAVE_SYSLOG for SyslogAppender.
          Hide
          Curt Arnold added a comment -

          The default should be to link with a static APR library, but there should be a configure option that can override it.

          Show
          Curt Arnold added a comment - The default should be to link with a static APR library, but there should be a configure option that can override it.
          Curt Arnold made changes -
          Link This issue is depended upon by LOGCXX-62 [ LOGCXX-62 ]
          Curt Arnold made changes -
          Component/s Build [ 11260 ]
          Summary log4cxxx 0.9.7 can not be compiled in freebsd 5.3 release configure/make help needed
          Affects Version/s 0.9.7 [ 10770 ]
          Hide
          Curt Arnold added a comment -

          I'm currently using Ant + cpptasks + ant-contrib to make log4cxx. The structure of the project is now substantially different than when the make scripts were authored. I would appreciate any help on this as I am not a make guru.

          Show
          Curt Arnold added a comment - I'm currently using Ant + cpptasks + ant-contrib to make log4cxx. The structure of the project is now substantially different than when the make scripts were authored. I would appreciate any help on this as I am not a make guru.
          Hide
          Curt Arnold added a comment -

          tchar.h is going to be gutted before the new release and wide to multibyte character conversions will be handled by Apache Portable Runtime's iconv support. When the APR conversion is stabilizing, I'll try a FreeBSD build (assuming I can get it installed in Virtual PC 2004).

          Show
          Curt Arnold added a comment - tchar.h is going to be gutted before the new release and wide to multibyte character conversions will be handled by Apache Portable Runtime's iconv support. When the APR conversion is stabilizing, I'll try a FreeBSD build (assuming I can get it installed in Virtual PC 2004).
          Oliver Rossmueller made changes -
          Field Original Value New Value
          Key MYFACES-5 LOGCXX-43
          Project MyFaces [ 10600 ] Log4cxx [ 10550 ]
          Anonymous created issue -

            People

            • Assignee:
              Andreas Fester
              Reporter:
              Anonymous
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development