Re: make test fails in building modperl2+apache2+perl5.8

2003-08-14 Thread Stas Bekman
gerard uolaquetalestem wrote:
Hi everyone (my first message).

The message is that there is a syntax error in line x of some conf file, the 
syntax error is that PerlSwitches is an unknown command.

I am trying to compile modperl2 with perl 5.8 compiles with mpm and 
ithreads and with apache2 compiled not as a DSO module but as static part 
of the executable.

But i get this error, what can it be?
I'm using suse linux 8.0
Another thing is that i compiled perl with i686-linux, but i used to think i 
was i386, as i686 was the default i leave as it.
Anyway i don't think it has any importance.

Any idea?
Static mod_perl build is not available at this moment. Patches to do the 
necessary work are welcome.

In any case when reporting problems, please make sure to follow the guidelines:
http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems
Extra info:
I want to compile as static module because with DSO option #perl directive 
doesn't work.
You are confusing mod_perl 1.0 and mod_perl 2.0, #perl doesn't work in the 
static build of mod_perl 1.0, not 2.0.

Geoff, what the status of the SSI's port to mp2?

__
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


make test fails in building modperl2+apache2+perl5.8

2003-08-03 Thread gerard uolaquetalestem

Hi everyone (my first message).

The message is that there is a syntax error in line x of some conf file, the
syntax error is that PerlSwitches is an unknown command.

I am trying to compile modperl2 with perl 5.8 compiles with mpm and
ithreads and with apache2 compiled not as a DSO module but as static part
of the executable.

But i get this error, what can it be?
I'm using suse linux 8.0

Another thing is that i compiled perl with i686-linux, but i used to think i
was i386, as i686 was the default i leave as it.
Anyway i don't think it has any importance.

Any idea?

Extra info:
I want to compile as static module because with DSO option #perl directive
doesn't work.
-
Un nuevo buscador más rápido, eficaz y sencillo http://www.plaf.com
Ya.com ADSL Home 24h, Módem + Alta + 1 mes Gratis http://acceso.ya.com/adslhome24h/


Re: perl5.8

2003-07-16 Thread Ged Haywood
Hi there,

On Wed, 16 Jul 2003, Grant Cooper wrote:

 I was upgrading to perl5.8 using freeBSD
 
 To install via ports, I typed this : cd /usr/ports/lang/perl5.8 
 make install clean 
 rehash
 use.perl port
 
 What does rehash do?
 And what does use.perl port do?

This List is for questions related to mod_perl, not for general Perl
questions.  Please take your question to a more appropriate place,
you will find one for example at

http://lists.perl.org

73,
Ged.





perl5.8

2003-07-15 Thread Grant Cooper



I was upgrading to perl5.8 using 
freeBSD

To install via ports, I typed this : cd 
/usr/ports/lang/perl5.8 make install clean 
rehashuse.perl port

What does rehash do?
And what does use.perl port 
do?


Re: problem with mod_perl1.27 perl5.8/apa1.3.27

2003-02-18 Thread Dmitri Dmitrienko
Summary of my perl5 (revision 5 version 8 subversion 0) configuration:
  Platform:
osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread
uname=''
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
usethreads=undef use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=undef usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
  Compiler:
cc='cl', ccflags
='-nologo -Gf -W3 -MD -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT   -DPERL_I
MPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX',
optimize='-MD -DNDEBUG -O1',
cppflags='-DWIN32'
ccversion='', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=4
alignbytes=8, prototype=define
  Linker and Libraries:
ld='link', ldflags
'-nologo -nodefaultlib -release  -libpath:C:\install.static\Win32\perl\Win3
2-Binary\lib\CORE  -machine:x86'
libpth=\lib
libs=  oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib  netapi32.lib
uuid.lib wsock32.lib mpr.lib winmm.lib  version.lib odbc32.lib odbccp32.lib
msvcrt.lib
perllibs=  oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib  netapi32.lib
uuid.lib wsock32.lib mpr.lib winmm.lib  version.lib odbc32.lib odbccp32.lib
msvcrt.lib
libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl58.lib
gnulibc_version='undef'
  Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ',
