ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
1142
|
Mon May 9 21:08:56 2005 |
| Steve Jones | steve.jones@freescale.com | Question | Linux | Other | 2.5.9 | Re: Version of GCC to use? |
> > > I ask because I get a dependency that I did not have before with 2.5.3.
> > > Compiling with my same 'ole gcc 2.95.2 I see that I now need mxml.h and
> > > strlcpy.h. Trying to compile under gcc 3.4 results in all kinds of errors.
> >
> > mxml.h and strlcpy.h are part of the elog tar ball. When untar'ed, they get copied
> > into a separate directory:
> >
> > ...
> > -rwxr-xr-x ritt/lke 15090 2005-05-09 13:09:54 elog-2.5.9/eloglang.japanese
> > -rwxr-xr-x ritt/lke 17587 2005-05-09 13:09:54 elog-2.5.9/eloglang.spanish
> > drwxr-xr-x ritt/lke 0 2005-05-09 13:09:54 mxml/
> > -rwxr-xr-x ritt/lke 45577 2005-05-09 13:09:54 mxml/mxml.c
> > -rwxr-xr-x ritt/lke 2198 2005-05-09 13:09:54 mxml/strlcpy.c
> > -rwxr-xr-x ritt/lke 4359 2005-05-09 13:09:54 mxml/mxml.h
> > -rwxr-xr-x ritt/lke 567 2005-05-09 13:09:54 mxml/strlcpy.h
> >
> > I have right now no access to 3.4. Once I get it, I will address the errors
> > occuring there.
>
> Ah, now I need to figure out how to pickup the new includes.
> BTW, personally I wouldn't take my word regarding the 3.4 errors -- I was simply
> trying an alternative version and it is likely that the way ours is configured is the
> problem.
>
> Thanks!
Ok, now I see the issue - the tar extract created the mxml directory in the root (not
under the created directory elog-2.5.9). Is there a reason why these includes are not
placed in the src dir like the regex.h/.c include? |
1143
|
Mon May 9 21:14:53 2005 |
| Steve Jones | steve.jones@freescale.com | Question | Linux | Other | 2.5.9 | Re: Version of GCC to use? |
> > > > I ask because I get a dependency that I did not have before with 2.5.3.
> > > > Compiling with my same 'ole gcc 2.95.2 I see that I now need mxml.h and
> > > > strlcpy.h. Trying to compile under gcc 3.4 results in all kinds of errors.
> > >
> > > mxml.h and strlcpy.h are part of the elog tar ball. When untar'ed, they get copied
> > > into a separate directory:
> > >
> > > ...
> > > -rwxr-xr-x ritt/lke 15090 2005-05-09 13:09:54 elog-2.5.9/eloglang.japanese
> > > -rwxr-xr-x ritt/lke 17587 2005-05-09 13:09:54 elog-2.5.9/eloglang.spanish
> > > drwxr-xr-x ritt/lke 0 2005-05-09 13:09:54 mxml/
> > > -rwxr-xr-x ritt/lke 45577 2005-05-09 13:09:54 mxml/mxml.c
> > > -rwxr-xr-x ritt/lke 2198 2005-05-09 13:09:54 mxml/strlcpy.c
> > > -rwxr-xr-x ritt/lke 4359 2005-05-09 13:09:54 mxml/mxml.h
> > > -rwxr-xr-x ritt/lke 567 2005-05-09 13:09:54 mxml/strlcpy.h
> > >
> > > I have right now no access to 3.4. Once I get it, I will address the errors
> > > occuring there.
> >
> > Ah, now I need to figure out how to pickup the new includes.
> > BTW, personally I wouldn't take my word regarding the 3.4 errors -- I was simply
> > trying an alternative version and it is likely that the way ours is configured is the
> > problem.
> >
> > Thanks!
>
>
> Ok, now I see the issue - the tar extract created the mxml directory in the root (not
> under the created directory elog-2.5.9). Is there a reason why these includes are not
> placed in the src dir like the regex.h/.c include?
Ack, ok, I moved the includes into src and tried re-compiling -- and received several
"undefined symbol" errors from the linker. Clearly the libraries cannot be moved into src? |
1144
|
Mon May 9 21:17:29 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | Other | 2.5.9 | Re: Version of GCC to use? |
> Ok, now I see the issue - the tar extract created the mxml directory in the root (not
> under the created directory elog-2.5.9). Is there a reason why these includes are not
> placed in the src dir like the regex.h/.c include?
Yes. I use these files in several other projects as well, and want to maintain only a
single copy. So I have
elogd-x.x.x/
elogd-x.x.x/src/
....
mxml/
mxml/strlcpy.h
mxml/strlcpy.c
mxml/mxml.c
mxml/mxml.c
...
other-project-x.x.x/
other-project-x.x.x/
So both elogd and "other-project" can use strlcpy.c and mxml.c. If I would copy it to
elogd-x.x.x/src and fix a bug there, "other-project" would use a separate copy and not
profit from the bug fix. So I would have to mainain verious copies of the same file, which
make things complicated. I compile everything also under windows, so I cannot use soft
links. If there is a better way of how to do it, please let me know. |
1145
|
Mon May 9 21:22:46 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | Other | 2.5.9 | Re: Version of GCC to use? |
[ritt@pc5082 /tmp]$ tar -xzvf elog-2.5.9-2.tar.gz
elog-2.5.9/
elog-2.5.9/doc/
elog-2.5.9/doc/adminguide.html
...
mxml/
mxml/mxml.c
mxml/strlcpy.c
mxml/mxml.h
mxml/strlcpy.h
[ritt@pc5082 /tmp]$ cd elog-2.5.9
[ritt@pc5082 elog-2.5.9]$ make
gcc -O3 -funroll-loops -fomit-frame-pointer -W -Wall -o elog src/elog.c
gcc -O3 -funroll-loops -fomit-frame-pointer -W -Wall -c -o regex.o src/regex.c
... skipping warnings ...
gcc -O3 -funroll-loops -fomit-frame-pointer -W -Wall -c -o mxml.o ../mxml/mxml.c
gcc -O3 -funroll-loops -fomit-frame-pointer -W -Wall -c -o strlcpy.o ../mxml/strlcpy.c
gcc -O3 -funroll-loops -fomit-frame-pointer -W -Wall -I../mxml -o elogd src/elogd.c regex.o
mxml.o strlcpy.o
gcc -O3 -funroll-loops -fomit-frame-pointer -W -Wall -o elconv src/elconv.c
[ritt@pc5082 elog-2.5.9]$
--------------
No undefined functions here. I guess you have an old Makefile? Just use the complete tar
package from the last version. |
1146
|
Mon May 9 23:30:11 2005 |
| Steve Jones | steve.jones@freescale.com | Question | Linux | Other | 2.5.9 | Re: Version of GCC to use? |
> [ritt@pc5082 /tmp]$ tar -xzvf elog-2.5.9-2.tar.gz
> elog-2.5.9/
> elog-2.5.9/doc/
> elog-2.5.9/doc/adminguide.html
> ...
> mxml/
> mxml/mxml.c
> mxml/strlcpy.c
> mxml/mxml.h
> mxml/strlcpy.h
> [ritt@pc5082 /tmp]$ cd elog-2.5.9
> [ritt@pc5082 elog-2.5.9]$ make
> gcc -O3 -funroll-loops -fomit-frame-pointer -W -Wall -o elog src/elog.c
> gcc -O3 -funroll-loops -fomit-frame-pointer -W -Wall -c -o regex.o src/regex.c
> ... skipping warnings ...
> gcc -O3 -funroll-loops -fomit-frame-pointer -W -Wall -c -o mxml.o ../mxml/mxml.c
> gcc -O3 -funroll-loops -fomit-frame-pointer -W -Wall -c -o strlcpy.o ../mxml/strlcpy.c
> gcc -O3 -funroll-loops -fomit-frame-pointer -W -Wall -I../mxml -o elogd src/elogd.c regex.o
> mxml.o strlcpy.o
> gcc -O3 -funroll-loops -fomit-frame-pointer -W -Wall -o elconv src/elconv.c
> [ritt@pc5082 elog-2.5.9]$
>
> --------------
> No undefined functions here. I guess you have an old Makefile? Just use the complete tar
> package from the last version.
Ok, now I have it. Old Makefile because I had to perform some deletions to make "make" work
right under Solaris. Basically, I took out the ifdef structures - "make" was blowing up on
these. Everything now compiles perfectly -- don't change anything. Thanks for that last pointer.
Steve |
68098
|
Thu Aug 20 14:23:43 2015 |
| Edmund Hertle | edmund.hertle@kit.edu | Info | All | 3.1.1 | Re: Version 3.1.1 of elog has been released |
There seems to be a small problem with the new "Date/Time format <attribute>" implementation. It works great for the detailed view of a single entry:

But fails to work on the list view (same entry, the Date column is formated as it should):

Relevant config part:
Time format Time Start = %H:%M:%S
Time format Time End = %H:%M:%S
Stefan Ritt wrote: |
Version 3.1.1, released August 4th, 2015
-
Updated CKEditor to version 4.5.1
-
Implemented "Date/Time format <attribute> = ..."
-
Implemented "Use Email Subject Edit = ..."
-
Replaced "Back" by "Delete" button
-
Fixed many issues with Draft Messages
-
CSS file is now in *addition* to the default file elog.css
-
Added LDAP documentation
-
Added "Logout to URL = ..." option
-
Added description of Apacher server authentication
|
|
68099
|
Thu Aug 20 15:52:26 2015 |
| Stefan Ritt | stefan.ritt@psi.ch | Info | All | 3.1.1 | Re: Version 3.1.1 of elog has been released |
Thanks for reportung that bug. I fixed it in revision f828049.
Edmund Hertle wrote: |
There seems to be a small problem with the new "Date/Time format <attribute>" implementation. It works great for the detailed view of a single entry:

But fails to work on the list view (same entry, the Date column is formated as it should):

Relevant config part:
Time format Time Start = %H:%M:%S
Time format Time End = %H:%M:%S
|
|
400
|
Wed Jul 16 21:42:54 2003 |
| nickc1 | nick@nick.com | Info | | 2.3.9 | Re: Version 2.3.9 released today |
Can you give a syntax example of the Logging Level option ?
> Version 2.3.9 of elog has been released today. Enhancements are:
>
> - Added options "Use Lock", "Title image"
>
> - New "Email format" specifies what is sent exactly in an email
> notification. This may now include also attachments
>
> - "Format <attribute>" lets you assign separate style sheet classes to each
> attribute, making the web display more powerful (see this forum,
> the "subject" uses a separate formatting). Note that this feature requires
> an update of the old "default.css" CSS file, if a elog version prior to
> 2.3.9 is already installed on a system.
>
> - "Execute new/edit/delete" lets one execute shell commands on the server
> side for new, edited or deleted messages. Since this can cause security
> problems, a new flag "-x" has been added to the elogd daemon to enable this
> feature. It can be used to synchronize the elog database with other
> databases, or to send SMS messages to people.
>
> - New "Logging level" option gives enhanced logging capabilities, including
> read and write access logging to individual elog entries.
>
> - The elog utility can now edit existing messages, and correctly quotes
> messages with "> " on replies.
>
> A few small bugs have been fixed, refer to the ChangeLog for more details. |