473,657 Members | 2,727 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

mod_python & "please recompile it with -DEAPI" apache warning

ggg
In regards to mod_python, I keep getting this warning when I do
apachectl configtest:

[warn] Loaded DSO libexec/mod_python.so uses plain Apache 1.3 API, this
module might crash under EAPI! (please recompile it with -DEAPI)

So I googled what I can, and have read various responses. Most say you
just need to recompile the module with the DEAPI flag. I was getting the
same message for mod_php, and fixed that. However, with the same config
command, it doesn't fix it for mod_python:

1)
CFLAGS="-DEAPI -fPIC" ./configure --with-apxs=/www/bin/apxs
make
make install

I later read someone trying this to the the MakeFile after configuring:

2) added to MakeFile after config:
EXTRA_CFLAGS=-DEAPI
There was even someone claiming this is a documented bug - implying not
to worry about it? Any help would be much appreciated.

Thanks.
Jul 18 '05 #1
2 3482
gg*@gg.com wrote:
2) added to MakeFile after config:
EXTRA_CFLAGS=-DEAPI


You can do this, but it should be to "src/Makefile" and added
to "CFLAGS" and not "EXTRA_CFLA GS" as the latter doesn't exist.

Jul 18 '05 #2
ggg
In article <11************ *********@f14g2 000cwb.googlegr oups.com>,
gr*****@dscpl.c om.au says...
gg*@gg.com wrote:
2) added to MakeFile after config:
EXTRA_CFLAGS=-DEAPI


You can do this, but it should be to "src/Makefile" and added
to "CFLAGS" and not "EXTRA_CFLA GS" as the latter doesn't exist.


Thanks I forgot to say I already tried just plain CFLAGS like:
CFLAGS=-DEAPI

...but that still doesn't work.

Here's what I did:
make clean
../configure --with-apxs=/www/bin/apxs
vi MakeFile
added CFLAGS=-DEAPI to MakeFile
make
make install
/etc/init.d/apachectl configtest

...and that still returns:

[Wed Mar 9 00:35:27 2005] [warn] Loaded DSO libexec/mod_python.so uses
plain Apache 1.3 API, this module might crash under EAPI! (please
recompile it with -DEAPI)

Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2749
by: Alexander Skwar | last post by:
Hello! I'm having problems getting PHP 4.3.3RC4 successfully to install on my HP-UX 11.00 server. After a (successfull?) compile, "make install" errors out with this error message: #############################################################################################################
1
3254
by: Bowen Chiu | last post by:
Dears: I use a 4KBytes HTML content to do this benchmark, it is just a simple test of python based web server. mod_python with Apache Lifting the server siege... done. Transactions: 4864 hits Availability: 100.00 % Elapsed time: 30.43 secs
8
1337
by: Chang LI | last post by:
Does python support threads safely along with Apache 2.0 in web applications. Chang
2
2187
by: ws Wang | last post by:
MySQLdb is working fine at command line, however when I tried to use it with mod_python, it give me a "server not initialized" error. This is working fine: ----------------------- testmy.py ------------------------------- #!/usr/bin/python import MySQLdb db = MySQLdb.connect(host="localhost", user="root", passwd="mypass", db="my_db") cursor = db.cursor()
2
2352
by: Neuruss | last post by:
I need help with this issue. All my attempts to get it up and running failed, and the documentation I found so far didn't help me at all. I'm trying to configure this components together: - Apache 2.0.53 - mod_python 3.2.0 dev 2005 0428 win32-p v2.4 - python 2.4
14
5921
by: Arne | last post by:
A lot of Firefox users I know, says they have problems with validation where the ampersand sign has to be written as &amp; to be valid. I don't have Firefox my self and don't wont to install it only because of this, so I hope some of you gurus can enlighten me with this :) In what circumstances can the "&amp;" in the source code be involuntary changed to "&" by a browser when or other software, when editing and uploading the file to the web...
8
1921
by: krishnakant Mane | last post by:
hello all. I will like to know if the following combination is possible. I have looked around on google and did not find any thing productive so bothering the list: sorry. I am developing a distributed application which will have 3 layers namely the thin client written in wxpython, an application layer on a server and a database server of course. database and application server will be on same physical machine. what I want to know is if...
3
2190
by: Pappy | last post by:
SHORT VERSION: Python File B changes sys.stdout to a file so all 'prints' are written to the file. Python file A launches python file B with os.popen("./B 2>&^1 >dev/null &"). Python B's output disappears into never-never land. LONG VERSION: I am working on a site that can kick off large-scale simulations. It will write the output to an html file and a link will be emailed to the user. Also, the site will continue to display...
4
5478
by: keychain | last post by:
I'm experience the infamous "SSL: Fatal Protocol Error" bug with Apache 2.x According the fopen() documentation: "If you are using fsockopen() to create an ssl:// socket, you are responsible for detecting and suppressing the warning yourself." I have been unable to determine how to go about suppressing these warnings. Any help would be greatly appreciated.
1
2432
by: walterbyrd | last post by:
I understand that Python has them, but PHP doesn't. I think that is because mod_php is built into apache, but mod_python is not usually in apache. If mod_python was built into apache, would python still have long running processes (LRP)? Do LRPs have to do with a Python interpreter running all the time? Or is it something else? I also understand that LRPs are the reason that shared hosting is less
0
8394
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8306
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8825
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
7327
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6164
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4304
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1955
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.