Subject: | |
From: | |
Reply To: | |
Date: | Fri, 20 Oct 2000 10:25:00 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Andreas Schmidt wrote:
>
> Folks,
>
> is there any tool to analyze the Apache logfiles on an HPe3000 ?
>
> Today I found analog ( http://www.analog.cx ) but (as usual) not ported to
> MPE.
>
> IF there is any interest in such a tool please let me know - I'll try to
> port it ... it will fit to Tidy/iX and Ploticus/iX to demonstrate the real
> E capability of MPE.
I just ported analog for you in 20 minutes :-) and probably 19 minutes of that
was waiting for gcc to compile it. All you need to do is alter two lines in
the Makefile (DEFS and LIBS) and it will compile cleanly without any unresolved
externals:
diff -ru analog-4.13/Makefile analog-4.13-mpe/Makefile
--- analog-4.13/Makefile Wed Oct 11 05:11:07 2000
+++ analog-4.13-mpe/Makefile Fri Oct 20 10:19:46 2000
@@ -7,7 +7,7 @@
# -Ae (HP/UX 10); BS2000/OSD requires -XLLML -XLLMK;
# NeXTSTEP apparently needs...
# CEXTRAFLAGS = -O2 -pipe -no-precomp
-DEFS = # any of -DNOPIPES -DNODNS -DNODIRENT -DNOOPEN ...
+DEFS = -D_POSIX_SOURCE -D_SOCKET_SOURCE # any of -DNOPIPES -DNODNS -DNODIRENT
-DNOOPEN ...
# ... -DEBCDIC -DNOGMTIME -DNEED_STRCMP -DNEED_MEMMOVE ...
# ... -DNEED_STRTOUL -DNEED_DIFFTIME -DHAVE_ADDR_T ...
# ... -DNEED_FLOATINGPOINT_H
@@ -19,7 +19,7 @@
# All the options are explained at the bottom of this file.
OS = UNIX # Operating system: UNIX, DOS, WIN32, MAC, OS2, VMS
# RISCOS, BEOS, NEXTSTEP, BS2000, AS400
-LIBS = # extra libraries needed; Solaris 2 (SunOS 5) needs
+LIBS = -lsocket # extra libraries needed; Solaris 2 (SunOS 5) needs
# LIBS = -lnsl and SCO Unix needs LIBS = -lsocket
# IRIX reportedly needs LIBS = -lc
# OS/2 with EMX requires LIBS = -lsocket; so does BS2000/OSD
I leave it as an exercise for somebody else to actually test the resulting code
on MPE and to submit the MPE info back to the analog author.
- Mark B.
|
|
|