Thank you! The perl version was definitely part of the problem.
We actually have perl version 5.004, but we also have a "perl5" around
which is 5.001, and the configure script looks perl5 before it tries
perl. I can't blame the configure script for that, but it would be
nice if there were a more appropriate message than "does not have DSO
support."
Now that that problem is solved, I am now having another. The configure
script now works okay, but when I try to run "make", I am getting
another error. It seems to make the shared library okay, but then
it tries to make the static library and fails. Here are the last few
lines of make output, up to the error:
(cd .libs && ln -s libjserv.so.0.0.0 libjserv.so.0)
(cd .libs && ln -s libjserv.so.0.0.0 libjserv.so)
ar cru .libs/libjserv.a
ranlib .libs/libjserv.a
ranlib: .libs/libjserv.a: No such file or directory
The manual page for "ar" indicates that there are supposed to be a
list of files after the archive name, so perhaps that is why "ar" fails.
Does anyone have any suggestions? Why is it even trying to make
a statically-linked library, when I am trying to set it up as a shared
library?
--Paul
Stephane Carri� 0144546977 <[EMAIL PROTECTED]> wrote:
> Hi,
> I got the same error with 1.0b1/apache 1.3.3/solaris2.5
>
> It was coming from the program ./bin/apxs.
> apxs uses perl and requires a recent version. (5.003)
>
> The problem is that the install program catches
> the error and reports wrongly that apxs is not installed.
> (In fact it is right, apxs is not installed correctly.)
> I believe apache configure should check that the level
> of perl is correct.
> >
> I installed the latest perl and everything worked OK for me.
>
> St=E9phane.
>
>
> Paul Lynch wrote:
>
> > "jon *" <[EMAIL PROTECTED]> wrote:
> > > > --prefix=/proj/ftrs/3rdparty/apache_1.3.4
> > >
> > > > ./configure --with-apache-install=/proj/ftrs/3rdparty/apache
> > >
> > > shouldn't that be:
> > >
> > > > ./configure --with-apache-install=/proj/ftrs/3rdparty/apache_1.3.4
> > >
> >
> > I should have mentioned that "apache" is a soft-link to apache_1.3.4.
> > However, just to make sure that isn't the problem, I re-ran configure
> > as:
> > ./configure --with-apache-install=/proj/ftrs/3rdparty/apache_1.3.4
> > --prefix=/proj/ftrs/3rdparty/Apache-JServ-1.0b3
> >
> > and got the same error. For reference, here's my orignal message again:
> >
> > I'm attemping to configure Apache for DSO support, and to set up JServ
> > as a DSO, and I'm having trouble. I am using the following:
> > Apache: 1.3.4
> > JServ: 1.0 beta 3
> > Operating system: Solaris 2.6
> >
> > I using the following "configure" for Apache:
> > ./configure --enable-rule=SHARED_CORE --enable-module=so
> > --prefix=/proj/ftrs/3rdparty/apache_1.3.4
> > --add-module=/proj/ftrs/3rdparty/Apache-JServ-1.0b3/src/c/mod_jserv.c
> > --enable-shared=jserv
> >
> > This worked fine, and I did a "make install", which also worked.
> > I then tried to run configure for JServ, using:
> > ./configure --with-apache-install=/proj/ftrs/3rdparty/apache
> > --prefix=/proj/ftrs/3rdparty/Apache-JServ-1.0b3
> > but after doing several checks, it said:
> > checking for Apache directory... configure: error: does not have DSO
> > support
> >
> > What am I missing?
> > --Paul
> >
> > ____________________________________________________________________
> > Get free e-mail and a permanent address at http://www.netaddress.com/?N=1
> >
> > ----------------------------------------------------------------
> > To subscribe: [EMAIL PROTECTED]
> > To unsubscribe: [EMAIL PROTECTED]
> > Archives and Other: <http://java.apache.org/main/mail.html/>
> > Problems?: [EMAIL PROTECTED]
>
>
>
> ----------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/main/mail.html/>
> Problems?: [EMAIL PROTECTED]
____________________________________________________________________
Get free e-mail and a permanent address at http://www.netaddress.com/?N=1
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]