Does anybody know a web site where I could download gcc for AIX 5.2 (I've downloaded gcc 3.2 from http://www.bullfreeware.com/, but it doesn't work)?
Thanks a lot for your answers. (2 Replies)
Hi there
I've got a problem getting my mysql libraries to work.
every time I compile my source code it gives my a compiler error.
Cannot find a rule to create target /usr/include/mysql/mysql.h
AND
/usr/include/mysql/mysql.h: Permission denied
Is anyone fimiliar with this error, and can... (0 Replies)
Hi there
I've got a problem getting my mysql libraries to work.
every time I compile my source code it gives my a compiler error.
Cannot find a rule to create target /usr/include/mysql/mysql.h
AND
/usr/include/mysql/mysql.h: Permission denied
Is anyone fimiliar with this error, and can... (1 Reply)
hi,
i need to install a source code from an open source on AIX 4.3. but first i need to install gcc.
is gcc going to screw up AIX 4.3? the box is doing heavy legacy stuff with engine and db2 on it. and over 200 users.
any comment would be appreciated.
thanks (9 Replies)
Hi all,
I am using gcc4.1.1 on redhat4.5 and when i rethrow an exception and I am catching it .. The application aborts and throws the following error message to stdout - the error that's been thrown is been caught but never gets that far as it falls over on throw statement
Has anyone ever... (0 Replies)
I'm trying to compile gcc 3.4.6 on AIX 5.2 but I get this error:
bison -t --name-prefix=java_ -o java/parse.c java/parse.y
M4sugar requires GNU M4. Install it before installing M4sugar or
set the M4 environment variable to its path name.make: *** Broken pipe
gcc -c -g -O2 -DIN_GCC -W... (7 Replies)
I just installed gcc on AIX 4.33, and I am having some problems with compiling a simple hello world program. See output below for the issue. The "standards.h" file is not on my system and I don't know where to get it.
Thanks in advance for your help!
# gcc -v
Reading specs from... (2 Replies)
Hi,
I am working with AIX5.3 and I downloaded the gcc-4.2.4.tar.bz2 from the site and when I am trying to un-tar it.It is throwing error--
Please help me to resolve it.
Thanks in Advance.. (6 Replies)
Hi All,
We are in the processing of upgrading our AIX server OS from 5.2.0.0 to 6.1. And we have a set of highly critical running C applications in AIX box. I have a question like whether this upgradation of OS will affect any C code compilation and C runtime enviornment...
how does AIX 6.1... (1 Reply)
after migrate our AIX server from 6.1 to 7.1 , we insalled c compilator with rpm files
Server:root:/ > rpm -qa | grep gcc
libgcc-4.8.5-1
gcc-cpp-4.8.5-1
gcc-4.8.5-1
gcc-c++-4.8.5-1
but whene we proceed to compile a c programm we have this error
exec(): 0509-036 Cannot load... (2 Replies)
Discussion started by: yahia
2 Replies
LEARN ABOUT OSX
apache::reload
Apache::Reload(3) User Contributed Perl Documentation Apache::Reload(3)NAME
Apache::Reload - Reload changed modules
SYNOPSIS
In httpd.conf:
PerlInitHandler Apache::Reload
PerlSetVar ReloadAll Off
Then your module:
package My::Apache::Module;
use Apache::Reload;
sub handler { ... }
1;
DESCRIPTION
This module is two things. First it is an adaptation of Randal Schwartz's Stonehenge::Reload module that attempts to be a little more
intuitive and makes the usage easier. Stonehenge::Reload was written by Randal to make specific modules reload themselves when they
changed. Unlike Apache::StatINC, Stonehenge::Reload only checked the change time of modules that registered themselves with
Stonehenge::Reload, thus reducing stat() calls. Apache::Reload also offers the exact same functionality as Apache::StatINC, and is thus
designed to be a drop-in replacement. Apache::Reload only checks modules that register themselves with Apache::Reload if you explicitly
turn off the StatINC emulation method (see below). Like Apache::StatINC, Apache::Reload must be installed as an Init Handler.
StatINC Replacement
To use as a StatINC replacement, simply add the following configuration to your httpd.conf:
PerlInitHandler Apache::Reload
Register Modules Implicitly
To only reload modules that have registered with Apache::Reload, add the following to the httpd.conf:
PerlInitHandler Apache::Reload
PerlSetVar ReloadAll Off
# ReloadAll defaults to On
Then any modules with the line:
use Apache::Reload;
Will be reloaded when they change.
Register Modules Explicitly
You can also register modules explicitly in your httpd.conf file that you want to be reloaded on change:
PerlInitHandler Apache::Reload
PerlSetVar ReloadAll Off
PerlSetVar ReloadModules "My::Foo My::Bar Foo::Bar::Test"
Note that these are split on whitespace, but the module list must be in quotes, otherwise Apache tries to parse the parameter list.
Un-Register Modules Explicitly
If ReloadAll is set to On, then you can explicity force a module not to be reloaded with
no Apache::Reload;
A warning will appear in the error log that the file has changed, but will not be reloaded
Special "Touch" File
You can also set a file that you can touch() that causes the reloads to be performed. If you set this, and don't touch() the file, the
reloads don't happen. This can be a great boon in a live environment:
PerlSetVar ReloadTouchFile /tmp/reload_modules
Now when you're happy with your changes, simply go to the command line and type:
touch /tmp/reload_modules
And your modules will be magically reloaded on the next request. This option works in both StatINC emulation mode and the registered
modules mode.
PSUEDOHASHES
The short summary of this is: Don't use psuedohashes. Use an array with constant indexes. Its faster in the general case, its more
guaranteed, and generally, it works.
The long summary is that I've done some work to get this working with modules that use psuedo hashes, but its still broken in the case of a
single module that contains multiple packages that all use psuedohashes.
So don't do that.
AUTHOR
Matt Sergeant, matt@sergeant.org
MAINTAINERS
the mod_perl developers, dev@perl.apache.org
SEE ALSO
Apache::StatINC, Stonehenge::Reload
perl v5.16.2 2012-04-05 Apache::Reload(3)