Compiling Mod_perl On X64 CentOS4.5 Gives An Error

Jul 6, 2007

Compiling mod_perl 1.30 on x64 CentOS4.5 gives an error when make:

(cd ./apaci && PERL5LIB=/home/.cpan/build/mod_perl-1.30-bUyCBp/lib: make)
make[1]: Entering directory `/home/.cpan/build/mod_perl-1.30-bUyCBp/apaci'
cc -fpic -O2 -I/usr/lib/perl5/5.8.8/x86_64-linux/CORE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -DMOD_PERL_VERSION="1.30" -DMOD_PERL_STRING_VERSION="mod_perl/1.30" -I/usr/local/apache/include -DMOD_PERL -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -c mod_perl.c && mv mod_perl.o mod_perl.lo
/usr/bin/perl -MExtUtils::Embed -e xsinit -- -o perlxsi.c -std Apache Apache::Constants Apache::ModuleConfig Apache::Log Apache::URI Apache::Util Apache::Connection Apache:erver Apache::File Apache::Table
cc -fpic -O2 -I/usr/lib/perl5/5.8.8/x86_64-linux/CORE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -DMOD_PERL_VERSION="1.30" -DMOD_PERL_STRING_VERSION="mod_perl/1.30" -I/usr/local/apache/include -DMOD_PERL -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -c perlxsi.c && mv perlxsi.o perlxsi.lo
cc -fpic -O2 -I/usr/lib/perl5/5.8.8/x86_64-linux/CORE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -DMOD_PERL_VERSION="1.30" -DMOD_PERL_STRING_VERSION="mod_perl/1.30" -I/usr/local/apache/include -DMOD_PERL -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -c perl_config.c && mv perl_config.o perl_config.lo
cc -fpic -O2 -I/usr/lib/perl5/5.8.8/x86_64-linux/CORE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -DMOD_PERL_VERSION="1.30" -DMOD_PERL_STRING_VERSION="mod_perl/1.30" -I/usr/local/apache/include -DMOD_PERL -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -c perl_util.c && mv perl_util.o perl_util.lo
cc -fpic -O2 -I/usr/lib/perl5/5.8.8/x86_64-linux/CORE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -DMOD_PERL_VERSION="1.30" -DMOD_PERL_STRING_VERSION="mod_perl/1.30" -I/usr/local/apache/include -DMOD_PERL -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -c perlio.c && mv perlio.o perlio.lo
cc -fpic -O2 -I/usr/lib/perl5/5.8.8/x86_64-linux/CORE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -DMOD_PERL_VERSION="1.30" -DMOD_PERL_STRING_VERSION="mod_perl/1.30" -I/usr/local/apache/include -DMOD_PERL -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -c mod_perl_opmask.c && mv mod_perl_opmask.o mod_perl_opmask.lo
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -nolinenumbers -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap Apache.xs >Apache.c
cc -fpic -O2 -I/usr/lib/perl5/5.8.8/x86_64-linux/CORE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -DMOD_PERL_VERSION="1.30" -DMOD_PERL_STRING_VERSION="mod_perl/1.30" -I/usr/local/apache/include -DMOD_PERL -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -c Apache.c && mv Apache.o Apache.lo
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -nolinenumbers -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap Constants.xs >Constants.c
cc -fpic -O2 -I/usr/lib/perl5/5.8.8/x86_64-linux/CORE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -DMOD_PERL_VERSION="1.30" -DMOD_PERL_STRING_VERSION="mod_perl/1.30" -I/usr/local/apache/include -DMOD_PERL -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -c Constants.c && mv Constants.o Constants.lo
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -nolinenumbers -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap ModuleConfig.xs >ModuleConfig.c
cc -fpic -O2 -I/usr/lib/perl5/5.8.8/x86_64-linux/CORE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -DMOD_PERL_VERSION="1.30" -DMOD_PERL_STRING_VERSION="mod_perl/1.30" -I/usr/local/apache/include -DMOD_PERL -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -c ModuleConfig.c && mv ModuleConfig.o ModuleConfig.lo
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -nolinenumbers -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap Log.xs >Log.c
cc -fpic -O2 -I/usr/lib/perl5/5.8.8/x86_64-linux/CORE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -DMOD_PERL_VERSION="1.30" -DMOD_PERL_STRING_VERSION="mod_perl/1.30" -I/usr/local/apache/include -DMOD_PERL -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -c Log.c && mv Log.o Log.lo
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -nolinenumbers -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap URI.xs >URI.c
cc -fpic -O2 -I/usr/lib/perl5/5.8.8/x86_64-linux/CORE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -DMOD_PERL_VERSION="1.30" -DMOD_PERL_STRING_VERSION="mod_perl/1.30" -I/usr/local/apache/include -DMOD_PERL -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -c URI.c && mv URI.o URI.lo
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -nolinenumbers -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap Util.xs >Util.c
cc -fpic -O2 -I/usr/lib/perl5/5.8.8/x86_64-linux/CORE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -DMOD_PERL_VERSION="1.30" -DMOD_PERL_STRING_VERSION="mod_perl/1.30" -I/usr/local/apache/include -DMOD_PERL -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -c Util.c && mv Util.o Util.lo
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -nolinenumbers -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap Connection.xs >Connection.c
cc -fpic -O2 -I/usr/lib/perl5/5.8.8/x86_64-linux/CORE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -DMOD_PERL_VERSION="1.30" -DMOD_PERL_STRING_VERSION="mod_perl/1.30" -I/usr/local/apache/include -DMOD_PERL -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -c Connection.c && mv Connection.o Connection.lo
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -nolinenumbers -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap Server.xs >Server.c
cc -fpic -O2 -I/usr/lib/perl5/5.8.8/x86_64-linux/CORE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -DMOD_PERL_VERSION="1.30" -DMOD_PERL_STRING_VERSION="mod_perl/1.30" -I/usr/local/apache/include -DMOD_PERL -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -c Server.c && mv Server.o Server.lo
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -nolinenumbers -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap File.xs >File.c
cc -fpic -O2 -I/usr/lib/perl5/5.8.8/x86_64-linux/CORE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -DMOD_PERL_VERSION="1.30" -DMOD_PERL_STRING_VERSION="mod_perl/1.30" -I/usr/local/apache/include -DMOD_PERL -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -c File.c && mv File.o File.lo
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -nolinenumbers -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap Table.xs >Table.c
cc -fpic -O2 -I/usr/lib/perl5/5.8.8/x86_64-linux/CORE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -DMOD_PERL_VERSION="1.30" -DMOD_PERL_STRING_VERSION="mod_perl/1.30" -I/usr/local/apache/include -DMOD_PERL -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -c Table.c && mv Table.o Table.lo
rm -f libperl.so
cc -shared -L/usr/local/lib -o libperl.so mod_perl.lo perlxsi.lo perl_config.lo perl_util.lo perlio.lo mod_perl_opmask.lo Apache.lo Constants.lo ModuleConfig.lo Log.lo URI.lo Util.lo Connection.lo Server.lo File.lo Table.lo -Wl,-E -L/usr/local/lib /usr/lib/perl5/5.8.8/x86_64-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.8/x86_64-linux/CORE -lperl -lnsl -ldl -lm -lcrypt -lutil -lc
/usr/bin/ld: /usr/lib/perl5/5.8.8/x86_64-linux/auto/DynaLoader/DynaLoader.a(DynaLoader.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib/perl5/5.8.8/x86_64-linux/auto/DynaLoader/DynaLoader.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [libperl.so] Error 1
make[1]: Leaving directory `/home/.cpan/build/mod_perl-1.30-bUyCBp/apaci'
make: *** [apxs_libperl] Error 2

