Unix Technical Forum

SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Unix Operating Systems > Sco Unix

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-16-2008, 04:07 AM
Steve M. Fabac, Jr.
 
Posts: n/a
Default RE: Trying to install/compile MailScanner-install-4.62.9,-3.tar

A module in MailScanner creates a working directory /tmp/tnef-1.4.3
and runs ./configure and make in that directory. The problem I am
getting is UX:i386ld: ERROR: Symbol referencing errors. No output written to tnef.

This is on SCO 5.0.7 with the SCO Development system:

UNIX Development System component 5.2.0A installed
rs507d - Development System Update rs507d.un applied
rs507d - Development System Update rs507d.un loaded
SCO C++ Development System 3.1.4Ga installed
rs507d - C++ Development System Update rs507d.cp applied
rs507d - C++ Development System Update rs507d.cp loaded
Extended Tcl Development System 7.3.2e installed
Administration Framework Development System 1.0.2Aa installed
Custom Distribution Mastering Toolkit 1.2.0j installed
rs507d - CDMT Patch rs507d.cd applied
rs507d - CDMT Patch rs507d.cd loaded
X11/Motif Development System component 5.2.5j installed
rs507d - X11/Motif Development System Patch rs507d.xd applied
rs507d - X11/Motif Development System Patch rs507d.xd loaded

And swconfig shows: GNU Development Tools 5.0.7g partially installed

At one time I had gcc on this system but it was removed and replaced with
the SCO Dev system. gwxlibs does not show up in custom but /usr/gnu/bin
exists and is populated with everything but gcc:

# ls -m
autoexpect, autopasswd, autopoint, cryptdir, decryptdir, dislocate, envsubst,
expect, expectk, ftp-rfc, gettext, gettextize, ginstall-info, gmake,
install-info, kibitz, lpunlock, mkpasswd, msgattrib, msgcat, msgcmp, msgcomm,
msgconv, msgen, msgexec, msgfilter, msgfmt, msggrep, msginit, msgmerge,
msgunfmt, msguniq, multixterm, ngettext, passmass, rftp, rlogin-cwd, tcl,
tclhelp, tclsh, tclsh8.4, timed-read, timed-run, tknewsbiff, tkpasswd,
unbuffer, weather, wish, wish8.4, wishx, xgettext, xkibitz, xpstat

When I changed to /tmp/tnef-1.4.3 and ran make clean and make I see a whole
raft of object compile statements but the end result is:

cc -g -o tnef alloc.o attr.o date.o debug.o file.o main.o mapi_att
r.o options.o path.o rtf.o tnef.o util.o write.o xstrdup.o tnef_names.o tnef_t
ypes.o mapi_types.o mapi_names.o replace/libreplace.a
Undefined first referenced
symbol in file
libintl_gettext libreplace.a(getopt_long.o)
UX:i386ld: ERROR: Symbol referencing errors. No output written to tnef
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)

I did a grep libintl_gettext on /usr/include/* and found:
/usr/include/libgnuintl.h:extern char *libintl_gettext (const char *__msgid);
/usr/include/libgnuintl.h: return libintl_gettext (__msgid);
/usr/include/libgnuintl.h:# define gettext libintl_gettext
/usr/include/libgnuintl.h: _INTL_ASM (libintl_gettext);

and then looking at it in context:

# less /usr/include/libgnuintl.h

/* Look up MSGID in the current default message catalog for the current
LC_MESSAGES locale. If not found, returns MSGID itself (the default
text). */
#ifdef _INTL_REDIRECT_INLINE
extern char *libintl_gettext (const char *__msgid);
static inline char *gettext (const char *__msgid)
{
return libintl_gettext (__msgid);
}
#else
#ifdef _INTL_REDIRECT_MACROS
# define gettext libintl_gettext
#endif
extern char *gettext (const char *__msgid)
_INTL_ASM (libintl_gettext);
#endif


I checked the config.log and found:

configure:4404: checking for gettext in -lintl
configure:4439: cc -o conftest -g conftest.c -lintl >&5
UX:i386acomp: WARNING: "conftest.c", line 23: warning: statement not reached
Undefined first referenced
symbol in file
gettext conftest.o
UX:i386ld: ERROR: Symbol referencing errors. No output written to conftest
configure:4445: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "tnef"
| #define PACKAGE_TARNAME "tnef"
| #define PACKAGE_VERSION "1.4.3"
| #define PACKAGE_STRING "tnef 1.4.3"
| #define PACKAGE_BUGREPORT "verdammelt@users.sourceforge.net"
| #define PACKAGE "tnef"
| #define VERSION "1.4.3"
| /* end confdefs.h. */

