Re: Error Installation EPS

[email protected] Tue, 08 Oct 2002 17:29:47 -0500
Newsgroups gmane.mail.eps
Organization Inter7 Internet Technologies, Inc.
Message-ID <[email protected]>
Im not sure exactly what you're trying to accomplish as far
as the database, but finding if the subject header has the
word 'Quiz' in it should be very simple.

struct eps_t *eps;
struct header_t *h;

/*
   Init EPS
   eps = eps_begin(...);
*/

for (h = eps_next_header(eps); h; h = eps_next_header(eps)) {
    if (!(strcasecmp(h->name, "Subject"))) {
       if (strstr(h->data, "Quiz"))) {
          /* Found the word 'Quiz' in the subject line */
       }
    }
}

Afif wrote:
> 
> Thanks Vol,
> 
> its now succes for compile, now error message,
> but I really confuse to prove its has been works or not,
> I need to make test, but I really confuse to make test for my eps,
> I have mean to test that I have email subject "Quiz" the sender will
> get an answer from query in Mysql Database.
> 
> High appreciate and many thanks for all yr support
> --
> Best regards,
> Afif
> mailto:[email protected]
> 
> Tuesday, October 08, 2002, 1:32:24 AM, you wrote:
> 
> vic> What version are you installing?  Download v1.2 from
> vic> inter7.com/eps.  If you already did, download it again.
> vic> There were some posting problems with the new tarball.
> 
> vic> Get inter7.com/eps/eps-1.2.tar.gz
> vic> and inter7.com/eps/epstools-1.4.tar.gz
> 
> vic> Compile and install EPS v1.2, and then compile the sample code
> vic> from epstools v1.4.
> 
> vic> Afif wrote:
> >>
> >> Dear All,
> >>
> >> I am trying to implement eps on my slack, but when I try compile I
> >> have an error msg
> >>
> >> gcc -O3 -funroll-loops -Wall -I. -o rewrite rewrite.c -leps-1.0 -L. -DRESTART
> >> /usr/i386-slackware-linux/bin/ld: cannot find -leps-1.0
> >> collect2: ld returned 1 exit status
> >> make: *** [rewrite] Error 1
> >>
> >> I try to insert /usr/bin at "/etc/ld.so.conf (is. the location of ld)
> >> but its still error,
> >> what I do some miss with my compilation?
> >> are u have step by step installation of eps/efilter/epstools?
> >> high appreciate for all your guidance
> >>
> >> --
> >> My Best regards,
> >> Afif
> >> mailto:[email protected]

-- 
mailto:[email protected]
Matt Brookings - Chief Technical Officer
Inter7 Internet Technologies, Inc.
www.inter7.com - 847-492-0470
Prices at http://www.inter7.com/prices