View 2 Replies


ADVERTISEMENT

Compiling PHP Error

Mar 21, 2008

I recently tried upgrading my test VPS to run PHP 6.0, and it worked.

However I wasn't able to get MySQL to compile with PHP.

Hence I just reinstalled MySQL and tried recompiling PHP (from source) again. However I still get errors when compiling PHP:

checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... /var/tmp/mysql.sock
configure: error: Cannot find libmysqlclient under /usr/local.
Note that the MySQL client library is not bundled anymore!

No matter what ./configure command I run, I can't seem to get this working. For example, the PHP INSTALL documentation (comes with the source files) actually says running:

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql

Will work fine. However it doesn't. I've also tried specifying the MySQL directory, to no success.

Just as some extra information, libmysqlclient is at:

-bash-3.00# find /usr -name libmysqlclient*
/usr/lib/libmysqlclient.so.6
/usr/lib64/libmysqlclient.so
/usr/lib64/libmysqlclient.so.14
/usr/lib64/libmysqlclient_r.so
/usr/lib64/mysql/libmysqlclient.a
/usr/lib64/mysql/libmysqlclient.la
/usr/lib64/mysql/libmysqlclient_r.a
/usr/lib64/mysql/libmysqlclient_r.la
/usr/lib64/mysql/libmysqlclient.so
/usr/lib64/mysql/libmysqlclient_r.so
/usr/lib64/libmysqlclient.so.15
/usr/lib64/libmysqlclient.so.15.0.0
/usr/lib64/libmysqlclient_r.so.15
/usr/lib64/libmysqlclient_r.so.15.0.0
/usr/local/lib64/libmysqlclient.so.14
/usr/local/cpanel/lib64/libmysqlclient.so.14

However specifying the MySQL directories as "/usr/lib64, /usr/bin, /usr/lib64/mysql, /usr/local/lib64 or /usr/lib" doesn't seem to work.

The complete configure command I've tried running is: "./configure --with-apxs2=/usr/local/apache/bin/apxs --prefix=/usr/local/ --with-icu-dir=/usr/local/icu --with-pspell --with-mysql"

