<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div>Hi, I'm new in this mailing list.<div>I want to use mod_wsgi with python 3.</div><div>but someone tell me mod_wsgi in fedora is compiled with python 2 and suggest me to recompile it.</div><div><br></div><div>However, when i recompile it, it show this message</div><div><br></div><div><div>/usr/lib64/apr-1/build/libtool --silent --mode=link gcc -std=gnu99 -Wl,-z,relro,-z,now &nbsp; -o <a href="http://mod_wsgi.la" target="_blank">mod_wsgi.la</a> &nbsp;-rpath /usr/lib64/httpd/modules -module -avoid-version &nbsp; &nbsp;mod_wsgi.lo -L/usr/lib64 -L/usr/lib64/python3.3/config -lpython3.3 -lpthread -ldl -lutil -lm</div><div>/usr/bin/ld: cannot find -lpython3.3</div><div>collect2: error: ld returned 1 exit status</div><div>apxs:Error: Command failed with rc=65536</div><div>.</div><div>make: *** [<a href="http://mod_wsgi.la" target="_blank">mod_wsgi.la</a>] Error 1</div></div><div><br></div><div>My ./configure argument:</div><div><br></div><div>./configure --with-python=/usr/bin/python3 --with-apxs=/usr/bin/apxs --enable-shared<br></div><div><br></div><div>I want to know what arguments fedora used.</div></div></blockquote><div><div>Hi,</div>maybe fedora's python-devel list is a better place to ask [1], but since you asked here:</div></div></blockquote><div>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 :)<br></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div><br></div><div>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.<br></div><div><br></div><div>Hope this helps.<br></div><div><br></div><div>-- <br></div><div>Regards,<br>Bohuslav "Slavek" Kabrda.<br></div><div><br></div><div>[1] <a>https://lists.fedoraproject.org/pipermail/python-devel/</a><br></div><div>[2] <a href="http://pkgs.fedoraproject.org/cgit/mod_wsgi.git/tree/mod_wsgi.spec" target="_blank">http://pkgs.fedoraproject.org/cgit/mod_wsgi.git/tree/mod_wsgi.spec</a><br></div><div>[3] <a href="http://kojipkgs.fedoraproject.org//packages/mod_wsgi/3.4/11.fc21/data/logs/x86_64/build.log" target="_blank">http://kojipkgs.fedoraproject.org//packages/mod_wsgi/3.4/11.fc21/data/logs/x86_64/build.log</a><br></div></div><br>_______________________________________________<br>python-devel mailing list<br>python-devel@lists.fedoraproject.org<br>https://admin.fedoraproject.org/mailman/listinfo/python-devel</blockquote><div><br><br></div><div><br></div><div>-- <br></div><div><span name="x"></span>Regards,<br>Bohuslav "Slavek" Kabrda.<span name="x"></span><br></div></div></body></html>