Re: Makefile.PL bug (?) - USE_APXS/DYNAMIC incompatible

2001-01-31 Thread Doug MacEachern

On Sun, 28 Jan 2001, Lynn Winebarger wrote:

> 
>Ok, I resolved this.  It appears USE_APXS is incompatible with DYNAMIC,

whoops, guess you already figured that out.  >> ToDo




Re: Makefile.PL bug (?) - USE_APXS/DYNAMIC incompatible

2001-01-28 Thread Lynn Winebarger

On Sun, 28 Jan 2001, G.W. Haywood wrote:

> Hi again,
> 
> On Sun, 28 Jan 2001, Lynn Winebarger wrote:
> 
> >Ok, I resolved this.
> 
> Glad you resolved it.
> 
> It would help everybody if you keep the subject line the same.


   Sorry.  I changed it because I had something definite to report, rather
than just a problem I couldn't solve.

Lynn




Re: Makefile.PL bug (?) - USE_APXS/DYNAMIC incompatible

2001-01-28 Thread G.W. Haywood

Hi again,

On Sun, 28 Jan 2001, Lynn Winebarger wrote:

>Ok, I resolved this.

Glad you resolved it.

It would help everybody if you keep the subject line the same.

73,
Ged.




Makefile.PL bug (?) - USE_APXS/DYNAMIC incompatible

2001-01-27 Thread Lynn Winebarger


   Ok, I resolved this.  It appears USE_APXS is incompatible with DYNAMIC,
producing the results I posted previously. I don't know whether this
reflects a true incompatibility in the code or not.  Someone might want to
add a warning - particularly since DYNAMIC is the only switch that turns
on all the APIs without turning on everything (perl_ssi was the one I
didn't want turned on).  Or allow switches to override EVERYTHING.
   In addition, if you do a make clean after such a build, then
reconfigure without turning DYNAMIC on, you get a similar problem, but in
Connection/ (Apache/ is made without error).  (I tested this in a freshly
unarchived source dir).

Thanks for the time,
Lynn





Makefile.PL bug???

2000-10-01 Thread David McCabe

I am having the following "problem" when building mod_perl/Apache. I have a
.makepl_args.mod_perl file in my $HOME, and "perl Makefile.PL" works almost
perfectly, using Apaci to configure both Apache and mod_perl compilation just the way
I want. Then "make" from the mod_perl dir, fails in the Apache src/support dir,
trying to compile suexec. Here are the two "errors" that are generated, and their
commands, the second coming after fixing the first:

gcc -c -I.. -I/opt/perl5.6.0/lib/5.6.0/sun4-solaris/CORE -I../os/unix -I../include  
-DSOLARIS2=280 -DMOD_PERL -DUSE_PERL_SSI -fno-strict-aliasing
-I/opt/BerkeleyDB.3.1/include -I/opt/include/X11 \
-DHTTPD_USER=\"httpd\" \
-DUID_MIN=100 \
-DGID_MIN=100 \
-DUSERDIR_SUFFIX=\"public_html\" \
-DLOG_EXEC=\"/opt/Apache.new/logs/suexec_log\" \
-DDOC_ROOT=\"/export/home/htdocs\" \
-DSAFE_PATH=\"/usr/local/bin:/usr/bin:/bin\" \ suexec.c
gcc:  suexec.c: No such file or directory
gcc: No input files
*** Error code 1
make: Fatal error: Command failed for target `suexec.o'

Copy/pasting this into a shell that is in the Apache src/support dir, and removing
the \ before suexec.c at the end, works fine. (Or, I could put in a cr after the \
:):) Then, back in the mod_perl dir, "make" gives me this:

gcc  -DSOLARIS2=280 -DMOD_PERL -DUSE_PERL_SSI -fno-strict-aliasing
-I/opt/BerkeleyDB.3.1/include -I/opt/include/X11 \
-DHTTPD_USER=\"httpd\" \
-DUID_MIN=100 \
-DGID_MIN=100 \
-DUSERDIR_SUFFIX=\"public_html\" \
-DLOG_EXEC=\"/opt/Apache.new/logs/suexec_log\" \
-DDOC_ROOT=\"/export/home/htdocs\" \
-DSAFE_PATH=\"/usr/local/bin:/usr/bin:/bin\" \ -o suexec  
-L../os/unix -L../ap suexec.o -lap -los  -lsocket -lnsl-L/opt/BerkeleyDB.3.1/lib
-L/opt/lib/X11 /opt/perl5.6.0/lib/5.6.0/sun4-solaris/auto/DynaLoader/DynaLoader.a
-L/opt/perl5.6.0/lib/5.6.0/sun4-solaris/CORE -lperl -lsocket -lnsl -ldb -ldl -lm -lc
-lcrypt -lsec  -ldl
gcc:  -o: No such file or directory
gcc: suexec: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `suexec'

Again, I copy/paste, remove the \ before the -o suexec, and the command works. Back
in mod_perl, "make", "make test", and "make install" all work perfectly.

Obviously, a problem in the Makefile generation, and a simple one for someone who
understands all the interaction between all the Makefiles. But, unfortunately, that
is not me. :(   Yet ;)

This is not a show-stopper, but it does it make it impossible to do a clean "install
Apache" from the CPAN shell, or a Bundle file. :(

Relevant info:

Solaris 2.6 and 8
perl 5.6.0
mod_perl 1.24
Apache 1.3.12
gcc 2.95.2 19991024 (release)

Everything was compiled from the same gcc, the packages from sunfreeware.com, for 2.6
and 8. As a matter of fact, on new installations, I build _everything_ I need/use
from nice shell/perl scripts and CPAN Bundle files that I have built over the past
four years. That is why I would love to have this fixed. :):) (I can run the patch
program, or even apply by hand. I have done both many times. :):)



David McCabe  Unix System Administrator
Le Groupe Videotron [EMAIL PROTECTED]   (514) 380 4433

Microsoft seems to have gotten a lot of mileage out of the
C2 rating for NT with no network connection. I wonder if a B3
rating for Linux with no power cord might be of value.
 -- unknown