What do I need to do to fix this?

--
Steve Fabac
S.M. Fabac & Associates
816/765-1670
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-16-2008, 04:07 AM
Steve M. Fabac, Jr.
 
Posts: n/a
Default Re: Trying to install/compile MailScanner-install-4.62.9,-3.tar

Still looking for help on this issue. Anybody?

Steve M. Fabac, Jr. wrote:
> A module in MailScanner creates a working directory /tmp/tnef-1.4.3
> and runs ./configure and make in that directory. The problem I am
> getting is UX:i386ld: ERROR: Symbol referencing errors. No output
> written to tnef.
>
> This is on SCO 5.0.7 with the SCO Development system:
>
> UNIX Development System component 5.2.0A installed
> rs507d - Development System Update rs507d.un applied
> rs507d - Development System Update rs507d.un loaded
> SCO C++ Development System 3.1.4Ga installed
> rs507d - C++ Development System Update rs507d.cp applied
> rs507d - C++ Development System Update rs507d.cp loaded
> Extended Tcl Development System 7.3.2e installed
> Administration Framework Development System 1.0.2Aa installed
> Custom Distribution Mastering Toolkit 1.2.0j installed
> rs507d - CDMT Patch rs507d.cd applied
> rs507d - CDMT Patch rs507d.cd loaded
> X11/Motif Development System component 5.2.5j installed
> rs507d - X11/Motif Development System Patch rs507d.xd applied
> rs507d - X11/Motif Development System Patch rs507d.xd loaded
>
> And swconfig shows: GNU Development Tools 5.0.7g partially installed
>
> At one time I had gcc on this system but it was removed and replaced with
> the SCO Dev system. gwxlibs does not show up in custom but /usr/gnu/bin
> exists and is populated with everything but gcc:
>
> # ls -m
> autoexpect, autopasswd, autopoint, cryptdir, decryptdir, dislocate,
> envsubst,
> expect, expectk, ftp-rfc, gettext, gettextize, ginstall-info, gmake,
> install-info, kibitz, lpunlock, mkpasswd, msgattrib, msgcat, msgcmp,
> msgcomm,
> msgconv, msgen, msgexec, msgfilter, msgfmt, msggrep, msginit, msgmerge,
> msgunfmt, msguniq, multixterm, ngettext, passmass, rftp, rlogin-cwd, tcl,
> tclhelp, tclsh, tclsh8.4, timed-read, timed-run, tknewsbiff, tkpasswd,
> unbuffer, weather, wish, wish8.4, wishx, xgettext, xkibitz, xpstat
>
> When I changed to /tmp/tnef-1.4.3 and ran make clean and make I see a whole
> raft of object compile statements but the end result is:
>
> cc -g -o tnef alloc.o attr.o date.o debug.o file.o main.o
> mapi_att
> r.o options.o path.o rtf.o tnef.o util.o write.o xstrdup.o
> tnef_names.o tnef_t
> ypes.o mapi_types.o mapi_names.o replace/libreplace.a
> Undefined first referenced
> symbol in file
> libintl_gettext libreplace.a(getopt_long.o)
> UX:i386ld: ERROR: Symbol referencing errors. No output written to tnef
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)
>
> I did a grep libintl_gettext on /usr/include/* and found:
> /usr/include/libgnuintl.h:extern char *libintl_gettext (const char
> *__msgid);
> /usr/include/libgnuintl.h: return libintl_gettext (__msgid);
> /usr/include/libgnuintl.h:# define gettext libintl_gettext
> /usr/include/libgnuintl.h: _INTL_ASM (libintl_gettext);
>
> and then looking at it in context:
>
> # less /usr/include/libgnuintl.h
>
> /* Look up MSGID in the current default message catalog for the current
> LC_MESSAGES locale. If not found, returns MSGID itself (the default
> text). */
> #ifdef _INTL_REDIRECT_INLINE
> extern char *libintl_gettext (const char *__msgid);
> static inline char *gettext (const char *__msgid)
> {
> return libintl_gettext (__msgid);
> }
> #else
> #ifdef _INTL_REDIRECT_MACROS
> # define gettext libintl_gettext
> #endif
> extern char *gettext (const char *__msgid)
> _INTL_ASM (libintl_gettext);
> #endif
>
>
> I checked the config.log and found:
>
> configure:4404: checking for gettext in -lintl
> configure:4439: cc -o conftest -g conftest.c -lintl >&5
> UX:i386acomp: WARNING: "conftest.c", line 23: warning: statement not
> reached
> Undefined first referenced
> symbol in file
> gettext conftest.o
> UX:i386ld: ERROR: Symbol referencing errors. No output written to conftest
> configure:4445: $? = 1
> configure: failed program was:
> | /* confdefs.h. */
> | #define PACKAGE_NAME "tnef"
> | #define PACKAGE_TARNAME "tnef"
> | #define PACKAGE_VERSION "1.4.3"
> | #define PACKAGE_STRING "tnef 1.4.3"
> | #define PACKAGE_BUGREPORT "verdammelt@users.sourceforge.net"
> | #define PACKAGE "tnef"
> | #define VERSION "1.4.3"
> | /* end confdefs.h. */
>
> What do I need to do to fix this?
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-16-2008, 04:07 AM
Brent Bolin
 
