Testdeps and Apache::Cookie

I have RT 1.06 running on RH 6.2. I am attempting to upgrade to
2.0.4 and have been having dismal success getting past the testdeps
script.

root@walt/tmp/rt-2-0-4>make testdeps
/usr/bin/perl ./tools/testdeps -warn mysql
Checking for DBI 1.18 ...found
Checking for DBIx::DataSource 0.02 ...found
Checking for DBIx::SearchBuilder 0.40 ...found
Checking for HTML::Entities...found
Checking for MLDBM...found
Checking for Net::Domain...found
Checking for Net::SMTP...found
Checking for Params::Validate 0.02 ...found
Checking for HTML::Mason 0.896 ...found
Checking for CGI::Cookie 1.06 ...found
Checking for Apache::Cookie....Apache::Cookie not installed.
Checking for Apache::Session 1.53 ...found
Checking for Date::Parse...found
Checking for Date::Format...found
Checking for MIME::Entity 5.108 ...found
Checking for Mail::Mailer 1.20 ...found
Checking for Getopt::Long 2.24 ...found
Checking for Tie::IxHash...found
Checking for Text::Wrapper...found
Checking for Text::Template...found
Checking for File::Spec 0.8 ...found
Checking for Errno...found
Checking for FreezeThaw...found
Checking for File::Temp...found
Checking for Log::Dispatch 1.6 ...found
Checking for DBD::mysql 2.0416 ...found
root@walt/tmp/rt-2-0-4>

When if issue the make fixdeps command i get a few errors about
Apache::Cookie

root@walt/tmp/rt-2-0-4>make fixdeps
/usr/bin/perl ./tools/testdeps -fix mysql
Checking for DBI 1.18 ...found
Checking for DBIx::DataSource 0.02 ...found
Checking for DBIx::SearchBuilder 0.40 ...found
Checking for HTML::Entities...found
Checking for MLDBM...found
Checking for Net::Domain...found
Checking for Net::SMTP...found
Checking for Params::Validate 0.02 ...found
Checking for HTML::Mason 0.896 ...found
Checking for CGI::Cookie 1.06 ...found
Checking for Apache::Cookie....Apache::Cookie not 
installed.Installing with CPAN...CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Running install for module Apache::Cookie
Running make for D/DO/DOUGM/libapreq-0.31.tar.gz
Scanning cache /root/.cpan/build for sizes
CPAN: MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /root/.cpan/sources/authors/id/D/DO/DOUGM/libapreq-
0.31.tar.gz ok
libapreq-0.31/
libapreq-0.31/c/
libapreq-0.31/c/apache_cookie.h
libapreq-0.31/c/Makefile.noperl
libapreq-0.31/c/multipart_buffer.h
libapreq-0.31/c/Makefile.PL
libapreq-0.31/c/apache_request.c
libapreq-0.31/c/apache_request.h
libapreq-0.31/c/apache_cookie.c
libapreq-0.31/c/multipart_buffer.c
libapreq-0.31/eg/
libapreq-0.31/eg/perl/
libapreq-0.31/eg/perl/cookie.pl
libapreq-0.31/eg/perl/file_upload.pl
libapreq-0.31/eg/c/
libapreq-0.31/eg/c/testapreq/
libapreq-0.31/eg/c/testapreq/Makefile.apxs
libapreq-0.31/eg/c/testapreq/mod_testapreq.c
libapreq-0.31/eg/c/testapreq/Makefile.tmpl
libapreq-0.31/eg/c/testapreq/mod_testapreq.module
libapreq-0.31/README
libapreq-0.31/MANIFEST
libapreq-0.31/Request/
libapreq-0.31/Request/Request.xs
libapreq-0.31/Request/Request.pm
libapreq-0.31/Request/Makefile.PL
libapreq-0.31/Cookie/
libapreq-0.31/Cookie/Cookie.xs
libapreq-0.31/Cookie/Cookie.pm
libapreq-0.31/Cookie/Makefile.PL
libapreq-0.31/Makefile.PL
libapreq-0.31/Changes
libapreq-0.31/CREDITS
libapreq-0.31/libapreq.pod
libapreq-0.31/LICENSE
libapreq-0.31/typemap
libapreq-0.31/lib/
libapreq-0.31/lib/Apache/
libapreq-0.31/lib/Apache/libapreq.pm
libapreq-0.31/INSTALL
libapreq-0.31/ToDo
Removing previously used /root/.cpan/build/libapreq-0.31

  CPAN.pm: Going to build D/DO/DOUGM/libapreq-0.31.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for libapreq