ddlflags='-dll -nologo -nodefaultlib -release  -libpath:C:\install.static\W
in32\perl\Win32-Binary\lib\CORE  -machine:x86'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY USE_ITHREADS PERL_IMPLICIT_CONTEXT
PERL_IMPLICIT_SYS
  Built under MSWin32
  Compiled at Feb 17 2003 10:30:15
  @INC:
C:/install.static/Win32/perl/Win32-Binary/lib
C:/install.static/Win32/perl/Win32-Binary/site/lib
.

Options given to mod_perl's Makefile.PL:

C:/install.static/Win32/perl/Win32-Binary/lib/perl.exe Makefile.PL
APACHE_SRC=/tmp/apache-1.3.27 INSTALL_DLL=/tmp/apache-1.3.27/src/modules
EAPI=1


-dmitri.



 Dmitri Dmitrienko wrote:
 Hello,
 
 I got following problem when compiled mod_perl 1.27 for Apache
 1.3.27 and perl 5.8 for Win32 platform:
 
 Constants.xs(158) : error C2065: 'errno' : undeclared identifier
 
 after few hours of jumping around compiler I realized that
 #include errno.h should be commented out in perl.h. Then
 everything became good.
 
 Please tell me is anybody experienced anything like I did ?
 Is there any official workaround ?
 
 BTW, everything was ok with perl 5.6.0...
 
 
 What's 'perl -V' for you?
 
 
 
  5.8.0 (as shown in the topic)

 not 'perl -v', but 'perl -V'.

 Posters can save a lot of their and our time by following these guidelines
 when asking for help:

 1.0 - related:
 http://perl.apache.org/docs/1.0/guide/help.html#How_to_Report_Problems
 2.0 - related:
 http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems

 Both linked from the 'shortcuts' menu!


 __
 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





Re: problem with mod_perl1.27 perl5.8/apa1.3.27

2003-02-18 Thread Randy Kobes
On Tue, 18 Feb 2003, Dmitri Dmitrienko wrote:

 Summary of my perl5 (revision 5 version 8 subversion 0) configuration:
   Platform:
 osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread
[ .. ] 
 Characteristics of this binary (from libperl):
   Compile-time options: MULTIPLICITY USE_ITHREADS PERL_IMPLICIT_CONTEXT
 PERL_IMPLICIT_SYS

