CentOS Linux 5.5
Downloaded from the repository revision 458.
a problem:
autoconf
error: possibly undefined macro: AM_ICONV If this token and others are legitimate, please use m4_pattern_allow. See the
error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
error: possibly undefined macro: AM_GNU_GETTEXT
Run: gettext -version : 0.18.1
Begin to install sarg:
# autoconf
configure.in:69: error: possibly undefined macro: AM_ICONV
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.in:91: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
configure.in:92: error: possibly undefined macro: AM_GNU_GETTEXT
#
Ok, try:
# autoreconf -fi
Creating directory m4
Copying file m4/codeset.m4
Copying file m4/gettext.m4
Copying file m4/glibc2.m4
Copying file m4/glibc21.m4
Copying file m4/iconv.m4
Copying file m4/intdiv0.m4
Copying file m4/intl.m4
Copying file m4/intldir.m4
Copying file m4/intlmacosx.m4
Copying file m4/intmax.m4
Copying file m4/inttypes-pri.m4
Copying file m4/inttypes_h.m4
Copying file m4/lcmessage.m4
Copying file m4/lib-ld.m4
Copying file m4/lib-link.m4
Copying file m4/lib-prefix.m4
Copying file m4/lock.m4
Copying file m4/longlong.m4
Copying file m4/nls.m4
Copying file m4/po.m4
Copying file m4/printf-posix.m4
Copying file m4/progtest.m4
Copying file m4/size_max.m4
Copying file m4/stdint_h.m4
Copying file m4/uintmax_t.m4
Copying file m4/visibility.m4
Copying file m4/wchar_t.m4
Copying file m4/wint_t.m4
Copying file m4/xsize.m4
Copying file po/Makevars.template
#
Ok.
./configure - Ok
make all - Ok
make install - Problem
make -C po install
make: Entering directory `/tmp/inst/sarg-2.3.2/po'
*** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version 0.17 but the autoconf macros are from gettext version 0.18
make: *** Error 1
make: Leaving directory `/tmp/inst/sarg-2.3.2/po'
make: *** Error 2
#
Problem persists:
# make install
make -C po install
make: Entering directory `/tmp/inst/sarg-2.3.2/po'
*** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version 0.17 but the autoconf macros are from gettext version 0.18
make: *** Error 1
make: Leaving directory `/tmp/inst/sarg-2.3.2/po'
make: *** Error 2
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for your reply.
Replace file Makefile.in.in, the problem persists:
Procedure:
1. Replaced in the source files "configure.in":
AM_GNU_GETTEXT_VERSION ([0.17])
at:
AM_GNU_GETTEXT_VERSION ([0.18])
2. Replace file Makefile.in.in
3. autoreconf-fi
4. make all
5. make install
Installation complete.
P. S. sorttable.js have only: / usr / libexec / webmin / blue-theme / unauthentocated / sorttable.js copied into the folder with the reports SARG (sarg /) - is not working reorder. In sarg.conf the correct path: sorttable sarg / sorttable.js
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The path to sorttable.js is the URL the browser reading the report must follow to download the file (i.e it is either a http://…/sorttable.js path or an absolute path on the web server or a path relative to the location of the output directory entered in output_dir). In my case, sorttable.js is stored at the root of the web server serving the reports and the sorttable configuration option is set to /sorttable.js in sarg.conf.
Rereading the comment in sarg.conf shows that it could definitely benefit from some clarification. I'll try to come up with a better description for the final release.
Thank you for the procedure to upgrade to gettext 0.18.
Frederic
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The link to download sorttable.js is written in sarg.conf but I plan to distribute a custom version of sorttable along with sarg. The script from kryogenix.org hasn't been updated for 3 years now and contains some bugs.
The sorting of the MILLISEC column should be fixed in svn. Thanks for the report.
Frederic
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
According to your config.log file, configure could not find gd.h nor any related libgd file. You probably lack the development files of libgd or libgd2.
Frederic
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you, great fmarchal
Ver. 2.3.1 i set out RPM and I have not had "gd-devel"
Run: yum install "gd-devel" and everything is working correctly.
Many thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
CentOS Linux 5.5
Downloaded from the repository revision 458.
a problem:
autoconf
error: possibly undefined macro: AM_ICONV If this token and others are legitimate, please use m4_pattern_allow. See the
error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
error: possibly undefined macro: AM_GNU_GETTEXT
Run: gettext -version : 0.14.6
Downloaded from http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.1.1.tar.gz and install:
./configure -prefix=/usr -exec-prefix=/usr -bindir=/bin
make all
make install
Run: gettext -version : 0.18.1
Begin to install sarg:
# autoconf
configure.in:69: error: possibly undefined macro: AM_ICONV
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.in:91: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
configure.in:92: error: possibly undefined macro: AM_GNU_GETTEXT
#
Ok, try:
# autoreconf -fi
Creating directory m4
Copying file m4/codeset.m4
Copying file m4/gettext.m4
Copying file m4/glibc2.m4
Copying file m4/glibc21.m4
Copying file m4/iconv.m4
Copying file m4/intdiv0.m4
Copying file m4/intl.m4
Copying file m4/intldir.m4
Copying file m4/intlmacosx.m4
Copying file m4/intmax.m4
Copying file m4/inttypes-pri.m4
Copying file m4/inttypes_h.m4
Copying file m4/lcmessage.m4
Copying file m4/lib-ld.m4
Copying file m4/lib-link.m4
Copying file m4/lib-prefix.m4
Copying file m4/lock.m4
Copying file m4/longlong.m4
Copying file m4/nls.m4
Copying file m4/po.m4
Copying file m4/printf-posix.m4
Copying file m4/progtest.m4
Copying file m4/size_max.m4
Copying file m4/stdint_h.m4
Copying file m4/uintmax_t.m4
Copying file m4/visibility.m4
Copying file m4/wchar_t.m4
Copying file m4/wint_t.m4
Copying file m4/xsize.m4
Copying file po/Makevars.template
#
Ok.
./configure - Ok
make all - Ok
make install - Problem
make -C po install
make: Entering directory `/tmp/inst/sarg-2.3.2/po'
*** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version 0.17 but the autoconf macros are from gettext version 0.18
make: *** Error 1
make: Leaving directory `/tmp/inst/sarg-2.3.2/po'
make: *** Error 2
#
Please help me.
P.s.:
# autoconf -version
autoconf (GNU Autoconf) 2.59
Installed autoconf 2.68:
# autoconf -version
autoconf (GNU Autoconf) 2.68
Problem persists:
# make install
make -C po install
make: Entering directory `/tmp/inst/sarg-2.3.2/po'
*** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version 0.17 but the autoconf macros are from gettext version 0.18
make: *** Error 1
make: Leaving directory `/tmp/inst/sarg-2.3.2/po'
make: *** Error 2
You must overwrite po/Makefile.in.in (take note of the double ".in") with the one provided by your version of gettext. It should be in
.
Then make install should work.
Frederic
Thank you for your reply.
Replace file Makefile.in.in, the problem persists:
Procedure:
1. Replaced in the source files "configure.in":
at:
2. Replace file Makefile.in.in
3. autoreconf-fi
4. make all
5. make install
Installation complete.
P. S. sorttable.js have only: / usr / libexec / webmin / blue-theme / unauthentocated / sorttable.js copied into the folder with the reports SARG (sarg /) - is not working reorder. In sarg.conf the correct path: sorttable sarg / sorttable.js
The path to sorttable.js is the URL the browser reading the report must follow to download the file (i.e it is either a http://…/sorttable.js path or an absolute path on the web server or a path relative to the location of the output directory entered in output_dir). In my case, sorttable.js is stored at the root of the web server serving the reports and the sorttable configuration option is set to /sorttable.js in sarg.conf.
Rereading the comment in sarg.conf shows that it could definitely benefit from some clarification. I'll try to come up with a better description for the final release.
Thank you for the procedure to upgrade to gettext 0.18.
Frederic
Thank you.
/usr/libexec/webmin/blue-theme/unauthentocated/sorttable.js does not work with SARG
The working script can be downloaded from: http://www.kryogenix.org/code/browser/sorttable/
Direct Link: http://www.kryogenix.org/code/browser/sorttable/sorttable.js
Please attach a script sorttable.js to the sources or specify a link to download.
Continue testing ..
Good luck in the development of SARG
detected an bugs when sorting by "MILLISEC"
http://radikal.ru/F/s008.radikal.ru/i306/1011/59/aa32d539cfde.jpg.html
http://radikal.ru/F/s05.radikal.ru/i178/1011/49/8585af01c9cf.jpg.html
<td class="data">169.483.578</td> Is not present "sorttable_customkey"
"Sorttable_customkey" must be written, because time is separator point !
No icons show graphs :(
The file sarg.conf written: graphs yes
Screenshot: http://radikal.ru/F/i081.radikal.ru/1011/54/2f5bfab25023.jpg.html
config.log: http://dl.cgmap.ru/more/config.7z
P.s. SARG 2.3.1 show graphs.
The link to download sorttable.js is written in sarg.conf but I plan to distribute a custom version of sorttable along with sarg. The script from kryogenix.org hasn't been updated for 3 years now and contains some bugs.
The sorting of the MILLISEC column should be fixed in svn. Thanks for the report.
Frederic
Sorry, no noticed: (
Yes, I noticed that the JS have not been updated.
Did not tell me about the lack of a graph?
According to your config.log file, configure could not find gd.h nor any related libgd file. You probably lack the development files of libgd or libgd2.
Frederic
Thank you, great fmarchal
Ver. 2.3.1 i set out RPM and I have not had "gd-devel"
Run: yum install "gd-devel" and everything is working correctly.
Many thanks!