Posts: n/a
Default Re: Trying to install/compile MailScanner-install-4.62.9,-3.tar

On Aug 22, 3:34 pm, "Steve M. Fabac, Jr." <smfa...@att.net> wrote:
> Still looking for help on this issue. Anybody?
>
> Steve M. Fabac, Jr. wrote:
>
> > A module in MailScanner creates a working directory /tmp/tnef-1.4.3
> > and runs ./configure and make in that directory. The problem I am
> > getting is UX:i386ld: ERROR: Symbol referencing errors. No output
> > written to tnef.

>
> > This is on SCO 5.0.7 with the SCO Development system:

>
> > UNIX Development System component 5.2.0A installed
> > rs507d - Development System Update rs507d.un applied
> > rs507d - Development System Update rs507d.un loaded
> > SCO C++ Development System 3.1.4Ga installed
> > rs507d - C++ Development System Update rs507d.cp applied
> > rs507d - C++ Development System Update rs507d.cp loaded
> > Extended Tcl Development System 7.3.2e installed
> > Administration Framework Development System 1.0.2Aa installed
> > Custom Distribution Mastering Toolkit 1.2.0j installed
> > rs507d - CDMT Patch rs507d.cd applied
> > rs507d - CDMT Patch rs507d.cd loaded
> > X11/Motif Development System component 5.2.5j installed
> > rs507d - X11/Motif Development System Patch rs507d.xd applied
> > rs507d - X11/Motif Development System Patch rs507d.xd loaded

>
> > And swconfig shows: GNU Development Tools 5.0.7g partially installed

>
> > At one time I had gcc on this system but it was removed and replaced with
> > the SCO Dev system. gwxlibs does not show up in custom but /usr/gnu/bin
> > exists and is populated with everything but gcc:

>
> > # ls -m
> > autoexpect, autopasswd, autopoint, cryptdir, decryptdir, dislocate,
> > envsubst,
> > expect, expectk, ftp-rfc, gettext, gettextize, ginstall-info, gmake,
> > install-info, kibitz, lpunlock, mkpasswd, msgattrib, msgcat, msgcmp,
> > msgcomm,
> > msgconv, msgen, msgexec, msgfilter, msgfmt, msggrep, msginit, msgmerge,
> > msgunfmt, msguniq, multixterm, ngettext, passmass, rftp, rlogin-cwd, tcl,
> > tclhelp, tclsh, tclsh8.4, timed-read, timed-run, tknewsbiff, tkpasswd,
> > unbuffer, weather, wish, wish8.4, wishx, xgettext, xkibitz, xpstat

>
> > When I changed to /tmp/tnef-1.4.3 and ran make clean and make I see a whole
> > raft of object compile statements but the end result is:

>
> > cc -g -o tnef alloc.o attr.o date.o debug.o file.o main.o
> > mapi_att
> > r.o options.o path.o rtf.o tnef.o util.o write.o xstrdup.o
> > tnef_names.o tnef_t
> > ypes.o mapi_types.o mapi_names.o replace/libreplace.a
> > Undefined first referenced
> > symbol in file
> > libintl_gettext libreplace.a(getopt_long.o)
> > UX:i386ld: ERROR: Symbol referencing errors. No output written to tnef
> > *** Error code 1 (bu21)
> > *** Error code 1 (bu21)
> > *** Error code 1 (bu21)
> > *** Error code 1 (bu21)

>
> > I did a grep libintl_gettext on /usr/include/* and found:
> > /usr/include/libgnuintl.h:extern char *libintl_gettext (const char
> > *__msgid);
> > /usr/include/libgnuintl.h: return libintl_gettext (__msgid);
> > /usr/include/libgnuintl.h:# define gettext libintl_gettext
> > /usr/include/libgnuintl.h: _INTL_ASM (libintl_gettext);

>
> > and then looking at it in context:

>
> > # less /usr/include/libgnuintl.h

>
> > /* Look up MSGID in the current default message catalog for the current
> > LC_MESSAGES locale. If not found, returns MSGID itself (the default
> > text). */
> > #ifdef _INTL_REDIRECT_INLINE
> > extern char *libintl_gettext (const char *__msgid);
> > static inline char *gettext (const char *__msgid)
> > {
> > return libintl_gettext (__msgid);
> > }
> > #else
> > #ifdef _INTL_REDIRECT_MACROS
> > # define gettext libintl_gettext
> > #endif
> > extern char *gettext (const char *__msgid)
> > _INTL_ASM (libintl_gettext);
> > #endif