Thanks for sending that ... That's strange - Win32 ActivePerl 8xx
doesn't compile with mod_perl-1.27 because USE_LARGE_FILES is
defined at compile-time, but you don't have that. Some time ago I
tried a Win32 Perl-5.8 without USE_LARGE_FILES (just as you have)
with mod_perl-1.27, and didn't see the problem you had with
errno. Although it shouldn't make a difference here, did you use
the stock CPAN sources or the ActiveState sources in compiling
Perl? Also, do you find the same problem using the CVS mod_perl
sources (http://perl.apache.org/download/source.html)?

-- 
best regards,
randy




Re: problem with mod_perl1.27 perl5.8/apa1.3.27

2003-02-18 Thread Dmitri Dmitrienko
  Summary of my perl5 (revision 5 version 8 subversion 0) configuration:
Platform:
  osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread
 [ .. ]
  Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS PERL_IMPLICIT_CONTEXT
  PERL_IMPLICIT_SYS

 Thanks for sending that ... That's strange - Win32 ActivePerl 8xx
 doesn't compile with mod_perl-1.27 because USE_LARGE_FILES is
 defined at compile-time, but you don't have that. Some time ago I
 tried a Win32 Perl-5.8 without USE_LARGE_FILES (just as you have)
 with mod_perl-1.27, and didn't see the problem you had with
 errno. Although it shouldn't make a difference here, did you use
 the stock CPAN sources or the ActiveState sources in compiling
 Perl? Also, do you find the same problem using the CVS mod_perl
 sources (http://perl.apache.org/download/source.html)?


Sure, I got the source package from CPAN.
md5sum:
d9bdb180620306023fd35901a2878b62 *perl-5.8.0.tar.gz

Also, my compiler is MS Visual Studio 6, service pack 5 installed (the
latest one).

It's a big fuzz :)) To get errno defined it was necessary to comment out
include errno.h. Stupid thing...


TIA,
-dmitri.




Re: problem with mod_perl1.27 perl5.8/apa1.3.27

2003-02-18 Thread Randy Kobes
On Tue, 18 Feb 2003, Dmitri Dmitrienko wrote:

 It's a big fuzz :)) To get errno defined it was necessary to
 comment out include errno.h. Stupid thing...

I believe this is fixed in the cvs mod_perl sources, in
particular a change to src/modules/perl/apache_inc.h. Try those
to see if that helps.

-- 
best regards,
randy




problem with mod_perl1.27 perl5.8/apa1.3.27

2003-02-17 Thread Dmitri Dmitrienko



Hello,

I gotfollowing problem when compiled mod_perl 
1.27 for Apache 1.3.27 and perl 5.8 for Win32 platform:

Constants.xs(158) : error C2065: 'errno' : 
undeclared identifier
after few hours of jumping around compiler I 
realized that #include errno.h should be commented out in 
perl.h.
Then everything became good.


Please tell me is anybody experienced anything like 
I did ?
Is there any "official" workaround ?

BTW, everything was ok with perl 
5.6.0...

TIA


Re: problem with mod_perl1.27 perl5.8/apa1.3.27

2003-02-17 Thread Randy Kobes
On Tue, 18 Feb 2003, Dmitri Dmitrienko wrote:

 Hello,
 
 I got following problem when compiled mod_perl 1.27 for Apache
 1.3.27 and perl 5.8 for Win32 platform:
 
 Constants.xs(158) : error C2065: 'errno' : undeclared identifier
 
 after few hours of jumping around compiler I realized that
 #include errno.h should be commented out in perl.h. Then
 everything became good.
 
 Please tell me is anybody experienced anything like I did ?
 Is there any official workaround ?
 
 BTW, everything was ok with perl 5.6.0...
 

What's 'perl -V' for you?

-- 
best regards,
randy kobes




Re: problem with mod_perl1.27 perl5.8/apa1.3.27

2003-02-17 Thread Dmitri Dmitrienko
  Hello,
  
  I got following problem when compiled mod_perl 1.27 for Apache
  1.3.27 and perl 5.8 for Win32 platform:
  
  Constants.xs(158) : error C2065: 'errno' : undeclared identifier
  
  after few hours of jumping around compiler I realized that
  #include errno.h should be commented out in perl.h. Then
  everything became good.
  
  Please tell me is anybody experienced anything like I did ?
  Is there any official workaround ?
  
  BTW, everything was ok with perl 5.6.0...
  
 
 What's 'perl -V' for you?


5.8.0 (as shown in the topic)




Re: problem with mod_perl1.27 perl5.8/apa1.3.27

2003-02-17 Thread Stas Bekman
Dmitri Dmitrienko wrote:

Hello,

I got following problem when compiled mod_perl 1.27 for Apache
1.3.27 and perl 5.8 for Win32 platform:

Constants.xs(158) : error C2065: 'errno' : undeclared identifier

after few hours of jumping around compiler I realized that
#include errno.h should be commented out in perl.h. Then
everything became good.

Please tell me is anybody experienced anything like I did ?
Is there any official workaround ?

BTW, everything was ok with perl 5.6.0...



What's 'perl -V' for you?




5.8.0 (as shown in the topic)


not 'perl -v', but 'perl -V'.

Posters can save a lot of their and our time by following these guidelines 
when asking for help:

1.0 - related:
http://perl.apache.org/docs/1.0/guide/help.html#How_to_Report_Problems
2.0 - related:
http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems

Both linked from the 'shortcuts' menu!


__
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