View 6 Replies View Related

Compiling Apache Module Error

Jan 28, 2007

I have recently installed the latest version of apache which is version 2.2.4 and it seems many modules were left out so I decided to add one of my favorite modules myself

I have DirectAdmin install so here is what I did

I edited this file: configure.apache_2
and at the end of the file added --enable-expires

After adding normally we would recompile apache I was doing that and I got this error

Code:
/usr/local/directadmin/customapache/configure.apache_2: line 24: --enable-expires: command not found

*** There was an error while trying to configure Apache 2. Check the configure.apache_2 file

Not sure what I'm doing wrong if someone could help me I would be greatful.

View 2 Replies View Related

Error Compiling Apache 2.4 On Cygwin

Feb 7, 2013

I tried to compile apache in cygwin windows 7 home basic x64

running ./configure fine then
make

full of errors

Code :

Basel@Basel-PC /cygdrive/c/apachescr/httpd-2.4.3$ makeMaking all in srclibmake[1]: Entering directory `/cygdrive/c/apachescr/httpd-2.4.3/srclib'Making all in aprmake[2]: Entering directory `/cygdrive/c/apachescr/httpd-2.4.3/srclib/apr'make[3]: Entering directory `/cygdrive/c/apachescr/httpd-2.4.3/srclib/apr'/bin/sh /cygdrive/c/apachescr/httpd-2.4.3/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -DCYGWIN -I./include -I/cygdrive/c/apachescr/httpd-2.4.3/srclib/apr/include/arch/unix -I.

[Code] ....

View 1 Replies View Related

Error Compiling Apache 2.4 In VS2012

May 1, 2013

How to compile ... I used this steps

cd "to apache folder"
perl srclibaprbuildlineends.pl
perl srclibaprbuildcvtdsp.pl -2005
devenv "Apache.dsw" /upgrade

View 1 Replies View Related

Installing Mod_perl 1.29

Mar 28, 2007

I'm trying to install mod_perl 1.29 as i need WebGUI running on this system:

Redhat enterprise 4 i686
Cpanel 10.9.0
WHM 10.8.0
Apache 1.3.37

from SSH i'll get the following

perl Makefile.PL

Quote:

Enter `q' to stop search
Please tell me where I can find your apache src
[/usr/local/apache] /usr/local/apache
Configure mod_perl with /usr/local/apache ? [y] y
Can't open /usr/local/apache/modules/perl/Makefile: No such file or directory.
Can't open /usr/local/apache/modules/perl/Makefile: No such file or directory.
Can't open /usr/local/apache/modules/perl/Makefile: No such file or directory.
Can't open /usr/local/apache/modules/perl/Makefile: No such file or directory.
Can't open /usr/local/apache/modules/perl/Makefile: No such file or directory.
PerlDispatchHandler.........disabled (enable with PERL_DISPATCH=1)
Can't open /usr/local/apache/modules/perl/Makefile: No such file or directory.
PerlChildInitHandler........enabled
Can't open /usr/local/apache/modules/perl/Makefile: No such file or directory.
PerlChildExitHandler........enabled
PerlPostReadRequestHandler..disabled (enable with PERL_POST_READ_REQUEST=1)
PerlTransHandler............disabled (enable with PERL_TRANS=1)
PerlHeaderParserHandler.....disabled (enable with PERL_HEADER_PARSER=1)
PerlAccessHandler...........disabled (enable with PERL_ACCESS=1)
PerlAuthenHandler...........disabled (enable with PERL_AUTHEN=1)
PerlAuthzHandler............disabled (enable with PERL_AUTHZ=1)
PerlTypeHandler.............disabled (enable with PERL_TYPE=1)
PerlFixupHandler............disabled (enable with PERL_FIXUP=1)
Can't open /usr/local/apache/modules/perl/Makefile: No such file or directory.
PerlHandler.................enabled
PerlLogHandler..............disabled (enable with PERL_LOG=1)
PerlInitHandler.............disabled (enable with PERL_INIT=1)
PerlCleanupHandler..........disabled (enable with PERL_CLEANUP=1)
PerlRestartHandler..........disabled (enable with PERL_RESTART=1)
PerlStackedHandlers.........disabled (enable with PERL_STACKED_HANDLERS=1)
PerlMethodHandlers..........disabled (enable with PERL_METHOD_HANDLERS=1)
PerlDirectiveHandlers.......disabled (enable with PERL_DIRECTIVE_HANDLERS=1)
PerlTableApi................disabled (enable with PERL_TABLE_API=1)
PerlLogApi..................disabled (enable with PERL_LOG_API=1)
PerlUriApi..................disabled (enable with PERL_URI_API=1)
PerlUtilApi.................disabled (enable with PERL_UTIL_API=1)
PerlFileApi.................disabled (enable with PERL_FILE_API=1)
Can't open /usr/local/apache/modules/perl/Makefile: No such file or directory.
PerlConnectionApi...........enabled
Can't open /usr/local/apache/modules/perl/Makefile: No such file or directory.
PerlServerApi...............enabled
PerlSections................disabled (enable with PERL_SECTIONS=1)
PerlSSI.....................disabled (enable with PERL_SSI=1)
Can't open /usr/local/apache/modules/perl/Makefile: No such file or directory.
cat: /usr/local/apache/Makefile.config: No such file or directory
cat: /usr/local/apache/modules/perl/Makefile: No such file or directory
mv: cannot move `/tmp/mpmf.27280' to `/usr/local/apache/modules/perl/Makefile': No such file or directory
Will run tests as User: 'nobody' Group: 'root'
Checking CGI.pm VERSION..........ok
Checking for LWP::UserAgent......ok
Checking for HTML::HeadParser....ok
Writing Makefile for Apache
Writing Makefile for Apache::Connection
Writing Makefile for Apache::Constants
Writing Makefile for Apache::File
Writing Makefile for Apache::Leak
Writing Makefile for Apache::Log
Writing Makefile for Apache::ModuleConfig
Writing Makefile for Apache::perlRunXS
Writing Makefile for Apache:server
Writing Makefile for Apache:symbol
Writing Makefile for Apache::Table
Writing Makefile for Apache::URI
Writing Makefile for Apache::Util
Writing Makefile for mod_perl