>
> > I checked the config.log and found:

>
> > configure:4404: checking for gettext in -lintl
> > configure:4439: cc -o conftest -g conftest.c -lintl >&5
> > UX:i386acomp: WARNING: "conftest.c", line 23: warning: statement not
> > reached
> > Undefined first referenced
> > symbol in file
> > gettext conftest.o
> > UX:i386ld: ERROR: Symbol referencing errors. No output written to conftest
> > configure:4445: $? = 1
> > configure: failed program was:
> > | /* confdefs.h. */
> > | #define PACKAGE_NAME "tnef"
> > | #define PACKAGE_TARNAME "tnef"
> > | #define PACKAGE_VERSION "1.4.3"
> > | #define PACKAGE_STRING "tnef 1.4.3"
> > | #define PACKAGE_BUGREPORT "verdamm...@users.sourceforge.net"
> > | #define PACKAGE "tnef"
> > | #define VERSION "1.4.3"
> > | /* end confdefs.h. */

>
> > What do I need to do to fix this?


You might have better luck if you subscribe to the MailScanner mail
list -

mailscanner@lists.mailscanner.info

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-16-2008, 04:07 AM
Steve M. Fabac, Jr.
 
Posts: n/a
Default Re: Trying to install/compile MailScanner-install-4.62.9,-3.tar

Brent Bolin wrote:
>
> On Aug 22, 3:34 pm, "Steve M. Fabac, Jr." <smfa...@att.net> wrote:
> > Still looking for help on this issue. Anybody?
> >
> > Steve M. Fabac, Jr. wrote:
> >
> > > A module in MailScanner creates a working directory /tmp/tnef-1.4.3
> > > and runs ./configure and make in that directory. The problem I am
> > > getting is UX:i386ld: ERROR: Symbol referencing errors. No output
> > > written to tnef.

> >
> > > This is on SCO 5.0.7 with the SCO Development system:

> >
> > > UNIX Development System component 5.2.0A installed
> > > rs507d - Development System Update rs507d.un applied
> > > rs507d - Development System Update rs507d.un loaded
> > > SCO C++ Development System 3.1.4Ga installed
> > > rs507d - C++ Development System Update rs507d.cp applied
> > > rs507d - C++ Development System Update rs507d.cp loaded
> > > Extended Tcl Development System 7.3.2e installed
> > > Administration Framework Development System 1.0.2Aa installed
> > > Custom Distribution Mastering Toolkit 1.2.0j installed
> > > rs507d - CDMT Patch rs507d.cd applied
> > > rs507d - CDMT Patch rs507d.cd loaded
> > > X11/Motif Development System component 5.2.5j installed
> > > rs507d - X11/Motif Development System Patch rs507d.xd applied
> > > rs507d - X11/Motif Development System Patch rs507d.xd loaded

> >
> > > And swconfig shows: GNU Development Tools 5.0.7g partially installed

> >
> > > At one time I had gcc on this system but it was removed and replaced with
> > > the SCO Dev system. gwxlibs does not show up in custom but /usr/gnu/bin
> > > exists and is populated with everything but gcc:

> >
> > > # ls -m
> > > autoexpect, autopasswd, autopoint, cryptdir, decryptdir, dislocate,
> > > envsubst,
> > > expect, expectk, ftp-rfc, gettext, gettextize, ginstall-info, gmake,
> > > install-info, kibitz, lpunlock, mkpasswd, msgattrib, msgcat, msgcmp,
> > > msgcomm,
> > > msgconv, msgen, msgexec, msgfilter, msgfmt, msggrep, msginit, msgmerge,
> > > msgunfmt, msguniq, multixterm, ngettext, passmass, rftp, rlogin-cwd, tcl,
> > > tclhelp, tclsh, tclsh8.4, timed-read, timed-run, tknewsbiff, tkpasswd,
> > > unbuffer, weather, wish, wish8.4, wishx, xgettext, xkibitz, xpstat

> >
> > > When I changed to /tmp/tnef-1.4.3 and ran make clean and make I see a whole
> > > raft of object compile statements but the end result is:

> >
> > > cc -g -o tnef alloc.o attr.o date.o debug.o file.o main.o
> > > mapi_att
> > > r.o options.o path.o rtf.o tnef.o util.o write.o xstrdup.o
> > > tnef_names.o tnef_t
> > > ypes.o mapi_types.o mapi_names.o replace/libreplace.a
> > > Undefined first referenced
> > > symbol in file
> > > libintl_gettext libreplace.a(getopt_long.o)
> > > UX:i386ld: ERROR: Symbol referencing errors. No output written to tnef
> > > *** Error code 1 (bu21)
> > > *** Error code 1 (bu21)
> > > *** Error code 1 (bu21)
> > > *** Error code 1 (bu21)

> >
> > > I did a grep libintl_gettext on /usr/include/* and found:
> > > /usr/include/libgnuintl.h:extern char *libintl_gettext (const char
> > > *__msgid);
> > > /usr/include/libgnuintl.h: return libintl_gettext (__msgid);
> > > /usr/include/libgnuintl.h:# define gettext libintl_gettext
> > > /usr/include/libgnuintl.h: _INTL_ASM (libintl_gettext);

> >
> > > and then looking at it in context:

> >
> > > # less /usr/include/libgnuintl.h

> >
> > > /* Look up MSGID in the current default message catalog for the current
> > > LC_MESSAGES locale. If not found, returns MSGID itself (the default
> > > text). */
> > > #ifdef _INTL_REDIRECT_INLINE
> > > extern char *libintl_gettext (const char *__msgid);
> > > static inline char *gettext (const char *__msgid)
> > > {
> > > return libintl_gettext (__msgid);
> > > }
> > > #else
> > > #ifdef _INTL_REDIRECT_MACROS
> > > # define gettext libintl_gettext
> > > #endif
> > > extern char *gettext (const char *__msgid)
> > > _INTL_ASM (libintl_gettext);
> > > #endif

> >
> > > I checked the config.log and found:

> >
> > > configure:4404: checking for gettext in -lintl
> > > configure:4439: cc -o conftest -g conftest.c -lintl >&5
> > > UX:i386acomp: WARNING: "conftest.c", line 23: warning: statement not
> > > reached
> > > Undefined first referenced
> > > symbol in file
> > > gettext conftest.o
> > > UX:i386ld: ERROR: Symbol referencing errors. No output written to conftest
> > > configure:4445: $? = 1
> > > configure: failed program was:
> > > | /* confdefs.h. */
> > > | #define PACKAGE_NAME "tnef"
> > > | #define PACKAGE_TARNAME "tnef"
> > > | #define PACKAGE_VERSION "1.4.3"
> > > | #define PACKAGE_STRING "tnef 1.4.3"
> > > | #define PACKAGE_BUGREPORT "verdamm...@users.sourceforge.net"
> > > | #define PACKAGE "tnef"
> > > | #define VERSION "1.4.3"
> > > | /* end confdefs.h. */

> >
> > > What do I need to do to fix this?

>
> You might have better luck if you subscribe to the MailScanner mail
> list -
>
> mailscanner@lists.mailscanner.info


That's a possibility but I've discounted it as this ia a compiler issue and
not an operational issue.

The fact that the MailScanner web site has foucused downloads for
Linux RPM (Fedora, RedHat, Mandrake and other Linux) and Free BSD,
(Solaris, BSD, Other Linux, and Other UNIX) versions with nothing
listing SCO tends to suggest the "SCO not welcome" mindset common
of most Linux developers.

The lack of respnse is likely due to the long posting. Questions
like "Mail Scanner won't compile - why?" get frequent responses with
requests for more information. Too much invormation (like in my
original post) are too much to digest and get little response.


--

Steve Fabac
S.M. Fabac & Associates
816/765-1670
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-16-2008, 04:07 AM
Brent Bolin
 
Posts: n/a
Default Re: Trying to install/compile MailScanner-install-4.62.9,-3.tar

On Aug 24, 12:39 pm, "Steve M. Fabac, Jr." <smfa...@att.net> wrote:
> Brent Bolin wrote:
>
> > On Aug 22, 3:34 pm, "Steve M. Fabac, Jr." <smfa...@att.net> wrote:
> > > Still looking for help on this issue. Anybody?

>
> > > Steve M. Fabac, Jr. wrote:

>
> > > > A module in MailScanner creates a working directory /tmp/tnef-1.4.3
> > > > and runs ./configure and make in that directory. The problem I am
> > > > getting is UX:i386ld: ERROR: Symbol referencing errors. No output
> > > > written to tnef.

>
> > > > This is on SCO 5.0.7 with the SCO Development system:

>
> > > > UNIX Development System component 5.2.0A installed
> > > > rs507d - Development System Update rs507d.un applied
> > > > rs507d - Development System Update rs507d.un loaded
> > > > SCO C++ Development System 3.1.4Ga installed
> > > > rs507d - C++ Development System Update rs507d.cp applied
> > > > rs507d - C++ Development System Update rs507d.cp loaded
> > > > Extended Tcl Development System 7.3.2e installed
> > > > Administration Framework Development System 1.0.2Aa installed
> > > > Custom Distribution Mastering Toolkit 1.2.0j installed
> > > > rs507d - CDMT Patch rs507d.cd applied
> > > > rs507d - CDMT Patch rs507d.cd loaded
> > > > X11/Motif Development System component 5.2.5j installed
> > > > rs507d - X11/Motif Development System Patch rs507d.xd applied
> > > > rs507d - X11/Motif Development System Patch rs507d.xd loaded

>
> > > > And swconfig shows: GNU Development Tools 5.0.7g partially installed

>
> > > > At one time I had gcc on this system but it was removed and replaced with
> > > > the SCO Dev system. gwxlibs does not show up in custom but /usr/gnu/bin
> > > > exists and is populated with everything but gcc:

>
> > > > # ls -m
> > > > autoexpect, autopasswd, autopoint, cryptdir, decryptdir, dislocate,
> > > > envsubst,
> > > > expect, expectk, ftp-rfc, gettext, gettextize, ginstall-info, gmake,
> > > > install-info, kibitz, lpunlock, mkpasswd, msgattrib, msgcat, msgcmp,
> > > > msgcomm,
> > > > msgconv, msgen, msgexec, msgfilter, msgfmt, msggrep, msginit, msgmerge,
> > > > msgunfmt, msguniq, multixterm, ngettext, passmass, rftp, rlogin-cwd, tcl,
> > > > tclhelp, tclsh, tclsh8.4, timed-read, timed-run, tknewsbiff, tkpasswd,
> > > > unbuffer, weather, wish, wish8.4, wishx, xgettext, xkibitz, xpstat

>
> > > > When I changed to /tmp/tnef-1.4.3 and ran make clean and make I see a whole
> > > > raft of object compile statements but the end result is:

>
> > > > cc -g -o tnef alloc.o attr.o date.o debug.o file.o main.o
> > > > mapi_att
> > > > r.o options.o path.o rtf.o tnef.o util.o write.o xstrdup.o
> > > > tnef_names.o tnef_t
> > > > ypes.o mapi_types.o mapi_names.o replace/libreplace.a
> > > > Undefined first referenced
> > > > symbol in file
> > > > libintl_gettext libreplace.a(getopt_long.o)
> > > > UX:i386ld: ERROR: Symbol referencing errors. No output written to tnef
> > > > *** Error code 1 (bu21)
> > > > *** Error code 1 (bu21)
> > > > *** Error code 1 (bu21)
> > > > *** Error code 1 (bu21)

>
> > > > I did a grep libintl_gettext on /usr/include/* and found:
> > > > /usr/include/libgnuintl.h:extern char *libintl_gettext (const char
> > > > *__msgid);
> > > > /usr/include/libgnuintl.h: return libintl_gettext (__msgid);
> > > > /usr/include/libgnuintl.h:# define gettext libintl_gettext
> > > > /usr/include/libgnuintl.h: _INTL_ASM (libintl_gettext);

>
> > > > and then looking at it in context:

>
> > > > # less /usr/include/libgnuintl.h

>
> > > > /* Look up MSGID in the current default message catalog for the current
> > > > LC_MESSAGES locale. If not found, returns MSGID itself (the default
> > > > text). */
> > > > #ifdef _INTL_REDIRECT_INLINE
> > > > extern char *libintl_gettext (const char *__msgid);
> > > > static inline char *gettext (const char *__msgid)
> > > > {
> > > > return libintl_gettext (__msgid);
> > > > }
> > > > #else
> > > > #ifdef _INTL_REDIRECT_MACROS
> > > > # define gettext libintl_gettext
> > > > #endif
> > > > extern char *gettext (const char *__msgid)
> > > > _INTL_ASM (libintl_gettext);
> > > > #endif

>
> > > > I checked the config.log and found:

>
> > > > configure:4404: checking for gettext in -lintl
> > > > configure:4439: cc -o conftest -g conftest.c -lintl >&5
> > > > UX:i386acomp: WARNING: "conftest.c", line 23: warning: statement not
> > > > reached
> > > > Undefined first referenced
> > > > symbol in file
> > > > gettext conftest.o
> > > > UX:i386ld: ERROR: Symbol referencing errors. No output written to conftest
> > > > configure:4445: $? = 1
> > > > configure: failed program was:
> > > > | /* confdefs.h. */
> > > > | #define PACKAGE_NAME "tnef"
> > > > | #define PACKAGE_TARNAME "tnef"
> > > > | #define PACKAGE_VERSION "1.4.3"
> > > > | #define PACKAGE_STRING "tnef 1.4.3"
> > > > | #define PACKAGE_BUGREPORT "verdamm...@users.sourceforge.net"
> > > > | #define PACKAGE "tnef"
> > > > | #define VERSION "1.4.3"
> > > > | /* end confdefs.h. */

>
> > > > What do I need to do to fix this?

>
> > You might have better luck if you subscribe to the MailScanner mail
> > list -

>
> > mailscan...@lists.mailscanner.info

>
> That's a possibility but I've discounted it as this ia a compiler issue and
> not an operational issue.
>
> The fact that the MailScanner web site has foucused downloads for
> Linux RPM (Fedora, RedHat, Mandrake and other Linux) and Free BSD,
> (Solaris, BSD, Other Linux, and Other UNIX) versions with nothing
> listing SCO tends to suggest the "SCO not welcome" mindset common
> of most Linux developers.
>
> The lack of respnse is likely due to the long posting. Questions
> like "Mail Scanner won't compile - why?" get frequent responses with
> requests for more information. Too much invormation (like in my
> original post) are too much to digest and get little response.
>
> --
>
> Steve Fabac
> S.M. Fabac & Associates
> 816/765-1670


Not sure it's a mind set. It's where most of the open source
development exists.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-16-2008, 04:07 AM
Steve M. Fabac, Jr.
 
Posts: n/a
Default Re: Trying to install/compile MailScanner-install-4.62.9,-3.tar

Brent Bolin wrote:
> On Aug 24, 12:39 pm, "Steve M. Fabac, Jr." <smfa...@att.net> wrote:
>> Brent Bolin wrote:
>>
>>> On Aug 22, 3:34 pm, "Steve M. Fabac, Jr." <smfa...@att.net> wrote:
>>>> Still looking for help on this issue. Anybody?
>>>> Steve M. Fabac, Jr. wrote:
>>>>> A module in MailScanner creates a working directory /tmp/tnef-1.4.3
>>>>> and runs ./configure and make in that directory. The problem I am
>>>>> getting is UX:i386ld: ERROR: Symbol referencing errors. No output


Much deleted.

>>> You might have better luck if you subscribe to the MailScanner mail
>>> list -
>>> mailscan...@lists.mailscanner.info

>> That's a possibility but I've discounted it as this ia a compiler issue and
>> not an operational issue.
>>
>> The fact that the MailScanner web site has foucused downloads for
>> Linux RPM (Fedora, RedHat, Mandrake and other Linux) and Free BSD,
>> (Solaris, BSD, Other Linux, and Other UNIX) versions with nothing
>> listing SCO tends to suggest the "SCO not welcome" mindset common
>> of most Linux developers.
>>
>> The lack of respnse is likely due to the long posting. Questions
>> like "Mail Scanner won't compile - why?" get frequent responses with
>> requests for more information. Too much invormation (like in my
>> original post) are too much to digest and get little response.
>>
>> --
>>
>> Steve Fabac
>> S.M. Fabac & Associates
>> 816/765-1670

>
> Not sure it's a mind set. It's where most of the open source
> development exists.
>
>


Mea culpa. I finally gave up with the SCO DevSys and installed
gnutools5.0.7Kj and reverted to the original tarball from
MailScanner-install-4.62.9. to compile with gcc.

I did have to modify one file to get the script to run:

# diff install.tar-fns.sh ../test/MailScanner*/install.tar-fns.sh
9c9

> < Modified original >

< TARPATH="/usr/gnu/bin /usr/local/bin /usr/local/sbin /usr/sfw/bin /usr/freewar
e/bin /usr/bin /usr/sbin /bin"
---
> TARPATH="/usr/local/bin /usr/local/sbin /usr/sfw/bin /usr/freeware/bin /usr/bi

n /usr/sbin /bin"

With the addition of /usr/gnu/bin to the TARPATH, "sh -x install.sh > /tmp/logit.log 2>&1"
ran without critical errors and reported only one compile failure:

