RE: HELP - Problem installing modperl

2003-02-21 Thread Pablo Jejcic
Here is my 'perl -V'.

Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
  Platform:
osname=solaris, osvers=2.9, archname=sun4-solaris-64int
uname='sunos localhost 5.9 sun4u sparc sunw,ultra-1'
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
  Compiler:
cc='cc', ccflags ='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-xO3 -xdepend',
cppflags=''
ccversion='Sun WorkShop', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
ld='cc', ldflags =''
libpth=/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
  Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-R
/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE'
cccdlflags='-KPIC', lddlflags='-G'


Characteristics of this binary (from libperl): 
  Compile-time options: USE_64_BIT_INT USE_LARGE_FILES
  Locally applied patches:
 9676 Port the OpenBSD glob() security patch
 9678 Addendum to #9676: some missing changes from OpenBSD glob.c
 9679 Up $File::Glob::VERSION, add OpenBSD glob version note
 9693 $VERSION and Version() on same line provokes CPAN.pm warning
 9706 #7210 broke .packlist generation
 9707 ExtUtils::Installed doesn't quote regex metacharacters in paths
 9775 Typo in utf8.h
 9950 Revert integration of #8254,#8255 in #8620 (causes coredump)
10021 Insecure regexes
10091 $ref1 == $ref2 behaves unpredictably if not NV_PRESERVES_UV
10093 Incorrect line numbers in AutoSplit
10100 [20010514.027] PL_last_in_gv may not be GV if stale filehandle
10145 [20010515.004] Segfaults from premature GC
10203 Don't think about UTF8
10250 [20010422.005] perl -e '{s//${}/; //}' segfaults
10394 Leakage of file scope lexicals into predeclared subroutines
10404 eval.t was relying on pre-#10394 buggy behavior
10412 Rationalize locale handling to fix bugs uncovered by #10394
10422 Potential buffer overrun if the radix separator  1 byte
10448 Lexicals outside eval weren't resolved correctly pre-#10394
10450 Optimize #10448 slightly
10543 Add LC_MESSAGES constant to POSIX module
10667 #10449 broke visibility of lexicals inside DB::DB()
10739 Ceval /x$\r\n/x fails to compile correctly
10939 Proposed fix for Pod::Man
11169 Doc patch for Tie::Hash
11374 Make h2ph grok ccsymbols fo the form 1234L, 1234ULL etc
11427 t/harness wasn't picking up all the tests
11428 run/runenv.t needs fflushNULL sanity
11431 pod/*.t tests not picked up by t/TEST either
11510 eval 'format foo=' would loop indefinitely
11713 UTF8 wasn't printing for PVMGs
11716 UTF8 flag should be meaningful only when POK
11808 [20010831.002] Bug in Term::Cap on Solaris ansi terminal
11847 Typo in perl_clone() code causes local(*foo) breakage
12005 [20010912.007] substr reference core dump
12024 Fix local() precedence bug in #8311
12303 Fix 'local $!=0;undef*STDOUT;' segfault
12304 Pod::Html makes a poor guess at author
12350 Typo in IO::Seekable doc
12496 Carp::shortmess_heavy() doesn't notice trailing newline
12549 readline() doesn't work with 'our' variables
12550 #12549 wasn't aware of strictures
12752 croak(Nullch) wasn't printing the contents of ERRSV
12811 [20011101.069] \stat('.') gives 'free unref scalar' error
12812 Slight modification of #12811
13149 Integrate #13147 from mainline (fixes nit in #10091)
13261 Integrate #8340,#13260 from mainline
  Built under solaris
  Compiled at Apr  6 2002 14:45:34
  @INC:
/usr/perl5/5.6.1/lib/sun4-solaris-64int
/usr/perl5/5.6.1/lib
/usr/perl5/site_perl/5.6.1/sun4-solaris-64int
/usr/perl5/site_perl/5.6.1
/usr/perl5/site_perl
/usr/perl5/vendor_perl/5.6.1/sun4-solaris-64int
/usr/perl5/vendor_perl/5.6.1
/usr/perl5/vendor_perl
.

Any thoughts will be appreciated.-


Kind Regards.
  _  

Pablo Jejcic
Smartweb Senior system Administrator
School of Computing - Robert Gordon University
[EMAIL PROTECTED]
T:44-(0)1224-262797
F:44-(0)1224-262790 
  _  


``The nice thing about standards is that there are so many to choose from.
And if you really don't like all the standards you just have to wait another
year until the one arises you are looking for.'' 
A. Tanenbaum, ``Introduction to Computer Networks'

  _  



-Original

RE: HELP - Problem installing modperl

2003-02-20 Thread Pablo Jejcic
 I rebuild PERL and when I use perl -V I can see -KPIC but when I try 
 to make mod_perl I receive the same error
 
 Any other thoughts???
 
 Thanks in advance and Thank you very much for your time.-
 
 Kind Regards.
   _
 
 Pablo Jejcic
 Smartweb Senior system Administrator
 School of Computing - Robert Gordon University 
 [EMAIL PROTECTED] T:44-(0)1224-262797
 F:44-(0)1224-262790 
   _  
 
 
 ``The nice thing about standards is that there are so many to choose 
 from. And if you really don't like all the standards you just have to 
 wait another year until the one arises you are looking for.'' A. 
 Tanenbaum, ``Introduction to Computer Networks'
 
   _
 
 
 
 -Original Message-
 From: Stas Bekman [mailto:[EMAIL PROTECTED]]
 Sent: 18 February 2003 23:02
 To: Pablo Jejcic
 Cc: [EMAIL PROTECTED]
 Subject: Re: HELP - Problem installing modperl
 
 
 Pablo Jejcic wrote:
 
Hello guys,
I have just installed PERL/Apache and mod_perl, but this last 
one gave me an error when I try to compile. Could anyone help me?
 
Thi is the error:
 
bash-2.05# make  make test
cd src/modules/perl  make -f Makefile.modperl
make[1]: Entering directory 
`/projects/IRIG/mod_perl-1.99_08/src/modules/perl'
cc -I/projects/IRIG/mod_perl-1.99_08/src/modules/perl
-I/projects/IRIG/mod_perl-1.99_08/xs 
-I/projects/IRIG/apache2/prefork/include 
-I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE -DMOD_PERL -xO3 -xdepend 
-KPIC \
-c mod_perl.c  mv mod_perl.o mod_perl.lo
cc: unrecognized option `-KPIC'
 
 
 mod_perl reuses the compiler flags perl was built with. It picks them 
 up from Config.pm. Do you see -KPIC in the output of 'perl -V'? You 
 must use exactly
 
 the same compiler that you've built your perl with and it should work.
 
 
cc: language depend not recognized
cc: mod_perl.c: linker input file unused because linking not done
mv: cannot access mod_perl.o
make[1]: *** [mod_perl.lo] Error 2
make[1]: Leaving directory 
`/projects/IRIG/mod_perl-1.99_08/src/modules/perl'
make: *** [modperl_lib] Error 2
bash-2.05# c
bash: c: command not found
bash-2.05# cc
cc: no input files
And I'm running:
 
Solaris 9
PERL 5.6.1
Apache 2.0.4
mod_perl 1.99_08
 
Thanks in advance!!
 
Pablo.-
 
Kind Regards.
--
--
Pablo Jejcic
Smartweb Senior system Administrator
School of Computing - Robert Gordon University 
[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]
*T*:44-(0)1224-262797
*F*:44-(0)1224-262790


``The nice thing about standards is that there are so many to choose 
from. And if you really don't like all the standards you just have to 
wait another year until the one arises you are looking for.'' A. 
Tanenbaum, ``Introduction to Computer Networks'

--
--

 
 
 
 


-- 


__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com




HELP - Problem installing modperl

2003-02-18 Thread Pablo Jejcic
Title: Message




Hello 
guys,
 
I have just installed PERL/Apache and mod_perl, but this 
last one gave me an error when I try to compile. Could anyone help 
me?

Thi is the 
error:

bash-2.05# make 
 make testcd "src/modules/perl"  make -f 
Makefile.modperlmake[1]: Entering directory 
`/projects/IRIG/mod_perl-1.99_08/src/modules/perl'cc 
-I/projects/IRIG/mod_perl-1.99_08/src/modules/perl 
-I/projects/IRIG/mod_perl-1.99_08/xs -I/projects/IRIG/apache2/prefork/include 
-I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE -DMOD_PERL -xO3 -xdepend -KPIC 
\-c mod_perl.c  mv mod_perl.o mod_perl.locc: unrecognized 
option `-KPIC'cc: language depend not recognizedcc: mod_perl.c: linker 
input file unused because linking not donemv: cannot access 
mod_perl.omake[1]: *** [mod_perl.lo] Error 2make[1]: Leaving directory 
`/projects/IRIG/mod_perl-1.99_08/src/modules/perl'make: *** [modperl_lib] 
Error 2bash-2.05# cbash: c: command not foundbash-2.05# : no 
input files
And I'm 
running:

Solaris 
9
PERL 
5.6.1
Apache 
2.0.4
mod_perl 
1.99_08

Thanks in 
advance!!

Pablo.-

Kind Regards.



Pablo Jejcic
Smartweb Senior system 
Administrator
School of Computing - Robert 
Gordon University
[EMAIL PROTECTED]
T:44-(0)1224-262797
F:44-(0)1224-262790 


``The nice thing about standards is that there are so many to 
choose from. And if you really don't like all the standards you just have to 
wait another year until the one arises you are looking for.'' A. Tanenbaum, 
``Introduction to Computer Networks'