not able to build mod_auth_mysql.c on solaris10 sparc with apache 1.3.34 and mysql 5.1.50
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 mod_auth_mysql.so and mod_auth_mysql.ofiles are getting created
but with message "gcc -DSOLARIS2=2100 -DUSE_HSREGEX -L/usr/local/lib -R/usr/local/lib -L/usr/local /ssl/lib -R/usr/local/ssl/lib -L/usr/openwin/lib -R/usr/openwin/lib -fPIC -DSHAR ED_MODULE -I/usr/local/apache/include -I/d00/tbls/mysql/include -c mod_auth_mys ql.c mod_auth_mysql.c: In function `pw_crypted':
mod_auth_mysql.c:826: warning: passing arg 2 of `strcmp' makes pointer from integer without a cast ld -G -o mod_auth_mysql.so mod_auth_mysql.o -L/d00/tbls/mysql/lib -lmysqlclient -lm -lz"
when i check the list of available compiled-in modules with command ./httpd -l it shows
Compiled-in modules:
http_core.c
mod_so.c
suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
mod-auth_mysql module is not get compiled .
Please help me.
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)
Hi Experts,
While trying to query nameserver using nslookup it is giving following error.
root@prod # nslookup 10.1.61.21
** server can't find 26.61.1.10.in-addr.arpa.: NXDOMAIN
root@prod #
(1)
/etc/hosts
10.1.61.2 prod
(2)I also added domain and namservers accordingly in... (6 Replies)
Any idea why this Panic happened?
Solaris10 Sparc T5120 panic during iscsi command, here is the panic log in the message :
Mar 19 04:40:47 xavi-t5120c-solaris10u9-sparc genunix: /scsi_vhci/ssd@g00173800fdff0004 (ssd60) offline
Mar 19 04:40:47 xavi-t5120c-solaris10u9-sparc genunix: ... (4 Replies)
Hi all,
currently i'm running solaris 10 on Sun Fire v880 i crashed the system by mistake and now the system cannot boot
It gets keep showing error messages on the eprom prompt
is there any steps or procedures can i follow to recover the system to it's previous state
thanks in advance (8 Replies)
How do I run OpenWindows on a Solaris10 Sparc system?
I know it has been discontinued, but I have some applications that only run on OpenWin. And I would like to run Solaris10 instead of Solaris8, hence the problem. Can I download, install and run it with Solaris10?
Thanks, Mike (5 Replies)
I have Apache 2 webserver as delivered with the Solaris 10 installation.
How to verify if Apache is configured with loadable module support?
Or if needs to be recompiled with loadable module support. (2 Replies)
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)
Just that the Subject says.
I am looking for a C compiler for Linux x86 that will allow me to compile a C source code file and the resulting binary will be able to run on a Sparc running Solaris.
Thanks. (2 Replies)
Apache::Build(3) User Contributed Perl Documentation Apache::Build(3)NAME
Apache::Build - Methods for locating and parsing bits of Apache source code
SYNOPSIS
use Apache::Build ();
my $build = Apache::Build->new;
# rebuild mod_perl with build opts from the previous build
% cd modperl-2.0
% perl -MApache::Build -e rebuild
DESCRIPTION
This module provides methods for locating and parsing bits of Apache source code.
Since mod_perl remembers what build options were used to build it, you can use this knowledge to rebuild it using the same options. Simply
chdir to the mod_perl source directory and run:
% cd modperl-2.0
% perl -MApache::Build -e rebuild
If you want to rebuild not yet installed, but already built mod_perl, run from its root directory:
% perl -Ilib -MApache::Build -e rebuild
METHODS
new Create an object blessed into the Apache::Build class.
my $build = Apache::Build->new;
dir Top level directory where source files are located.
my $dir = $build->dir;
-d $dir or die "can't stat $dir $!
";
find
Searches for apache source directories, return a list of those found.
Example:
for my $dir ($build->find) {
my $yn = prompt "Configure with $dir ?", "y";
...
}
inc Print include paths for MakeMaker's INC argument to "WriteMakefile".
Example:
use ExtUtils::MakeMaker;
use Apache::Build ();
WriteMakefile(
'NAME' => 'Apache::Module',
'VERSION' => '0.01',
'INC' => Apache::Build->new->inc,
);
module_magic_number
Return the MODULE_MAGIC_NUMBER defined in the apache source.
Example:
my $mmn = $build->module_magic_number;
httpd_version
Return the server version.
Example:
my $v = $build->httpd_version;
otherldflags
Return other ld flags for MakeMaker's dynamic_lib argument to "WriteMakefile". This might be needed on systems like AIX that need spe-
cial flags to the linker to be able to reference mod_perl or httpd symbols.
Example:
use ExtUtils::MakeMaker;
use Apache::Build ();
WriteMakefile(
'NAME' => 'Apache::Module',
'VERSION' => '0.01',
'INC' => Apache::Build->new->inc,
'dynamic_lib' => {
'OTHERLDFLAGS' => Apache::Build->new->otherldflags,
},
);
AUTHOR
Doug MacEachern
mod_perl-1.99_07 2002-08-28 Apache::Build(3)