# Looks like you failed 6 tests of 159.
dubious
Test returned status 6 (wstat 1536, 0x600)
DIED. FAILED tests 90, 92, 94, 130, 132, 134
Failed 6/159 tests, 96.23% okay (less 44 skipped tests: 109 okay, 68.55%
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/syslog.t 6 1536 159 6 90 92 94 130 132 134
2 tests and 51 subtests skipped.
Failed 1/8 test scripts. 6/251 subtests failed.
Files=8, Tests=251, 8 wallclock secs ( 6.36 cusr + 0.81 csys = 7.17 CPU)
Failed 1/8 test programs. 6/251 subtests failed.
*** Error code 6 (bu21)
+ rm -rf /tmp/Sys-Syslog-0.18

I've yet to turn it on and test it but I did run the recommended root
crontab entries manually:

> Linking into SpamAssassin if you have it installed.
>
> Good, the link was created to /opt/MailScanner/etc
>
> I strongly recommend you create a few root cron jobs:
>
> 37 5 * * * /opt/MailScanner/bin/update_phishing_sites
> 58 23 * * * /opt/MailScanner/bin/clean.quarantine
> 42 * * * * /opt/MailScanner/bin/update_virus_scanners
> 3,23,43 * * * * /opt/MailScanner/bin/check_mailscanner


I had to modify update_phishing_sites and add /usr/gnu/bin to
the existing PATH statement:

> PATH=/usr/gnu/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/etc:/usr/local/bin:/usr/sfw
> /bin


I Tested check_mailscanner and it died without starting the not
running mailscanner at the line I've commented out:

sh -x /opt/MailScanner/bin/check_mailscanner
> + fgrep SCO
> + ps -e -o pid -o args
> + fgrep /opt/MailScanner/bin/MailScanner
> + grep -v grep
> + sed -e s/^ *// -e s/ .*//
> pid=
> + [ x = x ]
> + ulimit -n 2000
> /opt/MailScanner/bin/check_mailscanner: bad option(s)




if [ "x$pid" = "x" ]; then
# Quietly try to raise the open_files limit
> # ulimit -n 2000 >/dev/null 2>&1

# Restart it
PATH=${msbindir}:$PATH
echo -n 'Starting MailScanner...'
cd $msbindir
$process $config || RETVALUE=" Failed."
echo "$RETVALUE"
else
if [ "x$1" != "x-q" ]; then
echo MailScanner running with pid $pid
fi
fi

Once the ulimit -n 2000 line was commented out, check_mailscanner
restarted (in this case started) mailscanner.

And last my comment about ignoring SCO above is belied by the
code I found in check_mailscanner:

.....
RETVALUE=" Done."
# If this does not work on your system, please don't
# just send us a version that does, please please please
# send example output that demonstrates *why* it doesn't
# work, what version of what system you are running etc.
# If you do this then I *will* make this work right for
# everybody.
# -- Nick Phillips <nwp@lemon-computing.com>

if $UNAME | $FGREP "SunOS" >/dev/null ; then
# Version for Solaris/SysV systems:
pid=`/usr/ucb/ps auxww |
egrep $msbindir/$process'|'$process'[:]' |
grep -v grep |
awk '{print $2}'`
elif $UNAME | $FGREP "HP" >/dev/null ; then
# Version for HP-UX
pid=`ps -efx |
fgrep $msbindir/$process |
fgrep -v fgrep |
awk '{print $2}'`
> elif $UNAME | $FGREP "SCO" >/dev/null ; then

pid=`ps -e -o pid -o args |
fgrep $msbindir/$process |
grep -v grep |
sed -e 's/^ *//' -e 's/ .*//'`
elif $UNAME | $FGREP "Linux" >/dev/null ; then
pid=`$PS axww |
$EGREP $process'[:]|\['$process'\]|[ ]'$msbindir/$process |
awk '{ print $1 }'`
elif $UNAME | $FGREP "BSD" >/dev/null ; then
pid=`$PS -axww |
$EGREP '[ ]('$msbindir/$process')|'$process'[:]' |
$AWK '{print $1}'`
elif $UNAME | $FGREP "OSF" >/dev/null ; then
pid=`ps -e -o pid -o args |
$GREP '[ ]'$process |
grep -v grep |
awk '{ print $1 }'`
elif $UNAME | $FGREP "Darwin" >/dev/null ; then # ie Mac OSX
pid=`$PS axww |
$EGREP '[ ]('$msbindir/$process')|'$process'[:]' |
$AWK '{print $1}'`
else
# not BSD; everything else seems to do POSIX
pid=`COLUMNS=500 $PS -ef |
$EGREP '([ ]'$msbindir/$process')|'$process'[:]' |
$AWK '{print $2}'`
fi

So once I have this running on 5.0.7, I'll be reporting my
modifications to the source maintainer for possible inclusion
in the next release.

--
Steve Fabac
S.M. Fabac & Associates
816/765-1670
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:12 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
UnixAdminTalk.com

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345