10 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
Hi Team,
My new build configuration always looking for the files from the build where i copied from.
please help me to resolve this.
I am using Visual studio 2008.It has Qt 4.8. plugins,qml,C++ development
I created new debug_new build configuration with additional preprocessor from the... (1 Reply)
Discussion started by: SA_Palani
1 Replies
2. Web Development
Hi,
I'm new to developing modules for Apache. I understand the basics now and can develop something simple which allows a 'GET' request to happen, but what I want to do is actually 'POST' information to my site. I know the basic POST Request works and I can see that it is post by looking at... (2 Replies)
Discussion started by: fishman2001
2 Replies
3. Shell Programming and Scripting
Hi
I have a build.xml file and I can run it on Windows via cmd. Now I want to write a script to invoke the same. Is there a way to do this? (1 Reply)
Discussion started by: ankur328
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
So I downloaded this kernel source and was able to build it successfully.
But I want to add this SDK source code inside, can anyone help me how to do this? Note that the SDK source can be built by itself.
I added the SDK in the main Makefile:
init-y := init/
#added SDK... (0 Replies)
Discussion started by: h0ujun
0 Replies
5. Solaris
Hi,
Generally we will run to install, configure apache 2.x on Solaris machine, but dont want to follow these on the remaining machines.
I want to build the apache binary centrally, so that i can untar the tar file on remaining machines. Please suggest on how to prepare this file and when i... (12 Replies)
Discussion started by: prash358
12 Replies
6. Web Development
Hello ,
I have s Solaris 10 10/09 s10x_u8wos_08a X86 OS.
I installed Apache 1.3.34 and MYSQL 5.1.50.
while executing the following command to compile the mod_auth_mysql.c module
sudo ./apxs -c -L/d00/tbls/mysql/lib -I/d00/tbls/mysql/include -lmysqlclient -lm -lz mod_auth_mysql.c.
result of it... (2 Replies)
Discussion started by: cnighojkar
2 Replies
7. UNIX for Advanced & Expert Users
hi folks,
Can you help me how to dump CFTOKEN and CFID requests in apache access_log ?
can you give me a better idea how to accomplish this ?
thanks (2 Replies)
Discussion started by: linuxgeek
2 Replies
8. UNIX for Advanced & Expert Users
Hi,
I have web server (apache) installed in server-1 and i want to view the web pages from diferent servers also while the web server is running only in one server ....(all the servers are connected to office LAN)
right now all the servers have apache running......and CPU utilzation is at its... (2 Replies)
Discussion started by: aditya.ece1985
2 Replies
9. Solaris
I am trying to build 64 bit apache 2.2.4 on a Sun server. I have built many
applications so far. This is my configure line
CC='gcc -m64 -mcpu=v9 -O3' ./configure --disable-ipv6 --enable-info --enable-status
--enable-ssl --with-ssl=/usr/local/ssl --disable-negotiation --disable-userdir ... (2 Replies)
Discussion started by: csross
2 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I have the following simple CGI script, just containg header:
#!/usr/bin/perl -w
use CGI ':standard';
use lib "/home/myname/lib/perl5/site_perl/5.8.5/";
use Mail::Sendmail;
I also have included this directive in ~/public_html/.htaccess :
SetEnv PERL5LIB... (0 Replies)
Discussion started by: monkfan
0 Replies
Apache::TestMB(3) User Contributed Perl Documentation Apache::TestMB(3)
NAME
Apache::TestMB - Subclass of Module::Build to support Apache::Test
SYNOPSIS
Standard process for building & installing modules:
perl Build.PL
./Build
./Build test
./Build install
Or, if you're on a platform (like DOS or Windows) that doesn't like the "./" notation, you can do this:
perl Build.PL
perl Build
perl Build test
perl Build install
DESCRIPTION
This class subclasses "Module::Build" to add support for testing Apache integration with Apache::Test. It is broadly based on
"Apache::TestMM", and as such adds a number of build actions to a the Build script, while simplifying the process of creating Build.PL
scripts.
Here's how to use "Apache::TestMB" in a Build.PL script:
use Module::Build;
my $build_pkg = eval { require Apache::TestMB }
? 'Apache::TestMB' : 'Module::Build';
my $build = $build_pkg->new(
module_name => 'My::Module',
);
$build->create_build_script;
This is identical to how "Module::Build" is used. Not all target systems may have "Apache::Test" (and therefore "Apache::TestMB" installed,
so we test for it to be installed, first. But otherwise, its use can be exactly the same. Consult the Module::Build documentation for more
information on how to use it; Module::Build::Cookbook may be especially useful for those looking to migrate from "ExtUtils::MakeMaker".
INTERFACE
Build
With the above script, users can build your module in the usual "Module::Build" way:
perl Build.PL
./Build
./Build test
./Build install
If "Apache::TestMB" is installed, then Apache will be started before tests are run by the "test" action, and shut down when the tests
complete. Note that "Build.PL" can be called "Apache::Test"-specific options in addition to the usual "Module::Build" options. For example:
perl Build.PL -apxs /usr/local/apache/bin/apxs
Consult the Apache::Test documentation for a complete list of options.
In addition to the actions provided by "Module::Build" ("build", "clean", "code", "test", etc.), "Apache::TestMB" adds a few extra actions:
test_clean
This action cleans out the files generated by the test script, t/TEST. It is also executed by the "clean" action.
run_tests
This action actually the tests by executing the test script, t/TEST. It is executed by the "test" action, so most of the time it won't
be executed directly.
testcover
"Apache::TestMB" overrides this action from "Module::Build" in order to prevent the "Apache::Test" preference files from being included
in the test coverage.
Constructor
new
The "new()" constructor takes all the same arguments as its parent in "Module::Build", but can optionally accept one other parameter:
apache_test_script
The name of the "Apache::Test" test script. The default value is t/TEST, which will work in the vast majority of cases. If you wish to
specify your own file name, do so with a relative file name using Unix-style paths; the file name will automatically be converted for
the local platform.
When "new()" is called it does the following:
o Processes the "Apache::Test"-specific options in @ARGV. See the Apache::Test documentation for a complete list of options.
o Sets the name of the "Apache::Test" test script to t/TEST, unless it was explicitly specified by the "apache_test_script" parameter.
o Calls "generate_script()" to generate "Apache::Test" test script, usually t/TEST.
Instance Methods
apache_test_args
Returns a hash reference containing all of the settings specified by options passed to Build.PL, or explicitly added to @ARGV in Build.PL.
Consult the Apache::Test documentation for a complete list of options.
apache_test_script
Gets or sets the file name of the "Apache::Test" test script.
generate_script
$build->generate_script;
$build->generate_script('t/FOO');
$build->generate_script(undef, 'Apache::TestRun');
This method is called by "new()", so in most cases it can be ignored. If you'd like it to use other than the default arguments, you can
call it explicitly in Build.PL and pass it the arguments you desire. It takes two optional arguments:
o The name of the "Apache::Test" test script. Defaults to the value returned by "apache_test_script()".
o The name of an "Apache::Test" test running class. Defaults to "Apache::TestRunPerl".
If there is an existing t/TEST.PL (or a script with the same name as specified by the "apache_test_script" parameter but with .PL appended
to it), then that script will be used as the template for the test script. Otherwise, a simple test script will be written similar to what
would be written by "Apache::TestRun::generate_script()" (although that function is not aware of the arguments passed to Build.PL, so use
this one instead!).
SEE ALSO
Apache::TestRequest
Demonstrates how to write tests to send requests to the Apache server run by "./Build test".
Module::Build
The parent class for "Apache::TestMB"; consult it's documentation for more on its interface.
<http://www.perl.com/pub/a/2003/05/22/testing.html>
This article by Geoffrey Young explains how to configure Apache and write tests for your module using Apache::Test. Just use
"Apache::TestMB" instead of "Apache::TestMM" to update it for use with "Module::Build".
AUTHOR
David Wheeler
Questions can be asked at the test-dev <at> httpd.apache.org list. For more information see: http://httpd.apache.org/test/ and
http://perl.apache.org/docs/general/testing/testing.html.
perl v5.18.2 2015-06-18 Apache::TestMB(3)