FAQ
Hi,

----Here is my perl version info :
stathy@server:~/.cpan/build/libapreq-0.33> perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=linux, osvers=2.4.10-smp, archname=i686-linux-thread
uname='linux app-server 2.4.10-smp #1 smp tue dec 11 09:35:51 cst 2001
i686 unknown '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=define useithreads=undef
usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cc', ccflags
='-D_REENTRANT -fno-strict-aliasing -I/usr/local/include -I/home/stathy/loca
l/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2 -march=i686',
cppflags='-D_REENTRANT -fno-strict-aliasing -I/usr/local/include -I/home/sta
thy/local/include'
ccversion='', gccversion='2.95.3 20010315 (SuSE)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags ='-L/usr/local/lib -L/home/stathy/local/lib'
libpth=/usr/local/lib /lib /usr/lib /home/stathy/local/lib
libs=-lbind -lnsl -lndbm -lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil
perllibs=-lbind -lnsl -ldl -lm -lpthread -lc -lcrypt -lutil
libc=, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic',
lddlflags='-shared -L/usr/local/lib -L/home/stathy/local/lib'

Characteristics of this binary (from libperl):
Compile-time options: USE_THREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Built under linux
Compiled at Dec 15 2001 11:06:44
@INC:
/home/stathy/local/lib/perl5/5.6.1/i686-linux-thread
/home/stathy/local/lib/perl5/5.6.1
/home/stathy/local/lib/site_perl/i686-linux-thread
/home/stathy/local/lib/site_perl
/home/stathy/local/lib/site_perl

----Here is the compiler command and error for 'request.c' :
make[1]: Entering directory `/home/stathy/.cpan/build/libapreq-0.33/Request'
cc -c -I../c -I/home/stathy/local/lib/site_perl/i686-linux-thread/auto/Apach
e/include -I/home/stathy/local/lib/site_perl/i686-linux-thread/auto/Apache/i
nclude/modules/perl -I/home/stathy/local/lib/site_perl/i686-linux-thread/aut
o/Apache/include/include -I/home/stathy/local/lib/site_perl/i686-linux-threa
d/auto/Apache/include/regex -I/home/stathy/local/lib/site_perl/i686-linux-th
read/auto/Apache/include/os/unix -D_REENTRANT -fno-strict-aliasing -I/usr/lo
cal/include -I/home/stathy/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_
BITS=64 -O2 -march=i686 -DVERSION=\"0.33\" -DXS_VERSION=\"0.33\" -fpic -I/
home/stathy/local/lib/perl5/5.6.1/i686-linux-thread/CORE Request.c
Request.xs: In function `upload_hook':
Request.xs:230: `thr' undeclared (first use in this function)
Request.xs:230: (Each undeclared identifier is reported only once
Request.xs:230: for each function it appears in.)
make[1]: *** [Request.o] Error 1
make[1]: Leaving directory `/home/stathy/.cpan/build/libapreq-0.33/Request'
make: *** [subdirs] Error 2

Any ideas would be appreciated : )

Search Discussions

  • Joe Schaefer at Jan 7, 2002 at 2:01 am
    "Stathy G. Touloumis" <stathy@stathy.com> writes:

    [...]
    usethreads=define use5005threads=define useithreads=undef [...]
    Request.xs: In function `upload_hook':
    Request.xs:230: `thr' undeclared (first use in this function) [...]
    Any ideas would be appreciated : )
    Try experimenting with something like

    dTHX;

    somewhere above line 230, and read the section on threads in
    perlguts. If you can get apreq working with use5005threads, please
    submit a patch to

    apreq-dev@apache.org;

    This is one of the two outstanding issues that's holding up a new
    1.0 release. The other one is a Mac OS-X solution, but nobody's
    volunteered one so far; or provided evidence of a successful build
    on that platform.

    Thanks in advance.

    --
    Joe Schaefer

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmodperl @
categoriesmodperl, perl
postedJan 6, '02 at 3:19p
activeJan 7, '02 at 2:01a
posts2
users2
websiteperl.apache.org

People

Translate

site design / logo © 2021 Grokbase