make

Quote:

Skip blib/arch/auto/Apache/include/include/ap.h (unchanged)
Skip blib/arch/auto/Apache/include/include/xml/xmlrole.h (unchanged)
Skip blib/lib/mod_perl_traps.pod (unchanged)
Skip blib/arch/auto/Apache/include/include/xml/nametab.h (unchanged)
Skip blib/lib/Apache/src.pm (unchanged)
Skip blib/lib/Apache/Options.pm (unchanged)
Skip blib/lib/mod_perl_method_handlers.pod (unchanged)
Skip blib/arch/auto/Apache/include/include/http_vhost.h (unchanged)
Skip blib/lib/Apache/httpd_conf.pm (unchanged)
Skip blib/lib/Apache/Debug.pm (unchanged)
Skip blib/arch/auto/Apache/typemap (unchanged)
Skip blib/lib/cgi_to_mod_perl.pod (unchanged)
Skip blib/arch/auto/Apache/include/include/compat.h (unchanged)
Skip blib/arch/auto/Apache/include/include/multithread.h (unchanged)
Skip blib/arch/auto/Apache/include/include/conf.h (unchanged)
Skip blib/arch/auto/Apache/include/include/xml/latin1tab.h (unchanged)
Skip blib/arch/auto/Apache/include/include/ap_hook.h (unchanged)
Skip blib/arch/auto/Apache/include/include/http_core.h (unchanged)
Skip blib/lib/Apache/SizeLimit.pm (unchanged)
Skip blib/arch/auto/Apache/include/include/buff.h (unchanged)
Skip blib/lib/Apache/PerlRun.pm (unchanged)
Skip blib/lib/mod_perl_cvs.pod (unchanged)
Skip blib/arch/auto/Apache/include/include/httpd.h (unchanged)
Skip blib/arch/auto/Apache/include/include/os-inline.c (unchanged)
Skip blib/arch/auto/Apache/include/include/xml/iasciitab.h (unchanged)
Skip blib/arch/auto/Apache/include/include/explain.h (unchanged)
Skip blib/lib/Apache/RegistryBB.pm (unchanged)
Skip blib/lib/Apache/Include.pm (unchanged)
Skip blib/arch/auto/Apache/include/include/xml/xmlparse.h (unchanged)
Skip blib/arch/auto/Apache/include/include/http_main.h (unchanged)
Skip blib/arch/auto/Apache/include/include/ap_release.h (unchanged)
Skip blib/arch/auto/Apache/include/include/ap_mm.h (unchanged)
Skip blib/arch/auto/Apache/include/include/util_md5.h (unchanged)
Skip blib/lib/Apache/Constants/Exports.pm (unchanged)
Skip blib/arch/auto/Apache/include/include/os.h (unchanged)
Skip blib/lib/Apache/ExtUtils.pm (unchanged)
Skip blib/arch/auto/Apache/include/include/rfc1413.h (unchanged)
Skip blib/lib/Apache/Symdump.pm (unchanged)
Skip blib/arch/auto/Apache/include/include/xml/hashtable.h (unchanged)
Skip blib/lib/Apache/Resource.pm (unchanged)
Skip blib/arch/auto/Apache/include/include/fnmatch.h (unchanged)
Skip blib/arch/auto/Apache/include/include/scoreboard.h (unchanged)
Skip blib/arch/auto/Apache/include/include/ap_alloc.h (unchanged)
Skip blib/lib/Apache/MyConfig.pm (unchanged)
Skip blib/lib/Apache/Opcode.pm (unchanged)
Skip blib/arch/auto/Apache/include/include/xml/xmltok.h (unchanged)
Skip blib/arch/auto/Apache/include/include/ap_sha1.h (unchanged)
Skip blib/arch/auto/Apache/include/include/ap_config.h (unchanged)
Skip blib/arch/auto/Apache/include/include/xml/utf8tab.h (unchanged)
Skip blib/lib/Apache/Registry.pm (unchanged)
Skip blib/lib/Apache/FakeRequest.pm (unchanged)
Skip blib/arch/auto/Apache/include/include/hsregex.h (unchanged)
Skip blib/arch/auto/Apache/include/include/util_date.h (unchanged)
Skip blib/lib/mod_perl.pm (unchanged)
Skip blib/arch/auto/Apache/include/include/http_log.h (unchanged)
Skip blib/lib/Apache/RegistryNG.pm (unchanged)
Skip blib/lib/Apache/PerlSections.pm (unchanged)
Skip blib/arch/auto/Apache/include/include/ap_ctx.h (unchanged)
Skip blib/lib/mod_perl_hooks.pm.PL (unchanged)
Skip blib/lib/Bundle/Apache.pm (unchanged)
Skip blib/lib/mod_perl_tuning.pod (unchanged)
Skip blib/arch/auto/Apache/include/include/xml/asciitab.h (unchanged)
Skip blib/lib/Apache/SIG.pm (unchanged)
Skip blib/lib/mod_perl.pod (unchanged)
Skip blib/arch/auto/Apache/include/include/util_uri.h (unchanged)
Skip blib/arch/auto/Apache/include/include/http_conf_globals.h (unchanged)
Skip blib/arch/auto/Apache/include/include/http_request.h (unchanged)
Skip blib/arch/auto/Apache/include/include/xml/xmltok_impl.h (unchanged)
Skip blib/lib/Apache/testold.pm (unchanged)
Skip blib/lib/Apache/RedirectLogFix.pm (unchanged)
Skip blib/arch/auto/Apache/include/include/util_script.h (unchanged)
Skip blib/lib/Apache/StatINC.pm (unchanged)
Skip blib/arch/auto/Apache/include/include/xml/xmldef.h (unchanged)
Skip blib/arch/auto/Apache/include/include/http_config.h (unchanged)
Skip blib/arch/auto/Apache/include/include/http_protocol.h (unchanged)
Skip blib/arch/auto/Apache/include/include/ap_ebcdic.h (unchanged)
Skip blib/lib/mod_perl_hooks.pm (unchanged)
Skip blib/arch/auto/Apache/include/include/ap_md5.h (unchanged)
Skip blib/arch/auto/Apache/include/include/ap_mmn.h (unchanged)
Skip blib/arch/auto/Apache/include/include/ap_ctype.h (unchanged)
Skip blib/lib/Apache/RegistryLoader.pm (unchanged)
Skip blib/arch/auto/Apache/mod_perl.exp (unchanged)
Skip blib/arch/auto/Apache/include/include/ap_compat.h (unchanged)
Skip blib/arch/auto/Apache/include/include/ap_config_auto.h (unchanged)
Skip blib/lib/Apache/Status.pm (unchanged)
make[1]: Entering directory `/home/mod_perl-1.29/Apache'
Manifying ../blib/man3/Apache.3
make[1]: Leaving directory `/home/mod_perl-1.29/Apache'
make[1]: Entering directory `/home/mod_perl-1.29/Connection'
make[1]: Leaving directory `/home/mod_perl-1.29/Connection'
make[1]: Entering directory `/home/mod_perl-1.29/Constants'
Manifying ../blib/man3/Apache::Constants.3
make[1]: Leaving directory `/home/mod_perl-1.29/Constants'
make[1]: Entering directory `/home/mod_perl-1.29/File'
Manifying ../blib/man3/Apache::File.3
make[1]: Leaving directory `/home/mod_perl-1.29/File'
make[1]: Entering directory `/home/mod_perl-1.29/Leak'
cc -c -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION="1.00" -DXS_VERSION="1.00" -fpic "-I/usr/lib/perl5/5.8.7/i686-linux/CORE" Leak.c
Running Mkbootstrap for Apache::Leak ()
chmod 644 Leak.bs
rm -f ../blib/arch/auto/Apache/Leak/Leak.so
cc -shared -L/usr/local/lib Leak.o -o ../blib/arch/auto/Apache/Leak/Leak.so

View 0 Replies View Related

Curses RPM For CENTOS4.4 Required

Jul 11, 2007

I am using CentOS release 4.4 (Final) with Plesk 8 Hosting Control Panel. I want to install MTOP for MySQL monitoring which requires Curses.

[root@cll mtop-0.6.6]# perl Makefile.PL
Warning: prerequisite Curses 0 not found.
Writing Makefile for mtop

I need Curses rpm for CentOS 4.4, please give me that rpm so I can proceed next.

I also need Term::ReadKey 2.1 rpm for CENTOS4.4

View 2 Replies View Related

Supports Mod_perl And Template Toolkit

Aug 23, 2008

web host that offers a shared hotsing account that allows users to install or already have installled perl modules like mod_perl and template toolkit using cpanel.

View 4 Replies View Related

Mod_perl Stops Working When I Use RewriteEngine On

Jul 26, 2007

I have an account on my cPanel server with a cgi script in it wich works just fine under normal circumstances. I setup mod_perl and got it working just fine with the script. I edited the .htaccess file to do a 301 redirect and added the line “RewriteEngine on” and then whenever I try to access the cgi script I get:

Quote:

Forbidden
You don't have permission to access………..

If I disable mod_perl or remove the line “RewriteEngine on” from .htaccess it works fine.

In the cPanel error log I have:

Quote:

Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden

But in htaccess I already have the line "Options +FollowSymLinks" which is part of the 301 redirect code.

View 2 Replies View Related

Extract Part Rars Using Unrar On Centos4?

Sep 27, 2007

Is it possible to extract part rars using unrar (or other programs) on centos4?

If so, how and what command to use?

View 0 Replies View Related

Changing User/group Disk Quota In LXadmin & CentOS4

Aug 7, 2007

LXadmin seem to have a preset disk quota limit to users/groups, even root!

So, how do I change these disk quota limits? There isn't an option in the LXadmin control panel either.

View 1 Replies View Related

Re-Compiling PHP

Aug 7, 2007

I was recently faced with a problem, i had to install some extensions which were not included by default with php (libcurl being one of them). I didn't have a clue what to do, but because my dedicated server is running debian, i had to force myself to learn.

Anyway, back to the point. I already have php5 running (but it needs to be re-compiled) and i have downloaded libcurl. I used apt-get install php5-curl and that took care of it. The questions are:

To recompile do i need to remove the old installation of PHP before compiling it again to add the extensions?

Do i need enable the extensions like mysql and stuff or do they install as default if not specified, im guessing i would need to specify everything?

Im used to downloading a pre compiled package, running the installer and away we go, actually its MAMP on OSX. I remember in windows you could just add the extension in the .ini i later learned in OSX and Linux its not as easy.

View 0 Replies View Related

Compiling Php On Centos 5.3

Apr 7, 2009

Is this the correct setup?

'--host=i686-redhat-linux' '--build=i686-redhat-linux' '--target=i686-redhat-linux-gnu'

View 3 Replies View Related

Kernel Compiling

Dec 24, 2008

I've never actually compiled a kernel before, and wanted to know the basics when it comes to compiling for a standard CPanel/Centos 32bit system.

View 10 Replies View Related

Compiling RHE 5 Kernel

Apr 26, 2008

I have always used RPM kernels from the RedHat Network, in this time I need to compile an SMP kernel in a server that is used to serve common webhosting traffic (web, ftp, email, etc) with cPanel.

I have compiled kernels from source in desktops stations, but never in remote servers.. do you have any recommendations to do this at a Dual Xeon 3.2 RHE 5 + cPanel server? Oh.. almost forgot.. I will also compile it with GRsecurity.

Should I use a src kernel from RedHat, or a kernel.org latest kernel?

View 4 Replies View Related

I Got Some Errors While Compiling Php

Aug 28, 2007

i was compiling php in apache update section in whm. but when compiling curl, i got
some errors :

Quote:

make [@php-5.0.4]...(-j 1 clean).... Done

make [@php-5.0.4]...(-j 1).... . . . . . . . . . . Done

/home/cpapachebuild/buildapache/php-5.0.4/ext/curl/interface.c:173: error: `CURLOPT_FTPASCII' undeclared (first use in this function)
/home/cpapachebuild/buildapache/php-5.0.4/ext/curl/interface.c:173: error: (Each undeclared identifier is reported only once
/home/cpapachebuild/buildapache/php-5.0.4/ext/curl/interface.c:173: error: for each function it appears in.)
/home/cpapachebuild/buildapache/php-5.0.4/ext/curl/interface.c:211: error: `CURLOPT_PASSWDFUNCTION' undeclared (first use in this function)
make: *** [ext/curl/interface.lo] Error 1

make [@php-5.0.4]...(install).... Done

/home/cpapachebuild/buildapache/php-5.0.4/ext/curl/interface.c:173: error: `CURLOPT_FTPASCII' undeclared (first use in this function)
/home/cpapachebuild/buildapache/php-5.0.4/ext/curl/interface.c:173: error: (Each undeclared identifier is reported only once
/home/cpapachebuild/buildapache/php-5.0.4/ext/curl/interface.c:173: error: for each function it appears in.)
/home/cpapachebuild/buildapache/php-5.0.4/ext/curl/interface.c:211: error: `CURLOPT_PASSWDFUNCTION' undeclared (first use in this function)
make: *** [ext/curl/interface.lo] Error 1

i'm compiling php5.0.4, with default settings and Curl (Version 7.15.3), GD
(Version 2.0.15), GetText, Freetype Support.

View 2 Replies View Related

Compiling W/ CFLAGS=-O2

May 2, 2007

Usually when I compile my scripts from source I never use any compiler flags. After taking a look at this article I found

[url]

I noticed that they were using the CFLAGS=-O2 option. Is this compatible for fedora core and/or centOS? Do all gcc compilers have this feature, and if they do, is it safe?

Should I use it or should I avoid it?

View 1 Replies View Related

Compiling PHP Zip Extension Onto A Mac That Has MAMP Pro

Mar 10, 2008

compiling the zip extension for my MAMP installation. I used this tutorial here (using phpize):

[url]

All is well.. but when I run make test it gives me this:

Warning: PHP Startup: Invalid library (maybe not a PHP library) 'zip.so' in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/imap.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/yaz.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/mcrypt.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/gettext.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/pgsql.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/pdo_pgsql.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/pdo_mysql.so' - (null) in Unknown on line 0

Warning: PHP Startup: Invalid library (maybe not a PHP library) 'zip.so' in Unknown on line 0

Warning: PHP Startup: Invalid library (maybe not a PHP library) 'zip.so' in Unknown on line 0

Warning: PHP Startup: Invalid library (maybe not a PHP library) 'zip.so' in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/imap.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/yaz.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/mcrypt.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/gettext.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/pgsql.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/pdo_pgsql.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/pdo_mysql.so' - (null) in Unknown on line 0

Warning: PHP Startup: Invalid library (maybe not a PHP library) 'zip.so' in Unknown on line 0

Warning: PHP Startup: Invalid library (maybe not a PHP library) 'zip.so' in Unknown on line 0

So, from what I see there are two problems:

1. compiling the zip.so fails...

2. Some directories are wrongly set, because my extension .so files reside in /mamp/bin/php5/lib/php/extensions/no-debug-non-zts-20050922/

I see no "modules" in there, so..

View 3 Replies View Related

Compiling The Zip Library On MAMP

Mar 10, 2008

I am having some serious trouble compiling the zip extension for my MAMP installation. I used this tutorial here (using phpize):

[url]

All is well.. but when I run make test it gives me this:

Warning: PHP Startup: Invalid library (maybe not a PHP library) 'zip.so' in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/imap.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/yaz.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/mcrypt.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/gettext.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/pgsql.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/pdo_pgsql.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/pdo_mysql.so' - (null) in Unknown on line 0

Warning: PHP Startup: Invalid library (maybe not a PHP library) 'zip.so' in Unknown on line 0

Warning: PHP Startup: Invalid library (maybe not a PHP library) 'zip.so' in Unknown on line 0

Warning: PHP Startup: Invalid library (maybe not a PHP library) 'zip.so' in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/imap.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/yaz.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/mcrypt.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/gettext.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/pgsql.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/pdo_pgsql.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/pdo_mysql.so' - (null) in Unknown on line 0

Warning: PHP Startup: Invalid library (maybe not a PHP library) 'zip.so' in Unknown on line 0

Warning: PHP Startup: Invalid library (maybe not a PHP library) 'zip.so' in Unknown on line 0

So, from what I see there are two problems:

1. compiling the zip.so fails...

2. Some directories are wrongly set, because my extension .so files reside in /mamp/bin/php5/lib/php/extensions/no-debug-non-zts-20050922/

I see no "modules" in there, so..

View 0 Replies View Related

Compiling Static Standalone PHP Binary

Jun 22, 2007

I am using the following configure command in hope to generate a PHP binary which is totally independent, standalone and can be moved to other systems without caring for dependencies:

./configure --enable-fastcgi --enable-force-cgi-redirect --enable-discard-path --prefix=/server/php --exec-prefix=/server/php --with-config-file-path=/server/php --disable-all --enable-shared=no --enable-static=yes --enable-session --with-gd --with-zlib-dir --with-freetype-dir --enable-sockets

But when I try to run the generated binary on another system which doesn't have freetype etc installed, I get the following error:

error while loading shared libraries: libfreetype.so.6

View 1 Replies View Related

Compiling Apache/PHP/Mysql Under X86_64

Feb 9, 2007

I'm wondering if there are special notes on compiling sever softwares under x86_64 (CentOS 4.4 64bit, Pentium D)? Are there any specific flags for extra optimizations? Or the regular "./configure" will compile things in x86_64 by default?

View 2 Replies View Related

Compiling PHP5 With Mysql & Mysqli Support

Jun 15, 2009

While trying to compile PHP 5 with mysql and mysqli , I was facing some issues.

Actually, the configure command generates a bad Makefile.

Open the Makefile and look for a line staring with EXTRA_LIBS

You will see that the option “-lmysqlclient” is repeated twice. Delete one of them and save the Makefile.

Now, you should be able to run the Make command and compile PHP without any issues.

View 0 Replies View Related

Compiling Mod_security With PCRE (significant Performance Increase)

Jan 27, 2007

From the ModSecurity manual:

Quote:

By default ModSecurity relies on the regular expression library built into Apache for pattern matching.
This works well with Apache 2.x but not so much with Apache 1.x. The Apache 1.x regular expression
engine is several times slower. Since 1.9.2 it is possible to compile ModSecurity for Apache 1.x against
an external regular expression library (PCRE, [url] the same library used in Apache 2.x)
and achieve significant performance increase. This is achieved with the USE_PCRE compile-time flag.

If you have PCRE already installed on your system it may be sufficient to compile ModSecurity like this:

Code:
# <apache1-home>/bin/apxs -DUSE_PCRE -cia mod_security.c

Ok, so I tried and got this error:

Code:
[root@servidor1 customapache]# apxs -DUSE_PCRE -cia mod_security.c
gcc -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -fpic -DSHARED_MODULE -I/usr/include/apache -DUS
E_PCRE -c mod_security.c
mod_security.c:37:18: pcre.h: No such file or directory
mod_security.c: In function `my_pregcomp':
mod_security.c:929: error: `PCRE_CASELESS' undeclared (first use in this function)
mod_security.c:929: error: (Each undeclared identifier is reported only once
mod_security.c:929: error: for each function it appears in.)
mod_security.c:929: warning: assignment makes pointer from integer without a cast
mod_security.c: In function `my_regexec':
mod_security.c:940: error: `PCRE_ERROR_NOMATCH' undeclared (first use in this function)
apxs:Break: Command failed with rc=1
I double checked if I have PCRE installed:

Code:
[root@servidor1 customapache]# yum search pcre
pcre.i386 4.5-3.2.RHEL4 installed
Matched from:
pcre
Perl-compatible regular expression library.
PCRE has its own native API, but a set of "wrapper" functions that are based on
the POSIX API are also supplied in the library libpcreposix. Note that this
just provides a POSIX calling interface to PCRE: the regular expressions
themselves still follow Perl syntax and semantics. The header file
for the POSIX-style functions is called pcreposix.h.
[url]
And I even located the /lib/libpcre.so.0.0.1 and copied it to /usr/lib/apache/libpcre.so, with no sucess. Got the same error.

Has anyone sucessfully compiled mod_security with PCRE and can help me?

More info on this slow down issue here: [url]

View 6 Replies View Related

Plesk 11.x / Linux :: 11.5.30 Repository Error - Transport Error - Unable To List Directory - Curl Error

Jun 29, 2013

After upgrade to Plesk 11.5.30 trying to set up FTP-Backup Repository:

Repository error: Transport error: unable to list directory: Curl error: Access denied to remote resourceClick to expand...

View 7 Replies View Related

Email Error - Error Number 0x800CCC79 Server Response 451 Temporary Local

Nov 22, 2008

As the title says, 1 of the accounts on my server is getting the following error message - error number 0x800CCC79 server response 451 temporary local problem -

Yet other accounts on the server are sending and recieving fine?

what would cause this error? Its not tempory as its been 48 hours

View 3 Replies View Related

CentOs(Yum) Error :: Error: Cannot Find A Valid Baseurl For Repo: Update

May 17, 2009

yum -y groupinstall kde
Loading "priorities" plugin
Setting up Group Process
Setting up repositories
Cannot find a valid baseurl for repo: update
Error: Cannot find a valid baseurl for repo: update

what is this? what ever i try to install i get this weird error..

View 7 Replies View Related

Unable To Parse Zone: Error While Parsing Zonedata For Xyz.com: Syntax Error

Jul 23, 2009

While clicking on "Edit DNS" in WHM

I am getting this error

Unable to parse zone: Error while parsing zonedata for xyz.com: syntax error, line 25 ...propagated at /usr/local/cpanel/Cpanel/CPAN/Net/DNS/ZoneFile/Fast.pm line 142.

View 6 Replies View Related

Error On Yum Update :: Error: Missing Dependency: Perl(Crypt:asswdMD5) Is Needed By Package Syslinux

May 29, 2008

--> Populating transaction set with selected packages. Please wait.
---> Package cadaver.i386 0:0.22.5-1.el5.rf set to be updated
---> Package mtr.i386 2:0.72-1.el5.rf set to be updated
---> Package rsync.i386 0:3.0.2-1.el5.rf set to be updated
---> Package nmap.i386 2:4.20-1.el5.rf set to be updated
---> Package lftp.i386 0:3.7.1-1.el5.rf set to be updated
---> Package syslinux.i386 0:3.63-1.el5.rf set to be updated
---> Package dkms.noarch 0:2.0.19-2.el5.rf set to be updated
---> Package subversion.i386 0:1.4.6-0.1.el5.rf set to be updated
--> Running transaction check
--> Processing Dependency: perl(Crypt:asswdMD5) for package: syslinux
--> Finished Dependency Resolution
Error: Missing Dependency: perl(Crypt:asswdMD5) is needed by package syslinux

when I run yum update

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved