jed-users mailing list

[2004 Date Index] [2004 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: How to make associated s-lang lib without pcre?


At Thu, 25 Nov 2004 22:57:00 -0500,
John E. Davis wrote:
> 
> Lloyd Zusman <ljz@xxxxxxxxxx> wrote:
> >I am trying to build the latest 0.99.17 version of jed on a machine
> >without pcre.  First, I have to build s-lang, but that build fails due
> >to the absence of pcre ... even though I do this:
> >
> >  ./configure --prefix=/usr --without-pcre \
> >              --without-pcrelib --without-pcreinc
> 
> It should build the pcre module only if configure does not find it.
> Try configuring with:
> 
>    ./configure --prefix=/usr

Sadly, that didn't work, either.  So, I went and installed pcre on my
system.  The libraries ended up going into /usr/lib and include files
ended up in /usr/include/pcre, and so I did this:

  ./configure --prefix=/usr --with-pcrelib=/usr/lib \
              --with-pcreinc=/usr/include/pcre

Even with that, I got the same error.  So finally, I did this:

  export CFLAGS="-I/usr/include/pcre"

Then, upon rebuilding (without having to re-run 'configure') everything
worked.

Because of all this, it seems like the --with-pcrelib and --with-pcreinc
flags don't work properly.


> If that does not help, then remove pcre-module.so from the MODULES
> macro in modules/Makefile (after running configure).

Well, since I got it working by installing pcre and doing what I
mentioned above, I didn't try this.

Thanks for your help on this.


-- 
 Lloyd Zusman
 ljz@xxxxxxxxxx
 God bless you.

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2004 date index] [2004 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]