Hi, I'm new in this mailing list. I want to use mod_wsgi with python 3. but someone tell me mod_wsgi in fedora is compiled with python 2 and suggest me to recompile it.
However, when i recompile it, it show this message
/usr/lib64/apr-1/build/libtool --silent --mode=link gcc -std=gnu99 -Wl,-z,relro,-z,now -o mod_wsgi.la -rpath /usr/lib64/httpd/modules -module -avoid-version mod_wsgi.lo -L/usr/lib64 -L/usr/lib64/python3.3/config -lpython3.3 -lpthread -ldl -lutil -lm /usr/bin/ld: cannot find -lpython3.3 collect2: error: ld returned 1 exit status apxs:Error: Command failed with rc=65536 . make: *** [mod_wsgi.la] Error 1
My ./configure argument:
./configure --with-python=/usr/bin/python3 --with-apxs=/usr/bin/apxs --enable-shared
I want to know what arguments fedora used.
----- Original Message -----
Hi, I'm new in this mailing list. I want to use mod_wsgi with python 3. but someone tell me mod_wsgi in fedora is compiled with python 2 and suggest me to recompile it.
However, when i recompile it, it show this message
/usr/lib64/apr-1/build/libtool --silent --mode=link gcc -std=gnu99 -Wl,-z,relro,-z,now -o mod_wsgi.la -rpath /usr/lib64/httpd/modules -module -avoid-version mod_wsgi.lo -L/usr/lib64 -L/usr/lib64/python3.3/config -lpython3.3 -lpthread -ldl -lutil -lm /usr/bin/ld: cannot find -lpython3.3 collect2: error: ld returned 1 exit status apxs:Error: Command failed with rc=65536 . make: *** [ mod_wsgi.la ] Error 1
My ./configure argument:
./configure --with-python=/usr/bin/python3 --with-apxs=/usr/bin/apxs --enable-shared
I want to know what arguments fedora used.
Hi, maybe fedora's python-devel list is a better place to ask [1], but since you asked here: You can always have a look at Fedora's dist-git, where mod_wsgi.spec is [2] - there may be some unexpanded macros, but if you look at build log at Koji [3], you'll see them expanded as they were used for the official build.
Hope this helps.
----- Original Message -----
----- Original Message -----
Hi, I'm new in this mailing list.
I want to use mod_wsgi with python 3.
but someone tell me mod_wsgi in fedora is compiled with python 2 and suggest me to recompile it.
However, when i recompile it, it show this message
/usr/lib64/apr-1/build/libtool --silent --mode=link gcc -std=gnu99 -Wl,-z,relro,-z,now -o mod_wsgi.la -rpath /usr/lib64/httpd/modules -module -avoid-version mod_wsgi.lo -L/usr/lib64 -L/usr/lib64/python3.3/config -lpython3.3 -lpthread -ldl -lutil -lm
/usr/bin/ld: cannot find -lpython3.3
collect2: error: ld returned 1 exit status
apxs:Error: Command failed with rc=65536
.
make: *** [ mod_wsgi.la ] Error 1
My ./configure argument:
./configure --with-python=/usr/bin/python3 --with-apxs=/usr/bin/apxs --enable-shared
I want to know what arguments fedora used.
Hi, maybe fedora's python-devel list is a better place to ask [1], but since you asked here:
I don't know why, but I got the impression that I'm reading this on python's upstream "dev" list, which I'm not... sorry for the confusion :)
You can always have a look at Fedora's dist-git, where mod_wsgi.spec is [2] - there may be some unexpanded macros, but if you look at build log at Koji [3], you'll see them expanded as they were used for the official build.
Hope this helps.
-- Regards, Bohuslav "Slavek" Kabrda.
[1] https://lists.fedoraproject.org/pipermail/python-devel/ [2] http://pkgs.fedoraproject.org/cgit/mod_wsgi.git/tree/mod_wsgi.spec [3] http://kojipkgs.fedoraproject.org//packages/mod_wsgi/3.4/11.fc21/data/logs/x...
python-devel mailing list python-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/python-devel
Thanks for your reference list. I will read it. ^^
btw, i didn't post this quest on python's upstream mailing list.
2014/1/13 Bohuslav Kabrda bkabrda@redhat.com
Hi, I'm new in this mailing list. I want to use mod_wsgi with python 3. but someone tell me mod_wsgi in fedora is compiled with python 2 and suggest me to recompile it.
However, when i recompile it, it show this message
/usr/lib64/apr-1/build/libtool --silent --mode=link gcc -std=gnu99 -Wl,-z,relro,-z,now -o mod_wsgi.la -rpath /usr/lib64/httpd/modules -module -avoid-version mod_wsgi.lo -L/usr/lib64 -L/usr/lib64/python3.3/config -lpython3.3 -lpthread -ldl -lutil -lm /usr/bin/ld: cannot find -lpython3.3 collect2: error: ld returned 1 exit status apxs:Error: Command failed with rc=65536 . make: *** [mod_wsgi.la] Error 1
My ./configure argument:
./configure --with-python=/usr/bin/python3 --with-apxs=/usr/bin/apxs --enable-shared
I want to know what arguments fedora used.
Hi, maybe fedora's python-devel list is a better place to ask [1], but since you asked here:
I don't know why, but I got the impression that I'm reading this on python's upstream "dev" list, which I'm not... sorry for the confusion :)
You can always have a look at Fedora's dist-git, where mod_wsgi.spec is [2] - there may be some unexpanded macros, but if you look at build log at Koji [3], you'll see them expanded as they were used for the official build.
Hope this helps.
-- Regards, Bohuslav "Slavek" Kabrda.
[1] https://lists.fedoraproject.org/pipermail/python-devel/ [2] http://pkgs.fedoraproject.org/cgit/mod_wsgi.git/tree/mod_wsgi.spec [3] http://kojipkgs.fedoraproject.org//packages/mod_wsgi/3.4/11.fc21/data/logs/x...
python-devel mailing list python-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/python-devel
-- Regards, Bohuslav "Slavek" Kabrda.
python-devel mailing list python-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/python-devel
On 01/13/2014 08:33 AM, Bohuslav Kabrda wrote:
------------------------------------------------------------------------ Hi, I'm new in this mailing list. I want to use mod_wsgi with python 3. but someone tell me mod_wsgi in fedora is compiled with python 2 and suggest me to recompile it.
Probably you should give python3-mod_wsgi a try.
The build is here: http://koji.fedoraproject.org/koji/buildinfo?buildID=489543
Best, Matthias
i found the python3-mod_wsgi's suffix is fc21. is any plan to use python-mod_wsgi as default in fedora 21?
thank you, i will try.
2014/1/15 Matthias Runge mrunge@matthias-runge.de
On 01/13/2014 08:33 AM, Bohuslav Kabrda wrote:
Hi, I'm new in this mailing list. I want to use mod_wsgi with python 3. but someone tell me mod_wsgi in fedora is compiled with python 2 and suggest me to recompile it.
Probably you should give python3-mod_wsgi a try.
The build is here: http://koji.fedoraproject.org/koji/buildinfo?buildID=489543
Best, Matthias
python-devel mailing list python-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/python-devel
On 01/14/2014 06:50 PM, FreedomKnight wrote:
i found the python3-mod_wsgi's suffix is fc21. is any plan to use python-mod_wsgi as default in fedora 21?
thank you, i will try.
I assume you were asking, if there is a plan to make python3-mod_wsgi the default for f21?
The answer is no. Let's first see, how it goes.
Matthias
python-devel@lists.fedoraproject.org