Re: compiling troubles on Solaris 8

2001-08-07 Thread Homsher, Dave V.

 As an aside, Solaris 8 comes with prebuilt versions of Apache 
 and mod_perl,

does anyone familiar with HP-UX, AIX, or IRIX know whether this is true of
these platforms as well?

Whether they are DSO mod_perl or not would also be helpful.

HP-UX doesn't consider Perl a supportable piece of software, nor Apache.
Needless to say, it doesn't come prebuilt. The compiler that comes w/the os
isn't ansii compliant and is only good for rebuilding the kernel (but hey,
you can buy HP's ansii c compiler for only a few thousand dollars!). 

We ended up building a gnu development environment in order to build
mod_Perl. We could not get it to work as a DSO :(. Once we got everything up
and running, it's a decent enough platform.

Regards,
Dave Homsher



Re: compiling troubles on Solaris 8

2001-08-06 Thread Ged Haywood

Hi there,

On Mon, 6 Aug 2001, Alan Burlison wrote:

  Please note that the same compiler must be used to build Perl and mod_perl,
 
 Not so.  gcc should work just fine.  The problem is that when perl is
 configured and built, it saves the compiler name and flags in Config.pm.

Well OK, read What Compiler Should Be Used to Build mod_perl? in the
install section of Stas' new book if you want to use different compilers
- but don't say I didn't warn you!  :)

73,
Ged.





Re: compiling troubles on Solaris 8

2001-08-06 Thread Alan Burlison

Ged Haywood wrote:

 Well OK, read What Compiler Should Be Used to Build mod_perl? in the
 install section of Stas' new book if you want to use different compilers
 - but don't say I didn't warn you!  :)

By all means, please feel free to buy our compiler.

Alan Burlison



RE: compiling troubles on Solaris 8

2001-08-06 Thread Geoffrey Young



 -Original Message-
 From: Alan Burlison [mailto:[EMAIL PROTECTED]]
 Sent: Monday, August 06, 2001 4:54 AM
 To: Ged Haywood
 Cc: Bryan McGuire; Paul Phillips; [EMAIL PROTECTED]
 Subject: Re: compiling troubles on Solaris 8
 
[snip]
 
 As an aside, Solaris 8 comes with prebuilt versions of Apache 
 and mod_perl,

does anyone familiar with HP-UX, AIX, or IRIX know whether this is true of
these platforms as well?

Whether they are DSO mod_perl or not would also be helpful.

thanks

--Geoff



Re: compiling troubles on Solaris 8

2001-08-06 Thread Alan Burlison

Geoffrey Young wrote:

  As an aside, Solaris 8 comes with prebuilt versions of Apache
  and mod_perl,
 
 does anyone familiar with HP-UX, AIX, or IRIX know whether this is true of
 these platforms as well?
 
 Whether they are DSO mod_perl or not would also be helpful.

On Solaris it is built as a DSO.

-- 
Alan Burlison
Solaris Kernel Development, Sun Microsystems



compiling troubles on Solaris 8

2001-08-05 Thread Paul Phillips

Hello,

I am trying to build mod_perl 1.26 and Apache 1.3.20 on my Solaris 8 box. 
I have installed the additional CD with the developer tools including the 
gnu utilities and gcc.

When I first started, it did not seem to be using gcc, so I renamed 
/usr/ucb/cc to cc.default, and make /usr/ucb/cc a link to gcc.

That seemed to get me further.  However, I have reached a fatal error, and 
don't have a clue what this means.  The error messages are quoted below.

I am trying to do the simplest build possible, following the INSTALL 
instructions. So after unzipping and untarring apache and mod_perl, from 
within the mod_perl distribution directory, I type
perl Makefile.PL
I confirm that I want it build from ../apache_1.3.20/src, and that I want 
to store the new httpd in that directory.

Then I type make.  After a bit, I get this:

mkdir ../blib/arch/auto/Apache/Leak
mkdir ../blib/lib/auto/Apache/Leak
cp Leak.pm ../blib/lib/Apache/Leak.pm
/bin/perl -I/usr/perl5/5.00503/sun4-solaris -I/usr/perl5/5.00503 
/usr/perl5/5.00
503/ExtUtils/xsubpp  -typemap /usr/perl5/5.00503/ExtUtils/typemap -typemap 
typem
ap Leak.xs xstmp.c  mv xstmp.c Leak.c
cc -c   -xO3 -xdepend -DVERSION=\1.00\  -DXS_VERSION=\1.00\ -KPIC 
-I/usr
/perl5/5.00503/sun4-solaris/CORE -DSOLARIS2=280 -DUSE_EXPAT 
-I/lib/expat-lite -D
NO_DL_NEEDED Leak.c
cc: unrecognized option `-KPIC'
cc: language depend not recognized
cc: Leak.c: linker input file unused since linking not done
Running Mkbootstrap for Apache::Leak ()
chmod 644 Leak.bs
LD_RUN_PATH= cc -o ../blib/arch/auto/Apache/Leak/Leak.so  -G Leak.o
cc: Leak.o: No such file or directory
cc: No input files
*** Error code 1
make: Fatal error: Command failed for target 
`../blib/arch/auto/Apache/Leak/Leak
.so'
Current working directory /home/paul/mod_perl-1.26/Leak
*** Error code 1
make: Fatal error: Command failed for target `subdirs'

I have no idea what is wrong, or how to fix it, so I would appreciate any 
help.

thanks!

___
Paul Phillips
Director of Orchestral Activities, Meadows School of the Arts
Southern Methodist University

You must sing every note you play, sing even through the rests!
Arturo Toscanini



Re: compiling troubles on Solaris 8

2001-08-05 Thread Bryan McGuire

Sun wants to sell you it's Forte for C (formerly known as the Sun 
Workshop compiler).  There's a hundred reasons to use the sun compiler 
over gcc, and one pretty big reason why you you don't want to use it.  
If you can get it into your budget, by all means go for the real Sun 
compiler.  It generates code that is highly optimized for sparc 
hardware, particularly if you are running multiple processors.  If 
nothing else, request a time limited demo license from Sun so you can 
build mod_perl (and every other module you think you'll ever need off of 
CPAN).

On Sunday, August 5, 2001, at 04:05 PM, Paul Phillips wrote:

 Hello,

 I am trying to build mod_perl 1.26 and Apache 1.3.20 on my Solaris 8 
 box. I have installed the additional CD with the developer tools 
 including the gnu utilities and gcc.

 When I first started, it did not seem to be using gcc, so I renamed 
 /usr/ucb/cc to cc.default, and make /usr/ucb/cc a link to gcc.

 That seemed to get me further.  However, I have reached a fatal error, 
 and don't have a clue what this means.  The error messages are quoted 
 below.

 I am trying to do the simplest build possible, following the INSTALL 
 instructions. So after unzipping and untarring apache and mod_perl, 
 from within the mod_perl distribution directory, I type
 perl Makefile.PL
 I confirm that I want it build from ../apache_1.3.20/src, and that I 
 want to store the new httpd in that directory.

 Then I type make.  After a bit, I get this:

 mkdir ../blib/arch/auto/Apache/Leak
 mkdir ../blib/lib/auto/Apache/Leak
 cp Leak.pm ../blib/lib/Apache/Leak.pm
 /bin/perl -I/usr/perl5/5.00503/sun4-solaris -I/usr/perl5/5.00503 
 /usr/perl5/5.00
 503/ExtUtils/xsubpp  -typemap /usr/perl5/5.00503/ExtUtils/typemap 
 -typemap typem
 ap Leak.xs xstmp.c  mv xstmp.c Leak.c
 cc -c   -xO3 -xdepend -DVERSION=\1.00\  -DXS_VERSION=\1.00\ 
 -KPIC -I/usr
 /perl5/5.00503/sun4-solaris/CORE -DSOLARIS2=280 -DUSE_EXPAT 
 -I/lib/expat-lite -D
 NO_DL_NEEDED Leak.c
 cc: unrecognized option `-KPIC'
 cc: language depend not recognized
 cc: Leak.c: linker input file unused since linking not done
 Running Mkbootstrap for Apache::Leak ()
 chmod 644 Leak.bs
 LD_RUN_PATH= cc -o ../blib/arch/auto/Apache/Leak/Leak.so  -G Leak.o
 cc: Leak.o: No such file or directory
 cc: No input files
 *** Error code 1
 make: Fatal error: Command failed for target 
 `../blib/arch/auto/Apache/Leak/Leak
 .so'
 Current working directory /home/paul/mod_perl-1.26/Leak
 *** Error code 1
 make: Fatal error: Command failed for target `subdirs'

 I have no idea what is wrong, or how to fix it, so I would appreciate 
 any help.

 thanks!

 ___
 Paul Phillips
 Director of Orchestral Activities, Meadows School of the Arts
 Southern Methodist University

 You must sing every note you play, sing even through the rests!
 Arturo Toscanini