mkdir ../blib
mkdir ../blib/arch
mkdir ../blib/arch/auto
mkdir ../blib/arch/auto/libapreq
Warning: -L../blib/arch/auto/libapreq changed to -
L/root/.cpan/build/libapreq-
0.31/Request/../blib/arch/auto/libapreq
Writing Makefile for Apache::Request
Warning: -L../blib/arch/auto/libapreq changed to -
L/root/.cpan/build/libapreq-0.31/Cookie/../blib/arch/auto/libapreq
Writing Makefile for Apache::Cookie
Writing Makefile for libapreq
make[1]: Entering directory `/root/.cpan/build/libapreq-0.31'
mkdir blib/lib
mkdir blib/lib/auto
mkdir blib/lib/auto/libapreq
mkdir blib/man3
cp libapreq.pod blib/lib/libapreq.pod
cp lib/Apache/libapreq.pm blib/lib/Apache/libapreq.pm
make[2]: Entering directory `/root/.cpan/build/libapreq-0.31/c'
cc -c -I./auto/Apache/include -
I./auto/Apache/include/modules/perl -I -Dbool=char -DHAS_BOOL -
I/usr/local/include -O2 -m486 -fno-strength-reduce    -
DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" -fpic -
I/usr/lib/perl5/5.00503/i386-linux/CORE  apache_request.c
In file included from apache_request.c:58:
apache_request.h:5: httpd.h: No such file or directory
apache_request.h:6: http_config.h: No such file or directory
apache_request.h:7: http_core.h: No such file or directory
apache_request.h:8: http_log.h: No such file or directory
apache_request.h:9: http_main.h: No such file or directory
apache_request.h:10: http_protocol.h: No such file or directory
apache_request.h:11: util_script.h: No such file or directory
make[2]: *** [apache_request.o] Error 1
make[2]: Leaving directory `/root/.cpan/build/libapreq-0.31/c'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/root/.cpan/build/libapreq-0.31'
  /usr/bin/make  -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible

Checking for Apache::Session 1.53 ...found
Checking for Date::Parse...found
Checking for Date::Format...found
Checking for MIME::Entity 5.108 ...found
Checking for Mail::Mailer 1.20 ...found
Checking for Getopt::Long 2.24 ...found
Checking for Tie::IxHash...found
Checking for Text::Wrapper...found
Checking for Text::Template...found
Checking for File::Spec 0.8 ...found
Checking for Errno...found
Checking for FreezeThaw...found
Checking for File::Temp...found
Checking for Log::Dispatch 1.6 ...found
Checking for DBD::mysql 2.0416 ...found
root@walt/tmp/rt-2-0-4>

Im far from a perl guru. But the question remains…how can I get
it to work.

Adrian McCray
LAN Manager

You need to have apache’s headers somewhere libapreq can find them…On Fri, Aug 10, 2001 at 03:38:39PM -0400, Adrian McCray wrote:

I have RT 1.06 running on RH 6.2. I am attempting to upgrade to
2.0.4 and have been having dismal success getting past the testdeps
script.

root@walt/tmp/rt-2-0-4>make testdeps
/usr/bin/perl ./tools/testdeps -warn mysql
Checking for DBI 1.18 ...found
Checking for DBIx::DataSource 0.02 ...found
Checking for DBIx::SearchBuilder 0.40 ...found
Checking for HTML::Entities...found
Checking for MLDBM...found
Checking for Net::Domain...found
Checking for Net::SMTP...found
Checking for Params::Validate 0.02 ...found
Checking for HTML::Mason 0.896 ...found
Checking for CGI::Cookie 1.06 ...found
Checking for Apache::Cookie....Apache::Cookie not installed.
Checking for Apache::Session 1.53 ...found
Checking for Date::Parse...found
Checking for Date::Format...found
Checking for MIME::Entity 5.108 ...found
Checking for Mail::Mailer 1.20 ...found
Checking for Getopt::Long 2.24 ...found
Checking for Tie::IxHash...found
Checking for Text::Wrapper...found
Checking for Text::Template...found
Checking for File::Spec 0.8 ...found
Checking for Errno...found
Checking for FreezeThaw...found
Checking for File::Temp...found
Checking for Log::Dispatch 1.6 ...found
Checking for DBD::mysql 2.0416 ...found
root@walt/tmp/rt-2-0-4>

When if issue the make fixdeps command i get a few errors about
Apache::Cookie

root@walt/tmp/rt-2-0-4>make fixdeps
/usr/bin/perl ./tools/testdeps -fix mysql
Checking for DBI 1.18 ...found
Checking for DBIx::DataSource 0.02 ...found
Checking for DBIx::SearchBuilder 0.40 ...found
Checking for HTML::Entities...found
Checking for MLDBM...found
Checking for Net::Domain...found
Checking for Net::SMTP...found
Checking for Params::Validate 0.02 ...found
Checking for HTML::Mason 0.896 ...found
Checking for CGI::Cookie 1.06 ...found
Checking for Apache::Cookie....Apache::Cookie not 
installed.Installing with CPAN...CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Running install for module Apache::Cookie
Running make for D/DO/DOUGM/libapreq-0.31.tar.gz
Scanning cache /root/.cpan/build for sizes
CPAN: MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /root/.cpan/sources/authors/id/D/DO/DOUGM/libapreq-
0.31.tar.gz ok
libapreq-0.31/
libapreq-0.31/c/
libapreq-0.31/c/apache_cookie.h
libapreq-0.31/c/Makefile.noperl
libapreq-0.31/c/multipart_buffer.h
libapreq-0.31/c/Makefile.PL
libapreq-0.31/c/apache_request.c
libapreq-0.31/c/apache_request.h
libapreq-0.31/c/apache_cookie.c
libapreq-0.31/c/multipart_buffer.c
libapreq-0.31/eg/
libapreq-0.31/eg/perl/
libapreq-0.31/eg/perl/cookie.pl
libapreq-0.31/eg/perl/file_upload.pl
libapreq-0.31/eg/c/
libapreq-0.31/eg/c/testapreq/
libapreq-0.31/eg/c/testapreq/Makefile.apxs
libapreq-0.31/eg/c/testapreq/mod_testapreq.c
libapreq-0.31/eg/c/testapreq/Makefile.tmpl
libapreq-0.31/eg/c/testapreq/mod_testapreq.module
libapreq-0.31/README
libapreq-0.31/MANIFEST
libapreq-0.31/Request/
libapreq-0.31/Request/Request.xs
libapreq-0.31/Request/Request.pm
libapreq-0.31/Request/Makefile.PL
libapreq-0.31/Cookie/
libapreq-0.31/Cookie/Cookie.xs
libapreq-0.31/Cookie/Cookie.pm
libapreq-0.31/Cookie/Makefile.PL
libapreq-0.31/Makefile.PL
libapreq-0.31/Changes
libapreq-0.31/CREDITS
libapreq-0.31/libapreq.pod
libapreq-0.31/LICENSE
libapreq-0.31/typemap
libapreq-0.31/lib/
libapreq-0.31/lib/Apache/
libapreq-0.31/lib/Apache/libapreq.pm
libapreq-0.31/INSTALL
libapreq-0.31/ToDo
Removing previously used /root/.cpan/build/libapreq-0.31

  CPAN.pm: Going to build D/DO/DOUGM/libapreq-0.31.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for libapreq
mkdir ../blib
mkdir ../blib/arch
mkdir ../blib/arch/auto
mkdir ../blib/arch/auto/libapreq
Warning: -L../blib/arch/auto/libapreq changed to -
L/root/.cpan/build/libapreq-
0.31/Request/../blib/arch/auto/libapreq
Writing Makefile for Apache::Request
Warning: -L../blib/arch/auto/libapreq changed to -
L/root/.cpan/build/libapreq-0.31/Cookie/../blib/arch/auto/libapreq
Writing Makefile for Apache::Cookie
Writing Makefile for libapreq
make[1]: Entering directory `/root/.cpan/build/libapreq-0.31'
mkdir blib/lib
mkdir blib/lib/auto
mkdir blib/lib/auto/libapreq
mkdir blib/man3
cp libapreq.pod blib/lib/libapreq.pod
cp lib/Apache/libapreq.pm blib/lib/Apache/libapreq.pm
make[2]: Entering directory `/root/.cpan/build/libapreq-0.31/c'
cc -c -I./auto/Apache/include -
I./auto/Apache/include/modules/perl -I -Dbool=char -DHAS_BOOL -
I/usr/local/include -O2 -m486 -fno-strength-reduce    -
DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" -fpic -
I/usr/lib/perl5/5.00503/i386-linux/CORE  apache_request.c
In file included from apache_request.c:58:
apache_request.h:5: httpd.h: No such file or directory
apache_request.h:6: http_config.h: No such file or directory
apache_request.h:7: http_core.h: No such file or directory
apache_request.h:8: http_log.h: No such file or directory
apache_request.h:9: http_main.h: No such file or directory
apache_request.h:10: http_protocol.h: No such file or directory
apache_request.h:11: util_script.h: No such file or directory
make[2]: *** [apache_request.o] Error 1
make[2]: Leaving directory `/root/.cpan/build/libapreq-0.31/c'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/root/.cpan/build/libapreq-0.31'
  /usr/bin/make  -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible

Checking for Apache::Session 1.53 ...found
Checking for Date::Parse...found
Checking for Date::Format...found
Checking for MIME::Entity 5.108 ...found
Checking for Mail::Mailer 1.20 ...found
Checking for Getopt::Long 2.24 ...found
Checking for Tie::IxHash...found
Checking for Text::Wrapper...found
Checking for Text::Template...found
Checking for File::Spec 0.8 ...found
Checking for Errno...found
Checking for FreezeThaw...found
Checking for File::Temp...found
Checking for Log::Dispatch 1.6 ...found
Checking for DBD::mysql 2.0416 ...found
root@walt/tmp/rt-2-0-4>

Im far from a perl guru. But the question remains…how can I get
it to work.

Adrian McCray
LAN Manager


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

jesse reed vincent – root@eruditorum.orgjesse@fsck.com
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

<Dr_Memory> the point is that words were exchanged. neurolinguistic
programming will do the rest. they should be showing up at my house
any day now.

You need to have apache’s headers somewhere libapreq can find them…

Where do I specify where they are/should be located?

Adrian McCray

Hi all,

I’m trying to install RT 2.0.4 on 2 separate machines (MySQL on Sparc Solaris
and Apache on Linux).
make install fails on the last line:

/usr/bin/perl /export/home/web/rt/etc/insertdata
Can’t call method “Connect” without a package or object reference at /export/home/web/rt/etc/insertdata line 26.
make: *** [insert] Error 255

It looks strange… Any ideas why it could be?

Thanks,
Andrey